
Smart Electronic Safe
Embedded Systems
An ESP32-based smart safe that secures valuables behind an electromechanical door using two authentication paths: numeric PIN entry through a keypad and contactless RFID access. The system gives real-time feedback through an OLED display, LEDs, and buzzer alerts while controlling a solenoid lock through a relay.
- Problem
- Conventional electronic safes often rely on a single authentication method, provide minimal feedback, are hard to extend with new credentials, and may depend on continuous mains power. This project addresses those weaknesses with an offline, battery-powered, multi-factor safe prototype.
Project photos


Tech stackOpen
Embedded Hardware & Firmware Stack
Microcontroller
ESP32
Central controller for authentication logic, peripheral coordination, and firmware state handling.
Firmware
C++
Used for the embedded firmware and control logic.
Display
OLED
Shows real-time user feedback, states, prompts, access results, and system messages.
PIN Input
Keypad
Provides numeric PIN entry and command input.
Access Control
RFID
Adds contactless card-based authentication.
Actuation
Relay + Solenoid Lock
Controls the physical locking mechanism while isolating the high-current lock path from the ESP32.
Power / Signal
Voltage Divider
Used where voltage levels needed to be adapted safely for the circuit.
Feedback
Buzzer + LEDs
Provides audible and visual status feedback for success, failure, lock state, and user actions.
Controls
System Switch + Power Switch
Supports system control, demonstration, maintenance, and power handling.












