Skip to content

06Project

Afterlab Pocket ADV

A handheld Afterlab companion that brings lab access, voice interaction, radio awareness and pocket tools into native firmware.

The Afterlab Pocket ADV: an M5Stack Cardputer ADV — white case, full keyboard, the Pixel home screen lit on its small display.

The Cardputer ADV running the native firmware, on Pixel Home — real photograph.

The premise

A whole system, in your pocket.

Afterlab already had a web dashboard and fixed devices around the house, but talking to the system still meant sitting in front of another screen.

The Cardputer ADV packs a keyboard, display, microphone, speaker, RGB LED, IMU, Wi-Fi, Bluetooth, infrared and a microSD slot into something that fits in a pocket. That made a different question possible: what happens when the device, its firmware and the infrastructure behind it are designed as parts of the same system?

It started as an Afterlab layer on top of the Bruce firmware. That approach was dropped in version 0.3.0: since then the Pocket ADV runs its own native firmware, and Afterlab owns everything on screen, every state and every piece of hardware. Pixel gives it a personality; underneath, it is a practical tool.

It is not a pentesting tool. Its radio features are for observation, diagnostics, discovery and controlling devices I own.

At a glance

Main areas: Lab · Radio · Tools · Games · Settings
5
Its own firmware since 0.3.0
Native
Two channels to Afterlab, two different jobs
MQTT + HTTPS
A portable C++17 core, tested off the device
Host-tested

At 1.4.10 (2 Oct 2026): around 28,000 lines of C++, 15 pocket tools and games, seven days from the first commit.

The Pocket ADV launcher: the five areas, Lab, Radio, Tools, Games and Settings.
The launcher — firmware preview render. Pixel Home is the start screen, not a sixth area.

Inside the device

A small screen, an entire interface.

  1. The Pocket ADV on Pixel Home: Pixel’s face and “Afterlab online”.

    01 Pixel Home

    A start screen with a personality.

    Pixel lives on the home screen and reacts to what happens — Wi-Fi drops, lab alerts, voice turns — on the display, the RGB LED and the speaker. Hold a button, talk to Pixel and hear the answer, from any Wi-Fi network.

    The screen alone — firmware preview render.
  2. The Pocket ADV showing Lab Status: CPU, RAM, disk, temperature and uptime of the MiniPC.

    02 Lab

    Afterlab, without opening Mission Control.

    MiniPC and web status, connected devices and their lights, recent events, a watchlist of local hosts, MQTT details and the microSD card.

    Ideas go straight to the Knowledge Vault — typed, or spoken: hold the button and say “note…” or “idea…”.

    The screen alone — firmware preview render.
  3. The Pocket ADV on Wi-Fi Radar: nearby networks plotted by strength, the strongest listed beside it.

    03 Wi-Fi Radar

    The radio space around you.

    Radio looks and listens. Wi-Fi has scanning and joining, this radar, channel bars, a live waterfall, signal history, guest sharing by QR and an experimental motion detector using Wi-Fi CSI.

    Bluetooth adds a radar, defensive tracker detection, a remote for slides, media or an air mouse, and Hello, which wakes the screen when I come back to the desk. Infrared and Sonar — nearby networks played as notes — complete it.

    The screen alone — firmware preview render.
  4. The Pocket ADV running the chromatic tuner: A2, +1 cent, in tune.

    04 Tools

    The hardware as instruments.

    Timer, counters, metronome, a chromatic tuner, tone generator, bubble level, sound meter, live spectrum, network diagnostics and a terminal — useful with or without the lab.

    Games — Pixel Run, Snake, Simon, Breaker and Tilt — use the speaker, LED and IMU as part of the play.

    The screen alone — firmware preview render.

Built for the hardware

Native firmware, structured to be tested away from the device.

The screens on this page come from the firmware’s preview tool, drawn by the same code the device runs. It is a PlatformIO project written for this device, split in two: a portable part that compiles and runs on a normal computer, and an integration layer that talks to the real hardware.

Portable core · C++17 · runs on a computer

  • UI shell

    Pixel Home, launcher, Lab, Radio, Tools, Games, Settings; its own pixel font, ES / EN

  • Pixel

    Companion state and expressions, driven by device and lab events

  • Services

    Wi-Fi, BLE, CSI motion, BLE HID, Lab, Voice, storage, preferences, network tools

  • Core logic

    MQTT topics and payloads, tool logic, tracker watch, spectrum, QR, games

Event busWi-Fi drops · scans · lab alerts · voice turns → Pixel on Home, the RGB LED, the speaker — no screen knows about the others

Hardware integration · runs on the device

M5Unified · M5Cardputer · Arduino Wi-Fi · NimBLE · PubSubClient · TLS root bundle · NVS

Cardputer ADV

  • ESP32-S3 · Wi-Fi + BLE
  • 240×135 display
  • Keyboard
  • Mic + speaker
  • BMI270 IMU
  • RGB LED
  • Infrared
  • microSD

Connected, but independent

Useful on its own, connected when it needs to be.

On the device

  • Tools and games on the keyboard, display, speaker and LED
  • Wi-Fi and Bluetooth observation, tracker watch, infrared
  • IMU gestures: lift to wake, shake for a shortcut, double twist for home, face down to sleep
  • microSD for offline notes, event logs and scan exports; notes queue and sync when the connection returns

Pocket ADV

paired once, by a short code

Connected to Afterlab

MQTT
A fixed identity, afterlab-adv: it publishes its state like any other lab device.
HTTPS, through the Afterlab Web gateway
Pixel Voice, lab status and devices, Knowledge Vault captures — with its own revocable device token, kept only in internal storage, so it works the same at home or on any other network.

Privacy by default: tokens never appear on screen, secrets never touch the card, and the audio tools record nothing.

Evolution

From prototype to native system.

Version references are a snapshot of 2 October 2026.

  1. 26 Sep 2026

    Prototype

    Afterlab runs as a layer on top of the Bruce firmware.

  2. 28 Sep 2026

    Native firmware

    Bruce is removed; Afterlab owns the whole device, with pairing and Pixel Voice through the web gateway.

    v0.3.0

  3. 28–29 Sep 2026

    Feature expansion

    Lab, Radio, Tools, Games, the Pixel interface, Knowledge Vault capture, IMU and microSD — release by release.

    v0.4 – v1.4

  4. 2 Oct 2026

    Reliability & hardening

    Recovery, Wi-Fi, memory, storage and TLS, hardened through testing on the device.

    v1.4.10

All eight releases
  1. 26 Sep 2026Bruce-based prototypeAfterlab as a layer on top of the Bruce firmware
  2. 28 Sep 20260.3.0 · Native firmwareBruce removed; pairing and Pixel Voice through the web gateway
  3. 28 Sep 20260.4–0.6First lab tools, IR remote, pixel font and home bubble, RGB LED, a Spanish-speaking Pixel
  4. 28 Sep 20260.7–0.9Knowledge Vault capture, the whole UI in Pixel’s language, live radars, spectrum and waterfall
  5. 28 Sep 20261.0IMU gestures, microSD storage, direct Lab Status and Devices: a real Afterlab endpoint
  6. 29 Sep 20261.1–1.2Games and more instruments: tuner, tone generator, counters
  7. 29 Sep 20261.3–1.4Tracker watch, Wi-Fi sharing by QR, Sonar, Wi-Fi motion sensing, Bluetooth remote, Pixel Hello
  8. 2 Oct 20261.4.10Joining any saved network at boot, recovering a full settings store, freeing Bluetooth memory before secure requests, a compact certificate bundle

Tools & Stack

Firmware
C++17 · PlatformIO
Hardware
M5Stack Cardputer ADV · ESP32-S3
Libraries
M5Unified · M5Cardputer · NimBLE · PubSubClient
Connectivity
Wi-Fi · Bluetooth LE · MQTT · HTTPS
Testing
Host tests · PNG screen preview · On-device testing

A small device, on its own and part of a larger system.

The next stage is less about features and more about context. The Pocket ADV already knows the lab state, Pixel’s mood, the network it is on, the devices around it and how it is being held. The work is connecting those signals so the right information or action comes up at the right moment — without turning a small screen into a crowded dashboard.