Go Down

Topic: IR lights (Read 989 times) previous topic - next topic


hallo everybody!
I'm having problems in lighting up a led:
using the program "blink", I manage to get a white 5mm led blinking, but when I use a IR led, instead of the white one, nothing happens.. why is it so? Do I need a smaller resistor for IR leds?
Thanks a lot


Hi Ale, how do you know nothing is happening? Most IR LEDs are not visible to the naked eye.


I know.. but I used a camera..


Jan 30, 2008, 11:16 pm Last Edit: Jan 30, 2008, 11:19 pm by adilson Reason: 1
In the Italian forum you said you're using a [glow]DL[/glow]271. I coun't find this datasheet.
But if you make a mistake, and the IR is a [glow]LD[/glow]271, the datasheet is here:

It says that the forward current is 130mA. and forward voltage is 1.3v.
So, you cannot use arduino pins to connect it directly (Arduino pins max. current is 40mA per pin). If it was possible, the resistor value was supposed to be 28ohms (27 in commercial values).

So you need to use the multiple leds circuit as an example, with one IR led and one resistor with 18ohms. This resistor will dissipate .312 W, so you'll need a 1/2 watt resistor.

Be careful if you want to connect many IR led, because of the Arduino regulator current limit. If you need to exceed it (I'm not sure but diecimila is 800mA, serial 1A), you can change the multiple leds circuit to use 9v. (with 47ohm resistor in series with led).


thanks a lot..
actually I managed to get it working with a smaller resistor: 330ohm instead of 2.2k..
thanks again

Go Up