Automatic Night LED Light Using LDR and BC547 Transistor

Ever wished a light could just know when it’s getting dark outside and switch itself on — no flipping switches, no remembering? That’s exactly what this Automatic Night LED Light does! It’s a simple little circuit that turns the light ON when the sun goes down and OFF when it gets bright again, all by itself.

The best part? You don’t need to know any coding, and there’s no microcontroller involved. Just a handful of cheap, easy-to-find parts.

This is a fantastic beginner project. Whether you’re a student just getting into electronics, a curious hobbyist, or someone who simply enjoys tinkering, building this circuit is a fun, hands-on way to understand how sensor-based switching works in real life.


Components Required

ComponentQuantity
BC547 NPN Transistor ➤ https://amzn.to/4ePUgEv1
LDR (Light Dependent Resistor) ➤ https://amzn.to/431y6cT1
820 kΩ Resistor ➤ https://amzn.to/4u3aCiH1
330 Ω Resistor1
5 mm LED ➤ https://amzn.to/4tYOLc41
9V Battery ➤ https://amzn.to/3SRXYWJ1

Circuit Diagram

Connect the circuit exactly as shown in the diagram below.


How Does an LDR Work?

An LDR (Light Dependent Resistor), also known as a photoresistor, changes its resistance depending on the amount of light falling on it.

  • In bright light, the resistance of the LDR becomes very low.
  • In darkness, its resistance increases significantly.

This change in resistance is used to detect whether it is day or night.


Applications

This simple automatic night light circuit can be used in many practical situations.

  • Automatic garden lights
  • Bedroom night lamps
  • Outdoor decoration lights
  • Small home automation projects
  • Educational electronics experiments

Note: The 820 kΩ resistor used in this circuit provides a suitable switching point under normal lighting conditions. However, ambient light levels vary from one location to another. If the LED turns ON too early or too late, you can experiment with nearby resistor values such as 680 kΩ, 1 MΩ, or 1.2 MΩ to adjust the circuit’s sensitivity. Choose the resistor value that gives the best performance for your specific environment.

Leave a Reply

Your email address will not be published. Required fields are marked *

More Articles & Posts