Planning another Arduino build? If you’re just doing something simple like switching a relay or powering a LED, you might want to think about the Digispark. It’s a very small ATtiny-based Arduino ...
It might not seem too impressive these days, but when microcontrollers with hardware USB support were more expensive and rare, the VUSB library was often used to create USB devices with an ATtiny85.