Go Down

Topic: Project 2 question (Read 881 times) previous topic - next topic

Nikoo

Hello, I'm not sure if this is explained somewhere in the projects book, but I haven't been able to find it.
Anyway, I have been wondering why a 10K? resistor is used in project 2. This might be a stupid question, but I'm pretty new to this stuff.

richspry

You've probably resolved this, but I have an unanswered post and it's annoying!

As I understand it (I'm relatively new, too) it's a very safe selection.  With 5v coming through the circuit from the Arduino and the LED itself using up approximately 2.2v, the resistor has to use up 2.8v in order to protect the LED from burning out (the maximum continuous current through the LED being 30mA).  A 10,000 ohm resistor therefore allows a mere 0.28mA (Ohm's Law: Current = Volts/Resistance; 2.8/10000 = 0.00028.  A 1,000 ohm resistor would have allowed 2.8mA (still very safe, and a bit brighter).  Even a 100 ohm resistor would have been within 30mA (and the LED would be much brighter).  It's worth tinkering to find out!

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy