On Hackaday.io, Alcor6502 details their compact USB relay controller, which has multiple uses and can shape-shift depending on its components.
The device acts as a fan controller, UART interface, classic relay, and servo driver, all on one PCB.
It does not require an external oscillator, instead, an STM32F042 internal RC is used for USB self-sync, removing the need for a quartz and lowering costs.
The BOOT0 button can flash firmware or toggle outputs.
To transform into a different device, one must either bridge or remove some components, a process that is not as straightforward as the article suggests.
Check out the build log and instructions on Hackaday.io for more information. who has previously created a compact USB relay controller, describing how it has evolved into a multifunction tool for hackers and makers.
The device has multiple uses, such as acting as a fan controller, UART interface, classic relay, and servo driver, all on one PCB.