πͺ Door Lock Detector Project
Welcome to my IoT project!
This page presents a simple yet functional door lock status indicator based on ESP32.
π§ Hardware Setup
- Board: ESP32 DevKitC
- Sensor: Microswitch (connected to GPIO21 with INPUT_PULLUP)
- LED Indicator: GPIO2 (ON when locked)
- Debounce: 40 ms
- Serial Baud: 115200

π System Diagram

π Features
- Local LED lock/unlock indicator
- Serial log for debugging (OPEN/CLOSED)
- Local Wi-Fi Web UI (HTTP, LAN)
- Arduino IoT Cloud integration for remote dashboard
π§ͺ Test Logs
- β
Boot with door closed β LED ON
- β
Toggle open/close β state detected correctly
- β
Idle stability after 60s β OK
- β
HTTP status endpoint β OK
- β
Arduino Cloud dashboard β OK
πΈ Screenshots
