Bitluni Builds a $0.20 USB VGA Card Around the CH570 Microcontroller
YouTuber Bitluni built a monochrome VGA device around the CH570 microcontroller, using PWM for video output and SRAM caching to make text rendering 24 times faster.
YouTuber Bitluni built a compact monochrome VGA device using the CH570 microcontroller, a USB-C connector and a small number of additional components. The components on the custom board cost about $0.20, while the CH570 accounted for $0.13 of that amount.
Because the CH570 lacks a dedicated digital-to-analog converter, Bitluni used pulse-width modulation as an improvised DAC and produced 16 shades of gray. The microcontroller’s limited RAM initially restricted the project to text rendered at half the possible vertical resolution.
Moving the code into the CH570’s SRAM cache made picture generation 24 times faster, allowing the device to display 34-by-37 characters. Bitluni also recreated a short, low-resolution animation of Rick Astley on a small CRT television.
The final board used USB connectivity through USB CDC for serial communication. USB processing initially interfered with the video signal, but further optimization allowed the television to display text typed over the connection. A jumper wire on the development kit also acted as an almost-effective VHF antenna for the television signal.