stopPause Button Project

Logo

A small Arduino project for a big emergency stop button to pause music playback!

View the Project on GitHub conorhennessy/stopPause

About

stopPause is a project that turns a classic emergency stop button into a whackable pause button as a media key. When the button is pressed a pause key is sent to the computer, conversely when the button is reset a pause key is sent.

Photo of the emergency stop button with end of the cable hidden)

Here it is in action… And a video can be found here…

GIF of button being pressed with Spotify open, showing a song being paused

How it’s made

Using an arduino ATmega32U4 the stop button is wired to digital PIN 2 with 5v supplied by the 5v PIN. With each loop of code, the arduino checks for a change of voltage to see if the button has been pressed or reset. The state change is then compared to the previous state to understand if to send a pause action.

(Wiring diagram coming here soon ;) )

Photo of the inside of the emergency stop button with wiring and arduino visible

Create your own

If you fancy, you can create your own by following the above wiring diagram, getting the parts listed below and nicking my code on here if you fancy :)

Built With

Parts List £££

Overall cost of £9.06

Libraries

HID - The HID Library used for the extra media control required for this project

Contributors

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details and that.

Acknowledgments