You can use either the:
You can use either the:
0.2 layer height
|Takes about an hour to print the box and lid|
The enclosure design was optimized for printing with flexible material like ninjaflex, filaflex or makerbot flexible filament. The lip tightly grips onto the box, making a secure enclosure for the components. The tabs on the corners allow you to easily pin the enclosure to any type of textile.
For tips and more detail, check out our guide on getting started with NinjaFlex.
Depending on the design of the beach bag, you will need to plan the location of the speakers and amplifier. Our beach bag has two pockets on the side and one in the middle. The two speakers can fix inside the left and right pocket while the audio playing device can rest in the middle pocket. The amplifier enclosure will be pined to the inside of the bag, right bend the middle pocket.
• VDD to Positive (Red)
• GND to Negative (Black)
• L- to Black
• L+ to White
• R+ to Red
Left & Right:
+ to Red
- to Black
To power the amplifier, we'll need to cut the female end of the JST extension cable and solder it to the VDD and GND pin. To make powering efficient, we'll create a slide switch adapter to make the lithium polymer battery turn off and on with the slide switch using another JST extension cable.
Use a JST extension cable to create a slide switch adapter. The positive cable will split a connection to the two terminals of the slide switch. You will need to shorten the length of the JST extensions as short as possible. To avoid soldering the JST extension that is connected to the switch, use another JST extension to solder into VDD and GND pins.
Use a wire stripper to expose a small piece of each wire at the end of the cable. The white wire needs to be soldered to the L+ pin. The red wire will connect to the R+ pin. The black wire connects to the L- pin. You will need to jump the R- and L- pins with a separate wire.
A male jumper wire soldered to each channel allows you to quickly connect and disconnect the speakers. Female jumper cables will need to be soldered to the left+ and right+ pins on the TPA2016. Each channel will need a red and black wire soldered to the pin.
Modify SpeakersSnip off the connector at the end of the speaker set. Use a wire stripper to exposure each wire. Tin the exposed wires to make the connections easier. Solder the male jumper cables to each of the speaker wires. Use a piece of shrink tubing to secure the soldered connections.
Place the 1200mAh lithium polymer battery inside the enclosure. Stretch the hole in the center side of the enclosure and squeeze the headphone plug through.
Plug in the speaker wires to the female jumpers that are soldered to the amplifier. Ensure the negative and positive wire match up. Slide the switch on and plug an audio device to the 3.5mm stereo cable.
The shortest distance of the speaker wiring to the amplifier is near the bottom of the side pockets. Use scissors or a cutting blade to cut/poke a hole in the bag small enough to fit the wires through.
The enclosure has tabs on the sides for easily safety pinning to textiles. For a more permanent and stable installation, sew the tabs into the textile.
This guide was first published on Mar 20, 2014. It was last updated on Mar 20, 2014.