The Night-Light [MINI PROJECT]

Description

This is a circuit that turns on a light when it gets dark. The sensor we use here is a photoresistor, also called Light-Dependent Resistor (LDR). The resistance of the photoresistor is high when there is little to low light, or low when there is a lot of light. The photoresistor and the resistor R1 make up a voltage divider. So when the resistance of the photoresistor is high, the voltage on the base of the resistor becomes high and turns on the transistor. When the resistance of the photoresistor is low, the voltage on the base becomes low and turns off the transistor.

Circuit Diagram

Circuit diagram for night light Part list:
  • Breadboard
  • Jumper wires
  • Photoresistor (LDR) with around 5-10kΩ resistance in light and around 200kΩ or more in dark
  • NPN Transistor (such as BC546/547/548 or 2N3904)
  • Resistor 100 kΩ (R1)
  • Resistor 470 Ω (R2)
  • Light-Emitting Diode (LED)

Members Only Section

Hey there! To get access to this and all the other resources to learn electronics with Ohmify, you need to be a member.