Skip to content
@ultrawidelock

ultrawidelock

Walk up. It unlocks. Open-source firmware for a door lock that opens with the digital key in your phone. A phone approaches a door drawn to scale; the lock ranges it with radio pulses along a ticked track and the bolt slides open inside the 1.00 m bound. Below, the seven libraries the lock is built from: tinyble, tinycred, tinyuwb, tinytalk, tinygrid, tinypsa, tinyfota, each with its measured flash size.

Try it in your browser Flash a board Read the firmware

Open-source firmware for a door lock that opens with the digital key in your phone. Range is radio time of flight, measured on the lock, so a relay can only make the phone look farther away. The bolt moves at 1.00 m or less, once three rounds agree. No app, no account, no cloud round trip.

The lock, in parts

Seven libraries in portable C11, each small enough to read end to end. tinylock builds a door lock from all of them on one 512 KB microcontroller.

Library Does Flash / RAM, KB
tinyble BLE host for commissioning, raw HCI 6.7 / 2.5
tinycred Digital-key reader: BLE, then UWB ranging 12.7 / 6.6
tinyuwb DW3000 UWB driver and ranging engine 8.5 / 0.9
tinytalk Smart-home accessory node, uncertified 52.6 / 20.9
tinygrid Mesh end device that never routes 19.3 / 9.9
tinypsa Minimal PSA Crypto provider for Zephyr 17.8 / 1.5
tinyfota Signed delta updates over BLE, in place 4.7 / 1.0
tinylock All seven on one nRF52833 197.9 / 73.3

Sizes are LTO release builds, as measured in each repository's README.

The complete lock

ultrawidelock is the full firmware: UWB and NFC, three boards, a browser twin that runs the real ranging code, and a flasher that works from the browser. Clone it and run make check to run the host suite with no board attached. The guides cover adding the key, bring-up on each board, and porting.

Experimental firmware, provided as is, without warranty of any kind. Not affiliated with, endorsed by, or certified by any company or standards body whose technology these repositories implement.

Popular repositories Loading

  1. ultrawidelock ultrawidelock Public

    UWB & NFC Smart lock firmware that opens with your Wallet Key.

    C 62 10

  2. tinylock tinylock Public

    Experimental UWB Matter door lock on nRF52833.

    C 1

  3. tinytalk tinytalk Public

    Small, uncertified Matter accessory node in C.

    C

  4. tinypsa tinypsa Public

    Minimal PSA Crypto provider for Zephyr.

    C

  5. tinygrid tinygrid Public

    Minimal non-routing Thread end device.

    C

  6. tinycred tinycred Public

    Aliro digital-key reader over BLE and UWB.

    C

Repositories

Showing 10 of 10 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…