Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Another power button question  (Read 3592 times)

0 Members and 1 Guest are viewing this topic.

Major

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:January 05, 2019, 12:28:08 am
  • I want to build my own arcade controls!
Another power button question
« on: December 27, 2018, 01:08:48 pm »
Hello all!

I am making a bartop arcade for my kids and have concerns about shutting off the pi correctly. (they will inevitably forget to either exit correctly or push the shutoff button before killing power to the whole arcade)

I have thinking of ordering one of these:

https://www.crowdsupply.com/silicognition/lifepo4wered-pi-plus

It's a tad expensive though (and doesn't ship until later in January) and wonder if I couldn't accomplish the same thing with this:

https://www.amazon.com/Makerfocus-Raspberry-Pi-3-Remote-Power-Button-for-RPi/dp/B01LAEX7J0/ref=cm_cr_arp_d_rvw_txt?ie=UTF8&th=1

In the questions the Seller states that it can't (currently) send a loss of power signal to the pi but couldn't I send one from the cabinet switch?

So when power to the cabinet is switched off it also sends a shutdown command to the pi while the Makerfocus keeps the pi up until it completes it shutdown sequence.

Would that work or would it be more hassle than its worth?


Thanks in advance!
Major

RxBrad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 188
  • Last login:May 31, 2023, 12:41:00 pm
  • I like burritos.
    • bit.ly/1GDVYUu
    • RxBrad.com
Re: Another power button question
« Reply #1 on: December 28, 2018, 02:52:08 pm »
Those items you linked seem to be more focused on handoff between AC and battery power. 


Maybe a shutdown switch module is more what you're after? Something like this?


https://othermod.com/product/advanced-onoff-board/


Here's another version that doesn't require soldering, but appears to be out of stock...


https://othermod.com/product/onoff-board-with-usb-connectors/

barrymossel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 498
  • Last login:October 29, 2021, 11:25:52 am
  • Spectrum
    • forum.arcadecontrols.com/index.php/topic,157647.0.html
Re: Another power button question
« Reply #2 on: December 28, 2018, 03:57:12 pm »
Hello all!

I am making a bartop arcade for my kids and have concerns about shutting off the pi correctly. (they will inevitably forget to either exit correctly or push the shutoff button before killing power to the whole arcade)

I have thinking of ordering one of these:

https://www.crowdsupply.com/silicognition/lifepo4wered-pi-plus

It's a tad expensive though (and doesn't ship until later in January) and wonder if I couldn't accomplish the same thing with this:

https://www.amazon.com/Makerfocus-Raspberry-Pi-3-Remote-Power-Button-for-RPi/dp/B01LAEX7J0/ref=cm_cr_arp_d_rvw_txt?ie=UTF8&th=1

In the questions the Seller states that it can't (currently) send a loss of power signal to the pi but couldn't I send one from the cabinet switch?

So when power to the cabinet is switched off it also sends a shutdown command to the pi while the Makerfocus keeps the pi up until it completes it shutdown sequence.

Would that work or would it be more hassle than its worth?


Thanks in advance!
Major
Get one of these: https://blog.petrockblock.com/2015/07/04/powerblock-another-power-switch-for-the-raspberry-pi/ or https://blog.petrockblock.com/2014/12/29/controlblock-power-switch-and-io-for-the-raspberry-pi/ or http://mausberrycircuits.com/

You will power down the RPi safely. If you use a master-slave power strip to power your other devices within your cab, you'll be fine. Everything will be powered up and down by one switch. The only switch your kids can (mis)use. I don't even use the power strip as I will leave everything in stand-by anyway. Marquee lights etc. are switched by a separate switch as I like to keep them on sometimes when the cabinet is off.

ark_ader

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5645
  • Last login:March 02, 2019, 07:35:34 pm
  • I glow in the dark.
Re: Another power button question
« Reply #3 on: December 29, 2018, 08:57:16 am »
I have been trying to get this to work too.

I ended up getting this.

So simple now.
If I had only one wish, it would be for three more wishes.

Grasshopper

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2380
  • Last login:November 08, 2023, 07:20:31 am
  • life, don't talk to me about life
Re: Another power button question
« Reply #4 on: December 29, 2018, 12:43:00 pm »
Do you need savestates and the ability to change config settings?

If you don't, then IMHO it's better to make the root filesystem read-only. If you do that, then there's no danger of corrupting the SD card if you cut the power without doing a clean shutdown.

I've tried the following tutorial with my Retropie image, and I can confirm it works.

https://github.com/janztec/empc-arpi-linux-readonly

"Patriotism is the last refuge of the scoundrel." - Samuel Johnson

Major

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:January 05, 2019, 12:28:08 am
  • I want to build my own arcade controls!
Re: Another power button question
« Reply #5 on: December 29, 2018, 01:25:51 pm »
Hello all!

I am making a bartop arcade for my kids and have concerns about shutting off the pi correctly. (they will inevitably forget to either exit correctly or push the shutoff button before killing power to the whole arcade)

I have thinking of ordering one of these:

https://www.crowdsupply.com/silicognition/lifepo4wered-pi-plus

It's a tad expensive though (and doesn't ship until later in January) and wonder if I couldn't accomplish the same thing with this:

https://www.amazon.com/Makerfocus-Raspberry-Pi-3-Remote-Power-Button-for-RPi/dp/B01LAEX7J0/ref=cm_cr_arp_d_rvw_txt?ie=UTF8&th=1

In the questions the Seller states that it can't (currently) send a loss of power signal to the pi but couldn't I send one from the cabinet switch?

So when power to the cabinet is switched off it also sends a shutdown command to the pi while the Makerfocus keeps the pi up until it completes it shutdown sequence.

Would that work or would it be more hassle than its worth?


Thanks in advance!
Major
Get one of these: https://blog.petrockblock.com/2015/07/04/powerblock-another-power-switch-for-the-raspberry-pi/ or https://blog.petrockblock.com/2014/12/29/controlblock-power-switch-and-io-for-the-raspberry-pi/ or http://mausberrycircuits.com/

You will power down the RPi safely. If you use a master-slave power strip to power your other devices within your cab, you'll be fine. Everything will be powered up and down by one switch. The only switch your kids can (mis)use. I don't even use the power strip as I will leave everything in stand-by anyway. Marquee lights etc. are switched by a separate switch as I like to keep them on sometimes when the cabinet is off.

Thank you!

I had no idea they had power strips like that!

I'll give that a shot and see how it works.


Thanks again,
Major

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5139
  • Last login:December 13, 2023, 12:03:14 am
  • Wheres my coffee?
    • Skenny's Outpost
Re: Another power button question
« Reply #6 on: January 04, 2019, 09:20:46 pm »
This board looks promising, quite a bit cheaper than the mausberry. I may give it a test drive on my next project.

https://www.adafruit.com/product/3581