Time Safe Lock Box

Assembled Time Safe Lock Box Prototype
Time Safe Printed Circuit Board

This page covers my Time Safe lock box project.

Time Safe is an ATtiny85-based time-lock safe with configurable unlock windows, designed for makers using KiCad and the Arduino toolchain. It can only be unlocked during user-configurable time windows and is intended as a self-control aid — for example, to restrict access to snacks while dieting or to help manage access to prescription medication to reduce the risk of overuse.

The project combines a custom PCB designed in KiCad 9.0 with firmware for an ATtiny85-20, driving an electronic latch, an OLED display, and a 4x4 keypad. Version 1.0 is fully working as a hand-assembled prototype, with PCBs fabricated by JLCPCB. Details are available on the GitHub page in the README.md file, and portions are included below for completeness:

https://github.com/avose/TimeSafe
https://github.com/avose/TimeSafe/blob/master/README.md

The repository includes the full schematic and PCB layout as a KiCad project along with the complete firmware used on the ATtiny85 micro controller.


Features

Hardware

The hardware centers around a small ATtiny85 microcontroller on a custom PCB that integrates user input, display, timekeeping, and latch drive circuitry.

Core hardware components:


The schematic and PCB layout are created in KiCad 9.0, with prototype boards manufactured by JLCPCB and then assembled by hand.

Be sure to set the ATtiny85's fuses so that B.O.D. (brown-out detection) is enabled for 4.3V! Without this, there will be issues with EEPROM read / write stability due to slow rise / fall times of the 5V rail during power on and shutdown caused by the capacitors used in the power circuit.

The following links probably won’t work forever (or even for very long), but are included for completeness: