PI-40IntermediatePremium
Raspberry Pi Pico W Door Alarm with Phone Notifications (HC-SR04 + OLED + Buzzer)
A home alarm that sounds a siren and pings your phone when the door opens! The Raspberry Pi Pico W joins your home Wi-Fi, and an HC-SR04 facing the door notices the change in distance as it opens. You arm it with a button; when the door opens, a 5-second entry delay starts, and if nobody disarms it the buzzer wails, the red LED flashes and an urgent notification goes out. The OLED shows the state, countdown, clock and send result.
0.0(0)

If the door opens while you're out, your phone should be the first to know: a distance sensor facing the door spots the opening and a five-second countdown starts on the small screen. If you don't press the button in time, the siren wails, a red light flashes and a notification lands on your phone right away. Even if the internet drops, the siren keeps working and the notification goes out once the connection is back.
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
