Skip to content

This project implements a motion-activated lighting system using Arduino and a PIR (Passive Infrared) sensor. The system automatically turns on the light when motion is detected in its vicinity and turns it off after a preset time if no further motion is detected, providing energy-efficient automation for rooms, corridors, or outdoor areas.

Notifications You must be signed in to change notification settings

Abhyjeet17/Motion-Sensored-Light-System-Through-Arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿšถ Motion Sensored Light System Using Arduino

๐Ÿ“Œ Overview

This project implements a motion-activated lighting system using Arduino and a PIR (Passive Infrared) sensor. The system automatically turns on a light when motion is detected and turns it off after a predefined delay if no motion is detected, promoting energy-efficient and automated lighting for rooms, corridors, or outdoor spaces.

This project is beginner-friendly and it is the which got me into learning embedded systems, sensor interfacing, and automation using Arduino.


โš™๏ธ Components Used

  • Arduino UNO
  • PIR Motion Sensor (HC-SR501)
  • Relay Module (to control AC light)
  • Jumper Wires
  • Breadboard
  • USB B Cable for Arduino

๐Ÿ› ๏ธ Working Principle

  • The PIR sensor detects infrared signals from moving objects (like humans).
  • When motion is detected, the PIR sensor outputs a HIGH signal to the Arduino.
  • Arduino triggers a relay module to turn ON the connected light.
  • After a preset delay (e.g., 30 seconds) without further motion, Arduino turns OFF the light automatically.
  • Delay timing can be adjusted in the Arduino code (delay_time variable).

๐Ÿ”Œ Circuit Connections

PIR Sensor Arduino
VCC 5V
GND GND
OUT D2
Relay Module Arduino
VCC 5V
GND GND
IN D8

Block Diagram

flowchart LR
    PIR[PIR Motion Sensor] --> Arduino[Arduino UNO]
    Arduino --> Relay[Relay Module]
    Relay --> Load["12V DC Load (Light, Buzzer, Fan)"]

Loading

About

This project implements a motion-activated lighting system using Arduino and a PIR (Passive Infrared) sensor. The system automatically turns on the light when motion is detected in its vicinity and turns it off after a preset time if no further motion is detected, providing energy-efficient automation for rooms, corridors, or outdoor areas.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages