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 and LED light to the EzloPi device. By interfacing an LDR module and LED light with the EzloPi device, we can incorporate light sensing capabilities into various IoT projects.
Here, the LDR module works as a no-touch switch, when the light incident on the LDR module is blocked, the LED light will turn ‘OFF’. Similarly, when the light is blocked again, the LED light will turn ‘ON’. By repeating these actions, we can control the state of the LED light.
The following components are required for interfacing with the EzloPi device:
The wiring diagram for ESP32 30 pins is represented as follows:
The following connections are made in order to complete the circuit setup.
From ESP32 30 pins to LDR Module:
From ESP32 30 pins to the LED:
1. Set up your device/hardware by visiting https://config.ezlopi.com/
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.