The ATtiny microcontroller is an affordable ($1.50-$2.50) alternative to using full sized Arduino UNOs, which due to their cost do not usually allow projects to be preserved but must be disabled to retain Arduinos for future use.
Get them on Amazon, Tinkersphere, Sparkfun, Digikey