Bitluni builds a 20-cent USB GPU from a single microcontroller
Low-level hardware enthusiast creates the tiniest USB GPU with 20 cents of components โ "high-res" text and low-rest graphics with little more than a microcontroller
YouTuber Bitluni previously demonstrated a VGA "graphics card" using a CH32V003 RISC-V microcontroller, but found it restrictive. Upon discovering the CH570's doubled RAM capacity and USB connectivity, he set out to create a smaller, cheaper monochrome VGA card. The CH570 lacks a built-in DAC, so Bitluni repurposed a PWM signal to act as an approximate voltage converter.
With only 16 shades of gray available, he opted to render text at half the vertical resolution. However, the text generation was slow until he learned to preload the code into the SRAM cache, boosting the generation speed by 24 times. This allowed him to display 34x37 characters. After optimizing further, Bitluni successfully displayed a Rick Astley animation, albeit in low resolution.
All this time, the development kit was connected to a CRT TV via its composite input. Bitluni then designed a tiny PCB to house the CH570, USB-C connector, and additional components. The final price for the board, including components, was $15, with the CH570 being the most expensive at $0.13. He connected the board to the TV via a USB connection, leveraging the CH570's CPU to handle USB-CDC.
After several optimizations, the TV displayed the text he was typing, aided by the development kit's USB wire acting as a makeshift VHF antenna.
Rewritten by urgent.news; may contain errors โ check the original.
Source: tomshardware.com
Read the original at tomshardware.com โ
More from Tom's Hardware on urgent.news
Report a problem with this story
Get the day's news by email. Daily, weekly or monthly. Sign up