Motion detection Light ON/OFF system (Automatic Light)
Project Overview :
The project aims to create an automatic light control system using an Arduino micro-controller, a PIR (Passive Infrared) sensor, and a relay module. The system detects motion using the PIR sensor and automatically turns on/off a light source connected through the relay. After a specified period of inactivity, the light is turned off to conserve energy.
Materials:
Software Requirements:
Hardware Setup:
- Connect the PIR sensor to the Arduino as follows:
- Signal pin of the sensor to digital pin 2 of the Arduino
- VCC pin of the sensor to 5V pin of the Arduino
- GND pin of the sensor to GND pin of the Arduino
- Connect the relay module to the Arduino:
- Connect the signal pin of the relay module to a digital pin (e.g., pin 3) of the Arduino.
- Connect the VCC pin of the relay module to the 5V pin of the Arduino.
- Connect the GND pin of the relay module to the GND pin of the Arduino.
- Connect the light bulb or any AC load to the relay module according to its specifications.
Software Implementation:
Write Arduino code to continuously monitor the PIR sensor for motion detection.
When motion is detected, activate the relay to turn on the light source.
After a specified period of inactivity, deactivate the relay to turn off the light source and conserve energy.
Application of the Project :
The automatic light control system using a PIR sensor and a relay module has various practical applications, including:
Energy Efficiency: It helps in conserving energy by automatically turning off lights when no motion is detected in the vicinity. This is particularly useful in spaces where lights are often left on inadvertently.
Safety and Security: By automatically turning on lights when motion is detected, it enhances safety and security by illuminating dark areas, deterring intruders, and providing better visibility.
Convenience: The system offers convenience by ensuring that lights turn on automatically when someone enters a room or approaches a specific area, eliminating the need for manual operation.
Home Automation: It can be integrated into a home automation system to control lighting based on occupancy, enhancing the overall smart home experience.
Comments
Post a Comment