I have a Raspberry Pi that I want to mount in an enclosure. The enclosure already has a couple external buttons on it. I'm trying to find some sort of circuit that I could by that I could wire the buttons to, in order to properly shutdown and turn on the Raspberry Pi. By properly, I don't mean "cut the power" to shutdown. I mean an actual Linux shutdown command. I have found the following products:
- Pi-Supply: Power Switch
- Mausberry Circuits: Shutdown switch #1
- Mausberyy Circuit: Shutdown switch #2
But what is the deal with the buttons that these companies put on their circuit boards? If you enclose any of those products in an enclosure with an Raspberry Pi, NONE of those included buttons could be accessed externally.
Do people actually use the circuit boards just like that? Aren't there any similar products out there that just have some headers/leads on them that I could plug directly to?
I'm not good at soldering onto circuit boards last I tried it, so I'd prefer to find something that is simply plug and play but that has the ability for an external button to be added instead of some useless surface mount button. I need the circuit to be able to power up the Raspberry Pi and properly send a shutdown signal as well.
shutdown -h now
when it is pulled low. – Nov 22 '14 at 21:00