Skip to the content
2 layers20.5 × 46.5 mmNiceTOTP, the printed circuit board in 3D

Air Gapped (except configuration) TOTP Hardware key, using the nRF52840.

Size
20.5 × 46.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
7
Nets
27
Pads
41
Tracks, vias
42, 11
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
7 Jul 2025
Updated
24 Oct 2026

Overview

NiceTOTP is an open-source printed circuit board by ICantMakeThings, from the ICantMakeThings/NiceTOTP repository on GitHub, published under the MIT licence. It is a 2-layer board of 20.5 × 46.5 mm with 7 parts on 27 nets, routed with 42 tracks and 11 vias.

Its parts include 5 connectors and 2 switches. It belongs with the nRF52 and nRF5x boards of this library.

README

README.md

NiceTOTP certification-mark-PL000020-wide

ew Repeat new PIN

Wiki

What is NiceTOTP?

Time-based one-time password (TOTP). aka: 2FA! A alternetive to Authy / Google Authenticator.

Full offline, Air Gapped. And Standalone once all Keys have been added.

TOTP keys and other FS are stored in an AES-256-GCM encrypted vault, with a key derived from the passcode using PBKDF2-HMAC-SHA-256. Vaults use a random starting IV followed by monotonically increasing IVs.

A four-digit passcode is still vulnerable to offline guessing if an attacker extracts the flash. Use a longer, unpredictable numeric passcode; a lengt of 13 can make a attacker wait up to 8 years on the most common GPU*

Video here

But Why??

There are a few reasons why I made this device, mainly to lose dependence of my phone. But not just, What if your phone breaks, bricks, or something else? I rather have lots of devices that don't depend on eachother rather than a all in one for that reason, plus most "universal" stuff performs worse than a specific device for that single function. As of right now, I'd say it's almost complete (enough to daily drive), possibly a few more hardware security features, maybe UI polishing, fixing any bugs i haven't found yet and should be perfect. The cost is ~£6 excluding 3D printing.

Hardware is:

Note: These are referral links. If you purchase through it, I earn a commission at no extra cost to you.

image

Usage

Use the NiceTOTP-ConfiguratorNext (Firmware update doesnt work rn*)
or you can use serial commands:
  • setunixtime example: setunixtime 1751925355
  • The first setunixtime stores the real time for future auto-calibration which after 30 days it will compensate for any drift in the DS3231.
  • manualcalibration <offset> example: manualcalibration 3 sets the DS3231 aging register from -128 to 127 and locks automatic calibration
  • lockcalibration stops auto-calibration
  • unlockcalibration turns back on auto-calibration
  • getcalibration reports the aging offset, baseline timestamp, and lock state
  • clearcalibration clears the aging correction and removes the stored calibration baseline
  • add <username> <base32secret> example: add test JBSWY3DPEHPK3PXP (Compare)
  • list
  • del <GetTheIDFromListCommand> example: del 1
  • factoryreset (Power cycle after)

Installation

Standard installation

If you don't care about proper security*, download the NiceTOTP-ConfiguratorNext and use the unsigned NiceTOTP-V1x.uf2 firmware.

*Or if you just want to test the device without commiting to the protected bootloader / hassle with setting it up or not owning a ST-Link

  • Or Drag and drop the .UF2 onto the nicenano drive when doubble clicking reset (short rst pin with usbc sheild tapping twice quickly)

Protected installation

  • Download Signed.zip from latest release, and follow Protected installation (Also includes installing from source)

More Info

  • In 2 months the RTC drifted 8s forward. (Now there is a calibration feature, so should be better, to be commented on further.)

  • Battery seems to last about 1 year with a 1000mAh Battery.

  • Make sure not to let it discharge as it will go in a soft brick, to unbrick you just press rst

GPU*
  • The algorythm is 50,000 PBKDF2 and the number is the expected value which is ½ of the worse-case scenario.
  • It is based on cracking it with a NVIDIA GeForce RTX 3060 as its the most common GPU based on Steam Hardware & Software Survey: August 2026.
  • It is recommended to have a pin of at least 13 Charicters
  • You can have a look on this webiste to test around different hardware, make sure PBKDF2 iterations is set to 50000

Parts

7
QtyValueFootprintReferences
2Conn_01x13_PinConnector_PinHeader_2.54mm:PinHeader_1x13_P2.54mm_VerticalJ1, J2
2SW_PushButton_Switch_SMD:SW_Push_1TS009xxxx-xxxx-xxxx_6x6x5mmSW1, SW2
1Conn_01x02_PinConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ5
1Conn_01x04_SocketConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ4
1Conn_01x05_PinConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ3

Similar boards

  • 2 layersEncoder, the printed circuit board in 3D

    Encoder

    byrantech/laptop

    anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

    7 parts4.3kMIT
  • 2 layers40 × 20 mmSensor smd, the printed circuit board in 3D

    Sensor smd

    scottbez1/splitflap

    DIY split-flap display

    7 parts4.2k
  • 2 layers19.8 × 30 mmZ limit, the printed circuit board in 3D

    Z limit

    opulo-inc/lumenpnp

    The LumenPnP is an open source pick and place machine.

    7 parts3.7k
  • 2 layers35.6 × 58.2 mmDisplay Carrier, the printed circuit board in 3D

    Display Carrier

    AxxAxx/AxxSolder

    STM32 Based soldering station for JBC cartridges, 9-24 VDC and USB-PD power

    7 parts1.7kGPL-3.0
  • 2 layers20.3 × 16.3 mmMap MPX, the printed circuit board in 3D

    Map MPX

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    7 parts1.2k
  • 2 layers26 × 44 mmCompact carrier board, the printed circuit board in 3D

    Compact carrier board

    jamro/tiny-engineer

    A small desktop robot that brings an AI coding assistant to life, physically acting out when it reads files, thinks, writes code, and finishes work.

    7 parts1.1k
  • 2 layers26.4 × 53.8 mmAtari pickup, the printed circuit board in 3D

    Atari pickup

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    7 parts1kGPL-3.0
  • 2 layersRj45 breakout, the printed circuit board in 3D

    Rj45 breakout

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    7 parts990GPL-3.0

Questions

How big is the NiceTOTP PCB?

It measures 20.5 × 46.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the NiceTOTP use?

7 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the NiceTOTP KiCad files?

From the ICantMakeThings/NiceTOTP repository on GitHub, at the commit this page was made from: the board is PCB/NiceTOTP.kicad_pcb and its schematic PCB/NiceTOTP.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the NiceTOTP design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).