Super Simple Automatic Night Light
by buckeye142 in Circuits > LEDs
19 Views, 0 Favorites, 0 Comments
Super Simple Automatic Night Light
The automatic night light is an easy, beginner friendly, circuit that requires no coding and consists of simple components. The circuit's purpose is to turn on an LED when the room it is in is dark. When it is bright then the LED will stay off. It is great for a quick and easy build, and it is useful. Visit my Tinkercad design of this circuit at https://www.tinkercad.com/things/ijfNUYjGIdI-automatic-night-light
Downloads
Supplies
The supplies include the following:
- 1 (or more) LED(s)
- 100k ohm resistor
- NPN transistor
- LDR (light-dependent resistor, sometimes called a photoresistor)
- 3V Battery Supply (such as battery pack or coil cell battery)
- Switch (optional)
- Breadboard
- Jumper wires
Add the LEDs
Insert your LED(s) into the breadboard in parallel. Be mindful of the anodes and cathodes.
Add the Transistor
Connect the cathode(s) of the LED(s) to the collector of the NPN transistor. I'm using a 2N2222 transistor. Connect the emitter to ground.
Add the LDR
Insert the LDR into the breadboard between the base and collector or the transistor.
Add the 100k Ohm Resistor
Connect the resistor from the anode(s) of the LED(s) to the base of the transistor.
Connect to Vcc
Connect the anode(s) of the LED(s) to VCC.
Add the Power Supply
Connect your 3V power supply to the + and - rails of the breadboard.
Circuit Is Complete!
Turn on your power supply to see your automatic night light in action! It should be off in the dark and off in the light. If preferred, you can vary the resistance of the resistor to change at what darkness the LED(s) turn on.
Troubleshooting
Circuit not working? Try these steps.
- Make sure your LED(s) were inserted correctly (anode on the left, cathode on the right)
- Make sure your transistor is NPN and that the transistor wasn't inserted backwards.
- Check the resistance of your resistor
- Check your connections and the power supply