SlideShare a Scribd company logo
1 of 10
AUTOMATIC ROOM LIGHTS
USING ARDUINO NANO AND
PIR SENSOR
by:
ORLY B. LISONDRA
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.
MATERIAL REQUIRED
For making this project we need some components :
1. Arduino Nano
2. Mini PIR Sensor
3. 1-Channel Relay Module
4. Breadboard
5. Jumper Wires
6. Bulb (AC Load)
7. Power Supply
Circuit Diagram
3 main Component
Description
Arduino Nano
The Arduino Nano is Arduino's classic breadboard friendly designed
board with the smallest dimensions. The Arduino Nano comes with
pin headers that allow for an easy attachment onto a breadboard
and features a Mini-B USB connector.
Mini PIR Sensor
PIR(Passive Infrared Sensor) sensor is used for making motion
detecting applications such as alarm burglar systems, visitor
presence monitoring, light switches and robots.
1-Channel Relay Module
The Single Channel Relay Module is a convenient board which can be
used to control high voltage, high current load such as motor, solenoid
valves, lamps and AC load. It is designed to interface with
microcontroller such as Arduino, PIC and etc.
Circuit Design
• PIR Sensor’s is connected to Arduino Nano:
Out-D4; VCC-5v; GND-GND
• Relay module is connected to Arduino Nano:
IN-D6; VCC-5v; GND-GND
•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.
Working of the Project
• The Automatic Room Lights using Arduino and PIR Sensor is 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.
• 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 D4, 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.
AUTOMATIC ROOM LIGHTS CONTROLLER USING ARDUINO NANO AND PIR SENSOR.ppt

More Related Content

Similar to AUTOMATIC ROOM LIGHTS CONTROLLER USING ARDUINO NANO AND PIR SENSOR.ppt

Similar to AUTOMATIC ROOM LIGHTS CONTROLLER USING ARDUINO NANO AND PIR SENSOR.ppt (20)

Robotics and Automation Using Arduino
Robotics and Automation Using ArduinoRobotics and Automation Using Arduino
Robotics and Automation Using Arduino
 
Automatic door using arduino
Automatic door using arduinoAutomatic door using arduino
Automatic door using arduino
 
sensor.pptx
sensor.pptxsensor.pptx
sensor.pptx
 
1693579833307_Sensors.ppt
1693579833307_Sensors.ppt1693579833307_Sensors.ppt
1693579833307_Sensors.ppt
 
Sensor technology
Sensor technologySensor technology
Sensor technology
 
MASS PIR
MASS PIRMASS PIR
MASS PIR
 
Ir sensor mechanism and interfacing with a micro controllers.PPT
Ir sensor mechanism and  interfacing with  a micro controllers.PPTIr sensor mechanism and  interfacing with  a micro controllers.PPT
Ir sensor mechanism and interfacing with a micro controllers.PPT
 
Aplikasi sensor pyroelectric
Aplikasi sensor pyroelectricAplikasi sensor pyroelectric
Aplikasi sensor pyroelectric
 
Smart walking Stick for blinds
Smart walking Stick for blindsSmart walking Stick for blinds
Smart walking Stick for blinds
 
Project PPT.pptx
Project PPT.pptxProject PPT.pptx
Project PPT.pptx
 
Inclinometer.pptx
Inclinometer.pptxInclinometer.pptx
Inclinometer.pptx
 
OUTDOOR MOBILE ROBOTIC ASSISTANT MICRO-CONTROLLER MODULE (ARDUINO), FIRMWARE ...
OUTDOOR MOBILE ROBOTIC ASSISTANT MICRO-CONTROLLER MODULE (ARDUINO), FIRMWARE ...OUTDOOR MOBILE ROBOTIC ASSISTANT MICRO-CONTROLLER MODULE (ARDUINO), FIRMWARE ...
OUTDOOR MOBILE ROBOTIC ASSISTANT MICRO-CONTROLLER MODULE (ARDUINO), FIRMWARE ...
 
Pir sensor based security alarm system using um 3561 (2)
Pir sensor based security alarm system using um 3561 (2)Pir sensor based security alarm system using um 3561 (2)
Pir sensor based security alarm system using um 3561 (2)
 
Nati@21
Nati@21Nati@21
Nati@21
 
sensors.pptx
sensors.pptxsensors.pptx
sensors.pptx
 
Fire fighting robot using arduino
Fire fighting robot using arduinoFire fighting robot using arduino
Fire fighting robot using arduino
 
Obstacle and edge detector report.
Obstacle and edge detector report.Obstacle and edge detector report.
Obstacle and edge detector report.
 
Arduino Blind Aid
Arduino Blind AidArduino Blind Aid
Arduino Blind Aid
 
Fire Detection & Path Deviation Robot
Fire Detection & Path Deviation RobotFire Detection & Path Deviation Robot
Fire Detection & Path Deviation Robot
 
SENSORS AND BLUETOOTH COMMUNICATION
SENSORS AND BLUETOOTH COMMUNICATIONSENSORS AND BLUETOOTH COMMUNICATION
SENSORS AND BLUETOOTH COMMUNICATION
 

Recently uploaded

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Recently uploaded (20)

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 

AUTOMATIC ROOM LIGHTS CONTROLLER USING ARDUINO NANO AND PIR SENSOR.ppt

  • 1. AUTOMATIC ROOM LIGHTS USING ARDUINO NANO AND PIR SENSOR by: ORLY B. LISONDRA
  • 2. 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.
  • 3. MATERIAL REQUIRED For making this project we need some components : 1. Arduino Nano 2. Mini PIR Sensor 3. 1-Channel Relay Module 4. Breadboard 5. Jumper Wires 6. Bulb (AC Load) 7. Power Supply
  • 5. 3 main Component Description Arduino Nano The Arduino Nano is Arduino's classic breadboard friendly designed board with the smallest dimensions. The Arduino Nano comes with pin headers that allow for an easy attachment onto a breadboard and features a Mini-B USB connector.
  • 6. Mini PIR Sensor PIR(Passive Infrared Sensor) sensor is used for making motion detecting applications such as alarm burglar systems, visitor presence monitoring, light switches and robots.
  • 7. 1-Channel Relay Module The Single Channel Relay Module is a convenient board which can be used to control high voltage, high current load such as motor, solenoid valves, lamps and AC load. It is designed to interface with microcontroller such as Arduino, PIC and etc.
  • 8. Circuit Design • PIR Sensor’s is connected to Arduino Nano: Out-D4; VCC-5v; GND-GND • Relay module is connected to Arduino Nano: IN-D6; VCC-5v; GND-GND •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.
  • 9. Working of the Project • The Automatic Room Lights using Arduino and PIR Sensor is 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. • 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 D4, 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.