RP2040 TFT Display Keychain
A keychain with a round display that seems to float behind a magnifying lens. Inspired by lilguy.net – one of my hardware side projects, designed from the enclosure to the software.
Hardware
- Waveshare RP2040 with a round 1.28" display (240 × 240 px)
- OptiMedia OM10 acrylic magnifying lens, Ø 62 mm, f = 275 mm
- Built-in battery, charged via USB-C
- Custom-designed enclosure, 3D-printed in PETG
Software
- Animations built with the LVGL library
- Calibrated gyro sensor: the animation responds to the tilt angle

First prototype
The first prototype came together quickly and was still fairly large at 10 × 10 × 2.5 cm – but light, thanks to PETG.
Final design
The final version is much more compact: a clover shape made of four equal circles, in the same material, just a different colour.
- 61 × 61 mm, 71 mm across the leaf tips
- 24 mm deep, 70 mm long including the key ring loop
- 2 mm walls, around 28 cm³ of material
The lens sits at a distance above the display – that gap creates the 3D effect.

Result
The finished result: the animation follows every tilt.
Construction
The base and lid leave 20 mm of internal space: the battery at the bottom (Ø 37 × 10 mm compartment), the circuit board above it. The board has no mounting holes – a centring ring guides it and three snap-fit tabs hold it in place. The USB-C port sits in an indent of the clover, so the plug fits without an extension.
Screws
Four M2 screws from below, heads fully countersunk – no screws are visible from the front. They cut their own thread into 16 mm PETG posts on the lid. Recommended: M2 × 12.
Printing
Both parts print without supports. 0.4 mm nozzle, 0.2 mm layer height; the 2 mm wall equals five perimeters. At 100 % infill the enclosure weighs about 36 g – considerably less with regular infill.