Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Beaglebone Python Programming

You're reading from  Learning Beaglebone Python Programming

Product type Book
Published in Jul 2015
Publisher
ISBN-13 9781784399702
Pages 196 pages
Edition 1st Edition
Languages

Calculating resistor values for LEDs


Let's take a moment to talk about driving LEDs. There's plenty of information out there on how LEDs operate, and to be honest, we don't need to think about the majority of it. That's not to say that it's not a fascinating subject, but there's really only two properties we care about here—the forward voltage and the forward current. The forward voltage, also called the forward voltage drop or just voltage drop, of an LED is the voltage that is dropped across it, and the forward current is the maximum current that the LED can handle without being damaged. Both these values vary between different LEDs, but general purpose 3 mm and 5 mm LEDs like the one pictured previously will typically have a forward voltage of around 2 V and a forward current of around 20 mA.

The simplest way to limit the current through the LED to the desired forward current is by using a resistor in series with it. Let's take a look at the following diagram:

Let's assume the voltage source...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}