Simple Street Light Circuit Using Light Dependent Resistor (LDR)

11,089 views

Street light circuits or street lamps play an important part in maintaining safety regulations in transportation networks. In this project, we are going to build a simple street light circuit using an LDR & a 5V relay.

The circuit uses a Light Dependent Resistor (LDR) to sense light. The circuit is quite sensitive & versatile. It can be used to activate any 220-volt AC device at night and turn it off during the daytime. The circuit diagram present here is that of a street light that automatically switches ON when the night falls and turns OFF when the sun rises. In fact, you can use this circuit for implementing any type of automatic night light.

Hardware Components

You will need the following parts to build this Circuit.

S.noComponentValueQty
1.Breadboard1
2.Connecting Wires1
3.Battery9v1
4.SPDT Relay Module9V/5V1
5.AC Supply220V1
6.Suitable Load (AC Bulb)1
7.NPN Transistor2N39042
8.Diode1N40041
9.POT50KΩ1
10.Resistor1KΩ, 33Ω1

2N3094 Pinout

2n3904 pinout

Circuit Diagram

street-light-or-lamp-circuit

Working Explanation

The operation of this circuit is very similar to that of a darkness detecting circuit or a dark/ light sensor. In this circuit transistors, Q1 & Q2 behave as switches. During the daytime, the resistance of LDR decreases, subsequently increasing voltage at the base of transistor Q1. The collector of Q1 joins to the base of Q2. So, Q2 will remain off & the relay will not energize, due to which the street light will remain off.

When the night starts to fall, the resistance of LDR increases as the light intensity decreases. This triggers the transistor Q1 to switch off, due to which the voltage at the base of Q2 increases & switches on. This subsequently energizes the coil of the 9V/5V relay module & the street light turns on. In case you’re using a 9V Battery to energize the 5V relay coil, connect a 33Ω resistor in series with the coil, or else you run the risk of frying up the coil. You can also connect a 220V plug socket with the load point to connect different electronic devices but make sure the relay points are able to handle the provided load.

Applications

  • Automatic street lights are usually used to control the street lights. They also serve as a remarkable battery management system for common electronic projects.
  • It can be used to activate outdoor lights at night time like garden lamps, night lights, etc.