Pages: [1]   Go Down
Author Topic: IR lights  (Read 395 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 18
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Ale
Logged

London
Offline Offline
Faraday Member
**
Karma: 8
Posts: 6240
Have fun!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

0
Offline Offline
Newbie
*
Karma: 0
Posts: 18
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I know.. but I used a camera..
Logged

Brazil
Offline Offline
Sr. Member
****
Karma: 0
Posts: 443
..., to learn, to know, to make, to share, to l...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
http://www.ortodoxism.ro/datasheets/siemens/LD271HL.pdf

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).
« Last Edit: January 30, 2008, 05:19:05 pm by adilson » Logged

PCB Designer

0
Offline Offline
Newbie
*
Karma: 0
Posts: 18
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: