How to Use an LED With a 9 Volt Battery
- 1). Obtain the values for the LED voltage and maximum current. This may be done by reading them off of the LED datasheet or package.
- 2). Study Ohm's Law to calculate the minimum value for a current limiting resistor for an LED. It is R = (Voltage Source -- LED Voltage)/LED current.
- 3). Calculate the minimum value of the required resistance. For example, given a 9-volt battery, and a 2-volt LED with a maximum current of 30 mA, the required resistance R is (9 V -- 2 V)/0.03 A = 233 ohms. Note that milliamps must be converted to amps by dividing by 1000. Also, the absolute minimum R should be avoided; use a 240-ohm, 330-ohm or higher valued resistor instead.
- 4). Wire the 2-volt LED or another low-voltage one in series with a resistor and battery. First, attach the positive side of the battery to the breadboard, and connect one end of the resistor to this side. Connect the positive side of the LED to the free end of the resistor. Place the negative terminal of the LED to ground, and then also wire the negative side of the battery to ground. The LED will light.
Instructions
Source...