Automatic Room Lightning
Automatic Room Lightning
Automatic Room Lightning
Introduction
▪ Automatic Room Lighting System is a microcontroller based project that
automatically turn on or off the lights in a room. Electricity, being one of
the most important resources, must be utilized carefully.
▪ We often forget to switch off lights or fans when we leave a room. By
using this system, we can intentionally forget about the lights as the
system will automatically take care of them.
▪ The aim of this project is to automatically turn on or off the lights in a
room by detecting the human movement. We implemented this project
using 8051 Microcontroller and two Infrared (IR) sensors.
▪ Since the job of the circuit is to turn on the light when someone enters
the room and turn off the light when the last person leaves the room, the
project has to internally count the number of visitors entering and leaving
the room. Hence, the project acts as an Automatic Room Lighting System
as well as Bidirectional Visitor Counter.
5V Relay Module
▪ A 5V Relay Module is used in this project which helps 8051
Components Required Microcontroller to operate high voltage AC loads like a light. The detailed
▪ AT89C51 Microcontroller (any 8051 architecture based microcontroller) circuit of the Relay Module is shown in the following image. It consists of
▪ 8051 Development Board a 5V Electromechanical Relay, an Optocoupler IC, transistor, two resistors
▪ 2 x Infrared Sensors and two diodes.
▪ 16 x 2 LCD Display
▪ 5V Relay Module
▪ Lamp
▪ Connecting Wires
▪ Power Supply