Monday 3 September 2018

batteries - Powering LED with 9V battery


I want to take an LED and power it with a 9V battery. I just don't seem able to get the math right.


Taking an average 9V battery and a 10mm LED, what kind of resistor would I need and how do I know for how long the LED will run on the battery?


Also, can infrared LEDs be "seen" (using a camera?) from a distance?



Answer



10 mm is not an electrical specification, you should consult the datasheet to find out how much current it needs. For an indicator LED that's often 20 mA. The LED will have a voltage across it, what's called the voltage drop. We also need that, it's also in the datasheet. The voltage drop mainly depends on the color, for a red LED 2 V is a typical value.


So with 2 V and 20 mA we can get to work. We're going to place a resistor in series with the LED to control the current. At 9 V battery voltage and a 2 V drop across the LED we'll have 7 V remaining for the resistor. Then according to Ohm's Law Voltage = Current x Resistance, we can calculate the resistor value as



\$ R =\dfrac{V}{I} = \dfrac{7 V}{20 mA} = 350 \Omega \$


The closest E12 value is 390 Ω. To know how long the battery will light the LED we want to know the battery's capacity, expressed in mAh, for mA-hours. An alkaline barry may have a capacity of 560 mAh. Then at 20 mA it will work for about 28 hours, maybe somewhat less.


And yes, a camera will see IR, from how far depends on the LED's power output.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...