Automatic Washroom Light using CD4017 & 555 Timer

5,423 views

This is a DIY project tutorial on an automatic washroom light circuit; the circuit automatically turns ON a washroom light when somebody attempts to open the washroom entryway and consequently switches off the light when again opens the door to come out.

The circuit utilizes a piezoelectric sensor in the circuit to detect the door vibrations. Also, it employs two ICs one is NE555 and the second is CMOS Decade counter IC, some transistors, and a few other discrete parts.

Most of the time, we neglect to switch OFF the lights subsequent to leaving the washroom. This may prompt electricity wastage and furthermore, the lifetime of the lights may diminish gradually. To overcome these issues, I will tell you the best way to make a basic circuit that will consequently switch the lights ON when an individual enters the washroom and it automatically switches it OFF when he/she leaves it.

CD4017-Decade-Counter

Hardware Components

The following components are required to make an Automatic Washroom Light Circuit

S.noComponentsValueQty
1.ICNE555 Timer1
2.Decade Counter ICCD40171
3.Transistor2N44013
4.Relay12V1
5.LEDs3
6.Piezo electric sensor1
7.Variable resistor1MΩ1
8.Resistor1M, 10k, 1k, 470Ω, 100Ω, 120R2, 4, 2, 1, 1, 1
9.Electrolytic Capacitor2.2µF 35V, 10µF1, 1
10.Ceramic Capacitor0.1µF1
11.AC supply230V
12.DC Supply from the battery5V – 12V
13.Lamp220V

NE555 Pinout

555 timer ic pinout

For a detailed description of pinout, dimension features, and specifications download the datasheet of 555 Timer

CD4017 Pinout

cd4017 ic pinout

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

Automatic Washroom Light Circuit

Working Explanation

The circuit is straightforward and economical to create. It utilizes two ICs (NE555 and CD4017), one piezoelectric sensor, and three transistors with the combination of a relay, resistors, LEDs, and a few electrolytic capacitors. The affectability to detect vibrations can be expanded or diminished with the 1M variable resistor. The working voltage of the circuit can vary from 5V – 9V DC. The relay value ought to be picked by the working voltage.

The piezo sensor is associated with the circuit through a 6 to 9 inches wide (you can likewise explore different avenues regarding more length) and ought to be put at the top corner of the entryway so it won’t interact with the water and the rest of the circuit of the task ought to be set in a reasonable enclosed area and appended on a protected side where it won’t interact with water.

Applications and Uses

  • Use in controlling the switching operation of washroom lights. i.e. On or OFF
  • The circuit can likewise be utilized in different spots where you need to automatically open one or numerous lights and furthermore different appliances.