Hmm, I have a fairly thick steel enclosure, it has very specific mounting for a +/-15v power supply in it, really nicely done, but if I put in a much smaller supply, took ages to make a cutout for this, and had a generous amount of capacitors in it, in theory I could make something that would stay plugged into the mains and count up, and have enough reserve capacity to survive power outages and moving, so that I could have this thing set up with power for the next 19 years.
God, that's a long term thing to set up lol, I'd probably get tempted to re-use the enclosure at some point or something, but it would definitely be some sort of accomplishment. Really I should stick an attiny with a buzzer to go off in 19 years too, I have an RTC for arduino somewhere but the battery wouldn't last, so this would purely be a silver box with a power cord and the counter on it.
It would definitely be a conversation piece, I'm pretty tempted now. Maybe I should use some 1 farad supercaps off ebay though, instead of a bunch of larger (physically, but not by capacity) ones.
Hardest part would be cutting a nice hole into the enclosure. I wonder if the charger from a bluetooth headset could run for 19 years non stop too. Hmm
I just need to find a way to reset this thing, I would either have to crack it open, which would likely damage it, but I'm thinking an arduino script to toggle power a buttload of times would work too. It would just take a bit longer.
edit: Hmm, cracking it open it is, it's not just a cut of power that does it but the slow decline as the caps in the supply lose charge.
edit 2: ah good it slipped out pretty easily, just needed the right angle.