How do I get power to the LEDs? I'm setting up to wire but unsure how to wire in the power to the LED lights. Thanks!
Before you start wiring things up, load some sound clips (
with correct filenames) onto the sound board so you can test it.
Here's the general hookup diagram . . .
. . . You'll need to make a "USB A cable (modified)" like this one from GGG to connect the battery pack to the power switch, LED power leads and the sound board.
5v wire is pin 1, ground is pin 4, trim the data lines so they won't short to the other wires -- picture of pinout
here.
A euro-style terminal strip will make hooking up multiple wires much easier.
Power switch wiring: Power switch
USB 5v wire____(NO)_\_(COM)_____Euro-strip 5v
USB gnd wire____________________Euro-strip gnd
1. Wire the USB 5v wire to the power switch NO (Normally Open) tab and another wire to the power switch COM (Common) tab.
2. Connect the wire from the power switch COM tab to a terminal on the euro-strip like the red wires above.
3. Connect the USB gnd wire to a terminal on the euro-strip like the black wires above.
4. Connect gnd from the euro-strip to the sound board.
5. Connect 5v from the euro-strip to the sound board.
6. Connect the amp/speaker.
7. Test the sound board by touching a wire from ground to one of the 11 inputs -- it should play the associated sound file.
Once you have the sound board working correctly, you can work on wiring the LEDs.
PROTIP: It's easier to test (and reorient if necessary) the LEDs
before you install and wire the buttons.
-- I usually orient the negative LED lead to the side with the big black tab that holds the microswitch since it's easy to remember black tab = black wire = ground for consistent wiring.
-- Set your multimeter to diode check. If the LED doesn't dimly light up when you touch the black lead to the black side tab (LED-) and the red lead to the other side tab (LED+), unplug the LED and turn it 180 degrees.
For "always on" LEDs, daisy-chain them with 5v connected to the red wire (LED+) and ground connected to the black wire. (LED-) Both LEDs are connected to 5v and ground, the same as #1 below . . .
For "animated" lights, wire 5v, ground (the "upside-down christmas tree" symbol), and the input-trigger microswitch (rectangle with NO Normally Open, NC Normally Closed, and COM Common tabs) like #2 - #6 below. The input trigger microswitches connect to the sound board inputs like the three at the bottom of the first diagram in this post. That diagram shows the COM (angled line) and the NO that COM touches when the button is pressed. "Encoder input" below is the same as a sound board input trigger. (I figured someone else might want to use some of these wiring configurations with an arcade project.)
Hope this helps. LMK if I failed to explain anything clearly.
Scott