All projects

Bedside Alarm Clock

An aluminum-and-glass bedside alarm clock with C++ firmware, parametric CadQuery CAD, and a public browser 3D viewer running the real firmware in WebAssembly.

Stack: C++, ESP32, CadQuery, WebAssembly, Three.js

What it is

A custom bedside alarm clock designed from scratch across firmware, electronics, and mechanical enclosure. The enclosure is a black-anodized aluminum body sitting on a half-inch low-iron glass base that glows 660 nm red for wind-down and night lighting.

The mechanical design is written as parametric Python code using CadQuery, which checks part collisions and speaker-chamber volume automatically and exports STEP, STL, and GLB files. The same C++ firmware that runs on the ESP32 compiles to WebAssembly (clock.wasm) and runs live on the 3D enclosure's touchscreen, so anyone can try the clock right in their browser at alarmclock.audrow.com (https://alarmclock.audrow.com).

What problem it solves

Using a phone as an alarm clock brings notifications and bright screens into the bedroom, while most standalone alarm clocks have harsh backlights or awkward button menus.

On the engineering side, iterating on hardware and firmware usually means waiting for prints or machined parts before you can see how the UI feels inside the enclosure. Compiling the real C++ firmware to WebAssembly inside the parametric 3D viewer lets every firmware and CAD change be tested together in the browser before cutting aluminum.

Current status

Used daily on hardware today (running on the V1 and V2 prototypes on my nightstand). The public interactive 3D simulator and source code are live at alarmclock.audrow.com (https://alarmclock.audrow.com), where you can switch between V1 CoreS3, V2 breadboard, and V3 aluminum enclosure variants, explode the assembly, and interact with the real C++ firmware screen.