Go Down

Topic: People hate resistors for their LEDs (Read 4794 times) previous topic - next topic

trendski

When doing a quick test, I like to plug one leg of a standard led into the Arduino female. I have some 560 Ohm resistors soldered onto flex jumper wires at one end, and  croc-clips on the other. This is so I can clip the croc onto the other LED leg, and plug the loose end of the resistor into another female. The croc-wire-resistor makes it easier to move between components and arduino pins.

Come to think of it a croc-resistor-croc might also be useful.



Craig Turner, blog: http://gampageek.blogspot.co.uk/ It helps with my learning if I write things down, esp. for others to follow (constructive comments welcomed to improve)

CrossRoads

I have similar - a couple of LEDs with a resistor soldered to one of the legs.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Osgeld


I have similar - a couple of LEDs with a resistor soldered to one of the legs.


yea I have a small handful of those
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

westfw

I got lazy and bought 50 "prewired for 6V red LEDs" from eBay.  Like these: http://www.ebay.com/itm/50-Pre-Wired-6v-3mm-Red-LEDs-PreWired-Red-6v-LED-/160596848997?pt=LH_DefaultDomain_0&hash=item2564517165


GoForSmoke

I had a UV led on a pot and made the mistake of turning the pot too low. Weird smell.

Hardest part for me is trying to remember how to determine the resistor value, which I have to go search on to re-check even if I do think I remember just to be sure which I'm not. So I aim high as I don't like leds hurt-my-eyes bright anyway.
I run 340+ ohms at 5V with standard 5mm reds for indoor use. Maybe they'll live longer, certainly they use less power.

Nick Gammon on multitasking Arduinos:
1) http://gammon.com.au/blink
2) http://gammon.com.au/serial
3) http://gammon.com.au/interrupts

westfw

I used 1k for nearly all my "indicator" LEDs.  With modern LEDs, that's plenty bright, and it's pretty-much always safe (<5mA)  1k resistors are useful for LOTS of things!
Now, when you get to illumination rather than indication, you can start worrying about "correct" LED resistors.


CrossRoads

I just remember the formula
(Vs - Vf)/.02 = resistor
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

GoForSmoke

EVP; I bookmarked that page twice and Karma'd you once.

Crossroads, I never tried but can I get Vf using a meter on the led?

One way I can get at least close is get the led in bright light and see the V it generates.
Nick Gammon on multitasking Arduinos:
1) http://gammon.com.au/blink
2) http://gammon.com.au/serial
3) http://gammon.com.au/interrupts

CrossRoads

Use 5V and 270-330-470 ohm resistor, something in that range, measure Vf across the LED.
You cannot measure it without current flowing.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

grendle

just do what i do, dont use resistors, i just keep using the leds till they pop and fizzle. they're so cheap just buy tons of em.  :smiley-eek-blue:

JimboZA

Quote
i just keep using the leds till they pop and fizzle


Maybe fair enough on the bench but what about in production?

The BBT episode where Sheldon was on at Penny about her check engine light being on, and he wondered if there was a check the check engine light light. (As he does....)

Imagine the liability claims if peeps' engines blew up because the oil pressure lights had all popped and fizzled themselves to death?
"Could you do the egg bacon spam and sausage without the spam then? "

No PMs for help please.
DO NOT power servos from Arduino 5V: give them their own power and connect the grounds.

grendle


Quote
i just keep using the leds till they pop and fizzle


Maybe fair enough on the bench but what about in production?

The BBT episode where Sheldon was on at Penny about her check engine light being on, and he wondered if there was a check the check engine light light. (As he does....)

Imagine the liability claims if peeps' engines blew up because the oil pressure lights had all popped and fizzled themselves to death?


hmmm, maybe not using resistors is why i cant get the pin 13 blink sketch to work??  :~ and if you work with the engineers you spoke of in another post, the ones who ask everyone else for answers, you can easily lay the blame with them because they're clueless already!!  :smiley-eek:

lol but im only kidding bout not using resistors



GoForSmoke

Pin 13 led has a resistor. I hope you're joking about not getting it to blink.

Feed a led low enough V and you don't need a resistor but at 5V the lifetime is amazingly short.
Back in the 90's I saw a 555 circuit that ran red leds on very short 9V pulses yet allowed a lifetime of minutes.... it said.... I never tried. The purpose of that one was to make very bright pulses for a fake laser.
Nick Gammon on multitasking Arduinos:
1) http://gammon.com.au/blink
2) http://gammon.com.au/serial
3) http://gammon.com.au/interrupts

grendle

ya i was joking, that was a leftover from another post about ppl asking ppl on the forum to show them how to do blink 13 lol.

Go Up