This document describes a project to automatically switch off lights when a person falls asleep. It uses an ATmega16 microcontroller, PIR sensor, and relay driver. The PIR sensor senses body movement and temperature and sends a signal to the microcontroller. If no movement is detected within the set time, the light will turn off to save electricity and effort. Otherwise, if movement is detected before the set time, the light will remain on. The goal is to reduce human effort by automating light switching based on presence detection.