This document describes a human presence detection system using a PIR sensor to control room lighting. The system aims to automatically turn lights on when a person enters a room and turn them off when the room is empty. It uses a PIR sensor to detect movement and a microcontroller to process the sensor readings and control a relay that switches the lights. The microcontroller is programmed using C language. The system is intended to automatically control room lighting without manual operation, saving energy when the space is unoccupied.