Eliminating Every Connector: PCB Traces Form the Only Two Plugs
On November 22, 2026, hardware maker bitluni unveiled a remarkable feat: turning a 20-cent microcontroller into a functional USB graphics card. With an MCU costing roughly 1.4 RMB, plugging the board into a PC enumerates it as a standard serial port. Connect the other end to a portable monochrome TV, and a crisp text terminal instantly lights up the screen.
The entire circuit board embraces extreme minimalism. No pre-manufactured connectors are soldered onto the PCB. The USB-C plug is formed directly from gold-plated traces routed along the board’s edge. The composite RCA connector skips discrete components as well—a specially shaped PCB tab slips straight into the TV’s female socket.
The board’s sole integrated circuit comes from Nanjing, China: the CH572D from WCH’s CH570 family. The peripheral circuit is stripped to the bone, leaving only a 5.1kΩ pull-up resistor for USB handshaking, a 180Ω attenuation resistor for video output, and a handful of decoupling capacitors.
Figure: The single-chip USB composite GPU uses gold-plated PCB edge traces to plug directly into USB-C and RCA ports. Source: Hackaday.
To keep the composite video signal phase-locked, a 32MHz quartz crystal is soldered to the board. In analog video, microsecond-level clock drift causes severe tearing. By discarding mechanical connectors and dedicated display controllers, the bill of materials is compressed all the way down to the bare silicon itself.
Squeezing 12KB RAM: Dual-Line Buffering Beats Compiler Traps
The CH570 features a QingKe 32-bit RISC-V core clocked at 100MHz, paired with a meager 12KB of on-chip SRAM. Under the European PAL standard, a single field contains 312 scanlines. Allocating a traditional full-frame buffer—even for a modest 300×240 monochrome image—would swallow nearly 9KB of memory, starving the USB stack.
bitluni bypassed the full-screen framebuffer entirely, adopting a dual-line buffer approach instead. Memory holds just two line arrays: vram[2][400], where each line spans 400 pixel clock ticks. While the DMA controller streams one line of pulses, the CPU asynchronously renders the next line of monochrome pixels. This streaming pipeline slashes video memory consumption to just 3.2KB, leaving comfortable headroom for runtime buffers.
Development hit an unexpected performance snag midway through. Scanlines jittered violently on specific raster passes, causing noticeable monitor frame drops. Disassembling the compiled binary revealed the culprit: GCC’s loop optimizations had automatically replaced inner loops with standard-library memset calls. Stored in on-chip Flash memory, these routine calls introduced flash wait states that blew past the nanosecond-level timing budget.
By applying optimization flags, bitluni prevented GCC from auto-substituting library functions and tagged critical rasterizer code with __HIGH_CODE, forcing execution straight from zero-wait-state SRAM. Free from flash latency bottlenecks, the CPU pipeline smoothed out, locking every scanline’s voltage transitions precisely to the intended clock cycle.
Driving Analog CRT via Timer PWM: Microsecond-Precision Timing Tames Jitter
The core hardware hurdle was the absence of dedicated video peripherals. The CH570 lacks a built-in DAC and cannot drive GPIO pins via DMA. To synthesize the stepped analog voltages needed for composite video, bitluni turned to the chip’s advanced PWM timer module.
A PAL composite signal relies on three reference levels: 0V sync pulses, 0.3V blanking/black levels, and 1.0V white levels. The firmware configures the PWM period register to 16 clock steps. Sync pulses run at 0% duty cycle, blanking levels sit at 4/16, and full white pixels hit 16/16. The high-frequency pulses are smoothed by board resistors and parasitic capacitance into clean analog voltage steps.
Figure: bitluni displays stable text output on a portable analog CRT using the CH570 USB GPU. Source: YouTube (bitluni).
The host PC sends text over the USB virtual serial port. The MCU decodes ASCII characters on the fly, rendering them into 8×8 font glyphs within the line buffers. The CRT displays a clean, rock-solid 37-column by 30-row monochrome terminal. The microcontroller’s clock speed even leaves enough horsepower for simple animations—using run-length encoding (RLE), the system streams animated frames at 50 fields per second. Peripheral capabilities aren’t bound by datasheet checklists; microsecond timing precision turns a basic PWM timer into a functional DAC.
From a Single Silicon Die to an 8,192-Core Array: Redefining Embedded Display Boundaries
Exploring unorthodox graphics pipelines on microcontrollers has long been bitluni’s signature style. He previously drove VGA monitors directly from an ESP32, and earlier created an 8,192-core CH570 computing cluster linked via SPI to run ray-marching algorithms. From massive multi-chip clusters to a minimalist single-chip display adapter, hardware hackers continue to revisit the physical essentials of video synthesis.
Figure: Diagram of bitluni’s experimental massively parallel microcontroller rendering array. Source: Hackaday.
The engineering community remains divided on the practical utility of MCUs as display adapters. Proponents celebrate the flexibility for industrial instrumentation and retro computing repairs. A 20-cent single-chip BOM sidesteps long component lead times and eliminates complex PCB routing. For purely textual displays where high resolution is unnecessary, a cheap microcontroller makes an attractive dedicated display controller.
Skeptics point out that this ultra-minimalist architecture faces rigid ceilings. Full-Speed USB tops out at 12Mbps, and 12KB of RAM cannot host a modern color framebuffer. Furthermore, maintaining strict PAL video timing ties up nearly all interrupt cycles, leaving minimal CPU margin for local application logic.
Yet this experiment shatters conventional hardware boundaries. Driving an analog video card with a microcontroller isn’t about rivaling dedicated GPUs. When marginal component costs plummet to twenty cents, meticulous clock timing alone is enough to bring an independent display pipeline to life.
References:
- Hackaday Coverage: Building A Single-Chip USB GPU
- bitluni GitHub Repository: bitluni/CH570Composite
- bitluni Video Breakdown: I made a USB GPU for 20¢
- Hackaday Related Story: Gluing 8192 MCUs Together To Make A GPU