Smart Gas Detection for a safer tomorrow!
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 following example demonstrates how the MQ2 LPG Gas Sensor is interfaced with the EzloPi device and how it is implemented.
The MQ2 LPG Gas Sensor is a popular gas detection module widely used in electronic projects and home automation systems. It is capable of detecting various gases, including LPG (liquefied petroleum gas), propane, methane, and other flammable gases. We can set the threshold values for gas concentration levels that trigger alerts or actions on the EzloPi device.
By interfacing the MQ2 LPG Gas Sensor with the EzloPi device, you can create a smart gas detection and safety system that helps protect against the dangers of gas leaks in various environments, from homes and offices to industrial facilities.
The following components are required for interfacing with the EzloPi device:
The wiring diagram for the ESP32 30-pin is represented below:
The following connections are made to complete the entire circuit setup.
From ESP32 to the MQ2 LPG Sensor:
1. Set up your device/hardware by visiting config.ezlopi.com
Now, select the COM Port to which your ESP32 device is connected. In our case, the COM3 port is used.
Click Connect.
You can download the MIOS Android app from the Google Play Store and Apple App Store.
eZlopie Products A single-channel 5V relay module $00.00
eZlopie Products Momentary switch $00.00
eZlopie Products Level Shifter Module (BSS138) $00.00
eZlopie Products ESP32
$00.00
eZlopie Products AC Lamp and Holder
$00.00