A small Arduino project for a big emergency stop button to pause music playback!
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.
Here it is in action… And a video can be found here…
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 ;) )
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 :)
Overall cost of £9.06
HID - The HID Library used for the extra media control required for this project
This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details and that.