Thursday July 24, 2008

Simple LED Circuit

Author: Wayne Eggert
Date: 02/27/06
Difficulty: Basic


Description
This is the "Hello World" of Electronics -- a simple circuit that's sole function is to light up an LED light. I just got my first breadboard a few months ago and have been meaning to put it to use, so I figured what better way than to light a uber-l337 blue LED up.

Materials
(1) Solderless Breadboard (optional)
(1) 5mm LED (any color)
(1) 330ohm resistor
(1) 4 AA Battery holder
(4) AA 1.5v batteries


A Quick Word About Breadboards
Solderless breadboards are a great invention for electronic hobbyists since it allows components to be placed and moved without the need to solder and desolder if something in your circuit changes. They are fairly inexpensive ($10-$30 depending on the size you need) and considering the amount you will use them if you're into tinkering they're worth the investment. For this simple of a project a breadboard is kinda overkill, but if we were to create a variable-blinking led (with a 555 timer, potentiometer, capacitors, resistors) it would start to get messy having components directly soldered to eachother or having jumper wires holding them together. Another cheaper option with breadboards are the solder-variety, which aren't meant for moving components around much (if at all) after they have been soldered to the board.

Building The Circuit
I have included the schematic for the circuit below. I used a 6v power supply consisting of (4) 1.5v AA batteries since I had a battery holder already. The only thing missing was the value of the resistor required to limit the current. Since LEDs have very low resistance, without an external resistor to limit the current they will burn up. To find out the value of the resistor needed, we use Ohm's Law.

V=IR (voltage = current * resistance)
(Vsource - Vled) = IR


The specs on my 5mm blue LED say it can operate at 3.2-3.6v at 20mA current. Since we know V & I, we can solve for R.

V/I = R
(6V - 3.2V) / 0.02A = R
140ohm = R

So at a minimum we need a resistor of at least 140ohms to protect the LED from burning up. A 330ohm resistor should be more than adequate for most LEDs.

Here's the schematic we'll be implementing:


When building the circuit just make certain that you have the LED oriented properly (anode to cathode) as in the schematic since LEDs are polarity-sensitve. You can use a different voltage power source, just substitute the voltage in the equation above to find the resistor value you'll need.

Summary
As I mentioned previously, this was just a very basic circuit so that I could begin putting my breadboard to good use. It doesn't get much simpler than this =) Still, it was nice to see the LED light up in all its glory and I now know I didn't buy dud LEDs a few months ago. Good luck!


Comments:
I can't figure it out!!
Posted 04/16/06 3:12PM by Anonymous Techdoser
I've read the instructions like a millions times and I can't get it to work!!! LOL!! This schematic is too complicated.
help.
Posted 04/16/06 3:13PM by Anonymous Techdoser
maybe you've got your resistor in backwards?
Diodes.
Posted 04/24/06 8:49AM by Anonymous Techdoser
Two probably errors:
-Battery polarity is backwards (fix: switch battery leads to circuit)
-Diode is placed in reverse bias, backwards (fix: take out diode, flip it or turn 180 degrees, replace diode.)

One possible error:
-Something (breadboard, resistor, diode, battery) is broken or out of power.

Note: Diodes require 0.7V to bias properly (light up).
URGENT
Posted 05/01/06 5:01PM by Anonymous Techdoser
YOU MUST HAVE INSERTEED SUMTHING ELSE INSTEAD OF BATTERY
CHEQUE YOUR PANTS
lame
Posted 05/03/06 12:03AM by Anonymous Techdoser
I can't figure it out so I decided to maek a necklace out of all my resistors!!! It is so kewl LOL!!11!
Resistor Direction
Posted 10/12/06 8:28PM by PUREMUNY
Please help. I am trying to hook up a 2.4v LED light to a 2 AA battery pack. Which direction does the resistor go? Which end of the LED? Positive or negative on the battery pack. Thanks
I figured it out, before I found this site.
Posted 10/21/06 2:39PM by TruthByDenial
One of the few things that I found Interesting is that, from negative to positive, You would have this

{Wire (-) Connects to LED (-)}
{The other leg of LED, LED (+) connects to one leg of resistor. (There is no way to put a resistor in backwards)}
{The other leg of the resistor plugs into wire (+).

So it goes. - wire, LED, Resistor, + wire.
Hope this helps as I have just figured it out, and I'm just starting to learn about electricity and circuitry
Just a small note.
Posted 10/21/06 2:42PM by TruthByDenial
If your led doesn't light up.
or you are confused.

∙Make sure your battery isn't dead
∙Flip the LED ( It only conducts current one way.)
∙You're resistor is fine, as long as its directly connected to positive wire.
Simple LED Circuit
Posted 04/15/07 4:34AM by deltaboy12000
LED's cathode is identified by:
1. the short lead of the LED
2. the flat side of the case of the LED
3. the large internal metal side of the LED.

If further understanding of LEDs is wanted look up N-type and P-type material. This is very advanced reading but it the science as to why LEDs only "work" when forward biased. Also in the digital world keep in mind its sometimes required to reverse bias a diode...
Doesn't matter.
Posted 05/23/08 2:02PM by Anonymous Techdoser
The resistor can be on either end... The only thing that matters is that the polarity is right on the LED. Put the resistor anywhere you want. If the LED lights up voilla, if it doesn't reverse the pins and it will.



If you have an account, please login below. You can sign up for a new account, it's free!
You can also post anonymously as Anonymous Techdoser if you leave the username/password fields blank.

*Username
*Password
Subject
Comment  
 


*Due to URL spamming, comments will be approved before being posted.




Partners

Comparison shopping:
GPS, Digital camera,
LCD TV, Nintendo Wii,
iPod, Tomtom,
Asus, Digital Photo Frame
www.shopbot.com.au

Sony LCD TV
Read Reviews On Sony LCD TV's


Advertising Sponsors