Power switch option?

This topic contains 3 replies, has 3 voices, and was last updated by  runshadowfaxrun 2 years, 5 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #103563


    Hey everyone. Can I add my huge thanks to all contributors (especially floob and techtipsta) as a newcomer with no linux experience – everything works very well and is of exceptional quality.

    I am just finishing off the physical building of my project, and need to decide on a few last things.

    One of the issues I seem to be having with my pi 2 B is occasional corruption of data on my SD card, resulting in fsck errors and strange behaviours (deleting my images from scraping on each reboot claiming they contain errors, for example).

    I am hoping to fix this by using a proper shutdown method as opposed to simply pulling the usb cable out. For my final build I won’t have a keyboard available – I am using an IPAC-2 to interface a standard arcade buttons and joysticks with a couple of extra microswitches for function buttons.

    How difficult is it to program one of these microswitches to function as a “soft” power button (via input through the IPAC-2)? Or would purchasing something like the PowerBlock be what I am after here?

    Thanks, and pictures coming soon!



    This is a good thread that discusses various options:

    How do you turn off your Retro Pie



    I’ve just been using a momentary switch and a pull up resistor connected to a couple unused pins on the GPIO, this triggers a script that issues the shutdown command.

    It’s probably the simplest, least expensive option IMO.

    In case my PI ever freezes, I have another momentary switch connected to the reset pins on the PI as well. this one is for emergency use only, because it has the same risk of corrupting your SD card, but has come in handy a couple times.

    Here’s a solid article about your options:

    ^^ my other hobby



    Thanks labelwhore, I think this is what I’m looking for.

    Now that I think about it, obviously a keyboard input would not be able to do what I need because it wouldn’t be able to run a script at anytime.

    GPIO it is!


Viewing 4 posts - 1 through 4 (of 4 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

PLEASE NOTE: All orders that are placed between January 14th and January 28th will be shipped on January 29th. Dismiss