I am looking fot the math formula to figure out the voltage drop i need and the associated resistor. such as the led uses 3 volts i have 12 i need a resistor that will drop 9 volts. also how to figure out the size resistor (watts). thanks Lee
You need the forward voltage drop of the LED. The desired operating current. The source voltage.
How much does the resistor drop and what power is it dissipating? E=IR, P=EI Hint: the resistor only drops what the LED doesn'nt. Can you use basic algebra to manipulate these formulas? Give it a shot. Tom
First, determine the amount of current you wish to have flow through the LED. You will need to get this information from the datasheet.
Once you have this piece of information, you can apply ohms law to determine the needed value of resistor. Take the supply voltage minus the voltage drop of the LED at the desired current and divide by the desired current. This will give you the needed resitance. Typically, I use 10ma for a general LED and using that value as an example with your numbers: 12V - 3V = 9V / 10ma = 900 ohms. You can then use this figure to pick the a standard resistor that is near this value. Once you have the resistor picked, double check what current values this will produce and verify that it is within acceptible range.
Vcc = supply voltage Vf = LED's forward voltage If = desired forward current
Note that "Vf" needs to include Vol of your output logic, transistor, whatever - i.e. you need to calculate the actual voltage drop across the resistor in your specific case, so you can calculate the ohms needed to pass the desired current.
...however, LEDs will work fine over a fairly wide range of current, so you don't need to get _too_ scientific in your calculations.
The current rating given on a LED data sheet is frequently the maximum recommended current, so you should plan on operating the LED at a somewhat lower current, unless you really need maximum brightness.
--
Peter Bennett, VE7CEI
peterbb4 (at) interchange.ubc.ca
new newsgroup users info : http://vancouver-webpages.com/nnq
GPS and NMEA info: http://vancouver-webpages.com/peter
Vancouver Power Squadron: http://vancouver.powersquadron.ca
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.