Nick Borko
September 21, 2013
Except where otherwise noted, this work is licensed under
http://creativecommons.org/licenses/by-nc-sa/3.0
TTL Level = 5V, but in reality ~4.5V
LED Characteristics
Forward Voltage: 2V
Forward Current: 10mA
Max Current: 20mA
Kirchhoff's Voltage Law (KVL)
Resistor Voltage: 4.5 – 2 = 2.5V
Ohm's Law (V=I×R)
Resistor Current: 2.5 / 220 = 11.4mA
If you didn't know the value of R1,
use Ohm's Law:
Resistance: 2.5 / 0.01 = 250Ω
(Remember: 1000mA = 1A)
This presentation is available online at:
http://nborko.github.io/arduino101/
All source files used for this workshop are available online at:
https://github.com/nborko/arduino101