Simple Automatic Day Night Switch using LDR

25,944 views

We are all well aware, of how much it is necessary to save electricity in the present situation where it is getting hard to meet the required and desired production of electricity for our urban communities. A basic circuit of the automatic night light is depicted right now in this tutorial. This automatic circuit switch ON a load when darkness falls and switch it OFF when dawn breaks.

In this DIY project tutorial, we will depict a basic automatic day and night switch. The circuit can perform both day and night/light and dark detecting errands. It contains two programmed switches, which will initiate and deactivate as indicated by dawn and nightfall. In the daytime, relay 1 will actuate, and relay 2 stays OFF and when the sun sets relay 1 will get deactivated/OFF, and relay 2 will get initiated. In this way, you can control numerous appliances you wanted to turn ON and OFF day and night.

2N3904-NPN-General-Purpose-Transistor

Hardware Components

The following components are required to make Automatic Day Night Switch Circuit

S.noComponentValueQty
1.Relays2
2.Power diodes1N41482
3.Photoresistor1
4.Transistor2N39042
5.Resistor1kΩ2
6.Variable Resistor50K1
7.DC supply or Battery5V – 12V1

2N3904 Pinout

2N3904-Pinout

For a detailed description of pinout, dimension features, and specifications download the datasheet of 2N3904

Automatic Day Night Switch Circuit

Automatic-Day-Night-Switch-Circuit-Diagram-Schematic

Working Explanation

The circuit is utilizing two transistors. At the point when light falls on the LDR, its resistance gets increases because of which the transistor Q1 becomes turns ON and transistor Q2 will stay in an OFF state. At the point when transistor Q1 will turn ON it will initiate relay 1, and on the contrary, in a condition when there is no light on the outside of the LDR then the transistor Q1 will go OFF and deactivate relay 1, and Q2 will become switch ON and actuate the relay 2.

The circuit can be operated from a 5V to 12V DC battery. The affectability of the circuit can be balanced with the 50K variable resistor. The relay qualities ought to be chosen by the working voltage.

Applications and Uses

This Day Night Switch Can be used for:

  • Garden lighting
  • Passage lighting
  • Security lights
  • Parking lot lighting
  • Shops
  • Street lights
  • Glow signboards
  • Hoardings or any electrical device
  • Doorway lighting and other places for automatic lighting.