Skip to main content
ELECTRONICS COMPONENTS · ARDUINO · ESP32 Shop, learn and build
BUILDCIRCUIT.COM logoBUILDCIRCUIT.COMLearn · Design · Build
Home›Tutorial
🛠️ Dive into our collection of DIY Kits, 🔊 Audio Amplifiers, Digital Scoreboards, FM transmitters, and more!
🎶 Explore endless possibilities at our new store.
Build Circuits Logo or Description
MAKER TUTORIAL

Motion sensor

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"]
🛠️ Dive into our collection of DIY Kits, 🔊 Audio Amplifiers, Digital Scoreboards, FM transmitters, and more! 🎶 Explore endless possibilities at our new store. Build Circuits Logo or Description

Keep making.

Explore more circuits, Arduino projects and practical electronics tutorials.

Discover more tutorials →
WHAT'S NEXT?

Keep exploring

More tutorials →