This is an old revision of the document!
This project is a Smart Door Access Control and People Counting System designed using the ESP32 microcontroller. It allows users to unlock a door via a web interface after entering a password. Once the correct password is provided, the door opens for a limited time (10 seconds), then automatically closes. Meanwhile, the system uses two infrared (IR) sensors to detect the direction of movement—identifying whether a person is entering or exiting—and updates a real-time counter displayed on a web interface along with a live graph.
The aim is to provide a low-cost, responsive, and real-time system suitable for securing rooms, monitoring occupancy, and enhancing access control in small-scale environments such as labs, classrooms, or offices.