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
Room light automation system
Project Area of Specialization Internet of ThingsProject SummaryIn 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 ObjectivesAutomatic 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- Arduino UNO
- PIR Sensor
- 5V Relay Module (Relay Board)
- LED
- 100? Resistor (1/4 Watt)
- Connecting Wires
- Breadboard
- Power Supply
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 DesignPIR 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- Any light in your home can be automated, and automating lights such as outside patio lights and inside safety lights can reduce the risk of accidents in your home.
- Automated light systems add convenience and comfort to your home.
- Automated lighting adds a sense of elegance to your home, and the systems themselves are attractive and affordable
- Helps save money on our electrical bill. We forget, but light sensors don’t

| Item Name | Type | No. of Units | Per Unit Cost (in Rs) | Total (in Rs) |
|---|---|---|---|---|
| Total in (Rs) | 50400 | |||
| Arduino UNO | Equipment | 2 | 7000 | 14000 |
| PIR Sensor | Equipment | 2 | 8000 | 16000 |
| 5V Relay Module | Equipment | 2 | 1000 | 2000 |
| LED | Equipment | 2 | 1500 | 3000 |
| 100? Resistor | Equipment | 5 | 200 | 1000 |
| Connecting Wires | Equipment | 2 | 1200 | 2400 |
| Breadboard | Equipment | 2 | 1000 | 2000 |
| Power Supply | Equipment | 2 | 5000 | 10000 |