I read some where that lighting up some LEDs with a battery is like the electronic version of "Hello World," so I thought it would be a good place to start.
----------------------
I’m using a 9 volt battery to power to power my first circuit. Since a single, red standard LED has a typical forward voltage (VF) of 1.7V, a 9V will easily blow out the bulb. To ensure that this doesn’t happen, I will use a resistor in my circuit. The formula for calculating resistor values is:
R = (VS - VL) / I
VS = supply voltage (the battery)
VL = load voltage (in this case, the LED is the load. Note that this is the same value as the LED’s VF)
I = LED current in amperes
R = value of the resistor, in ohms, that will allow enough current to pass to the LED without blowing it out1.
The LED current for my circuit is 30 milliamperes (mA), which converts to 0.03 amperes. In the case of my single, red LED, my calculation goes like this:
R = (VS - VL) / I
R = (9 - 1.7)/0.03
R = 7.3/0.03
R = 243.33 Ohms
Since I don’t have any resistors that are exactly this value, I would normally round up to the next higher value (270 Ohm). Unfortunately, my still-growing supply of electronic components lack even these (another trip to Radio Shack, anyone?), so I’ll use one of my 330 Ohms. (Note: if you want to skip manual calculations there are some pretty neat resistor value calculators out there2.)
Voila!
Remember to always have a resistor in place before powering an LED. I tried one circuit with just the battery and the LED and the bulb lit up for about a quarter of a second, went dim and started smoking.
Next time I’ll talk about wiring LEDs in series and in parallel.
Part List:
Breadboad
9V battery
9V battery snap connectors
1 resistor (270 Ohm for a single red or yellow LED; 330 Ohm for a single green one)
1 LED (red, yellow or green)
References:
1.) The Electronics Club: Light Emitting Diodes (LEDs)
2.) LEDZ.com: LED Resistor Calculator
No comments:
Post a Comment