HC-SR501 PIR

Also known as: SR501 · PIR motion sensor · Presence & motion

Still shipped by the million: a dollar of instant motion detection. The 2026 pattern is PIR + mmWave together — PIR for instant lights-on, radar for lights-off when you're still.

As an Amazon Associate and an affiliate we may earn from qualifying purchases. Prices and availability are set by the retailer.

At a glance

⚑ flag an error
Measuresmotion
AccuracyClassic passive-infrared motion; fast trigger, no static detection
InterfaceGPIO (digital out + retrigger/time potentiometers)
Supply4.5–20 V (onboard LDO)
Battery-viableYes (deep-sleep friendly)
ESPHomeGeneric ESPHome component (adc/gpio) — binary_sensor (gpio)
Typical price$1-2 (street, varies)

Which one do I buy?

PIR sees *motion*, mmWave sees *presence*. If your lights turn off while you read a book, you wanted mmWave (or both).

Clone check

Medium clone risk. All are clones; quality varies batch to batch — buy a few, keep the good ones.

Good for

Gotchas to know

Wiring it up

Simple wiring: one data GPIO on any ESP32 dev board.

Resources

More presence & motion sensors

← All sensors