The EzloPi smart devices provide automation through simple, customizable use with our open-source EzloPi platform, making daily life easier and improving human-machine interactions.
Before moving into this example, it is very important to know about the device registration, provisioning and converting the ESP32 device into an EzloPi device along with knowledge of Web Flasher, MiOS Mobile Application for Android/iOS and the MiOS Web Application.
In this example, the use of a PIR sensor is demonstrated. The HC-SR501 Passive Infrared (PIR) sensor is a widely used motion detection module that can be integrated with an EzloPi device. This sensor is commonly used in security systems, home automation, and other applications where detecting human presence or movement is essential.
When interfaced with an EzloPi device, this sensor can enhance the functionality of your home automation system. The EzloPi device serves as a controller, allowing you to connect and manage various smart devices in your home and ultimately automate actions based on detected motion.
The following components are required for interfacing the PIR sensor using the EzloPi device:
The wiring diagram is represented as follows:
The following connections are made in order to complete the entire circuit setup.
From ESP32 to the PIR Sensor:
Now, select COM Port to which your ESP32 device is connected. In our case, the COM3 port is used.
You can download the MIOS Android app from the Google Play Store and Apple App Store.