I have an idea for a small project. It's basically a small box that sits on your desk. It has one button:
I image that it'll sit on your desk, someone will walk up to it, see it and wonder what the button does. You press it, and it farts. A pretty funny office gag.
It's similar, I guess, to one of those "Hey, that was easy!" buttons that Staples gives away.
I designed up a circuit and it works:
I basically want it to shut off a couple of seconds after you've pressed the button. Who knows how often someone will press the button. I don't want the batteries to die after it's been on my desk for a week.
The image above doesn't show it, but I also just added an LM386 op amp to make it louder, so the circuit has to run off 5V. I really don't want to use a 9V and have to add a 7805, but I might have to to keep it small using a 9V vs several AAs.
So basically what I'm asking is, what is the best option to shut everything off? I've seen this post
about powering down the Atmel, but I have the op amp to worry about. I've also seen the Pololu
switch which looks awesome and might do the trick, but again, trying to keep it small.
Any ideas on how to shut this thing down after 5 seconds?
Here's the workflow and some video of it in action on my hobby blog if you want to follow along.....http://kevinrye.net/files/fartbox.php