Pages: [1]   Go Down
 Author Topic: Which resistor for a white LED 3,6V / 75mA ???  (Read 1559 times) 0 Members and 1 Guest are viewing this topic.
Paris, France
Offline
Newbie
Karma: 0
Posts: 5
Arduino rocks
 « on: February 25, 2009, 07:49:11 am » Bigger Smaller Reset

Hi all,

I need to use 5 white LEDs connected to an Arduino Duemilanove

I'm absolutely new to electronics and have no idea which resistor value I should apply to each LED. Looks like 200 ohms or 270 ohms is fine for the LEDs provided with the starter kit but for the LEDs I intent to buy, I'm not sure. See info below.

 LED Ø 5 mm
 Intensité lumineuse >10cd (10.000mcd)
 50cd@ 3,6V / 75mA
 Maxi: 50cd @4,2V

If someone could tell me how to calculate that value that would be great.

Thanks,
J
 Logged

Manchester (England England)
Offline
Brattain Member
Karma: 602
Posts: 33371
Solder is electric glue
 « Reply #1 on: February 25, 2009, 08:04:01 am » Bigger Smaller Reset

5V supply
3.6 volts across the LED
therefore 5 - 3.6 = 1.4 V across the resistor.

If this resistor has to carry 75 mA then it needs to be:-
R = E/I = 1.4 / 0.075 = 18 Ohms.

Two problems:-
1) You can't get that current out of the Arduino's output pin so you will have to use a transistor to drive it.
2) White LEDs are best driven not with a resistor but with a constant current drive. But you might get away with just one LED per transistor.
 Logged

Bristol, UK
Offline
Edison Member
Karma: 1
Posts: 1197
Exhibitor at UK Maker Faire
 « Reply #2 on: February 25, 2009, 10:09:47 am » Bigger Smaller Reset

Quote
I need to use 5 white LEDs

You'll need to wire up a separate resistor in series with each of those five white LEDs, i.e. five LEDs, five resistors, 18 Ohms each.  You can't connect all five LEDs in series (not enough voltage) nor can you connect them in parallel with a single resistor (forward voltages won't match).

If you want to control the LEDs indepenently, then you'll need five separate Arduino output pins.
 Logged

Paris, France
Offline
Newbie
Karma: 0
Posts: 5
Arduino rocks
 « Reply #3 on: February 25, 2009, 10:45:32 am » Bigger Smaller Reset

My intention was to use this sample by just changing the resistors accordingly to the LED characteristics.

http://arduino.cc/en/Tutorial/Loop

Will it work with this kind of LED and 18 ohms resistors only if I use 5 output pins or do I need a transistor?
 Logged

Left Coast, CA (USA)
Offline
Brattain Member
Karma: 361
Posts: 17262
Measurement changes behavior
 « Reply #4 on: February 25, 2009, 11:00:34 am » Bigger Smaller Reset

Quote
Will it work with this kind of LED and 18 ohms resistors only if I use 5 output pins or do I need a transistor?

You will need 5 transistors. The reason is an Arduino output pin can only source or sink a certain amount of current before it will burn out. 75ma is too much current for a output pin.

Lefty
 Logged

Paris, France
Offline
Newbie
Karma: 0
Posts: 5
Arduino rocks
 « Reply #5 on: February 25, 2009, 11:06:55 am » Bigger Smaller Reset

Okay, thanks.
Last n00b question: what kind of transistor?
 Logged

Paris, France
Offline
Newbie
Karma: 0
Posts: 5
Arduino rocks
 « Reply #6 on: February 25, 2009, 11:19:10 am » Bigger Smaller Reset

My conclusion.

So, if I use this kind of LED (18 cd @ 3,1V / 20mA - Maxi : 22cd @ 3,6V), I don't need a transistor (below the 40 mA) and can only use 95 ohms resistors.

Am I correct?
 Logged

Left Coast, CA (USA)
Offline
Brattain Member
Karma: 361
Posts: 17262
Measurement changes behavior
 « Reply #7 on: February 25, 2009, 11:21:07 am » Bigger Smaller Reset

Quote
[Am I correct?/quote]

Yep, now you got it

Lefty
 Logged

Paris, France
Offline
Newbie
Karma: 0
Posts: 5
Arduino rocks
 « Reply #8 on: February 25, 2009, 11:32:37 am » Bigger Smaller Reset

Thanks to all of you guys for your reactivity.
I learned something today
 Logged

 Pages: [1]   Go Up