PI-37BeginnerPremium

Raspberry Pi Pico PIR Motion Alarm (PIR Sensor + Buzzer + LED)

Walk in once and you get a warning, walk in again and the siren goes off! We are building a two-stage motion alarm with a Raspberry Pi Pico and a PIR motion sensor. It arms itself after a countdown. The first motion plays a ding-dong warning on the buzzer; a second motion within 15 seconds sounds the siren and strobes the LED. Afterwards it re-arms on its own and logs every event with a timestamp.

0.0(0)
Raspberry Pi Pico PIR Motion Alarm (PIR Sensor + Buzzer + LED)
A little guard that keeps an eye on your room, your doorway or your drawer. Once you set it, it gives you a few seconds to leave; at the first movement the motion sensor gives a ding-dong warning, and if a second movement follows soon after, the buzzer wails like a siren and the LED flashes. While you're away, the light blinks now and then to show the guard is awake.

Source Code

Premium Content

The source code, block version and FAQ of this project are open to Premium members.

  • All Project Code
  • Block version
  • Frequently Asked Questions