Bitluni builds a 20-cent USB GPU from a single microcontroller

Join for quick access. Enter your email below and we'll send confirmation plus sign you up to our newsletter.
The ghetto RCA "jack" is particularly endearing.
This was extremely slow, though, until he realized that to properly leverage the CH570's speed, you need to put the code you intend to run into its SRAM cache first.
The small animation was but a few frames long and in low resolution, but was very clearly recognizable.
By submitting your information you agree to the Terms & Conditions and Privacy Policy and are aged 16 or over.
Get started with free access to reviews, badges and discussions.
Unlock exclusive tools and insights for enthusiasts who want more.
Access Bench, Roadmaps, deep analysis and other exclusive tools.
Dive into our proprietary testing data and compare hardware with detailed benchmarks.
Go beyond the headlines with expert reporting on the hardware industry.
Track upcoming CPUs, GPUs and tech releases before they arrive.
In-depth features, interviews and insider stories from the world of hardware.
Expert insights and analysis delivered to your inbox.
Dive into our proprietary testing data and compare hardware with detailed benchmarks.
Go beyond the headlines with expert reporting on the hardware industry.
Track upcoming CPUs, GPUs and tech releases before they arrive.
In-depth features, interviews and insider stories from the world of hardware.
Expert insights and analysis delivered to your inbox.
Your membership journey starts here.
Keep exploring and earning more as a member.
News, reviews, and technical insights.
Reviews, benchmarks, and updates on current GPUs.
Explore your membership benefits.
Keep exploring with your premium access.
Join for quick access. Enter your email below and we'll send confirmation plus sign you up to our newsletter.
By submitting your information you agree to the Terms & Conditions and Privacy Policy and are aged 16 or over.
Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.
Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.
Unlock instant access to exclusive member features.
Your newsletter sign-up was successful
Get full access to premium articles, exclusive features and a growing list of member rewards.
The ghetto RCA "jack" is particularly endearing.
When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.
YouTuber Bitluni is well known for his oddly endearing endeavors with low-level hardware work, and this time he chose a seemingly simple one: use no main components other than a small microcontroller to make a VGA "graphics card." This is a road he's traveled before, but now he wanted to make the card smaller still, opting for glorious monochrome video, with impressive results for only 20 cents' worth of components.
$0.20
Total component cost
The entire parts bill for the "GPU"
$0.13
The dearest part: CH570
One chip, priciest on the board
$15
PCBs, pack of 10
Prototyping costs more than the parts
24x
Speedup after SRAM fix
Picture generation, once code sat in cache
34x37
Text grid
Characters squeezed at half vertical resolution
16
Gray shades
Others might aim for 50

In a previous VGA adventure, Bitluni used a CH32V003 RISC-V microcontroller, but found it a little too limiting for his taste.Browsing the spec sheet for its successor, the CH570, he was interested in the doubled RAM capacity and integrated USB connectivity, and even Bluetooth.
So he got to work, with the first step being leveraging a PWM signal to make an impromptu DAC.Those are weird words, so we'll explain.
Same metric (number of gray shades), same unit (levels); 50 is what the article says others might aim for, not a benchmark run against the CH570.
A DAC, or digital-to-analog converter, is a part that takes a signal made of ones and zeros and converts it to voltage steps.They're everywhere, but the CH570 doesn't have one.However, you can leverage a PWM (pulse-width modulator), which flips on and off in rapid succession, as an approximation of voltage over time.
This sounds odd, but it does work, and it is also the principle behind modern Class D audio amplifiers used in hi-fi, PA, and instruments.Bitluni was satisfied with 16 shades of gray, down from the 50 others might aim for.
The CH570 has a very limited amount of RAM, so getting a full frame of graphics in it would be too eager a challenge at first, so he elected to render text at half the possible vertical resolution.This was extremely slow, though, until he realized that to properly leverage the CH570's speed, you need to put the code you intend to run into its SRAM cache first.
"PCB per board" is derived from the disclosed $15 for a pack of 10 (15÷10=1.50, ※ marked as derived); components total $0.20 as stated. Same metric (cost per board), same unit (USD).
After this fix, the picture generation ran 24x faster and enabled him to squeeze 34x37 characters.
With that working, he set to task recreating graphics, and after some more optimization work, he finally got Rick Astley dancing on screen, as tradition commands.The small animation was but a few frames long and in low resolution, but was very clearly recognizable.
All this while, his development kit was connected to a tiny CRT television via its composite input, but now it was time to make actual physical gear.
He designed a simple PCB with enough room for the CH570, along with a USB-C connector and a few assorted bits and bots. The board cost him $15 for a pack of 10, and set about $0.20 worth of components on it, with the CH570 being the dearest at $0.13. The exceedingly tiny board worked quite well, even down to the improvised RCA barrel "jack" that was just a couple of grooves.
The final step was using USB for connectivity, as he wanted to use the connection as a serial bus via USB CDC. This took a few tries, because the now-enabled USB connectivity needed to be handled by the CH570's CPU, and the time slices needed for it were eating into the video
01No GPU inside — one MCU holding the line
The CH570 has no DAC, so Bitluni fakes analog voltage with rapid PWM switching, the same trick behind Class D audio amps; 16 gray shades, half vertical resolution and monochrome are all concessions to RAM and timing.
02Code in the wrong place ran 24x slower
The 24x picture-generation jump and the 34x37 grid only happened after the code moved into SRAM cache; on a dime-priced chip, performance lives where the hot code sits.
03The pricey part is the PCB, not the silicon
Ten boards cost $15 — about $1.50 each — while a board's components total around $0.20, with the CH570 at just $0.13; in small-batch DIY hardware, prototyping outweighs parts.
04USB is the last boss, and the snapshot stops there
USB CDC asks the same CH570 that is pushing video to also serve the bus, and the article cuts off mid-fight; how he settled it is not in this text.