PicoCalc Toolkit: a standalone launcher with Wi-Fi apps, music and games in MicroPython (Pico 2W)

Hi all! I’ve been turning my PicoCalc (with a Pico 2W) into a small standalone computer in MicroPython: switch it on and a launcher comes up, and everything runs from the PicoCalc’s own keyboard and screen, no computer attached.

It runs on ClockworkPi’s official MicroPython firmware, so you can try it without reflashing anything. The release also has an optional rebuild of that same firmware that fixes a flash-write hang (more below).

What’s in it

  • Launcher at power-on (about 2.5 s, Wi-Fi joins in the background): one key per app, and a title bar with time, Wi-Fi and battery. q drops to the REPL, import go brings it back, and Thonny/mpremote get the REPL as soon as they connect.
  • Online: Wi-Fi manager, AI chat (OpenRouter, or any OpenAI-compatible server on your LAN like llama-server or LM Studio, streamed), RSS reader (plus Miniflux), weather from Open-Meteo (no API key), NTP clock.
  • Transfer: files between a browser and the SD card over Wi-Fi, ~270 KB/s up and ~200 KB/s down, PIN-protected and only while its screen is open. No more pulling the card out to add music.
  • Music: WAV player on the speakers or headphone jack (PWM fed by DMA) that keeps playing in the background while you use the other apps.
  • Games: Snake, Tetris (SRS rotation, hold, ghost piece, next three pieces) and Space Raid, a tribute to the Nokia 3310’s Space Impact, with an optional two-green 3310 screen. Held keys work: the games read the keyboard controller’s event FIFO directly.
  • Tools: file manager (view, edit with the built-in pye, run, delete), notes/todo, scientific calculator, calendar, synth/piano with RTTTL ringtones, system info, and settings (brightness, keyboard light, dim and screen-off timers, power off).
  • Your own apps: drop a .py with a one-line header into /sd/apps and it shows up in the Apps list.

The screens are drawn straight into the framebuffer instead of through the terminal: a full launcher screen takes ~40 ms instead of ~550 ms.

Firmware quirks I ran into, in case they save someone else the debugging

  • Printing a non-ASCII character (an accented headline, an AI answer in Italian) detaches the screen and the keyboard until reset: the driver’s vt.write() returns characters instead of bytes, MicroPython re-sends the UTF-8 tail and decode() raises. The toolkit installs a writer that reports bytes and maps accented letters to CP437.
  • Connecting Thonny or mpremote does the same (their raw-paste handshake sends a 0x80 byte).
  • Terminal scrolling can let the cursor blink write past the end of the framebuffer, into the SD driver’s buffer: EIO, then “no SD card” until a power cycle. The toolkit keeps the last row out of the scroll region.
  • Ctrl+U (screenshot) raised inside whatever was reading keys; now it saves /sd/screen_<n>.bmp.
  • Three glyphs of the 6×8 font have 7 rows instead of 8, so display.text() draws everything from code 0x8E on 1-3 pixels too high, and setLUT() copies twice the buffer’s length.
  • Flash writes can hang the device: core1 refreshes the panel from code in flash and is never paused while core0 erases or programs it. In a loop of saves the official build hung on the very first one. The UF2 in the release is the official 2025-10-30 build, rebuilt from the sources ClockworkPi lists for it, plus two small patches (core1 registers as a lockout victim, and MicroPython’s rp2 flash code then pauses it): the rebuild completed 300 saves out of 300. It’s a drop-in: same flash layout, your files stay, and the official UF2 goes back on the same way. (LofiFren’s firmware makes the same driver-side change.)

Install

  1. Flash the UF2 from the release (hold BOOTSEL while plugging in, copy the file to the RP2350 drive). Optional, but on the official firmware a flash write can hang the PicoCalc, copying the toolkit included.
  2. Copy the files from the release zip to the Pico’s root with the PicoCalc switched on (Thonny’s Files panel, or mpremote resume cp *.mpy *.py :).
  3. Power-cycle: the launcher opens. 1, then c to join Wi-Fi.

To go back to the plain REPL at power-on, delete default_style.py.

Good to know

  • Pico 2W only: it’s the only board I’ve tested on, and the music player programs the RP2350’s PWM and DMA registers directly.
  • No MP3 (MicroPython has no decoder here): tools/to_wav.sh converts on the computer.
  • The defaults lean Italian, since that’s where I am: weather starts in Rome, the calendar marks Italian holidays, ANSA is among the default feeds. All of it can be changed.
  • The AI chat needs an OpenRouter key, or a local server.
  • 166 tests run on CPython and MicroPython in CI, and the same tests run on the device.

Full disclosure: the code is entirely vibe-coded. I directed it (what to build, what to fix, what to measure on the device) and tested everything on my own PicoCalc, but an AI (Claude Code) wrote it, which is what the CLAUDE.md in the repo is for.

It’s a hobby project, but issues, ideas and PRs are welcome, and I’d love to hear whether it works on your PicoCalc.

The toolkit zip and the UF2 are in the release: Release PicoCalc Toolkit 2026-10-14 · svdepasquale/picocalc · GitHub

6 Likes