Back to Engineering Blog
Engineering Field Notes 3 min read

Pocket Ops: A Just-for-Fun Handheld Console for the Lab

A Raspberry Pi Zero 2, a PiSugar battery and a Whisplay display HAT make a pocket-sized screen, speaker and one button. We are building it as an in-progress side project to see what the lab can do from a handheld.

Jason NevillBy , Houston, TX
#RaspberryPi#PiSugar#Whisplay#Voice#Hardware

Key Architectural Takeaways

  • Pocket Ops is an in-progress hobby build: a battery-powered Pi with a small screen, speaker, microphones and a single button.
  • One button is enough if gestures are deterministic and any action that changes something requires a deliberate physical hold.
  • Real hardware overrides assumptions: pins, audio codec and even the kernel's GPIO library behaved differently from what we first expected.

What it is

Pocket Ops is a small, in-progress, build-it-for-fun project. The question was simple: what could we make out of a Whisplay top? The answer so far is a handheld console for the lab that you can talk to, glance at and, for a short list of gated actions, approve with your thumb.

It is not a product and it is not finished. It is a way to explore what an ambient, physical interface to the lab feels like.

The hardware

  • Raspberry Pi Zero 2 WH: Quad-core 64-bit ARM, 512 MB of RAM, runs the client in Python
  • PiSugar battery module: About 1200 mAh Li-Po with a fuel gauge, so the console runs unplugged and reports charge
  • Whisplay HAT: A 1.69-inch IPS LCD (240 x 280, ST7789 over SPI), an I2S audio codec, dual MEMS microphones, a speaker, an RGB LED and one tactile button

The Pi Zero's 512 MB is tight, which is a useful constraint. Nothing heavy runs on the handheld. It records audio, draws a heads-up display and talks to the lab's voice service over the network. The models run elsewhere.

What it does

  • Assistant mode: hold the button to talk, release to send. Short answers come back as speech and text. Longer questions get an immediate audible acknowledgement and a progress ticker while the answer is prepared.
  • Ops cockpit: a scrollable view of open engineering items with counters for total, blocked, unowned and stale.
  • Field standby: a large battery gauge, the connection mode (LAN, mesh or offline) and a count of voice notes queued for later.
  • Gated actions: anything that changes something shows a hazard screen with a red border and the target system, and needs a three-second physical hold to confirm. Letting go early aborts.
  • Nightstand mode: plugged in and idle for a minute, it becomes a clock with a battery gauge and a rotating status line.

Why bother

A phone can already do most of this, but a dedicated device has a different feel: it is always charged, always in one place, and only does one thing. It also makes a good test bench for the question we keep returning to, which is how little interface a human needs in order to stay in the loop on a system that does a lot on its own.

What is next

The build is deliberately slow and iterative. Follow-up posts cover the display bring-up (our first guess at the wiring gave a black screen), the single-button gesture design, and what happens when the handheld leaves the home network.

Takeaway

Small, self-contained hardware builds are a cheap way to test interface ideas. The result matters less than what the hardware teaches you, and this one has already taught us a lot.

Some of what's described here is a design that hasn't been fully tested yet; those parts say so in the text.

Follow the build on LinkedIn or by RSS.

All Articles

Follow the build

Questions about the build, or spotted something we got wrong? Find us on LinkedIn and GitHub.