20-07-2011, 11:41 AM
It’s more than a year ago now since I posted my homebrew ESR meter on another forum, (based on a design by a Canadian radio amateur, VE7IT), since when scores have been built. Over a period of many months, based on feedback, queries and suggestions that I received from constructors who built one, I modified the PCB in various ways to make it easier to construct and use, until it reach the final version as posted on this forum.
One of the queries was from those who wished to add an LED as a warning that the meter was switched on. LEDs are a simple and useful addition to any project but they require a series resistor, and some constructors were unsure how to calculate that. I did modify the PCB layout to add a series resistor on the PCB to make construction easier, but it occurs to me that home-brewers might occasionally like to add an LED to other projects, so some explanation of how to calculate the series resistor might be of interest.
The formula for calculating the series resistor for an LED is: Supply Volts minus LED volts, divided by LED current in mA = series resistor value in Ohms. So for example, say an LED which drops 3.3V, draws a current of 20mA, and is to be run from a 9 Volt supply. 9V – 3.3V = 5.7V to be dropped. Divide this by 20 mA (.02A) and we get 285. Nearest higher preferred value to that would be 330 Ohms, so that’ what we would choose.
As to the Wattage of the resistor, given that it drops 5.7 Volts, and the current is .02A, Watts = Volts x Amps, so 5.7 x .02 = 0.114. Hence, the nearest 330 Ohm resistor above that Wattage would be fine – even an 1/8th Watt one (0.125W), but most normal ones are 0.5W or so anyway.
A quicker rule of thumb for calculating the series resistor is 50 x Voltage to be dropped, so in the above example, 50 x 5.7 V = 285 Ohms. (Use next higher preferred value - 330R).
Or even easier, you can just use one of many online calculators such as:
http://www.hebeiltd.com.cn/?p=zz.led.res...calculator
http://www.quickar.com/noqbestledcalc.htm
I've added a sketch to show how LEDs and series resistors are wired. I should emphasise that the sketch isn't to scale - the LED is montrously large - larger than a PP3 battery in fact!
Hope this info might come in useful to someone sometime.
Happy constructing!
David
One of the queries was from those who wished to add an LED as a warning that the meter was switched on. LEDs are a simple and useful addition to any project but they require a series resistor, and some constructors were unsure how to calculate that. I did modify the PCB layout to add a series resistor on the PCB to make construction easier, but it occurs to me that home-brewers might occasionally like to add an LED to other projects, so some explanation of how to calculate the series resistor might be of interest.
The formula for calculating the series resistor for an LED is: Supply Volts minus LED volts, divided by LED current in mA = series resistor value in Ohms. So for example, say an LED which drops 3.3V, draws a current of 20mA, and is to be run from a 9 Volt supply. 9V – 3.3V = 5.7V to be dropped. Divide this by 20 mA (.02A) and we get 285. Nearest higher preferred value to that would be 330 Ohms, so that’ what we would choose.
As to the Wattage of the resistor, given that it drops 5.7 Volts, and the current is .02A, Watts = Volts x Amps, so 5.7 x .02 = 0.114. Hence, the nearest 330 Ohm resistor above that Wattage would be fine – even an 1/8th Watt one (0.125W), but most normal ones are 0.5W or so anyway.
A quicker rule of thumb for calculating the series resistor is 50 x Voltage to be dropped, so in the above example, 50 x 5.7 V = 285 Ohms. (Use next higher preferred value - 330R).
Or even easier, you can just use one of many online calculators such as:
http://www.hebeiltd.com.cn/?p=zz.led.res...calculator
http://www.quickar.com/noqbestledcalc.htm
I've added a sketch to show how LEDs and series resistors are wired. I should emphasise that the sketch isn't to scale - the LED is montrously large - larger than a PP3 battery in fact!
Hope this info might come in useful to someone sometime.
Happy constructing!
David








