SlideShare a Scribd company logo
AUTOMATIC ROOM LIGHTS CONTROLLER USING ARDUINO AND PIR SENSOR
by:
ANKIT KUMAR CHAUDHARY
(15/IEE/055)
Under The Guidance Of
Dr. M.A. ANSARI
Department of Electrical Engineering
School of Engineering
Gautam Buddha University
Gautam Budh Nagar UP, India
Table of Contents
• Overview
• Circuit Diagram of Automatic Room Lights controller using Arduino and
PIR Sensor
• Components Required for Automatic Room Lights controller using
Arduino and PIR Sensor
• Component Description
• PIR Sensor
• Relay Module
• Circuit Design
• Working of the Project
• Applications
• References
Overview
• Automatic Room Lights System using Arduino is a very useful project
as you need not worry about turning on and off the switches every
time you want to turn on the lights. The main components of the
Automatic Room Lights project are Arduino, PIR Sensor and the Relay
Module.
• Out of the three components, the PIR Sensor is the one in focus as it
is the main device that helps in detecting humans and human motion.
• In fact, the Automatic Room Lights project can be considered as one
major application of the PIR Sensor. A similar concept is being already
implemented in automatic toilet flush valves, hand dryers, etc.
Circuit Diagram of Automatic Room Lights controller using
Arduino and PIR Sensor
The following image shows the circuit diagram of the project implemented
using Arduino UNO, PIR Sensor and a Relay Module.
If you do not have a relay module, you can make one yourself using very simple
hardware. The following circuit diagram shows the project being implemented
with the help of discrete components for the Relay Module.
Connection Diagram
Components Required for Automatic Room Lights
controller using Arduino and PIR Sensors
• Arduino UNO
• PIR Sensor
• 5V Relay Module (Relay Board)
• LED
• 100Ω Resistor (1/4 Watt)
• Connecting Wires
• Breadboard
• Power Supply
If we do not have a Relay Module, use the following components:
• 5V Relay
• 2N2222 (or BC547) NPN Transistor
• 1N4007 PN Junction Diode
• 1KΩ Resistor (1/4 Watt)
Component Description
PIR Sensor
A typical PIR Sensor looks like the one shown in the image below. To connect
with external devices, it has only three pins namely VCC, Digital OUT (Data) and
GND.
Relay Module
A Relay Module is a very useful component as it allows Arduino, Raspberry Pi or
other Microcontrollers to control big electrical loads. We have used a 2-channel
Relay Module in this project but used only one relay in it. The relay module used
in this project is shown below:-
Circuit Design
• PIR Sensor’s Data OUT Pin is connected to Arduino’s Digital I/O Pin 8. An LED is
connected to pin 13 of Arduino to indicate whether the light is turned ON or
OFF.
• The IN1 pin of the Relay Module is connected to Pin 9 of Arduino. A bulb is
connected to mains supply through relay. One terminal of the bulb is
connected to one wire of the mains supply. The other terminal of the bulb is
connected to the NO (Normally Open) contact of the Relay Module.
• COM (Common) contact of the Relay is connected to the other wire of the
mains supply. Be careful when connecting this part of the project.
Working of the Project
• The Automatic Room Lights using Arduino and PIR Sensor is a simple project, where
the lights in the room will automatically turn on upon detecting a human motion and
stay turned on until the person has left or there is no motion.
• Working of this project is very simple and is explained here.
• Initially, when there is no human movement, the PIR Sensor doesn’t detect any
person and its OUT pin stays LOW. As the person enters the room, the change in
infrared radiation in the room is detected by the PIR Sensor.
• As a result, the output of the PIR Sensor becomes HIGH. Since the Data OUT of the
PIR Sensor is connected to Digital Pin 8 of Arduino, whenever it becomes HIGH,
Arduino will activate the relay by making the relay pin LOW (as the relay module is an
active LOW module).
• This will turn the Light ON. The light stays turned ON as long as there is movement in
front of the sensor.
• If the person takes a nap or leaves the room, the IR Radiation will become stable
(there will be no change) and hence, the Data OUT of the PIR Sensor will become
LOW. This in turn will make the Arduino to turn OFF the relay (make the relay pin
HIGH) and the room light will be turned OFF.
Applications
• Garage Lights
• Bathroom Lights
• Hand Dryers
• Toilet Flushers
• Security Lights
REFERENCES
• [1] Vibhuti and Shimi S.L., “Implementation of Smart Class Room Using WAGO PLC”,
Proceedings of the Second International Conference on Inventive Systems and Control
(ICISC) 2018, Coimbatore, pp. 807-812.
• [2] A. Maslekar, K. Aparna, K. Mamatha and T.Shivakumara, “Smart Lighting System using
Raspberry Pi”,International Journal of Innovative Research in Science and Technology,
Vol.4(7), 2015, pp.5113-5121I.
• [3] Suresh S, H.N.S.Anusha, T.Rajath, P.Soundarya and S.V,PrathyushaVudatha. “Automatic
Lighting And Control System For Classroom” 2016 International Conference on ICT in
Business Industry & Government (ICTBIG).
• [4] Vahid Hassanpour, Sedighe Rajabi, Zeinab Shayan, Zahra Hafezi, Mohammad Mehdi
Arefi , “Low-Cost Home Automation Using Arduino and Modbus Protocol”, 5th
International Conference on Control, Instrumentation and Automation (ICCIA), Shiraz,
2017, pp. 284-289.
• [5] https://components101.com/microcontrollers/arduino-Uno
Automatic Room Light Controller Using Arduinom & PIR Sensor
Ad

More Related Content

What's hot (20)

IoT Based Home Automation System Presantation
IoT Based Home Automation System PresantationIoT Based Home Automation System Presantation
IoT Based Home Automation System Presantation
Farhan Ahmed Rahee
 
Home automation
Home automationHome automation
Home automation
Rupshanker Mishra
 
Home automation using blynk
Home automation using blynkHome automation using blynk
Home automation using blynk
VarshithAnnavarapu1
 
AUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEMAUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEM
JOLLUSUDARSHANREDDY
 
Bluetooth based home automation using Arduino UNO
Bluetooth based home automation using Arduino UNOBluetooth based home automation using Arduino UNO
Bluetooth based home automation using Arduino UNO
parameshwar koneti
 
Home automation using arduino
Home automation using arduinoHome automation using arduino
Home automation using arduino
Ikram Arshad
 
Wireless charging technology ppt
Wireless charging technology pptWireless charging technology ppt
Wireless charging technology ppt
Ankit Gupta
 
Smart door project ppt shivnaresh likhar
Smart door project ppt shivnaresh likharSmart door project ppt shivnaresh likhar
Smart door project ppt shivnaresh likhar
Shivnaresh Likhar
 
Seminar report
Seminar reportSeminar report
Seminar report
Ankit Gupta
 
WIRELESS FLOOR CLEANING ROBOT
WIRELESS FLOOR CLEANING ROBOTWIRELESS FLOOR CLEANING ROBOT
WIRELESS FLOOR CLEANING ROBOT
Asish Nayak
 
Smart street light system
Smart street light systemSmart street light system
Smart street light system
Kuriakose Mathew
 
Minor Project Report: Automatic Door Control System
Minor Project Report: Automatic Door Control SystemMinor Project Report: Automatic Door Control System
Minor Project Report: Automatic Door Control System
Saban Kumar K.C.
 
Iot based home automation
Iot based home automationIot based home automation
Iot based home automation
geetha chandrathi
 
Bidirectional visitor counter
Bidirectional visitor counterBidirectional visitor counter
Bidirectional visitor counter
Zakir Gulzar
 
Latest Electrical Mini Projects For EEE Students
Latest Electrical Mini Projects For EEE StudentsLatest Electrical Mini Projects For EEE Students
Latest Electrical Mini Projects For EEE Students
elprocus
 
AUTOMATIC BELL FOR COLLEGE
AUTOMATIC BELL FOR COLLEGEAUTOMATIC BELL FOR COLLEGE
AUTOMATIC BELL FOR COLLEGE
bharath405
 
smart street light projet
smart street light projetsmart street light projet
smart street light projet
Surya Karan
 
Automatic room light controller with bidirectional visitor counter
Automatic room light controller with bidirectional visitor counterAutomatic room light controller with bidirectional visitor counter
Automatic room light controller with bidirectional visitor counter
Niladri Dutta
 
Smart dustbin using arduino and ultrasonic sensor
Smart dustbin using arduino and ultrasonic sensorSmart dustbin using arduino and ultrasonic sensor
Smart dustbin using arduino and ultrasonic sensor
ShaikhMohammedAmmar
 
Automatic railway gate control using arduino uno
Automatic railway gate control using arduino unoAutomatic railway gate control using arduino uno
Automatic railway gate control using arduino uno
selvalakshmi24
 
IoT Based Home Automation System Presantation
IoT Based Home Automation System PresantationIoT Based Home Automation System Presantation
IoT Based Home Automation System Presantation
Farhan Ahmed Rahee
 
AUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEMAUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEM
JOLLUSUDARSHANREDDY
 
Bluetooth based home automation using Arduino UNO
Bluetooth based home automation using Arduino UNOBluetooth based home automation using Arduino UNO
Bluetooth based home automation using Arduino UNO
parameshwar koneti
 
Home automation using arduino
Home automation using arduinoHome automation using arduino
Home automation using arduino
Ikram Arshad
 
Wireless charging technology ppt
Wireless charging technology pptWireless charging technology ppt
Wireless charging technology ppt
Ankit Gupta
 
Smart door project ppt shivnaresh likhar
Smart door project ppt shivnaresh likharSmart door project ppt shivnaresh likhar
Smart door project ppt shivnaresh likhar
Shivnaresh Likhar
 
WIRELESS FLOOR CLEANING ROBOT
WIRELESS FLOOR CLEANING ROBOTWIRELESS FLOOR CLEANING ROBOT
WIRELESS FLOOR CLEANING ROBOT
Asish Nayak
 
Minor Project Report: Automatic Door Control System
Minor Project Report: Automatic Door Control SystemMinor Project Report: Automatic Door Control System
Minor Project Report: Automatic Door Control System
Saban Kumar K.C.
 
Bidirectional visitor counter
Bidirectional visitor counterBidirectional visitor counter
Bidirectional visitor counter
Zakir Gulzar
 
Latest Electrical Mini Projects For EEE Students
Latest Electrical Mini Projects For EEE StudentsLatest Electrical Mini Projects For EEE Students
Latest Electrical Mini Projects For EEE Students
elprocus
 
AUTOMATIC BELL FOR COLLEGE
AUTOMATIC BELL FOR COLLEGEAUTOMATIC BELL FOR COLLEGE
AUTOMATIC BELL FOR COLLEGE
bharath405
 
smart street light projet
smart street light projetsmart street light projet
smart street light projet
Surya Karan
 
Automatic room light controller with bidirectional visitor counter
Automatic room light controller with bidirectional visitor counterAutomatic room light controller with bidirectional visitor counter
Automatic room light controller with bidirectional visitor counter
Niladri Dutta
 
Smart dustbin using arduino and ultrasonic sensor
Smart dustbin using arduino and ultrasonic sensorSmart dustbin using arduino and ultrasonic sensor
Smart dustbin using arduino and ultrasonic sensor
ShaikhMohammedAmmar
 
Automatic railway gate control using arduino uno
Automatic railway gate control using arduino unoAutomatic railway gate control using arduino uno
Automatic railway gate control using arduino uno
selvalakshmi24
 

Similar to Automatic Room Light Controller Using Arduinom & PIR Sensor (20)

Automatic room light controller using aurdino
Automatic room light controller using aurdinoAutomatic room light controller using aurdino
Automatic room light controller using aurdino
AakashGupta889590
 
AUTOMATIC ROOM LIGHTS CONTROLLER USING ARDUINO NANO AND PIR SENSOR.ppt
AUTOMATIC ROOM LIGHTS CONTROLLER USING ARDUINO NANO AND PIR SENSOR.pptAUTOMATIC ROOM LIGHTS CONTROLLER USING ARDUINO NANO AND PIR SENSOR.ppt
AUTOMATIC ROOM LIGHTS CONTROLLER USING ARDUINO NANO AND PIR SENSOR.ppt
OrlyLisondra1
 
Auto Room Lighting System
Auto Room Lighting SystemAuto Room Lighting System
Auto Room Lighting System
BUBT
 
FINAL IPA__PPT_Template_Phase1.pptxx1st year btech
FINAL IPA__PPT_Template_Phase1.pptxx1st year btechFINAL IPA__PPT_Template_Phase1.pptxx1st year btech
FINAL IPA__PPT_Template_Phase1.pptxx1st year btech
mjs805094
 
PIR sensors day
PIR sensors day PIR sensors day
PIR sensors day
sivagamitec
 
Automatic Light Turn On Off System
Automatic Light Turn On Off SystemAutomatic Light Turn On Off System
Automatic Light Turn On Off System
ijtsrd
 
ELECTRONIC EYE FOR NIGHT DEVICE SWITCHING USING 555 TIMER
ELECTRONIC EYE FOR NIGHT DEVICE SWITCHING USING 555 TIMERELECTRONIC EYE FOR NIGHT DEVICE SWITCHING USING 555 TIMER
ELECTRONIC EYE FOR NIGHT DEVICE SWITCHING USING 555 TIMER
Kesagani Ranga Uma Maheshwar Rao
 
IRJET- Smart Street Light Control System
IRJET- Smart Street Light Control SystemIRJET- Smart Street Light Control System
IRJET- Smart Street Light Control System
IRJET Journal
 
Arduino Based Smart Light Management System for Smart Cities
Arduino Based Smart Light Management System for Smart CitiesArduino Based Smart Light Management System for Smart Cities
Arduino Based Smart Light Management System for Smart Cities
ijtsrd
 
B1_25Jan21.pptx
B1_25Jan21.pptxB1_25Jan21.pptx
B1_25Jan21.pptx
DhirajPatel58
 
IRJET- Home Automation System using IoT
IRJET- Home Automation System using IoTIRJET- Home Automation System using IoT
IRJET- Home Automation System using IoT
IRJET Journal
 
Presentation on Smart Street Light System.pptx
Presentation on Smart Street Light System.pptxPresentation on Smart Street Light System.pptx
Presentation on Smart Street Light System.pptx
AmanGoyal151
 
mini project ppt 5thsem.pptx
mini project ppt 5thsem.pptxmini project ppt 5thsem.pptx
mini project ppt 5thsem.pptx
TusharSingh990575
 
SSB (1).pptx
SSB (1).pptxSSB (1).pptx
SSB (1).pptx
kamlesh thummar
 
motion sensor light using CD 4017 and IR sensor.pptx
motion sensor light using CD 4017 and IR sensor.pptxmotion sensor light using CD 4017 and IR sensor.pptx
motion sensor light using CD 4017 and IR sensor.pptx
SachinGoudar5
 
Automatic Room Lighting System
Automatic Room Lighting SystemAutomatic Room Lighting System
Automatic Room Lighting System
IRJET Journal
 
Shiv smart door ppt
Shiv smart door pptShiv smart door ppt
Shiv smart door ppt
Mahesh Patil
 
Arduino based Applications-part 5
Arduino based Applications-part 5Arduino based Applications-part 5
Arduino based Applications-part 5
Jawaher Abdulwahab Fadhil
 
IRJET- Intelligent Lighting System for Classrooms and Mall using IoT
IRJET- 	  Intelligent Lighting System for Classrooms and Mall using IoTIRJET- 	  Intelligent Lighting System for Classrooms and Mall using IoT
IRJET- Intelligent Lighting System for Classrooms and Mall using IoT
IRJET Journal
 
automatic street light control using aurdino,PIR,LDR tinker cad circuit
automatic street light control using aurdino,PIR,LDR tinker cad circuitautomatic street light control using aurdino,PIR,LDR tinker cad circuit
automatic street light control using aurdino,PIR,LDR tinker cad circuit
anujabarge3
 
Automatic room light controller using aurdino
Automatic room light controller using aurdinoAutomatic room light controller using aurdino
Automatic room light controller using aurdino
AakashGupta889590
 
AUTOMATIC ROOM LIGHTS CONTROLLER USING ARDUINO NANO AND PIR SENSOR.ppt
AUTOMATIC ROOM LIGHTS CONTROLLER USING ARDUINO NANO AND PIR SENSOR.pptAUTOMATIC ROOM LIGHTS CONTROLLER USING ARDUINO NANO AND PIR SENSOR.ppt
AUTOMATIC ROOM LIGHTS CONTROLLER USING ARDUINO NANO AND PIR SENSOR.ppt
OrlyLisondra1
 
Auto Room Lighting System
Auto Room Lighting SystemAuto Room Lighting System
Auto Room Lighting System
BUBT
 
FINAL IPA__PPT_Template_Phase1.pptxx1st year btech
FINAL IPA__PPT_Template_Phase1.pptxx1st year btechFINAL IPA__PPT_Template_Phase1.pptxx1st year btech
FINAL IPA__PPT_Template_Phase1.pptxx1st year btech
mjs805094
 
PIR sensors day
PIR sensors day PIR sensors day
PIR sensors day
sivagamitec
 
Automatic Light Turn On Off System
Automatic Light Turn On Off SystemAutomatic Light Turn On Off System
Automatic Light Turn On Off System
ijtsrd
 
IRJET- Smart Street Light Control System
IRJET- Smart Street Light Control SystemIRJET- Smart Street Light Control System
IRJET- Smart Street Light Control System
IRJET Journal
 
Arduino Based Smart Light Management System for Smart Cities
Arduino Based Smart Light Management System for Smart CitiesArduino Based Smart Light Management System for Smart Cities
Arduino Based Smart Light Management System for Smart Cities
ijtsrd
 
IRJET- Home Automation System using IoT
IRJET- Home Automation System using IoTIRJET- Home Automation System using IoT
IRJET- Home Automation System using IoT
IRJET Journal
 
Presentation on Smart Street Light System.pptx
Presentation on Smart Street Light System.pptxPresentation on Smart Street Light System.pptx
Presentation on Smart Street Light System.pptx
AmanGoyal151
 
mini project ppt 5thsem.pptx
mini project ppt 5thsem.pptxmini project ppt 5thsem.pptx
mini project ppt 5thsem.pptx
TusharSingh990575
 
motion sensor light using CD 4017 and IR sensor.pptx
motion sensor light using CD 4017 and IR sensor.pptxmotion sensor light using CD 4017 and IR sensor.pptx
motion sensor light using CD 4017 and IR sensor.pptx
SachinGoudar5
 
Automatic Room Lighting System
Automatic Room Lighting SystemAutomatic Room Lighting System
Automatic Room Lighting System
IRJET Journal
 
Shiv smart door ppt
Shiv smart door pptShiv smart door ppt
Shiv smart door ppt
Mahesh Patil
 
IRJET- Intelligent Lighting System for Classrooms and Mall using IoT
IRJET- 	  Intelligent Lighting System for Classrooms and Mall using IoTIRJET- 	  Intelligent Lighting System for Classrooms and Mall using IoT
IRJET- Intelligent Lighting System for Classrooms and Mall using IoT
IRJET Journal
 
automatic street light control using aurdino,PIR,LDR tinker cad circuit
automatic street light control using aurdino,PIR,LDR tinker cad circuitautomatic street light control using aurdino,PIR,LDR tinker cad circuit
automatic street light control using aurdino,PIR,LDR tinker cad circuit
anujabarge3
 
Ad

More from Ankit Chaudhary (6)

Energy Savings Potential of Hybrid Drivetrains
Energy Savings Potential of Hybrid DrivetrainsEnergy Savings Potential of Hybrid Drivetrains
Energy Savings Potential of Hybrid Drivetrains
Ankit Chaudhary
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
Ankit Chaudhary
 
Final Dessirtation-1 Report
Final Dessirtation-1 ReportFinal Dessirtation-1 Report
Final Dessirtation-1 Report
Ankit Chaudhary
 
Noida Metro Rail Corporation
Noida Metro Rail CorporationNoida Metro Rail Corporation
Noida Metro Rail Corporation
Ankit Chaudhary
 
Noida Metro Rail Corporation
Noida Metro Rail CorporationNoida Metro Rail Corporation
Noida Metro Rail Corporation
Ankit Chaudhary
 
Medical Image Compression with security & water marking
Medical Image Compression with security & water markingMedical Image Compression with security & water marking
Medical Image Compression with security & water marking
Ankit Chaudhary
 
Energy Savings Potential of Hybrid Drivetrains
Energy Savings Potential of Hybrid DrivetrainsEnergy Savings Potential of Hybrid Drivetrains
Energy Savings Potential of Hybrid Drivetrains
Ankit Chaudhary
 
Final Dessirtation-1 Report
Final Dessirtation-1 ReportFinal Dessirtation-1 Report
Final Dessirtation-1 Report
Ankit Chaudhary
 
Noida Metro Rail Corporation
Noida Metro Rail CorporationNoida Metro Rail Corporation
Noida Metro Rail Corporation
Ankit Chaudhary
 
Noida Metro Rail Corporation
Noida Metro Rail CorporationNoida Metro Rail Corporation
Noida Metro Rail Corporation
Ankit Chaudhary
 
Medical Image Compression with security & water marking
Medical Image Compression with security & water markingMedical Image Compression with security & water marking
Medical Image Compression with security & water marking
Ankit Chaudhary
 
Ad

Recently uploaded (20)

The Mettle of Honor 05.11.2025.pptx
The  Mettle  of  Honor   05.11.2025.pptxThe  Mettle  of  Honor   05.11.2025.pptx
The Mettle of Honor 05.11.2025.pptx
FamilyWorshipCenterD
 
stackconf 2025 | 2025: I Don’t Know K8S and at This Point, I’m Too Afraid To ...
stackconf 2025 | 2025: I Don’t Know K8S and at This Point, I’m Too Afraid To ...stackconf 2025 | 2025: I Don’t Know K8S and at This Point, I’m Too Afraid To ...
stackconf 2025 | 2025: I Don’t Know K8S and at This Point, I’m Too Afraid To ...
NETWAYS
 
stackconf 2025 | From SBOM to Software Architecture Documentation by Philip A...
stackconf 2025 | From SBOM to Software Architecture Documentation by Philip A...stackconf 2025 | From SBOM to Software Architecture Documentation by Philip A...
stackconf 2025 | From SBOM to Software Architecture Documentation by Philip A...
NETWAYS
 
Seasonality_Mediterranean_Cuisine.pptx. Seasonality and Popularity of Medite...
Seasonality_Mediterranean_Cuisine.pptx.  Seasonality and Popularity of Medite...Seasonality_Mediterranean_Cuisine.pptx.  Seasonality and Popularity of Medite...
Seasonality_Mediterranean_Cuisine.pptx. Seasonality and Popularity of Medite...
graycil350
 
stackconf 2025 | Operator All the (stateful) Things by Jannik Clausen.pdf
stackconf 2025 | Operator All the (stateful) Things by Jannik Clausen.pdfstackconf 2025 | Operator All the (stateful) Things by Jannik Clausen.pdf
stackconf 2025 | Operator All the (stateful) Things by Jannik Clausen.pdf
NETWAYS
 
stackconf 2025 | Integrating generative AI into API Platform: Good idea? by L...
stackconf 2025 | Integrating generative AI into API Platform: Good idea? by L...stackconf 2025 | Integrating generative AI into API Platform: Good idea? by L...
stackconf 2025 | Integrating generative AI into API Platform: Good idea? by L...
NETWAYS
 
The history of Human Rights powerpoint Andrea Giuliano Nacuzi.pdf
The history of Human Rights powerpoint Andrea Giuliano Nacuzi.pdfThe history of Human Rights powerpoint Andrea Giuliano Nacuzi.pdf
The history of Human Rights powerpoint Andrea Giuliano Nacuzi.pdf
wolfryx99
 
stackconf 2025 | Hot Off The Press: The Local-First Landscape by Miloš Sutano...
stackconf 2025 | Hot Off The Press: The Local-First Landscape by Miloš Sutano...stackconf 2025 | Hot Off The Press: The Local-First Landscape by Miloš Sutano...
stackconf 2025 | Hot Off The Press: The Local-First Landscape by Miloš Sutano...
NETWAYS
 
A Brief Introduction About John Smith
A Brief Introduction About John SmithA Brief Introduction About John Smith
A Brief Introduction About John Smith
John Smith
 
NL-based Software Engineering (NLBSE) '25
NL-based Software Engineering (NLBSE) '25NL-based Software Engineering (NLBSE) '25
NL-based Software Engineering (NLBSE) '25
Sebastiano Panichella
 
PRESENTATION ASESSMENT LOGISTIK SITE JABATAN.pdf
PRESENTATION ASESSMENT LOGISTIK SITE JABATAN.pdfPRESENTATION ASESSMENT LOGISTIK SITE JABATAN.pdf
PRESENTATION ASESSMENT LOGISTIK SITE JABATAN.pdf
santomsalpurchasing
 
Navigating the Digital Asset Landscape-From Blockchain Foundations to Future ...
Navigating the Digital Asset Landscape-From Blockchain Foundations to Future ...Navigating the Digital Asset Landscape-From Blockchain Foundations to Future ...
Navigating the Digital Asset Landscape-From Blockchain Foundations to Future ...
BobPesakovic
 
Hurricane Milton powerpoint Andrea Giuliano Nacuzi.pdf
Hurricane Milton powerpoint Andrea Giuliano Nacuzi.pdfHurricane Milton powerpoint Andrea Giuliano Nacuzi.pdf
Hurricane Milton powerpoint Andrea Giuliano Nacuzi.pdf
wolfryx99
 
stackconf 2025 | Evolving Shift Left: Integrating Observability into Modern S...
stackconf 2025 | Evolving Shift Left: Integrating Observability into Modern S...stackconf 2025 | Evolving Shift Left: Integrating Observability into Modern S...
stackconf 2025 | Evolving Shift Left: Integrating Observability into Modern S...
NETWAYS
 
Modernization of Parliaments: The Way Forward
Modernization of Parliaments: The Way ForwardModernization of Parliaments: The Way Forward
Modernization of Parliaments: The Way Forward
Dr. Fotios Fitsilis
 
Cross-Cultural-Communication-and-Adaptation.pdf
Cross-Cultural-Communication-and-Adaptation.pdfCross-Cultural-Communication-and-Adaptation.pdf
Cross-Cultural-Communication-and-Adaptation.pdf
rash64487
 
criminal law kajsgdasn cakjsbciaYSVC aschaios
criminal law kajsgdasn cakjsbciaYSVC aschaioscriminal law kajsgdasn cakjsbciaYSVC aschaios
criminal law kajsgdasn cakjsbciaYSVC aschaios
eleazaranghel023
 
All_India_Situation_Presentation. by Dr Jesmina Khatun
All_India_Situation_Presentation. by Dr Jesmina KhatunAll_India_Situation_Presentation. by Dr Jesmina Khatun
All_India_Situation_Presentation. by Dr Jesmina Khatun
DRJESMINAKHATUN
 
Mastering Public Speaking: Key Skills for Confident Communication
Mastering Public Speaking: Key Skills for Confident CommunicationMastering Public Speaking: Key Skills for Confident Communication
Mastering Public Speaking: Key Skills for Confident Communication
karthikeyans20012004
 
Guiding the Behavior of Young Children.ppt
Guiding the Behavior of Young Children.pptGuiding the Behavior of Young Children.ppt
Guiding the Behavior of Young Children.ppt
FelixOlalekanBabalol
 
The Mettle of Honor 05.11.2025.pptx
The  Mettle  of  Honor   05.11.2025.pptxThe  Mettle  of  Honor   05.11.2025.pptx
The Mettle of Honor 05.11.2025.pptx
FamilyWorshipCenterD
 
stackconf 2025 | 2025: I Don’t Know K8S and at This Point, I’m Too Afraid To ...
stackconf 2025 | 2025: I Don’t Know K8S and at This Point, I’m Too Afraid To ...stackconf 2025 | 2025: I Don’t Know K8S and at This Point, I’m Too Afraid To ...
stackconf 2025 | 2025: I Don’t Know K8S and at This Point, I’m Too Afraid To ...
NETWAYS
 
stackconf 2025 | From SBOM to Software Architecture Documentation by Philip A...
stackconf 2025 | From SBOM to Software Architecture Documentation by Philip A...stackconf 2025 | From SBOM to Software Architecture Documentation by Philip A...
stackconf 2025 | From SBOM to Software Architecture Documentation by Philip A...
NETWAYS
 
Seasonality_Mediterranean_Cuisine.pptx. Seasonality and Popularity of Medite...
Seasonality_Mediterranean_Cuisine.pptx.  Seasonality and Popularity of Medite...Seasonality_Mediterranean_Cuisine.pptx.  Seasonality and Popularity of Medite...
Seasonality_Mediterranean_Cuisine.pptx. Seasonality and Popularity of Medite...
graycil350
 
stackconf 2025 | Operator All the (stateful) Things by Jannik Clausen.pdf
stackconf 2025 | Operator All the (stateful) Things by Jannik Clausen.pdfstackconf 2025 | Operator All the (stateful) Things by Jannik Clausen.pdf
stackconf 2025 | Operator All the (stateful) Things by Jannik Clausen.pdf
NETWAYS
 
stackconf 2025 | Integrating generative AI into API Platform: Good idea? by L...
stackconf 2025 | Integrating generative AI into API Platform: Good idea? by L...stackconf 2025 | Integrating generative AI into API Platform: Good idea? by L...
stackconf 2025 | Integrating generative AI into API Platform: Good idea? by L...
NETWAYS
 
The history of Human Rights powerpoint Andrea Giuliano Nacuzi.pdf
The history of Human Rights powerpoint Andrea Giuliano Nacuzi.pdfThe history of Human Rights powerpoint Andrea Giuliano Nacuzi.pdf
The history of Human Rights powerpoint Andrea Giuliano Nacuzi.pdf
wolfryx99
 
stackconf 2025 | Hot Off The Press: The Local-First Landscape by Miloš Sutano...
stackconf 2025 | Hot Off The Press: The Local-First Landscape by Miloš Sutano...stackconf 2025 | Hot Off The Press: The Local-First Landscape by Miloš Sutano...
stackconf 2025 | Hot Off The Press: The Local-First Landscape by Miloš Sutano...
NETWAYS
 
A Brief Introduction About John Smith
A Brief Introduction About John SmithA Brief Introduction About John Smith
A Brief Introduction About John Smith
John Smith
 
NL-based Software Engineering (NLBSE) '25
NL-based Software Engineering (NLBSE) '25NL-based Software Engineering (NLBSE) '25
NL-based Software Engineering (NLBSE) '25
Sebastiano Panichella
 
PRESENTATION ASESSMENT LOGISTIK SITE JABATAN.pdf
PRESENTATION ASESSMENT LOGISTIK SITE JABATAN.pdfPRESENTATION ASESSMENT LOGISTIK SITE JABATAN.pdf
PRESENTATION ASESSMENT LOGISTIK SITE JABATAN.pdf
santomsalpurchasing
 
Navigating the Digital Asset Landscape-From Blockchain Foundations to Future ...
Navigating the Digital Asset Landscape-From Blockchain Foundations to Future ...Navigating the Digital Asset Landscape-From Blockchain Foundations to Future ...
Navigating the Digital Asset Landscape-From Blockchain Foundations to Future ...
BobPesakovic
 
Hurricane Milton powerpoint Andrea Giuliano Nacuzi.pdf
Hurricane Milton powerpoint Andrea Giuliano Nacuzi.pdfHurricane Milton powerpoint Andrea Giuliano Nacuzi.pdf
Hurricane Milton powerpoint Andrea Giuliano Nacuzi.pdf
wolfryx99
 
stackconf 2025 | Evolving Shift Left: Integrating Observability into Modern S...
stackconf 2025 | Evolving Shift Left: Integrating Observability into Modern S...stackconf 2025 | Evolving Shift Left: Integrating Observability into Modern S...
stackconf 2025 | Evolving Shift Left: Integrating Observability into Modern S...
NETWAYS
 
Modernization of Parliaments: The Way Forward
Modernization of Parliaments: The Way ForwardModernization of Parliaments: The Way Forward
Modernization of Parliaments: The Way Forward
Dr. Fotios Fitsilis
 
Cross-Cultural-Communication-and-Adaptation.pdf
Cross-Cultural-Communication-and-Adaptation.pdfCross-Cultural-Communication-and-Adaptation.pdf
Cross-Cultural-Communication-and-Adaptation.pdf
rash64487
 
criminal law kajsgdasn cakjsbciaYSVC aschaios
criminal law kajsgdasn cakjsbciaYSVC aschaioscriminal law kajsgdasn cakjsbciaYSVC aschaios
criminal law kajsgdasn cakjsbciaYSVC aschaios
eleazaranghel023
 
All_India_Situation_Presentation. by Dr Jesmina Khatun
All_India_Situation_Presentation. by Dr Jesmina KhatunAll_India_Situation_Presentation. by Dr Jesmina Khatun
All_India_Situation_Presentation. by Dr Jesmina Khatun
DRJESMINAKHATUN
 
Mastering Public Speaking: Key Skills for Confident Communication
Mastering Public Speaking: Key Skills for Confident CommunicationMastering Public Speaking: Key Skills for Confident Communication
Mastering Public Speaking: Key Skills for Confident Communication
karthikeyans20012004
 
Guiding the Behavior of Young Children.ppt
Guiding the Behavior of Young Children.pptGuiding the Behavior of Young Children.ppt
Guiding the Behavior of Young Children.ppt
FelixOlalekanBabalol
 

Automatic Room Light Controller Using Arduinom & PIR Sensor

  • 1. AUTOMATIC ROOM LIGHTS CONTROLLER USING ARDUINO AND PIR SENSOR by: ANKIT KUMAR CHAUDHARY (15/IEE/055) Under The Guidance Of Dr. M.A. ANSARI Department of Electrical Engineering School of Engineering Gautam Buddha University Gautam Budh Nagar UP, India
  • 2. Table of Contents • Overview • Circuit Diagram of Automatic Room Lights controller using Arduino and PIR Sensor • Components Required for Automatic Room Lights controller using Arduino and PIR Sensor • Component Description • PIR Sensor • Relay Module • Circuit Design • Working of the Project • Applications • References
  • 3. Overview • Automatic Room Lights System using Arduino is a very useful project as you need not worry about turning on and off the switches every time you want to turn on the lights. The main components of the Automatic Room Lights project are Arduino, PIR Sensor and the Relay Module. • Out of the three components, the PIR Sensor is the one in focus as it is the main device that helps in detecting humans and human motion. • In fact, the Automatic Room Lights project can be considered as one major application of the PIR Sensor. A similar concept is being already implemented in automatic toilet flush valves, hand dryers, etc.
  • 4. Circuit Diagram of Automatic Room Lights controller using Arduino and PIR Sensor The following image shows the circuit diagram of the project implemented using Arduino UNO, PIR Sensor and a Relay Module.
  • 5. If you do not have a relay module, you can make one yourself using very simple hardware. The following circuit diagram shows the project being implemented with the help of discrete components for the Relay Module.
  • 7. Components Required for Automatic Room Lights controller using Arduino and PIR Sensors • Arduino UNO • PIR Sensor • 5V Relay Module (Relay Board) • LED • 100Ω Resistor (1/4 Watt) • Connecting Wires • Breadboard • Power Supply If we do not have a Relay Module, use the following components: • 5V Relay • 2N2222 (or BC547) NPN Transistor • 1N4007 PN Junction Diode • 1KΩ Resistor (1/4 Watt)
  • 8. Component Description PIR Sensor A typical PIR Sensor looks like the one shown in the image below. To connect with external devices, it has only three pins namely VCC, Digital OUT (Data) and GND.
  • 9. Relay Module A Relay Module is a very useful component as it allows Arduino, Raspberry Pi or other Microcontrollers to control big electrical loads. We have used a 2-channel Relay Module in this project but used only one relay in it. The relay module used in this project is shown below:-
  • 10. Circuit Design • PIR Sensor’s Data OUT Pin is connected to Arduino’s Digital I/O Pin 8. An LED is connected to pin 13 of Arduino to indicate whether the light is turned ON or OFF. • The IN1 pin of the Relay Module is connected to Pin 9 of Arduino. A bulb is connected to mains supply through relay. One terminal of the bulb is connected to one wire of the mains supply. The other terminal of the bulb is connected to the NO (Normally Open) contact of the Relay Module. • COM (Common) contact of the Relay is connected to the other wire of the mains supply. Be careful when connecting this part of the project.
  • 11. Working of the Project • The Automatic Room Lights using Arduino and PIR Sensor is a simple project, where the lights in the room will automatically turn on upon detecting a human motion and stay turned on until the person has left or there is no motion. • Working of this project is very simple and is explained here. • Initially, when there is no human movement, the PIR Sensor doesn’t detect any person and its OUT pin stays LOW. As the person enters the room, the change in infrared radiation in the room is detected by the PIR Sensor. • As a result, the output of the PIR Sensor becomes HIGH. Since the Data OUT of the PIR Sensor is connected to Digital Pin 8 of Arduino, whenever it becomes HIGH, Arduino will activate the relay by making the relay pin LOW (as the relay module is an active LOW module). • This will turn the Light ON. The light stays turned ON as long as there is movement in front of the sensor. • If the person takes a nap or leaves the room, the IR Radiation will become stable (there will be no change) and hence, the Data OUT of the PIR Sensor will become LOW. This in turn will make the Arduino to turn OFF the relay (make the relay pin HIGH) and the room light will be turned OFF.
  • 12. Applications • Garage Lights • Bathroom Lights • Hand Dryers • Toilet Flushers • Security Lights
  • 13. REFERENCES • [1] Vibhuti and Shimi S.L., “Implementation of Smart Class Room Using WAGO PLC”, Proceedings of the Second International Conference on Inventive Systems and Control (ICISC) 2018, Coimbatore, pp. 807-812. • [2] A. Maslekar, K. Aparna, K. Mamatha and T.Shivakumara, “Smart Lighting System using Raspberry Pi”,International Journal of Innovative Research in Science and Technology, Vol.4(7), 2015, pp.5113-5121I. • [3] Suresh S, H.N.S.Anusha, T.Rajath, P.Soundarya and S.V,PrathyushaVudatha. “Automatic Lighting And Control System For Classroom” 2016 International Conference on ICT in Business Industry & Government (ICTBIG). • [4] Vahid Hassanpour, Sedighe Rajabi, Zeinab Shayan, Zahra Hafezi, Mohammad Mehdi Arefi , “Low-Cost Home Automation Using Arduino and Modbus Protocol”, 5th International Conference on Control, Instrumentation and Automation (ICCIA), Shiraz, 2017, pp. 284-289. • [5] https://components101.com/microcontrollers/arduino-Uno