I have some 6v LEDs (built into some push buttons)
From what I know (and its not much) resistors are used to drop the volt for leds to protect them, but I read a lot about protecting the arduino outputs too.
Do I need to use a resistor in some what when I connect a 6v led directly to a output pin?
You must measure how many milliAmps the LED uses. insert a multimeter in between, Arduino can deliver 50 mA per pin max (IIRC) but between 1..10 is better.
I have some 6v LEDs (built into some push buttons)
From what I know (and its not much) resistors are used to drop the volt for leds to protect them, but I read a lot about protecting the arduino outputs too.
Do I need to use a resistor in some what when I connect a 6v led directly to a output pin?
They work fine now..
Thx Gary
Do you have a link for the pushbutton/led device? If it's led is truly designed to wire directly to 6vdc then that implies that is already has internal current limiting resistor. If that is the case then it should be no problem being wired directly to an arduino output pin and ground. However that is an assumption that should be be verified by reading the datasheet for the device.
I would say that’s safe to wire the 6vdc led terminals directly from an arduino output pin and ground as the internal “protective resistor” will prevent damage to the output pin and the internal led. However what don’t see is a wiring diagram to tell you the correct pin numbers and polarity for the led section of the device, so you will have to experiment with it I guess.
Polarity and NC NO pins are written directly on the button, so no problems there, and they work just fine... I simply shorted my board this morning (with some screw mounts) and was first worried that it was the leds, so thought I better check up..