Go Down

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


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.


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

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

shortcuts: alt+s submit/post or alt+p preview