This shows you the differences between two versions of the page.
iothings:proiecte:2025sric:esp32-smart-access-monitor [2025/05/29 17:29] robert_george.pancu [Software] |
iothings:proiecte:2025sric:esp32-smart-access-monitor [2025/05/29 17:48] (current) robert_george.pancu [Challenges] |
||
---|---|---|---|
Line 201: | Line 201: | ||
</code> | </code> | ||
+ | |||
+ | WEB | ||
+ | |||
+ | {{iothings:proiecte:2025sric:dashboard.png?600 | Web Dashboard}} | ||
+ | |||
+ | |||
====== Challenges ====== | ====== Challenges ====== | ||
+ | Sensor Accuracy and Timing | ||
+ | |||
+ | * Differentiating between entry and exit requires precise detection and timing. | ||
+ | * Simultaneous movement or people hesitating at the doorway can cause incorrect counts. | ||
+ | * Solution: Implemented a state machine with timeouts to improve reliability. | ||
+ | |||
+ | Resource Limitations on ESP32 | ||
+ | |||
+ | * Hosting a full HTML page, JavaScript logic, and handling concurrent client requests pushed the memory limits. | ||
+ | * Optimized the web page content and avoided large libraries to keep the firmware lean. | ||
+ | |||
+ | Security Considerations | ||
+ | * Password is sent in plain text and checked locally, making it vulnerable in open networks. | ||
+ | * Future improvements could include HTTPS support or token-based authentication. | ||
====== References ====== | ====== References ====== | ||
+ | * https://ocw.cs.pub.ro/courses/iothings/laboratoare/2022/lab3 | ||
+ | * https://randomnerdtutorials.com/esp32-web-server-arduino-ide/ | ||
+ | * https://www.w3schools.com/ |