Loading the 3D model
Drag to turn it
Proximity-Sensing Heart Keychains
A pair of heart-shaped keychains that find each other over Bluetooth and light up as they get closer, with no phone or internet.
Scroll to take one apart
What they do
Each keychain works on its own. Apart, each one glows in its own colour. When the pair come near each other they recognize one another over Bluetooth Low Energy, and their colours blend together more the closer they get. No phone, app, or internet connection is involved.
Scroll or tap the model and it lights up.
The hardware
Inside the case is a custom circuit board I designed in KiCad around an nRF52832 module, a chip that is both the microcontroller and the Bluetooth radio. Around it are a BMI270 motion sensor, six chained WS2812B-2020 LEDs, a 3.3 V regulator, a load switch that cuts power to the LEDs, and a USB-C charger for a 200 mAh LiPo battery.
The 3D-printed heart case and its acrylic window were modelled in CAD around the board. The whole thing is 63 × 64 × 13.5 mm.
The firmware
The firmware filters the radio’s signal strength (RSSI) to judge distance smoothly, wakes the keychain when it moves, warns when the battery is low, and accepts wireless firmware updates.
Making the battery last
The radio only wakes periodically, the chip sleeps in between, and power to the LEDs is switched off when they aren’t lit. Together that gives an estimated six to eight weeks on one charge.
From schematic to keyring
- When
- October 2026
- Built with
- KiCad, nRF52832, Bluetooth Low Energy, CAD
- Main parts
- nRF52832 (MDBT42Q), BMI270, 6 × WS2812B-2020, TPS7A0233, TPS22917, BQ21040
- Size
- 63 × 64 × 13.5 mm, 200 mAh LiPo
- Fields
- Electronics, Software