Skip to main content
ELECTRONICS COMPONENTS · ARDUINO · ESP32 Shop, learn and build
BUILDCIRCUIT.COM logoBUILDCIRCUIT.COMLearn · Design · Build
Home›Tutorial
MAKER TUTORIAL

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 www.buildcircuit.net. motion sensor (2) try this also Arduino sketch: [products skus="BC-23401"]

Keep making.

Explore more circuits, Arduino projects and practical electronics tutorials.

Discover more tutorials →
WHAT'S NEXT?

Keep exploring

More tutorials →

Comments

Leave a comment

Your email will not be published. All comments are moderated. Comments unrelated to the article may be automatically removed.