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.
The purpose of this example is to demonstrate how you can easily interface with a momentary switch to control a lamp.
We will be using the feature-rich ESP32 module as an EzloPi device. We’ll see how we can use the EzloPi device along with related circuitry to control a number of devices and appliances, as in this case, the AC lamp connected at the output. The AC lamp can be controlled remotely via the MIOS application or by using the momentary switch.
With this example, we can get a general idea of how effortlessly we can control different devices or appliances with the simple touch of a finger.
The following components are required for interfacing the lamp using the EzloPi device:
The following connections are made in order to complete the entire circuit setup.
From ESP32 to Level shifter (BSS138):
From Level Shifter to Relay:
ESP32 to Push Button:
From Relay to AC load:
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.