Inspiration
Break-ins often go unnoticed until it's too late. Many basic alarms can be set off by almost anything, or make noise without showing you who set them off. We wanted something that checks whether it's a person before reacting, then tells you right away, even when you're away.
What it does
DENied is a perimeter security system built on a Raspberry Pi. It arms itself on a schedule you set, such as overnight, and monitors an area with an AMG8833 thermal sensor. When the sensor picks up movement, DENied doesn't sound the alarm right away. It checks for body heat and uses a NoIR camera to verify that a person is there. If it confirms an intruder, it plays an alarm on a Bluetooth speaker, lights an RGB LED, takes a photo, and sends it to your phone in a push notification through ntfy.
You can arm or disarm it by tapping a registered RFID card or using the web dashboard. Unknown cards are ignored and logged. The dashboard also shows recent events and the last captured photo, and lets you set, import and export the schedule and add or remove cards.
How we built it
Hardware: Raspberry Pi 4, Camera Module 3 NoIR, AMG8833 thermal sensor, RC522 RFID reader and RGB LED, prototyped on a breadboard, with a JBL Flip 6 speaker connected over Bluetooth
Logic: A finite state machine (Disarmed, Armed, Verifying, Alert, Cooldown). Verifying keeps collecting data until it can decide whether the motion is an intruder. If not, the system goes back to monitoring. After an alert and cooldown, it re-arms.
Software: Python on Raspberry Pi OS, Flask for the dashboard, and picamera2 and OpenCV for capturing photos and boxing the detected person.
Notifications: ntfy, which is free, needs no account, and doesn't require your phone to be on the same Wi-Fi as the Pi (both need internet access).
Accomplishments that we're proud of
It works end to end: someone walks in, the alarm goes off, and their photo shows up on your phone within seconds. The dashboard lets you manage schedules and cards and review events from a browser, without touching any code.