SafePi
A smart and secure mini-safe that unlocks with RFID and fights back against intruders.
Author: Nămoianu Petre
GitHub Project Link: https://github.com/UPB-PMRust-Students/proiect-PetreNamo
Description
SafePi is a compact, smart security safe controlled via RFID authentication. It is designed to be unlocked using authorized RFID cards or a smartphone. When an unauthorized access attempt is detected, the system triggers a loud audible alarm, sends a notification to the user's smartphone, and activates a physical deterrent mechanism that launches small projectiles to discourage tampering.
Motivation
The motivation behind SafePi is to enhance personal security with an accessible and affordable system. It not only alerts you instantly via phone notification, but also discourages and delays access through physical deterrents.
Architecture
-
Main Controller (Raspberry Pi Pico 2W):
Acts as the central unit managing all inputs and outputs and sends notifications to your phone. -
RFID Module:
Reads the tag of the person attempting to open the safe. -
Servo Motors:
One opens the door when told by the controller, the others launch small objects if an intruder is trying to open the safe. -
LEDs, Buzzer:
Used as a visible and audible alarm.
Log
Week 5 - 11 May
Week 12 - 18 May
Week 19 - 25 May
Hardware
Schematics
Bill of Materials
Device | Usage | Price |
---|---|---|
Raspberry Pi Pico 2W | The microcontroller | 40 RON |
Red LED | Blinking when the alarm goes off | 0.39 RON |
Blue LED | Blinking when the alarm goes off | 0.29 RON |
Buzzer | Used when the alarm goes off | 1 RON |
PN532 RFID Module | Used for opening the safe | 30 RON |
*Not Final
Software
Library | Description | Usage |
---|---|---|
embassy | Async embedded framework for Rust | Main framework for handling async tasks |
embassy-rp | RP2350 support for Embassy | Provides access to GPIO, I2C, and timers for Raspberry Pi Pico 2 |
defmt | Logging framework for embedded Rust | Debugging tool |
*Not Final