zynthian-stm32controller
Tool for Zynthian V5.1 / V5 / V4 (Zynthian)
Firmware for an STM32 Blue Pill board that adds a master volume knob to a Zynthian over USB, plus a host service on the Raspberry Pi that sets the ALSA mixer volume. Third-party add-on from 2018.

- Distribution
- Prebuilt image you flash yourself
- License notes
- LICENSE.txt is the GPLv3 text; the source files have no license headers, so no "or later" grant was found.
- Source
- github.com https://github.com/joostn/zynthian-stm32controller
- Homepage
- github.com https://github.com/joostn/zynthian-stm32controller
- hardware
- stm32
- usb
- arduino
- controller
Description
Joost Nieuwenhuijse wrote this as an I/O expander for Zynthian built around the STM32F103C8T6 Blue Pill, connected over USB, with a master volume control as the main aim. The firmware reads one potentiometer on an analog input and reports it as a vendor HID device. A small C++ service on the Pi reads the reports and sets the ALSA mixer volume, installed as a systemd unit by the build script. Prebuilt firmware images exist for linear and logarithmic potentiometers, and an update script flashes the board from the Pi through the STM32duino bootloader. The README describes soldering a cut USB cable to the Pi's internal USB pads and a resistor fix that most Blue Pill boards need. The repository belongs to the author; the zynthian organization holds an older fork of it.
Install notes
The STM32duino bootloader must first be flashed with an SWD programmer or a USB-serial converter. After that, clone the repository on the Zynthian, run build.sh to install the host service and updatefirmware.sh to flash the board over USB. Most Blue Pill boards need a resistor change on the USB pull-up, and the USB connection is wired inside the case. Written for 2018 ZynthianOS and not checked against current releases.
Version history
| Version | Date | Notes |
|---|---|---|
| master @ 9238fcd | 2018-08-31 | No tagged releases; this is the latest commit. |