Hardware Blogger Builds Low-Cost USB Video Adapter for Around 20 Cents in Components
9 hour ago / Read about 0 minute
Author:小编   

Hardware blogger Bitluni has created a USB video adapter using the CH570 RISC-V microcontroller from Nanjing Qinheng Microelectronics, with electronic component costs totaling approximately 20 cents—13 cents of which goes to the core chip. The adapter connects to a computer via USB and outputs grayscale images to vintage CRT televisions through a composite video interface. Since the CH570 lacks dedicated video output hardware and a digital-to-analog converter, Bitluni relies on pulse-width modulation to adjust the signal's average voltage, simulating pixels of varying brightness and generating synchronization signals. Constrained by memory, he began with text display, relocating key code from flash to SRAM for execution—boosting image generation speed by a factor of 24 and enabling the display of 34×37 characters. After further optimization, the adapter can also play low-resolution dance animations. Essentially a USB-to-analog video adapter, it does not offer the 3D rendering capabilities of modern GPUs. Bitluni addressed the issue of USB communication disrupting the video output timing through additional processing code. The hardware design is highly streamlined, with both the USB-C and RCA plugs replaced by PCB structures. The 20-cent figure covers only electronic components and excludes PCB and other expenses. The relevant code and circuit board design files have been made publicly available.