Main > Raspberry Pi & Dev Board
Custom Power Switch for Mame
(1/1)
Bigbadmamajama:
Greetings everyone,
First of all, thank you to everyone on this site for all of the help and instructions they continue to provide. There's no way I could have gotten as far as I have with my build without this website. Now...on to my question:
I'm about to begin the wiring for my cabinet and I have the following in mind:
A smart surge protector that everything will be plugged into:
https://www.amazon.com/gp/product/B000P1QJXQ/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1
A power button on the main control panel that will be plugged into the "Control Outlet" on the smart strip. This is the power button:
https://www.amazon.com/gp/product/B00ZR7MMXO/ref=oh_aui_search_detailpage?ie=UTF8&psc=1
The power button would have to be wired in such a way that it ends in a three pronged outlet. So when I push the button down it engages the control outlet thus powering on the tv, rasp pi, sound system/stereo and LED's. When I push the power button again, it turns it all off.
I more than likely plan on manually powering down the PI to make sure it doesn't corrupt the system, or I could of course add a script. But I simply don't know enough about electrical in order to wire the power button properly. Any suggestions?
Greatly appreciated
PL1:
--- Quote from: Bigbadmamajama on August 10, 2018, 07:41:41 pm ---A smart surge protector that everything will be plugged into:
https://www.amazon.com/gp/product/B000P1QJXQ/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1
--- End quote ---
The smart surge protector isn't bad, but might not be necessary. (see below)
--- Quote from: Bigbadmamajama on August 10, 2018, 07:41:41 pm ---A power button on the main control panel that will be plugged into the "Control Outlet" on the smart strip. This is the power button:
https://www.amazon.com/gp/product/B00ZR7MMXO/ref=oh_aui_search_detailpage?ie=UTF8&psc=1
The power button would have to be wired in such a way that it ends in a three pronged outlet. So when I push the button down it engages the control outlet thus powering on the tv, rasp pi, sound system/stereo and LED's. When I push the power button again, it turns it all off.
--- End quote ---
Plugging a switch into the smart strip master outlet . . . ummm, that's not how a smart strip works. :dizzy:
The idea is that when you turn on the computer, monitor, or other electrical device plugged into the master outlet the power control circut in the strip senses the current draw and applies power to the slave outlets.
The RasPi probably doesn't draw enough power to trigger the power control circuit.
--- Quote from: Bigbadmamajama on August 10, 2018, 07:41:41 pm ---I more than likely plan on manually powering down the PI to make sure it doesn't corrupt the system, or I could of course add a script. But I simply don't know enough about electrical in order to wire the power button properly. Any suggestions?
--- End quote ---
Check out the video and script in this post.
Wiring the pushbutton is easy, just look for wires with female Dupont pins. (i.e. cut a F-F Dupont jumper in half)
----------------
It would be less expensive to use a switched IEC power inlet and regular power strip for power.
Use the script and pushbutton mentioned in the video for safe sutdown of the RasPi before you turn off the inlet rocker switch.
There's information about IEC power inlets and how to wire them at https://web.archive.org/web/20150928061832/http://newwiki.arcadecontrols.com/index.php?title=Wiring#IEC_Fused_Power_Inlet_with_a_Lighted_Switch.
Scott
Bigbadmamajama:
Thanks for the info. I'll for sure check into your recommendations. Updates to follow.
Navigation
[0] Message Index
Go to full version