Detect Motion with FC-51 and 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.
In this project, we will interface a buzzer with the FC-51 IR proximity sensor using the EzloPi device and trigger a buzzer alarm when it detects motion within the sensor’s range.
The FC-51 IR sensor is a commonly used electronic component in various DIY electronics projects, automation and robotics. It operates by emitting infrared light and measuring the reflection of this light to detect the presence or absence of objects in its proximity. This sensor is widely used for various applications such as obstacle detection, motion sensing, and proximity detection.
Welcome to the project demonstration video section. The following video showcases the key aspects of IR Sensor with Buzzer, providing a visual walkthrough of its implementation.
The following components are required for interfacing with the EzloPi device:
The wiring diagram of ESP32 30 pin is represented as follows:
The following connections are made in order to complete the circuit setup.
From ESP32 to IR Proximity Sensor:
From ESP32 to the Buzzer:
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