Maker Pro

IoT Motion Sensor using ESP01 & PIR

August 27, 2022 by CIRCUITS DIY

In this tutorial, we are going to make a IoT Motion Sensor using ESP01 & PIR


So, here we are converting the PIR motion sensor into an IoT motion sensor. It will send us a notification on our mobile phone when it detects the motion. The distance between the sensor and the phone is not a limitation because everything is internet-based. As long as the internet is there you will get the readings.

Hardware Component

IoT Motion Sensor Circuit


  • Now use an FTDI or an Arduino as a USB to TTL converter to upload the code to your ESP8266-01 device.
  • Once the circuit is connected, turn it on.
  • When the PIR sensor calibration is complete, the LED present on the board will turn OFF after 30 seconds.
  • Now, whenever motion is detected, the LED will glow, and a push notification with the message “Motion Detected” will be sent to your phone

Arduino Code

Related Content

You May Also Like