1 / 9
ESP32 TOTP A PHONE-LIKE PERSONAL SECURITY DEVICE
Order a print of this model
We calculate the final price from your selected file. You review and accept it before payment.
Saved on this device.
An easy to build, personal security device that you can use to protect your accounts using 2FA
- Rating
- 0 / 5
- Likes
- 6
- Downloads
- 7
- Makes
- 0
- Views
- 273
- Reviews
- 0
Updated at source:
Model information
- Source
- Printables
- Category
- Portable Devices
- License
- Creative Commons — Attribution
ESP32_TOTP 🔐
A compact, secure TOTP (Time-Based One-Time Password) generator built on the ESP32 platform for two-factor authentication (2FA) systems like Google Authenticator. Displays time-based codes on a small OLED screen, synced with an RTC module for accurate timekeeping. Ideal for educational purposes and offline 2FA.
🚀 Features
- Generates 6-digit TOTP codes (RFC 6238 compliant)
- Assembly and flashing: ~15 minutes
- Battery life: 2-3 months (varies by battery)
- OLED display (SSD1306 128x64 I2C)
- Battery-powered with charging module (IP5310)
- Real-Time Clock (DS3231) for accurate timekeeping
- Compact hardware (ESP32-C3 SuperMini)
- Configurable AP WiFi and password
- Web-based configuration via captive portal
- Secrets reset after 3 incorrect pincode attempts
Follow the detailed instructions on GitHub for:
- Ordering the PCB
- Printing the case
- Assembling the PCB and case
- Flashing firmware
- Activating the device
🛠 Hardware (BOM)
| # | Part Name | Quantity | Link |
|---|---|---|---|
| 1 | ESP32-C3 SuperMini | 1 | AliExpress |
| 2 | DS3231SN RTC | 1 | AliExpress |
| 3 | SSD1306 OLED Display (128x64) | 1 | AliExpress |
| 4 | IP5310 Battery Charging Module | 1 | AliExpress |
| 5 | RT9080-33GJ5 Voltage Regulator | 1 | AliExpress |
| 6 | 10K SMD Resistor | 9 | AliExpress |
| 7 | BAT54 KL1 Schottky Diode | 1 | AliExpress |
| 8 | 1µF SMD Capacitor | 2 | AliExpress |
| 9 | SMD 3×4mm Tactile Button | 4 | AliExpress |
| 10 | MSK-12C02 Slide Switch | 1 | AliExpress |
| 11 | LI-ION battery (max 42mm) | 1 |
📝 Note
This project is an educational offline alternative for TOTP generation, not a replacement for mobile 2FA apps.
