Digital IO – LED Blink – Arduino for Beginners

Showcase your projects! We love to see what people come up with, so please share your creations here.
Post Reply
User avatar
stryker
Posts: 270
Joined: Sat Jan 14, 2012 2:44 pm

Re: Digital IO – LED Blink – Arduino for Beginners

Post by stryker » Thu Nov 13, 2014 11:17 am

Hi,

Depending on your LED's forward voltage that could well be a perfect value resistor for the job. This relies on Ohm's law (link to calculator online) to calculate.

If your source voltage is 5V and the voltage drop across your LED is 2V, you put 3V in that calculation (the voltage that will be dropped over the resistor 5V - 2V = 3V) and 220 as your resistor value in and it will calculate 13mA as the current. 20mA is your upper limit for a pin on your Arduino so that's well within the capability.

Hope that explanation makes sense, Geoff

Post Reply