# Engineer an LED Night-Light

Create Assignment

This feature requires that you be logged in as a Google Classroom teacher and that you have an active class in Google Classroom.

 Areas of Science Electricity & Electronics Difficulty Time Required Short (2-5 days)
*Note: For this science project you will need to develop your own experimental procedure. Use the information in the summary tab as a starting place. If you would like to discuss your ideas or need help troubleshooting, use the Ask An Expert forum. Our Experts won't do the work for you, but they will make suggestions and offer guidance if you come to them with specific questions.

If you want a Project Idea with full instructions, please pick one without an asterisk (*) at the end of the title.

## Abstract

Night-lights can be found in many homes; you might even have one in your bedroom! Using a night-light is a great way to avoid stubbing your toe on furniture during a midnight trip to the bathroom. In this fun engineering project, you will design and build your own night-light. You will need to build the circuit, but you will also need to think about the physical design of the product. Most people probably do not want an ugly, bare circuit board sitting around their house. Can you make a functional, aesthetically pleasing case or enclosure for your circuit? You could make a case using craft materials, wood, or even a 3D printer if you have access to one.

If you need some help getting started and learning how to build an LED night-light circuit, first watch this video for an overview and explanation of how the circuit works:

As you saw in the video, you will need to make some design decisions for your circuit. The major decision is whether to make it battery-powered or wall-powered. The voltage of your power supply (3 V for 2xAA/2xAAA/coin cell batteries, 5 V for USB wall power) will determine the required resistance of the current-limiting resistor in series with the LED. If you are not familiar with Ohm's Law or how to calculate the current through an LED, see the references in the Bibliography.

The circuit required to build an LED night-light is very similar to the one in our Light Tracking Bristlebot project. If you have already purchased the kit for that project, you can reuse many of the parts. If not, here is the main list of parts you will need. Remember that the exact parts you use may vary depending on some of your design decisions.

• Power supply, such as a 2xAA or 2xAAA battery holder. For wall power you will need a USB wall adapter and either a USB cable or male USB plug. You will need to connect to the proper pins in the USB adapter—see the Bibliography.
• Super bright LED, available in different colors.
• Current-limiting resistor to put in series with the LED. You can calculate an exact value for the resistor as described in the Bibliography references. However, if you already have some resistors laying around, something in the 30–50 Ω range should work with a 3 V power supply.
• Potentiometer. The potentiometer used in the example circuit has a resistance of 10 kΩ. Other values should work, as long as the resistance of the photoresistor is not dramatically larger or smaller (see next point).
• Photoresistor. The photoresistor used in the example circuit has a quoted resistance range of 16 kΩ (light) to 500 kΩ (dark). Other values will work as long as they are roughly in the same range as the potentiometer (i.e. both in the tens of kilo-ohms). Do not use a 100 Ω potentiometer with a 20 MΩ photoresistor, or the circuit will not work properly (see the Bibliography reference about voltage dividers to learn more).
• Transistor. The transistor in the example circuit is an N-channel MOSFET. There are many different types of transistors, and you could build this circuit using other types with some small modifications. See the Bibliography to learn more.
• Jumper wires, which come in a variety of assorted kits.

To wire the circuit, see the diagrams in Figures 1 and 2. Figure 1 shows the connections directly between the leads of the different circuit components. You can use this diagram if you plan to solder the circuit yourself on a protoboard (you will need to decide how to arrange the components). Figure 2 shows the circuit on a breadboard. You can follow this diagram exactly. If you do not know how to use a breadboard, see the breadboard tutorial in the Bibliography.

Figure 1. Wiring diagram for the LED night-light circuit. Image made with Fritzing.

Figure 2. Breadboard diagram for LED night-light circuit. Image made with Fritzing.

How does the circuit work? Remember to watch the video (starting at about 3:25) for an explanation. Figure 3 shows a copy of the schematic. See the Bibliography if you do not know how to read a circuit schematic. The potentiometer and photoresistor are combined to form a voltage divider. The output of the voltage divider turns the MOSFET on and off (therefore turning the LED on and off) depending on the amount of light hitting the photoresistor. The potentiometer allows you to adjust the threshold at which the LED will turn on.

Figure 3. Circuit schematic for the LED night-light.

## Credits

Ben Finio, PhD, Science Buddies

General citation information is provided here. Be sure to check the formatting, including capitalization, for the method you are using and update your citation, as needed.

### MLA Style

Finio, Ben. "Engineer an LED Night-Light." Science Buddies, 20 Nov. 2020, https://www.sciencebuddies.org/science-fair-projects/project-ideas/Elec_p090/electricity-electronics/led-night-light?class=AQVcCEfpLlzn13quku2W2-qcHkNPBNZizBePlPChixTKUlw8zHIkOLEQLzCK--e3oJl1fCmrSK8gCsYLBM76nBQGZZQZHNFPCz5sSQ_R0cwCRw. Accessed 21 Jan. 2021.

### APA Style

Finio, B. (2020, November 20). Engineer an LED Night-Light. Retrieved from https://www.sciencebuddies.org/science-fair-projects/project-ideas/Elec_p090/electricity-electronics/led-night-light?class=AQVcCEfpLlzn13quku2W2-qcHkNPBNZizBePlPChixTKUlw8zHIkOLEQLzCK--e3oJl1fCmrSK8gCsYLBM76nBQGZZQZHNFPCz5sSQ_R0cwCRw

Last edit date: 2020-11-20

## Experimental Procedure

For this science project you will need to develop your own experimental procedure. Use the information in the summary tab as a starting place. If you would like to discuss your ideas or need help troubleshooting, use the Ask An Expert forum. Our Experts won't do the work for you, but they will make suggestions and offer guidance if you come to them with specific questions.

If you want a Project Idea with full instructions, please pick one without an asterisk (*) at the end of the title.

## Share your story with Science Buddies!

The Ask an Expert Forum is intended to be a place where students can go to find answers to science questions that they have been unable to find using other resources. If you have specific questions about your science fair project or science fair, our team of volunteer scientists can help. Our Experts won't do the work for you, but they will make suggestions, offer guidance, and help you troubleshoot.

## If you like this project, you might enjoy exploring these related careers:

Career Profile
Just as a potter forms clay, or a steel worker molds molten steel, electrical and electronics engineers gather and shape electricity and use it to make products that transmit power or transmit information. Electrical and electronics engineers may specialize in one of the millions of products that make or use electricity, like cell phones, electric motors, microwaves, medical instruments, airline navigation system, or handheld games. Read more
Career Profile
Electrical engineering technicians help design, test, and manufacture electrical and electronic equipment. These people are part of the team of engineers and research scientists that keep our high-tech world going and moving forward. Read more
Career Profile
Electricians are the people who bring electricity to our homes, schools, businesses, public spaces, and streets—lighting up our world, keeping the indoor temperature comfortable, and powering TVs, computers, and all sorts of machines that make life better. Electricians install and maintain the wiring and equipment that carries electricity, and they also fix electrical machines. Read more