I ordered a bunch of Digispark boards - for a few dollars each and included bootloader you cannot go wrong. They are basically prototype&forget boards and go under various other names (Picoduino, Pro Nano, Olimexino-85). Banggood.com has them for ~3$. The first project is an automatic power-on, power-off for an old Sony speaker set, formerly CD/cassette deck. My goal is for the amplifier to turn on when audio signal is detected and turn off after 30 minutes of silence. This is not so much for power saving as it is to reduce the white noise and GSM pickup during the night. The speakers can be turned on by connecting a 100 kOhm resistor between two of the four pins on a plug I've made various measurements to determine the correct input level that's reliably above the silence noise floor. In my case it was somewehere around 20mV. The ADC of ATTiny85 can be set to a 1.1V reference, improving the detection precision. Otherwise, by default, the 3.3V referen...
Electronics and programming interspersed at various levels of difficulty.