This document describes an automatic room lighting system that uses an Arduino, PIR sensor, and relay module. The system turns lights on when motion is detected by the PIR sensor and turns them off after a period of inactivity. It provides energy savings by not requiring lights to be manually switched on and off. When motion is detected, the PIR sensor output becomes high, triggering the Arduino to activate the relay and turn on the lights. The lights remain on as long as movement continues. Without motion, the PIR output becomes low and the Arduino turns off the relay and lights. Applications include garage, bathroom, and security lighting.