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, we will be interfacing an LDR (Light Dependent Resistor) module to the EzloPi device. The LDR module senses the changes in ambient light levels based on the surrounding lighting conditions. By interfacing an LDR module with the EzloPi, we can incorporate light sensing capabilities into IoT projects. This allows for intelligent automation and control based on the detected levels of light.
The following components are required for interfacing the LDR module 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 LDR Module (KY-018):
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.