首页›Hackaday›文章

A Frequency Generator for Not a Lot

Jenny List · 2026年12月2日

AI 摘要 AI 生成,可能有误

[Alun Morris] 制作了一款名为“Mega Hurts”的口袋大小方波发生器,由 USB-C 供电,基于廉价的 CH32V203F6P6 微控制器,配备 OLED 显示屏、旋转编码器和 BNC 输出。利用该芯片 16 位定时器的 PWM 模式,它能实现高达 30 MHz 的频率,且占空比可调。该项目还展示了一种简单的原型制作方法:在 3D 打印外壳中采用“死虫焊”方式直接焊接贴片元件,无需定制 PCB。

There are many ways to generate a square wave, and given the availability of phase-locked-loop-based clock generator chips, it’s easy enough to do so from a microcontroller. But the microcontroller can be persuaded to make a square wave on its own, and and this is what [Alun Morris] has done with his Mega Hurts frequency generator. It’s a pocket square wave signal generator, powered from a USB-C socket.

At its heart is the inexpensive CH32V203F6P6 microcontroller mounted on a small dev board in a 3D printed case. There’s an OLED display and a rotary encoder to provide a user interface. The maximum frequency achievable is 30 MHz, with variable duty cycle. The generation is achieved using the chip’s 16-bit timer operating as a PWM peripheral, and the output reaches the world through a BNC socket. We can see it could be a useful little instrument, even if it’s limited to square waves alone.

We quite like the very simple prototyping technique used here, dead-bugging SMD parts without the need for a custom PCB. IT proves that sometimes, just going ahead and making the thing with what you have is the way forward.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Hackaday

Naughty NAS Nets Noteworthy Noodling

AI 摘要Dmytro Artemiev built his own NAS using a Raspberry Pi 4 with a SATA HAT and four 2 TB disks running OpenMediaVault, but soon faced intermittent problems like disappearing disks and networking failures. He troubleshot by simplifying to a clean Debian install and using Grafana to correlate data with failures, documenting the whole engineering journey on his blog. The experience taught him that the most expensive mistake was assuming too early that he already knew the cause of the issues.

The Underwhelming Supersonic Cargo Service That Died In The 20th Century

AI 摘要The article chronicles the Soviet Tupolev Tu-144, which beat the Concorde to milestones like its maiden flight and Mach 2 but was plagued by engine inefficiency, structural problems, and a deadly 1973 Paris Air Show crash. After its passenger service lasted only seven months in 1977–78, Aeroflot briefly used the aircraft for supersonic mail and freight runs such as Moscow to Alma-Ata before the program was cancelled in 1983. Ultimately, despite later roles as a flying laboratory, the unreliable Tu-144 flew too few commercial flights to make a real logistical impact and is largely forgotten, unlike the Concorde.

With Omnidrive One Blu-Ray Drive Can Backup Them All

AI 摘要OmniDrive is custom firmware developed by [RibShark] that can be flashed onto compatible Hitachi-LG Blu-ray drives (using the MediaTek MT1959 chip), enabling users to rip game discs from consoles like GameCube, Wii, Xbox, and Wii U without modifying the consoles themselves. The firmware is installed via the SDFTool Flasher, though flashing it onto an incompatible drive will permanently brick it. With Sony planning to stop manufacturing discs in 2028, tools like OmniDrive and backup software such as Media Preservation Frontend support growing efforts to preserve physical game media.

$10 Microcontroller Board Emulates Over 15 Classic Systems

AI 摘要A $10 LILYGO ESP32 VGA board can emulate over 15 classic computer systems, including the Apple II, Atari 2600, ZX Spectrum, MSX 2, Commodore 64, and Macintosh Classic. The board combines the ESP32 microcontroller with VGA output, PS/2 ports, and an SD card slot, and the emulation runs bare-metal without an operating system to minimize overhead. The required files are available online, making it an inexpensive, compact way to enjoy retro hardware.

Weather Dashboard Shows Off Satellite Data

AI 摘要[Mirko Pavleski] built a desk-based weather dashboard using the ELECROW CrowPanel 7-inch HMI display, which features a bright color LCD, capacitive touch, and an ESP32-S3 microcontroller with WiFi connectivity. The device pulls 16-day forecasts from Open-Meteo, the current time from an NTP server, and satellite weather maps from the OpenWeatherMap API. The result is an attractive desk ornament that displays weather information at a glance.