This project creates an automatic room light controller that also counts visitors bidirectionally. When someone enters the room, the counter increments and the light turns on. When someone leaves, the counter decrements and the light turns off once the room is empty. A password must be entered using a keypad to unlock the room. The system uses an ATmega16 microcontroller, infrared sensors, an LCD display, relays and other components. It provides functions like automatic lighting control, visitor counting and secured access with a password. The design aims to ease complexity and control room congestion.