ConstructagonOpen in Constructagon ⇢
Models & Makes · Open-source hardware projects · published 2026-12-02T00:00:00+00:00 · via Hackaday

Compact USB-Powered Square Wave Generator Uses CH32V203F6P6 Chip

Image via Hackaday
Image via Hackaday

Alun Morris created a pocket-sized square wave signal generator using the CH32V203F6P6 microcontroller, powered via USB-C and housed in a 3D-printed case. The device features an OLED display and rotary encoder for frequency and duty cycle control, capable of generating signals up to 30 MHz using a 16-bit timer in PWM mode. It outputs signals through a BNC connector and demonstrates a minimalist prototyping approach using dead-bug assembly without a custom PCB.

Expanded Detail

In December 2026, Alun Morris unveiled a compact, USB-powered square wave generator based on the CH32V203F6P6 microcontroller, a low-cost RISC-V-based chip. The device, designed to fit in a pocket, is housed in a 3D-printed case and powered via USB-C, eliminating the need for external batteries or power supplies. It features an OLED display and a rotary encoder for intuitive control of frequency and duty cycle, with a maximum output frequency of 30 MHz achieved through the chip’s 16-bit timer operating in PWM mode. The signal is delivered through a BNC connector, making it suitable for basic electronics testing and educational use. Notably, the prototype uses a dead-bug assembly technique—mounting components directly on the PCB without a custom board—highlighting a minimalist, rapid prototyping approach that prioritizes functionality over formal design. This method, while unconventional, underscores a growing trend in open-source hardware to reduce barriers to entry by leveraging readily available components and accessible fabrication tools.

The project builds on the broader movement of open-source electronics, where developers share designs and code to foster innovation and accessibility. The CH32V203F6P6, a Chinese-made alternative to popular ARM-based microcontrollers, has gained traction among hobbyists and engineers for its low cost and compatibility with existing development ecosystems. Jenny List, writing for a tech blog, contextualizes Morris’s work within the long-standing tradition of DIY instrument-making, referencing earlier projects that used similar microcontrollers for signal generation. While the device is limited to square waves and lacks advanced features like modulation or waveform shaping, its simplicity and affordability could make it a valuable teaching tool or a quick solution for field testing. What remains unresolved is whether Morris will release the firmware and design files openly, or if the project will evolve into a more refined, community-supported product.

Context

This project exemplifies how open-source hardware is lowering the barrier to entry for electronic instrumentation, enabling individuals to create functional tools without industrial-scale resources. By using a low-cost microcontroller and 3D printing, Morris demonstrates that high-precision tools need not be expensive or complex. This could empower students, educators, and independent engineers in under-resourced environments to experiment with signal generation, potentially accelerating learning and innovation in STEM fields. The dead-bug assembly method, while not scalable, may inspire others to adopt rapid prototyping techniques, reinforcing the ethos of “make it now” over “perfect it later.” A comparable earlier case is the Arduino platform, which similarly democratized microcontroller development by offering open, low-cost tools. The impact here may be more niche—focused on signal generation—but could ripple into broader maker culture, influencing how hardware is designed, shared, and used. What to watch for is whether this project evolves into a standardized open-source tool, possibly with community-driven firmware updates or modular expansions. Its success may depend on whether the community adopts and extends it beyond its original scope.

Expanded detail and Context are AI-generated analysis; the linked article remains the authoritative source.
Read the full article at Hackaday →
Related stories
Hands-On Learning with the Pocket MINIL Computer: A Simplified Approach to Machine Code · Functional prints
Raspberry Pi Pico 2 W Powers Miniature WWVB Signal Generator to Synchronize Atomic Clocks · Functional prints
Raspberry Pi-Powered Photobooth Purse with Custom Printouts · Functional prints
Light Rail: A Pocket-Sized PCB Model Railroad with Embedded Games · Miniatures & tabletop
Also covered by: Hackster News
The summary is constructed by AI and Human interaction and original to Constructagon; the article is linked to the original source. Original headline: “A Frequency Generator for Not a Lot.”See more stories here.