4 Hệ thống phát hiện chuyển động và báo động trong nhà thông minh
Ứng dụng cảm biến HC-SR501 và nền tảng ESP32 trong hệ thống IoT an ninh nhà ở
Keywords:
ESP32, PIR, Node-Red, HC-SR501, IoTAbstract
In the context of rapid advancements in Internet of Things (IoT) technologies, the integration of smart devices into daily life has become an inevitable trend. This study presents the design and implementation of a smart home intrusion detection and alarm system based on the ESP32 microcontroller and the HC-SR501 passive infrared (PIR) sensor. The system can detect motion, activate an audible alarm, and transmit real-time alerts to users via the MQTT communication protocol and the Node-RED automation platform. Experimental results demonstrate that the proposed model operates reliably, achieves accurate motion detection with low latency, and exhibits scalability for broader IoT-based applications in residential security.
