Pro Trinket and Audio FX Sound Board

To power the sound board, we'll need to connect the postive and negative pads on the bottom JST to the JST pads on the Pro Trinket. You'll need to secure the two boards using either helping third hands or a panavise jr.

Tin the pads on the JST. Measure and cut two pieces of  30AWG silicone-coated stranded wires to about 7cm in length. Strip and tin the two wires.

Wire Pro Trinket and Audio FX Sound Board

Solder one piece of wire from the (-) JST on the Pro Trinket to the (-) JST on Audio FX sound board. Solder the second piece of wire from the (+) JST on the Pro Trinket to the (+) JST on the Audio FX sound board.

Install Pro Trinket & Audio FX sound board

Place the components into the two handle parts. You'll know which handle part goes with the component by checking if the stand-offs line up with the mounting holes. Both components should have their micro-USB conntectors facing the opening cutout near the bottom.

Mounting Screws

You'll need a batch of #4-40 3/8in Phillips machine screws to secure the components to the printed parts. I recommend fastening them to the components first to carve the screw threads into the mounting holes. The Pro Trinket was a bit difficult(smaller) to get machine screws into the mounting holes, so I used #4 flat Phillips screws (The sharp and pointy tipped kind).

Mount Pro Trinket & Audio FX Sound Board

Fasten #4-40 Phillips machine screws to secure the components to the handle parts. You can use single or two screws for each component.

Keep handle parts close together! Avoid accidentally breaking the wires by separating parts.

Setup Pro Trinket LiPoly Backpack

We need to setup the Pro Trinket LiPoly backpack in order to use it with a slide switch. Use a filing tool or x-acto knife to break the trace between the two pins designated for the slide switch.

Take precautions when using sharp pointy things! Carve away from yourself an apply minimal pressure.

Mount Pro Trinket LiPoly Backpack

Insert and fasten a #4-40 Phillips machine screw into the Pro Trinket LiPoly Backpack and mount it to the handle part.

Wire Pro Trinket LiPoly Backpack

Measure and cut 30AWG silicone-coated stranded wire long enough to connect the ProTrinket to the LiPoly backpack. Wire together BAT+ to BAT, G to G, and BUS to 5V.

Wire Slide Switch

Use a helping-third hand to secure the slide switch in place while soldering a wire to the terminals. Measure and cut two pieces of 30AWG silicone-coated stranded wire and solder them to the slide switch. Use heat shrink tubing to secure the connections.

Wire Slide Switch to LiPoly Backpack

Solder the two wires from the slide switch to the designated pins on the Pro Trinket LiPoly Backpack. Connect the JST cable from a 500mAh lithium polymer battery to the JST female connector on the LiPoly Backpack. Slide the switch to power it on. If everything's good, you should see both components green LEDs appear.

If the LEDs aren't lighting up, unmount components and check your connections for any shorts.

Wire Amp to Audio FX Sound Board

Measure and cut wires that will connect the PAM8302 amp to the Audio FX sound board. Wire together A+ to L or R, GND to GND,  Vin to Vin, and A- to GND. Strip and tin the wires before soldering to pin outs.

Wired Pro Trinket + Audio FX + Amp

Check point. Double check your wiring and cross reference the connections with the circuit diagram. 

Wire Speaker to Audio FX Sound Board

Remove the wires that came with the mini metal speaker and solder 30AWG silicone-coated wire. Solder the (+) and (-) wires from the speaker to the (+) and (-) audio out pins on the PAM8302.

Wire Push Button

Secure the push button in place with a helping-third hand. Use flat pilers to straighten out the terminals on the push button. Measure and cut four pieces of 30AWG silicone-coated stranded wire. Strip and tin the tips of each wire. Solder two pieces to each terminal of the push button. Add shrink tubbing to secure the connections.

Connect Push Button to Pro Trinket + Audio FX Sound Board

Solder one of the wires from the push button to the #4 GPIO on the Pro Trinket. Solder wire, from the second terminal of the push button to a GND pin on Pro Trinket. Solder another wire from the push button to #10 GPIO on the Audio FX sound board (should be the wire thats shared with #4 GPIO on the Pro Trinket). Solder the remaining wire to the GND on the Audio FX sound board (shared with GND wire connected to Pro Trinket.)

Wire NeoPixel Ring

Secure the NeoPixel ring to a panavise jr. Measure and cut three pieces of 30AWG silicone-coated stranded wire. Strip and tin the tips of each wire then solder wires to GND, Data Input, and 5V Power. Thread each wire through the holes in the NeoPixel mount and press the ring down to snap it into place. 

Wire Laser Diode

Double the length of the wiring from the laser diode by soldering a pair of 30AWG silicone-coated wires. Use heat shrink tubing to secure the extended connection. Insert a long piece of heat tubing into the wiring of the laser and thread it through the barrel neopixel ring part. Press into the barrel until the almost all the way through. 

Mount NeoPixel Ring Diffuser to Barrel

Thread the two wires from the laser diode into the center of the NeoPixel ring mount. Rotate to orient the ring so it's 90 degress from the the seem of the barrel. Press the mount to the barrel to snap it into place.

Connected Components 

With all the components wired together, run a last flight check on all the connections. Cross reference the circuit diagram and double check all of your solder points.

Preassembly Test

Power on the circuit and wait for the Pro Trinket boat loader to kick in. Pressing the push button should trigger your desired audio effect and NeoPixel LED animation.

If the sound doesn't trigger, check the audio file name is set to the proper track. If the issue persists, open up the handle and check your wiring.
If the NeoPixel LED doesn't fire, ensure the Arduino code matches the pins of the NeoPixel ring and push button in the circuit. 

This guide was first published on Nov 04, 2014. It was last updated on Mar 08, 2024.

This page (Wiring) was last updated on Oct 28, 2014.

Text editor powered by tinymce.