
a]:text-inherit [&>a]:underline">
When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works .
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.
Watch On 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. After this fix, the picture generation ran 24x faster and enabled him to squeeze 34×37 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.
Modder finishes nine-year Xbox 360 voltage glitch mod with a $4 microcontroller, cracks the console open
Playable Tomb Raider runs on a humble 1-watt chip
Key considerations
- Investor positioning can change fast
- Volatility remains possible near catalysts
- Macro rates and liquidity can dominate flows
Reference reading
- https://www.tomshardware.com/video-games/retro-gaming/SPONSORED_LINK_URL
- https://www.tomshardware.com/video-games/retro-gaming/bitluni-builds-a-20-cent-usb-gpu-from-a-single-microcontroller-uses-pwm-tricks-and-sram-caching-for-a-24x-speed-boost-outputs-rick-astley-animations-to-a-crt-tv#main
- https://futureplc.com/terms-conditions/
- We built the best all-around DIY PC we could from Cyber Monday deals, and it's pretty sweet
- This itch.io game has you stealing RAM as RAM Altman
- HP Omen 35L gaming desktop with RTX 5080 and 64GB of RAM is $3,000 off
- NVIDIA Expands Slurm to Bring Quantum Computing Into Supercomputing
- NVIDIA RTX Spark Compact Desktops Out Now
Informational only. No financial advice. Do your own research.