Smart Motion Detection Adapter With Blynk IoT and ESP8266
by N-08 Labs in Circuits > Electronics
722 Views, 10 Favorites, 0 Comments
Smart Motion Detection Adapter With Blynk IoT and ESP8266



.jpeg)
.jpeg)

This project is a smart motion detection system using an ESP8266, an RCWL-0516 microwave radar sensor, and Blynk IoT, all enclosed inside an adapter case. The system detects motion and updates the Blynk IoT app by turning on an LED widget in the dashboard. An automation is created in Blynk to send a notification when motion is detected. Additionally, a physical LED is connected to the ESP8266, which blinks when connected to Wi-Fi.
For More details(Arduino code and Circuit) Visit My GitHub https://github.com/N-08Labs/Microwave-Radar-based-Security-Device
Visit My YouTube channel for more such amazing Projects http://www.youtube.com/@N08labs
Supplies
Electronics Components:
- ESP8266 (NodeMCU / Wemos D1 Mini)
- RCWL-0516 Microwave Radar Sensor
- Hi-Link 5V Power Module
- LED (for Wi-Fi connection indicator)
- 220Ω Resistor (for LED)
- Jumper wires / Soldering wires
Tools & Enclosure:
- Adapter Enclosure (any suitable size)
- Soldering Kit
- Insulation tape
- Glue Gun (for enclosure fitting)
Software & Apps:
- Arduino IDE (for coding)
- Blynk IoT App (available for Android & iOS)
- Fritzing or EasyEDA (for circuit design - optional)
Working Principle
Working Principle
- The RCWL-0516 sensor detects motion using microwave signals.
- When motion is detected, the ESP8266 sends a signal to Blynk IoT, lighting up the LED widget in the app.
- In Blynk, we create an automation to send a notification when the LED widget is triggered.
- The physical LED on the ESP8266 blinks when the device is successfully connected to Wi-Fi.
Code and Circuit Diagram

Connections:
- RCWL-0516 Sensor
- VCC → 3.3V (ESP8266)
- GND → GND (ESP8266)
- OUT → D6 (ESP8266)
- Wi-Fi Status LED
- Anode (+) → D5 (ESP8266)
- Cathode (-) → GND (ESP8266)
- 220Ω Resistor in series with LED
- Power Supply (Hi-Link 5V)
- AC Input → Power Source
- DC Output (5V, GND) → ESP8266 Vin & GND
Replace this lines of code with your own details Wi-Fi and Auth token
Visit My GitHub for the Arduino code and Circuit https://github.com/N-08Labs/Microwave-Radar-based-Security-Device
Blynk Dashboard Setup
.jpeg)
.jpeg)


.jpeg)

Install the Blynk IoT App on your smartphone.
Create a new project and select ESP8266 as the device.
Add a LED Widget:
- Pin: V1
- Color: Any
Create an Automation:
- Trigger: When V1 (LED widget) is ON
- Action: Send a Notification
Copy the Auth Token and paste it into the Arduino code.
If you're not sure on how to creating blynk IoT dashboards then please watch some videos on youtube there are plenty of them https://youtu.be/LwFUjJAT_88
Blynk IoT Website




Building the Hardware
.jpeg)
.jpeg)


.jpeg)



Blynk IoT https://blynk.io/
If you're a beginner then you might get confused
so, I would suggest watching my YouTube video
Final Working/Output
.jpeg)
.jpeg)
When some is walking near this(360 degrees and upto max 7meters distance) device then this device will send a notification to the mobile phone
This Project might not be presented in a well organised way, so please feel free to comment any questions or doubts regarding this Project
Thank You