Projects / Personal / 2026
Pico MixPad
A USB controller for setting Windows volume per application.
I wanted a quicker way to balance game, voice chat and music than opening the Windows volume mixer, so I built a controller for it. It has a main volume knob, four knobs for individual apps, eight mechanical keys and a small screen that shows what each knob controls. Pressing any knob mutes it, and one key mutes the microphone.
How it works
The pad connects over USB and appears as a keyboard, a media controller and a serial port at the same time, so the main volume knob and media keys work on any computer with nothing installed. A Python app on the PC adds per-app control through the Windows audio API and talks to the pad over a simple text protocol I designed.
The firmware is written in CircuitPython, and the Pico's programmable I/O reads the knobs in hardware so no steps are missed. The knobs send how far they were turned rather than a fixed position, so changing a volume in Windows never fights the hardware. The desktop app has 11 unit tests that run without the pad attached.
Serial messages
| From | Message | Meaning |
|---|---|---|
| PC | ? | Is a pad connected? |
| Pad | HELLO MACROPAD | Yes, with its version |
| Pad | E ch delta | A knob was turned |
| Pad | P ch | A knob was pressed |
| PC | V ch vol muted label | What to show for a knob |
| PC | MIC 1|0 | Mic state, for the light |
The PC repeats the full state every second. If the pad hears nothing for five seconds, it carries on as a plain volume controller.
What's next
A custom circuit board with hot-swap key sockets instead of hand wiring, and a C++ version of the desktop app to replace the Python one.