Skip to main content
Version: ACS CC

SafePi

A smart and secure mini-safe that unlocks with RFID and fights back against intruders.

info

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

DeviceUsagePrice
Raspberry Pi Pico 2WThe microcontroller40 RON
Red LEDBlinking when the alarm goes off0.39 RON
Blue LEDBlinking when the alarm goes off0.29 RON
BuzzerUsed when the alarm goes off1 RON
PN532 RFID ModuleUsed for opening the safe30 RON

*Not Final

Software

LibraryDescriptionUsage
embassyAsync embedded framework for RustMain framework for handling async tasks
embassy-rpRP2350 support for EmbassyProvides access to GPIO, I2C, and timers for Raspberry Pi Pico 2
defmtLogging framework for embedded RustDebugging tool

*Not Final