Room light automation system

In our project, we will see the Automatic Room Lights using Arduino and PIR Sensor, where the lights in the room will automatically turn ON and OFF by detecting the presence of a human.

2025-06-28 16:34:51 - Adil Khan

Project Title

Room light automation system

Project Area of Specialization Internet of ThingsProject Summary

In our project, we will see the Automatic Room Lights using Arduino and PIR Sensor, where the lights in the room will automatically turn ON and OFF by detecting the presence of a human.

Project Objectives

Automatic Room Lights System using Arduino is a very useful project as we need not worry about turning on and off the switches every time we 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. 

Project Implementation Method Components Required for Automatic Room Lights using Arduino

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.

In order to control a single relay on the board, we need to use three pins of the relay module: VCC, GND and IN1.

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.

Benefits of the Project Technical Details of Final Deliverable

Automatic Room Lights using Arduino and PIR Sensor Circuit Diagram 1

Final Deliverable of the Project HW/SW integrated systemCore Industry ITOther IndustriesCore Technology Internet of Things (IoT)Other TechnologiesSustainable Development Goals Affordable and Clean Energy, Decent Work and Economic GrowthRequired Resources
Item Name Type No. of Units Per Unit Cost (in Rs) Total (in Rs)
Total in (Rs) 50400
Arduino UNO Equipment2700014000
PIR Sensor Equipment2800016000
5V Relay Module Equipment210002000
LED Equipment215003000
100? Resistor Equipment52001000
Connecting Wires Equipment212002400
Breadboard Equipment210002000
Power Supply Equipment2500010000

More Posts