What was your ultimate solution for the the led to light when pressing the button? I知 trying the same thing as we speak!
Try diagram #3 below.
For a single-color LED button like this, the LED connections are the two vertical 0.250" "stirrup" tabs on the LED socket. (right side)
The LED holder hides a current-limiting resistor so that part of the circuit is already taken care of.
You can verify the polarity of the LED using the diode check function on your multimeter.
- LED will light dimly when the red lead is on the anode (+) tab and the black lead is on the cathode (-) tab.
- I usually orient the LEDs so the cathode is next to the large black tab on the LED socket. Black tab==>black ground wire.
You'll need a 5v power supply that can provide 20mA per LED.
- 12 LED buttons can draw up to 240mA ==> give yourself some wiggle room and use a power supply rated for
at least 300mA.
- Daisy-chain the 5v on the LED anode (+) tabs. (red wires)
- You won't be daisy-chaining the LED cathode (-) wires for your setup.
You can keep the wiring a bit neater if you make Y-cables.
- First leg with a female 0.250" QD for the LED cathode (-) tab.
- Second leg with a female 0.187" QD for the microswitch NO tab.
- Third leg either wired directly to the IPac input with a long wire
or wired to a male 0.187" tab on a short wire that connects to a wire leading to the IPac.
Diagram #3:
- When the button isn't pushed you've got 5v on the LED anode and 5v from the IPac input on the cathode so the LED is not forward biased. The LED does not light.
- When the button is pushed, ground is applied to the IPac input which triggers the related output
and ground is also applied to the LED cathode which forward biases the LED. The LED lights.
Scott