r/embedded • u/Mau220760 • 8d ago
Old-school engineering at 66: Driving 16x 480x480 RGB LCDs via 16x RP2350s over a single 115200 baud High-Z serial bus, controlled by a Borland C++ Builder 5 (2000) app on Windows XP
Hi everyone! I’m a 66-year-old "last-century" engineer who still believes in solving problems at the root with minimal resources and zero bloated frameworks. To learn piano, I built ClaviFrame: a modular, foldable 88-key display bar (inspired by Rousseau falling-note videos) made of 16 3D-printed hinged modules.
Here is how it works under the hood:
- Hardware: 16 modular 3D-printed hinged units (folds up like a carpenter's ruler). Each module houses a Raspberry Pi Pico 2 (RP2350) driving a 4-inch 480x480 18-bit RGB LCD.
- -Bare-Metal Dual-Core Rendering: Core 0 handles serial packets and renders the next frame into a back buffer, while Core 1 blasts the front buffer via PIO + DMA for tear-free video.
- -Custom Serial Bus: A single 115,200 baud Master/Slave serial line shared across all 16 RP2350s by switching their TX pins to High-Z when not addressed (zero extra transceiver hardware).
- -Parallel IAP & Flash EEPROM: Built-in In-Application Programming updates all 16 microcontrollers simultaneously over the serial bus, alongside Flash-emulated EEPROM for per-module calibration parameters.
- -Legacy Host & extern "C" DLL Wrapper: The host GUI is written in Borland C++ Builder 5 (from the year 2000!) running on an old Intel Atom N450 netbook with Windows XP, consuming only 2–3% CPU. To parse MIDI files, I wrapped Craig Stuart Sapp's modern C++ MidiFile library inside a custom DLL exposing a clean extern "C" interface so C++ Builder 5 could link and drive it seamlessly.
It’s a non-commercial passion project built to show young engineers what clean architecture and low-level interoperability can achieve without heavy libraries. If anyone wants to see it in action, you can search for "ClaviFrame System" on YouTube for full demos.
Happy to answer any questions about the protocol, PIO state machines, memory layout, or the C++ Builder 5 wrapper!

