Science & Tech · AI · 2 hrs ago
Claude Code Helps Build an Hourglass That Blocks Distracting iPhone Apps
A Reddit user built a physical hourglass to help control iPhone app use during focus sessions.
The project uses Claude Code, an AI coding tool, to help create both the device and its accompanying iPhone app.
Flipping the hourglass starts a focus session, and the app blocks distracting services such as Instagram and TikTok.
At break time, the device changes modes so apps such as WhatsApp become available while the distracting ones stay blocked.
Ending a session early requires getting up and tapping the phone against an NFC key, adding a physical step to the process.
The prototype uses a microcontroller, a motion sensor and a small screen, and connects to the app over Bluetooth.
A custom board with 211 LEDs is still awaiting manufacture and testing, so that part of the project is not yet complete.
A Reddit user used Claude Code to build a physical hourglass that controls access to distracting iPhone apps.
Flipping the hourglass starts or changes a focus session, with an accompanying app blocking or allowing selected apps.
The prototype uses an ESP32-C3 microcontroller, a motion sensor and a small OLED screen.
Claude Code wrote the prototype’s firmware in MicroPython, while Claude also helped develop an iPhone app using React Native and Swift.
A custom circuit board with 211 LEDs and a 3D-printed enclosure were designed, but the board still needs to be manufactured and tested.
- Who
- Reddit user u/RamonvanDijk built the device with help from Claude Code and Claude.
- What
- A physical hourglass controls which iPhone apps are blocked during a focus session.
- When
- XDA published its article on Nov. 22, 2026.
- Where
- Not stated
- Why
- The device is intended to help users focus by blocking distracting apps.
This story does not have two clearly opposing sides.
Claude Code wrote the firmware in MicroPython, beginning with component detection and then adding an hourglass animation, motion detection and focus-session logic.
The custom circuit board with 211 LEDs still needs to be manufactured and tested.
- Creator
- Reddit user u/RamonvanDijk
- Microcontroller
- ESP32-C3
- Firmware language
- MicroPython
- LEDs on custom board
- 211
- App technologies
- React Native and Swift