Using NodeMCU & Blynk whenever a motion is detected by PIR Sensor a message is sent to a smartphone anywhere in the world.

Components Required:

Software Required:

PIR Motion Sensor:

This motion sensor module uses the LHI778 Passive Infrared Sensor and the BISS0001 IC to control how motion is detected. The module features adjustable sensitivity that allows for a motion detection range from 3 meters to 7 meters.

Cirucuit Diagram:

Blynk:

  • Create a New Project.
  • Select NodeMCU as HW Model.
  • Copy the AUTH TOKEN to be used in the code.
  • Includes a Push Notification widget.
  • Press Play (Triangle icon at upper right corner)

Code:

I hope this project can help others find their way in the exciting world of electronics and IoT!