techyg shared this project on Thingiverse!
This thing mounts to the Raspberry Pi B+ Bumper case and allows you to put in a “Big red button”. The button can be used for just about anything you can think of. Just write some code and you’re off to the races.
Bumper case design is here: https://www.thingiverse.com/thing:629886
I use my Raspberry Pi with my 3d printer. When it is turned on, the webcam and wifi module are running, and I don’t want those to be left on constantly. SO when I am done printing, I press the button and make the Pi sleep. When I want to start printing again, I press the button and the Pi wakes up. I prefer using a physical button next to the printer, which is why I do this rather than connecting to the pi using my computer.
The button is wired to pins 5 and 6. I set up a script that shuts down the pi when you press the button, or wakes the pi up (if the pi was shut down previously).
Every Thursday is #3dthursday here at Adafruit! The DIY 3D printing community has passion and dedication for making solid objects from digital models. Recently, we have noticed electronics projects integrated with 3D printed enclosures, brackets, and sculptures, so each Thursday we celebrate and highlight these bold pioneers!
Have you considered building a 3D project around an Arduino or other microcontroller? How about printing a bracket to mount your Raspberry Pi to the back of your HD monitor? And don’t forget the countless LED projects that are possible when you are modeling your projects in 3D!