A collection of DIY hardware and software projects for controlling ChamSys MagicQ stage-lighting software with a Raspberry Pi Pico, an Art-Net over USB DMX bridge, and a dedicated show PC.
Note: Every project is independent and has its own
platformio.iniand handbook. The four firmware projects share the same platform (maxgerhardt/platform-raspberrypi), board (rpipico) and core (earlephilhower), so one PlatformIO installation and one toolchain setup is enough for all of them.
- 1. The layout (physical arrangement)
- 2. Hardware overview
- 3. Build & upload (PlatformIO)
- Project structure
The suite consists of five Pico firmwares, one show-PC image and two design folders:
[ Enncoder ] [ Wing ] [ ArtNet-USB ] [ DMX-Router ]
2x RP2040 Zero 11 faders 4x DMX ports 4 in / 16 out
(4 encoders ea.) + 5x13 key grid Art-Net over USB DMX/RDM matrix
| | | |
| | [ ArtNet-ETH ] |
| | 4x DMX/RDM, RJ45 |
+---------+---------+ | |
| | |
[ magicq wing.3mf ] <---- 3D enclosure + easyEDA/ design files
|
[ Linux-Installer ]
Wyse 3040 + MagicQ
| Folder | What it does |
|---|---|
| ArtNet-USB/ | Raspberry Pi Pico 4-port Art-Net ↔ DMX512 bridge over USB. The Pico enumerates as a USB Ethernet (CDC-NCM) adapter on the PC, answers ArtPoll, and drives four DMX ports (GPIO 2–5), each configurable as input or output, with RDM gateway and a config web page (http://10.0.0.10/). PlatformIO / Arduino-Pico. |
| ArtNet-ETH/ | 4-port Art-Net/DMX/RDM node with real Ethernet on a WIZnet W5100S-EVB-Pico. Four MAX485 ports (schematic label MAX3485) on 3-pin female XLR, each switchable between output and input (input needs a male-male adapter), RDM gateway, web UI, and a local SSD1306/4-key menu. One firmware auto-selects at boot: a USB data host uses CDC-NCM Ethernet over USB (DHCP server for the host), while USB power-only or no USB uses the W5100S/RJ45 port (DHCP client with static fallback 2.0.0.10/8). Enumerates as “VID-PRO ArtNet Node” and includes the Windows KB5124008/“Code 10” NCM fix. PlatformIO / Arduino-Pico. |
| Enncoder/ | ChamSys MagicQ encoder controller: two Raspberry Pi Pico (RP2040 Zero) modules — left and right — each with 4 rotary encoders with push switches. The modules emulate an absolute + relative USB HID mouse that moves the cursor onto the on-screen encoders and scrolls/clicks there. Identical firmware and pinout on both sides, separate calibration per module (LittleFS /ecal.bin). PlatformIO / Arduino-Pico. |
| Wing/ | DIY MagicQ Compact Mini Connect Wing: 11 linear faders (10 playback + grand master) read through a 74HC4067 multiplexer and a 5×13 button matrix (46 keys), all over USB HID (keyboard + absolute mouse for the fader drags) — latency-optimized C++ firmware (PlatformIO / Arduino-Pico). |
| DMX-Router/ | 4 → 16 DMX/RDM matrix splitter: four DMX/RDM inputs (PIO UART), sixteen DMX outputs (two PIO bit-plane groups + DMA), per-output HTP routing, best-effort RDM store-and-forward relay via two 74HC151 multiplexers, optional SSD1306/PCF8574 UI and LittleFS configuration. The project README documents the complete pin map and wiring. |
| Linux-Installer/ | Show-PC setup for a Dell Wyse 3040: Ubuntu + Openbox + MagicQ as a dedicated, boot-to-MagicQ lighting console. One script installs all dependencies, autostart, autologin, boot splashscreen, transparent cursor, USB auto-mount and auto-shutdown. |
| 3D/ | 3D-printable enclosure (.3mf) for a MagicQ control wing. |
| easyEDA/ | EasyEDA schematic / PCB design documents for the hardware. |
| Goal | Project |
|---|---|
| Faders on MagicQ's Full Panel + flash/GO keys | Wing/ |
| Turn / click the MagicQ on-screen encoders | Enncoder/ |
| Feed DMX512 fixtures from the PC over USB | ArtNet-USB/ |
| Feed DMX512 fixtures from the PC over Ethernet | ArtNet-ETH/ |
| Split / merge 4 DMX consoles onto 16 outputs | DMX-Router/ |
| Boot a small PC straight into MagicQ | Linux-Installer/ |
| Print the enclosure / edit the PCB | 3D/, easyEDA/ |
| Peripheral | Used by | Connected to |
|---|---|---|
| 74HC4067 16-channel analog multiplexer | Wing | GP27 (COM) + GP20–GP22, GP26 (S0–S3), fader wipers on C0–C10 |
| 5×13 key matrix (dioded) | Wing | rows GP2–GP6, columns GP7–GP19 |
| Rotary encoders (A/B) + push switches | Enncoder (per module) | A = GP26–GP29, B = GP3–GP6, switches GP15/7/14/8 (identical on both modules) |
| MAX485 / MAX3485 transceivers | ArtNet-USB | DMX ports on GPIO 2–5 via PIO |
| MAX485 transceivers (schematic label: MAX3485) | ArtNet-ETH | TX GP2–GP5, RX GP10–GP13, DE/RE GP6–GP9 via PIO |
| W5100S Ethernet | ArtNet-ETH | SPI0: MISO GP16, CS GP17, SCK GP18, MOSI GP19, RST GP20, INT GP21 |
| SSD1306 + 4 keys | ArtNet-ETH | I2C1 SDA GP26 / SCL GP27, keys GP14/15/22/28 |
| 2× 74HC151 8:1 multiplexers + ADM2483 | DMX-Router | RDM return path OUT 1–8 / 9–16, select on GP22–GP24 |
| Dell Wyse 3040 (eMMC) | Linux-Installer | — (runs MagicQ as show computer) |
Prerequisite: PlatformIO Core installed.
# Switch to the project you want to build
cd Wing # or Enncoder / ArtNet-USB / ArtNet-ETH / DMX-Router
# Compile the firmware
pio run
# Compile + upload to the Pico
pio run -t upload
# Serial console (debug output)
pio device monitorArtNet-ETH uses a single environment. One firmware contains both the on-board W5100S/RJ45 and CDC-NCM "Ethernet over USB"; at boot it picks USB NCM when a USB data host enumerates the device and otherwise falls back to the W5100S. A power-only USB connection therefore still uses RJ45.
The USB device enumerates as “VID-PRO ArtNet Node” (manufacturer
VID-PRO). ArtNet-ETH/lib/tusb-ncm is a project-local override of the
TinyUSB NCM class driver that sets wNdbIn/OutDivisor = 4; this fixes the
Windows 10/11 “Code 10” failure introduced by the September 2026
usbncm.sys update KB5124008 (TinyUSB PR #3914).
pio run -d ArtNet-ETH # W5100S + RJ45 and USB CDC-NCM (auto)
pio run -e artneteth # same firmware, from the repo rootImportant: Uploads use the RP2040's native 1200-bps CDC touch (the core's SerialUSB
plus use_1200bps_touch in the rpipico board): pio run -t upload reboots the running device
into BOOTSEL by itself, so no BOOTSEL button is needed after the very first flash. Only the
first flash of each Pico needs BOOTSEL (hold while plugging in USB, then release). The
resulting file is at .pio/build/pico/firmware.uf2 and can also be dragged onto the RPI-RP2
drive.
Do not set
-DENABLE_PICOTOOL_USB. It makes the running firmware advertise the Raspberry Pi USB reset interface, but on this custom composite-USB stack it broke USB enumeration on macOS (no/dev/cu.usb*port at all, and no HID keyboard/mouse). The 1200-bps touch is the supported path.
Note: the Enncoder project builds both modules from the same source — the left module (
pio run -d Enncoder -e pico-left) and the right module (pio run -d Enncoder -e pico-right).ENC_SIDEonly sets the compiled-in default target positions; the per-module calibration (/ecal.bin) fully determines the mapping, so both sides work regardless of which env was flashed.
Note:
Wing,EnncoderandDMX-Routersetboard_build.filesystem_size = 64k. That 64 KB LittleFS partition is what their runtime data writes to (/fcal.bin,/ecal.bin,/router.cfg) — without itLittleFS.begin()fails and nothing is saved.ArtNet-USBneeds no filesystem.ArtNet-ETHuses a different board (wiznet_5100s_evb_pico) and has one firmware/env (w5100s/ rootartneteth) that contains both transports: it selects CDC-NCM "Ethernet over USB" at boot when a USB data host is present, otherwise it uses W5100S/RJ45. The UF2 is at.pio/build/w5100s/firmware.uf2when built inArtNet-ETH/, or.pio/build/artneteth/firmware.uf2from the repo root.The unit suffix matters: the Raspberry Pi platform parses a bare number as bytes, so
64means 64 bytes, not 64 KB. A 64-byte partition makes the LittleFS format loop forever with interrupts disabled, so the Pico hangs at boot and USB/HID never appears. Always write64k.
miniMQ/
├── README.md # This overview
├── LICENSE
├── Makefile
├── platformio.ini # Workspace-level PlatformIO config
├── ArtNet-USB/ # Art-Net over USB -> 4x DMX512 (Pico firmware)
├── ArtNet-ETH/ # Art-Net over Ethernet/USB-NCM -> 4x DMX/RDM (W5100S firmware)
├── DMX-Router/ # 4 -> 16 DMX/RDM matrix splitter (Pico firmware)
├── Enncoder/ # 2x RP2040 Zero (4 rotary encoders each) -> MagicQ
├── Wing/ # 11 faders + 5x13 keys -> MagicQ (Pico firmware)
├── Linux-Installer/ # Dell Wyse 3040 show-PC image setup
├── 3D/ # 3D-printable enclosure
├── easyEDA/ # EasyEDA schematic / PCB documents
├── scripts/ # Helper scripts
└── .github/ # CI workflows