Abstract
LEDs (light-emitting diodes) are electronic components that convert a portion of the electrical energy flowing through them into light. How does the intensity of the light produced vary with the current flowing through the LED? To find out, you'll build some simple circuits to vary the current flowing an LED. You'll also build a simple light-to-voltage converter circuit to measure LED output.Summary
Michelle Maranowski, PhD, Science Buddies

Objective
The goal of this project is to measure the light output of an LED as a function of current through the LED.Introduction
Today's electronic devices such as computers, handheld video games, and MP3 players are all based on components made of materials called semiconductors. Semiconductors have properties that are intermediate between conductors and insulators. Diodes, for example, are a semiconductor device that allow current to flow in only one direction. In the forward direction, diodes act like a conductor. In the reverse direction, diodes act like an insulator.
An LED (light-emitting diode) is a special kind of diode that produces light (see Figure 1).

Figure 1. A red LED (top). The longer lead is the anode (+) and the shorter lead is the cathode (-). In the schematic symbol for an LED (bottom), the anode is on the left and the cathode is on the right (Hewes, 2006).
When current flows through the diode in the forward direction, some of the electrical energy is converted into light of a specific color (i.e., wavelength). The color of the light depends on the material from which the semiconductor is made. LEDs are available in many different colors.
As the current through the LED increases, the brightness also increases. Typically, the recommended current for an LED is 20 milliamperes (mA) or less. Above this value, the lifetime of the LED will be decreased significantly. Far above this value, the LED will fail catastrophically. Catastrophic failure can be defined as when the LED no longer emits light.
To keep the LED current at or below the recommended operating current level, LEDs are typically connected in series with a current-limiting resistor, as shown in Figure 2. In this circuit, the positive terminal of the battery is connected to the resistor. The resistor is connected in series with the anode of the LED. The cathode of the LED is connected to the negative terminal of the battery. In this case, the battery is providing 9 V to the series combination of the resistor and the LED.

Figure 2. Schematic diagram of an LED in series with a 1kΩ resistor and a 9 volt battery. (Hewes, 2006).
The voltage drop across an LED is about 2 V (except for blue or white LEDs, where the voltage drop is about 4 V). This means that 2 V is required for the LED to turn on and conduct or create a path for current. Voltage drop is defined as a loss in voltage across components in an electrical circuit. Of the 9 V available, 2 V is required to turn on the LED. That leaves 7 V to drop across the resistor. Think of the circuit as a waterfall loop. There is 9 V available at the top of the waterfall. Seven volts fall across the resistor, and 2 V fall across the LED. The current then proceeds in a loop. Using Ohm's law, the current, I, through the resistor will be V/R = 7 V/1kΩ = 7 mA.
Figure 3 shows you how to use Ohm's Law to calculate what size resistor you need to limit the current through the LED to the desired value. The voltage drop across the resistor will equal the supply voltage minus the voltage drop across the LED (or, VS − VL). You can then use Ohm's Law to calculate the resistance, R, needed to produce a desired current, I:
So, if the supply voltage is 9 V, what resistor would you need for a 20 mA current? R = (9 − 2)/0.02 A = 350Ω. For more details, and a set of online calculators, see the LED references in the Bibliography section (Hewes, 2006; Ngineering, 2003). You can also read more general background information about electricity in the Science Buddies Electricity, Magnetism, & Electromagnetism Tutorial.

The diagram explains how the starting voltage of the battery loses some value of volts to the LED bulb as it passes through, and to figure out the voltage going across the resistor you must subtract the voltage lost to the LED from the starting battery voltage.
Figure 3. Schematic diagram showing how to use Ohm's Law to calculate the correct value for the current-limiting resistor (Hewes, 2006).
In this project you will make two circuits: an LED circuit and a light-to-voltage converter circuit. You will use a variety of different resistors in series with an LED to make LED circuits with smaller and larger currents. You'll use a simple light-to-voltage converter circuit to measure the output of the LED. How will LED output change with current?
Terms and Concepts
To do this project, you should do research that enables you to understand the following terms and concepts:- semiconductor
- diode
- light emitting diode (LED)
- anode
- cathode
- voltage (V)
- current (I)
- resistance (R)
- resistor
- series
- voltage drop
- Ohm's law (V = IR, or I = V/R, or R = V/I)
- circuit
- short circuit
Note: Many of these terms and concepts are discussed in the Science Buddies Electronics Primer.
Questions- You have a 4.5 V voltage source connected in series with a 470Ω resistor and a standard red LED. Assuming that the voltage drop across the LED is 1.7 V, how much current would you expect to flow through the circuit?
- What resistance would you need in the above circuit in order to produce a 20 mA current?
Bibliography
On this page you can build virtual circuits with batteries and resistors, then test your circuit by throwing a switch to light up a bulb. If there's too much current, the virtual light bulb blows up, too little current, and the bulb won't light. When you get the current right, the bulb glows brightly.- University of Oregon Physics Department. (n.d.). Ohm's Law. Retrieved April 15, 2014.
- Hewes, J. (2006). Light Emitting Diodes (LEDs). The Electronics Club, Kelsey Park Sports College. Retrieved April 15, 2014.
- Ngineering. (n.d.). LED Calculators. Retrieved April 15, 2014.
- AMS (2016, July 15). TSL257 High-Sensitivity Light-to-Voltage Converter.. Retrieved February 25, 2019.
- Jimblom (n.d.). Resistors. SparkFun Electronics. Retrieved March 16, 2018.
- National Aeronautics and Space Administration. (n.d.). The NASA SCIFiles: Circuits. Retrieved April 15, 2014.
- Science Buddies. (2010). Electronics Primer. Retrieved November 11, 2010.
- Science Buddies Staff. (n.d.). How to Use a Breadboard. Retrieved September 25, 2015.
- All About Circuits. (n.d.). What are 'Series' and 'Parallel' Circuits?. Retrieved July 10, 2020.
Materials and Equipment
To do this experiment you will need the following materials and equipment. Unless otherwise specified, part numbers are from Jameco Electronics:- TSL257-LF light-to-voltage converter, available from Digikey Electronics or Mouser Electronics. This part is not currently available from Jameco.
- Solderless breadboard, part #20601
- AA batteries (6), part #198707
- 3xAA battery holders (2), part #216136
- Alligator clip leads (10 pack), part #10444
- 1/4-watt resistors with the following values, available from Mouser Electronics (Jameco does not carry all of the values listed below):
- 150 Ω, part #690662
- 330 Ω, part #690742
- 680 Ω, part #690822
- 1.3 kΩ, part #690890
- 2.7 kΩ, part #690961
- 10 kΩ, part #691104
- Orange LEDs (5), part #2155268
- Digital multimeter (DMM). See our multimeter tutorial if you do not know how to use a multimeter.
- 22 AWG solid-core hookup wire (e.g. part #2152876) and wire strippers (e.g. part #159291), or a jumper wire kit (e.g. part #2127718)
Disclaimer: Science Buddies participates in affiliate programs with Home Science Tools, Amazon.com, Carolina Biological, and Jameco Electronics. Proceeds from the affiliate programs help support Science Buddies, a 501(c)(3) public charity, and keep our resources free for everyone. Our top priority is student learning. If you have any comments (positive or negative) related to purchases you've made for science projects from recommendations on our site, please let us know. Write to us at scibuddy@sciencebuddies.org.
Experimental Procedure
- The circuit is very simple. The light-to-voltage converter is an integrated package that contains a photodiode and an amplifier. The functional block diagram is shown.

The current generated by the light-to-voltage converter is wired into a operational amplifier which produces an output voltage based on the intensity of light that hits the light-to-voltage sensor.
Light-to-voltage converter functional block diagram (TAOS, Inc., 2006).
Light (indicated by arrows) illuminates the photodiode sensor and generates a current. The operational amplifier (or "op amp," symbolized by the large triangle in the diagram) produces an output voltage that is proportional to the intensity of the light illuminating the photodiode.
- Place 3 batteries into the first battery pack.
- A drawing of the actual component is shown. The round window contains the light-sensitive region. The component has three pins, as shown.
- Pin 1 should be connected to ground (black wire from the battery holder).
- Pin 2 should be connected to the positive supply voltage (red wire from the battery holder). The supply voltage should be between 2.5 and 5.5 V DC, so you can use either 2 or 3 AA batteries.
- Pin 3 is the output voltage, a signal that is proportional to the amount of light falling on the sensor.

A light-to-voltage converter is a square shaped sensor that has three leads coming out of it, one for ground, the middle to supply it power, and the last to output power.
Drawing of light-to-voltage converter package (TAOS, Inc., 2006).
- Here is a schematic diagram of the complete circuit. In addition to the light-to-voltage converter, there is only one more component: a 10 kΩ resistor (RL). Connect the resistor from pin 3 to ground, as shown.

A detailed circuit diagram shows how and where each lead on the light-to-voltage converter connects to the operational amplifier and a resistor attached to the 3rd output pin to measure the voltage drop.
Light-to-voltage converter circuit schematic (TAOS, Inc., 2006).
- The output signal is the voltage drop across the 10 kΩ resistor. To read the output, use one alligator clip lead to connect the positive lead of the resistor to the red probe of your DMM, and another clip lead to connect the grounded lead of the resistor to the black probe of your DMM. Set your DMM to read DC volts.
- Build the circuit on the breadboard. You can learn how to use a breadboard in the Science Buddies reference How to Use a Breadboard for Electronics and Circuits.
- Take two 2-inch lengths of wire and strip the plastic off from both ends of both lengths. Also make three 1-inch lengths of wire and strip off the plastic from the ends.
- Use the 2-inch wire lengths to connect each terminal to a power bus. Connect the red wire from the battery pack to the red terminal and the black wire to the black terminal. Red indicates the positive or 'hot' end of the battery, and black is the 'cool' end of the pack or ground. Use the two to connect each terminal to a power bus.
- Now insert the light to voltage converter into the breadboard. Insert each pin into a separate column on the breadboard. Follow the directions in step 4 to connect the converter properly. Connect the positive power bus to a column with a 1-inch wire. Insert the power pin, middle pin, of the converter into the same column.
- Connect the ground wire from the battery pack into a different column. Insert the ground pin of the converter into the same column.
- Now connect one end of the resistor to the output pin of the converter. In other words insert both pins into the same column. Then connect the other end of the resistor to the ground column. You may need a few 1-inch wires to accomplish this.
- Test the circuit with your digital multimeter (DMM). If you need help using a multimeter, check out the Science Buddies reference How to Use a Multimeter. Use clip leads to connect the DMM across the 10 kΩ resistor, and set the DMM to read DC volts (the maximum signal will be about 5 V). When you shine a flashlight directly on the sensor, your DMM should read between 1 and 5 V (depending on the brightness of the flashlight, and how close it is to the sensor). When you cover the sensor, the DMM should read close to 0 V.
- The LED circuit is very simple. As discussed in the Introduction, you should always use a current-limiting resistor in series with the LED.
- Place 3 batteries into the second battery holder.
- Use a clip lead to connect the red wire of the battery holder to one lead of the 150Ω resistor.
- Use a clip lead to connect the other resistor lead to the longer lead (anode) of the LED.
- Gently bend the ends of LED leads apart from one another so that the clip leads won't accidentally short the circuit.
- Use a clip lead to connect the shorter lead (cathode) of the LED to the black wire of the battery holder. That's it!
- Taking care not to disconnect the clip leads, position the LED so that its top is pointing directly at the sensor window of the light-to-voltage converter.
- Check the voltage reading on the DMM that is connected to the 10 kΩ resistor in the light detection circuit. If the LED is too close, it will drive the light detection circuit to its maximum response (about 4.5 V, with 3 AA batteries). We say that the response is saturated, because the detector cannot increase its output if it detects more light. You want to avoid this condition, because if the detector is in saturation, you will not get an accurate reading of the intensity of the LED. Move the LED away from the detector until the voltage reading on the DMM starts to drop.
- Measure the distance between the LED and the detector, or, better yet, fix the LED in place. You want the LED at the same height as the detector window, with the top of the LED facing directly at the window. The distance between the LED and the detector should be exactly the same for all of your measurements.
- Record the voltage reading on the DMM in your lab notebook.
- Change the resistor in the LED circuit. Swap out the 150Ω resistor and replace it with the 330Ω resistor.
- With the LED at exactly the same distance from the sensor, again measure and record the voltage reading on the DMM.
- Repeat for each of the resistors (150 Ω–2.7 kΩ).
- Remove the first LED from the LED circuit and replace with a fresh LED. Repeat steps 1–7 taking care to replace the new LED circuit at exactly the same position as the old LED circuit. Record all of your readings in your lab notebook.
- You also need to measure the current in the LED circuit with each of the different resistors (150Ω–2.7kΩ). If you have two DMMs, you can use one to measure the voltage of the light detector circuit, and the other to measure the current in the LED circuit. If you have a single DMM, then you have to make the current measurements separately.
- To measure current, connect the DMM in series with resistor and LED.
- Use a clip lead to connect the red wire of the battery holder to one lead of the 150 Ω resistor.
- Use a clip lead to connect the other resistor lead to the longer lead (anode) of the LED.
- Gently bend the ends of LED leads apart from one another so that the clip leads won't accidentally short the circuit.
- Use a clip lead to connect the shorter lead (cathode) of the LED to the red probe of the DMM. Note that some DMMs have separate sockets for the red probe for reading current and voltage. Make sure that the red probe is in the correct socket for reading current.
- Use a clip lead to connect the black probe of the DMM to the black wire of the battery holder.
- Set the DMM to read DC current in the 200 mA range. (For resistors > 150Ω, you will probably want to switch to the 20 mA range.)
- Record the current reading for each circuit in your lab notebook.
- Repeat steps 1–3 with the second LED that you used in the previous section.
- Make a graph of the LED intensity, expressed as voltage output from the light detection circuit (y-axis), vs. the LED current, in milliamps (x-axis) for both of the LEDs you tested.
- What is the relationship between LED current and light intensity? How does light intensity vary between the LEDs?

Ask an Expert
Variations
- An LED can easily be powered by 2 AA batteries instead of 3. With two batteries, the supply voltage will be 3.0 V instead of 4.5 V. If you were to use a 3 V supply for the LED circuit, can you figure out the value of the resistor you would need in order to limit the LED current to 20 mA? Which additional resistors would you need in order to replicate this experiment using a 3 V supply for the LED circuit? Try it out!
- What happens if you increase the LED current beyond 20 mA? Calculate the resistor value you would need to limit the LED current to 40 mA. Design an experiment to find out if the LED intensity at 40 mA is twice the intensity at 20 mA.
- For an experiment that investigates LED current in circuits powered by solar cells, see the Science Buddies project: How Does Solar Cell Output Vary with Incident Light Intensity?
Careers
If you like this project, you might enjoy exploring these related careers:
Related Links
- Science Fair Project Guide
- Other Ideas Like This
- Electricity & Electronics Project Ideas
- My Favorites