Motion sensor


Here’s a simple motion sensor. Sketch has been taken from Arduino site. The sensor’s output pin goes to HIGH if motion is present.  However, even if motion is present it goes to LOW from time to time, which might give the impression no motion is present. This program deals with this issue by ignoring LOW-phases shorter than a given time, assuming continuous motion is present during these phases.

motion sensor2 (2)


You can buy PIR motion sensor module from

motion sensor (2)

try this also

Arduino sketch:

try this also

For All Your PCB Need, One-stop PCB Solution Services Appear

EasyEDA:  free PCB design tool, 200,000+ engineers  are using
PCBs: 10pcs 2-layer 10x10cm only $8.21, on-time global shipping
Components:  save up to 50% , combine shipment with PCBs


  1. Halo Sagar Sapkota. i have a concern and i really hope to be helped. i would wish to do my final yr project about a motion sensing system used in counting objects and it should be arduino based. i would like you to help me with a code for this project please. the results be displayed on a LCD. please help