Here’s how to mod an alarm clock so that it will enter snooze mode when you smack it, Dimension Engineering writes -
In this project, we will bypass the mechanical snooze switch on top, and instead turn the alarm clock off in a much more fun way: punching it! Hopefully along the way I will be able to teach you some techniques that are useful in reverse engineering, so you can apply them to future projects.
This project is aimed at intermediate electronics enthusiasts, who have mastered the art of the multimeter and are comfortable with soldering a complex circuit.
This project involves working with a device that connects to mains voltages. The alarm clock I used just so happened to be designed so well that it was impossible to touch any mains voltages inside it. Other alarm clocks may not give you this comfort and will most likely have a different layout inside. Do not attempt this project unless you are 100% sure you know you can do it safely!
Shocking alarm clock!- Link.