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.
Hardware Components
The following components are required to make an Automatic Washroom Light Circuit
S.no | Components | Value | Qty |
---|---|---|---|
1. | IC | NE555 Timer | 1 |
2. | Decade Counter IC | CD4017 | 1 |
3. | Transistor | 2N4401 | 3 |
4. | Relay | 12V | 1 |
5. | LEDs | – | 3 |
6. | Piezo electric sensor | – | 1 |
7. | Variable resistor | 1MΩ | 1 |
8. | Resistor | 1M, 10k, 1k, 470Ω, 100Ω, 120R | 2, 4, 2, 1, 1, 1 |
9. | Electrolytic Capacitor | 2.2µF 35V, 10µF | 1, 1 |
10. | Ceramic Capacitor | 0.1µF | 1 |
11. | AC supply | 230V | – |
12. | DC Supply from the battery | 5V – 12V | – |
13. | Lamp | 220V | – |
NE555 Pinout
For a detailed description of pinout, dimension features, and specifications download the datasheet of 555 Timer
CD4017 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.