Main > Main Forum
ddr/dance pads with leds and microswitch - how to wire all that !
NickG:
IN4001 are known to work for this application, I am not saying a better option does not exist. I have used this circuit for many years now and no leakage problems have issued.
You typically won't need the additional resistors for "12V" led, it should be included in the part. There is really not such a thing as a 12V LED that I am aware of; 12V LED are usually a regular led or array of leds and included resistor(s), ready to be directly powerd by 12v supply, you should not have to add any resistors. Check the part spec.
If your led do not include the resistor(s), you can calculate with this tool:
http://led.linear1.org/led.wiz
Your circuit looks about correct. I think in my setup, I also had the controller (inputs)common connected to ground, to avoid potential difference.
hycday:
yes, when I speak about leds bandes/leds stripes, I am talking about these :
so I would need to separate the wires of these to add a resistance (what for? from 12v to what?) unless it comes with the power supply. this is still confusing to me..
in your link, it asks for diode forward voltage/diode forward current, this is the diodes that is before the encoder or no ?
as per the ground of encoder, it also goes to the ground of the power supply ? I tought it goes anyway to it via the switches
NickG:
A led strip product may exist which does not include the required resistance in order to get a smaller for factor or something, but just buy the type with the resistors already in place, for example:
https://www.google.com/search?rlz=1C1EODB_enUS556US556&biw=1280&bih=923&tbm=isch&sa=1&q=led+strip+12v&oq=led+strip+12v&gs_l=img.3..0j0i24l3.268324.269127.0.269349.4.4.0.0.0.0.84.202.4.4.0....0...1c.1.51.img..0.4.201.CSErFLsg5gY#facrc=_&imgdii=_&imgrc=XMW63DCxwq8VBM%253A%3BLamubQXw_9N45M%3Bhttp%253A%252F%252Fwww.usledsupply.com%252Fshop%252Fmedia%252Fcatalog%252Fproduct%252Fcache%252F1%252Fimage%252F9df78eab33525d08d6e5fb8d27136e95%252Ff%252Fl%252Fflex_strip_5050_12v_flex_strip_2400k.gif%3Bhttp%253A%252F%252Fwww.usledsupply.com%252Fshop%252F12v-warm-white-flex-strip.html%3B1280%3B853
The '151" between the LED's in that picture are the SMT resistors. These strips are usually parallel or parallel pair already, just cut them at the correct place and power directly at about 12V.
Nevermind the other link unless you are building your own LED strings from bare components, but the forward voltage is for a Light Emitting Diode (LED); that is an LED calculator.
I would just have ground of the controller encoder be at same level as the LED PSU, but maybe it is not necessary.
hycday:
Hi NickG,
would this kind of wiring also work ? (i guess X and start are two additional buttons)
thanks !
NickG:
Yes, that is for incandescent bulbs, though. That is how my controller is actually wired, because I was originally using bulbs. Now that I have replaced the bulbs with 12V LED modules, the additional diode for the lamp becomes unnecessary, as LED is already a Diode. I would leave it out; assuming your 12V supply has good regulation, the additional diode would drop your "lights" supply by about 0.7V, which may cause them to light less fully. I do not have this problem and did not have to remove mine because I am using one of these http://www.ebay.com/itm/XL6009-LM2596S-DC-DC-Step-Up-Down-Boost-Buck-Voltage-Power-Converter-Module-/201138075192?pt=LH_DefaultDomain_0&hash=item2ed4c37638 to power the LEDs from the Playstation 2 controller power and can tune LED supply to >12V to still have 12V across the LED. (I only have 9 LED, so current draw from the controller bus is less a concern in my case)