Putting Claude on a Round ESP32 Display.doc

Putting Claude on a Round ESP32 Display

5 August 2026 Harry Chapman

I adapted Anthropic's maker firmware for a 1.85-inch circular ESP32-S3 display, where the corners do not exist and the reset button lobotomises the chip.

Web developers are spoiled by rectangles. In a browser, (0, 0) is always the top-left corner, buttons sit neatly along the bottom edge, and if you run out of vertical space you just let the page scroll.

Try putting an interface on a 1.85-inch circular LCD and your coordinate system immediately starts picking fights with Euclid.

The ESP32 Claude Desktop Buddy is my port of Anthropic’s desktop companion firmware to a Waveshare ESP32-S3 Touch LCD. It sits on my desk under my monitor, talks to Claude Desktop over Bluetooth Low Energy (BLE), and shows live agent status, recent messages and tool-approval prompts without me having to alt-tab out of whatever I am doing.

Where did my corners go?

On the spec sheet, the panel is 360 by 360 pixels. In reality, the panel is a circle of diameter 360 pixels, which means almost a quarter of the pixels in that 360×360 bounding box are physically missing.

If you want a true square that never clips against the circular bezel, geometry says the largest inscribed square inside a circle of diameter D has side length D / √2:

360 / 1.414 ≈ 254.6 pixels

Losing more than 100 pixels on each axis is painful on a screen the size of a digestive biscuit. Instead, I compromised on a 300 by 300 logical canvas centred inside the 360×360 frame, rounding the corners of UI cards and keeping hit targets pulled inward so nothing important ever gets guillotined by the curved glass.

The button that kills the patient

The board gives you three ways to poke it: a CST816 capacitive touch controller on the glass, a tactile BOOT button, and a physical side switch. There is also a RST button right next to BOOT.

If you come from software, you look at two buttons on a case and think: great, Button A is “Confirm” and Button B is “Cancel”.

On this PCB, the RST button is wired directly to the ESP32-S3 hardware reset line. Firmware cannot intercept it. Press RST hoping to dismiss a notification and you immediately cut power to the CPU’s brain.

Then there is the side switch. Unlike a momentary push-button that springs back when you let go, the side switch latches: flick it up and the GPIO pin stays pulled high forever until you physically flick it back down. If you write a naive if (switchPin == HIGH) nextPage() loop, flicking the switch once will spin through every screen at 60 frames per second like a fruit machine.

To make those controls feel natural across pet mode, status views and tool-approval prompts, I mapped them around state transitions rather than raw pin levels:

  • Short press on BOOT: advances or approves the current prompt.
  • Long press on BOOT: opens the settings and mode menu.
  • Flipping the latching side switch: triggers on the edge (a state change from high to low or low to high) to scroll pages or deny an approval, then waits for the next transition.
  • Capacitive touch: handles direct selection with fat touch targets sized for a human thumb rather than a stylus.

Eighteen ASCII creatures and honest telemetry

When Claude is idle, working, waiting for permission to run a terminal command, or disconnected, the screen changes both colour and animation state. The firmware ships with 18 built-in ASCII creatures, plus support for streaming custom GIF character packs over BLE.

A pulsing red alert state means a tool call is blocked waiting for a physical press on my desk. Slow breathing means the Bluetooth bridge has gone to sleep.

One thing I specifically refused to do was fake the usage meter. Some companion scripts try to guess your remaining Claude quota by counting tokens locally and multiplying by an imaginary constant. That number is always wrong. The usage widgets on this firmware only render when the desktop bridge supplies real session and weekly quota figures, and stay out of the way when it doesn’t.

If Bluetooth pairing ever gets into a wedged state between Windows and the ESP32, there is a one-tap BLE bond wipe right in the device’s on-screen settings menu so you don’t have to re-flash the board over USB just to re-pair it.

Read the firmware guide and source.

Page 1 721 words 4 min Play