Motion activated lights with EzloPi!
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 objective of this project is to create a simple home automation system using the EzloPi device. This project interfaces an HC-SR501 Passive Infrared (PIR) motion sensor and an LED, allowing the EzloPi device to detect motion and control the LED based on the sensor's inputs. This project demonstrates the basic principles of home automation and sensor integration using the EzloPi smart platform and the MiOS application.
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 entire circuit setup.
From ESP32 (30 pins) to PIR Module:
From ESP32 (30 pins) to the LED:
1. Set up your device/hardware by visiting config.ezlopi.com
Now, select 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