Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
add_powerdevices_rpi_only [2020/06/06 16:50] – [Manual] lbrpdxadd_powerdevices_rpi_only [2021/01/05 17:56] lbrpdx
Line 1: Line 1:
 ====== Add Powerdevices and Buttons to your Raspberry ====== ====== Add Powerdevices and Buttons to your Raspberry ======
  
-To keep the price down, the Raspberry Pi Baird doesn't ship with a power button, yet it's easy to add your own! This guide will show you how to add a power button to your Raspberry Pi that can turn on/off your BATOCERA system. +To keep the price down, the Raspberry Pi board doesn't ship with a power button, yet it's easy to add your own! This guide will show you how to add a power button to your Raspberry Pi that can turn on/off your BATOCERA system. 
  
 If you don’t want to build your own, several popular commercial options are available. They will add a power switch to your Raspberry Pu, sometimes provide a temperature-controller fan... and add a stylish look to your board.  If you don’t want to build your own, several popular commercial options are available. They will add a power switch to your Raspberry Pu, sometimes provide a temperature-controller fan... and add a stylish look to your board. 
Line 25: Line 25:
 Here are some commercial powerdevices that are currently supported. These offer a real power cut, that means the Raspberry is really switched off. Usually these small power devices are plugged on top of the Raspberry using it's 40 Pin header. For further install instruction use the links provided. Here are some commercial powerdevices that are currently supported. These offer a real power cut, that means the Raspberry is really switched off. Usually these small power devices are plugged on top of the Raspberry using it's 40 Pin header. For further install instruction use the links provided.
  
-^Device Name                 ^system.power.switch   ^Where to buy and additional help to install                                       ^SideNotes+Here are the values you can put as ''system.power.switch=<value_below>'' in ''batocera.conf'': 
-|ATXRaspi                    |ATX_RASPI_R2_6        |http://lowpowerlab.com/atxraspi/#installation                                   | + 
-|Mausberry Circuits          |MAUSBERRY             |http://mausberry-circuits.myshopify.com/pages/setup                             | +^ Device Name               ^ system.power.switch  ^ Where to buy and additional manufacturer information                                      Notes BATOCERA related 
-|Pimorini OnOffShim          |ONOFFSHIM             |https://shop.pimoroni.com/products/onoff-shim                                   | +| ATXRaspi                  | ATX_RASPI_R2_6       | http://lowpowerlab.com/atxraspi/#installation                                    |                             
-|msldigital PiBoard r2013    |REMOTEPIBOARD_2003    |http://www.msldigital.com/pages/support-for-remotepi-board-2013                 | +| Mausberry Circuits        | MAUSBERRY            | http://mausberry-circuits.myshopify.com/pages/setup                              |                             
-|msldigital PiBoard r2015    |REMOTEPIBOARD_2005    |http://www.msldigital.com/pages/support-for-remotepi-board-plus-2015            | +Pimoroni OnOffShim        | ONOFFSHIM            | https://shop.pimoroni.com/products/onoff-shim                                    |                             
-|UUGear Witty Pi             |WITTYPI               |http://www.uugear.com/witty-pi-realtime-clock-power-management-for-raspberry-pi | +| msldigital PiBoard r2013  | REMOTEPIBOARD_2003   | http://www.msldigital.com/pages/support-for-remotepi-board-2013                  |                             
-|Retroflag Cases             |RETROFLAG             |http://www.retroflag.com                                                          |enable UART in config.txt for LED action+| msldigital PiBoard r2015  | REMOTEPIBOARD_2005   | http://www.msldigital.com/pages/support-for-remotepi-board-plus-2015             |                             
-|Argon One for RPi4          |ARGONONE              |https://www.argon40.com/argon-one-raspberry-pi-4-case.html                        |define your own temperature/fan speed ladder in ''/userdata/system/configs/argonone.conf''|+| UUGear Witty Pi           | WITTYPI              | http://www.uugear.com/witty-pi-realtime-clock-power-management-for-raspberry-pi  | Script uses WiringPi        
 +| Retroflag Cases           | RETROFLAG            | http://www.retroflag.com                                                         **NEW** NESPi4 support! [[add_powerdevices_rpi_only#retroflag|Get more details here]]     | 
 +| Retroflag Cases with button | RETROFLAG_ADV            | http://www.retroflag.com                                                         | Same as the previous one, except the button can trigger actions, like stopping emulators    
 +| Argon One for RPi4        | ARGONONE             | https://www.argon40.com/argon-one-raspberry-pi-4-case.html                       [[add_powerdevices_rpi_only#argon_one|Get more details here]]  |
  
  
Line 47: Line 50:
 {{ batocera_pin56.png?400 |}} {{ batocera_pin56.png?400 |}}
  
-to connect the switch to the Raspberry Pi GPIO, plug a PIN on the GPIO3 (physical PIN 5 above on the left) and another on the mass located just to the right on the right (physical PIN 6):+to connect the switch to the Raspberry Pi GPIO, plug a PIN on the GPIO3 (physical PIN 5 above on the left) and another on the mass located just to the right on the right (physical PIN 6)
  
 ===== Activation of the switch ===== ===== Activation of the switch =====
Line 73: Line 76:
  
 {{ 65899397-ef014600-e3b3-11e9-9465-ce7629125e19.png?nolink&600 |}} {{ 65899397-ef014600-e3b3-11e9-9465-ce7629125e19.png?nolink&600 |}}
 +
 +==== Retroflag ====
 +
 +Retroflag is the manufacturer who takes focus on retro case for Raspberry Pi series and for origin looking retro game controllers. In the last years they've managed to bring some pretty nice looking housings to the market. These are inspired of gaming devices from the golden era of game consoles. If you are a proud owner of [[Retroflag GPicase|a GPicase]], then take a look here.
 +Besides the nice looking there are **always** working buttons for power and/or reset possible. But you have to take a few steps there.
 +
 +  - Enable the **Safe Shutdown Switch on the PCB**! This small switch depends on the used housing, refer to the shipped manual from Retroflag how to do this.
 +  - Edit ''batocera.conf'' and set the correct switch mode.
 +    - You can edit the config file from SAMBA share with your dedicated text editor
 +    - or use SSH and you can edit the config file with ''nano /userdata/system/batocera.conf''
 +    - or [[add_powerdevices_rpi_only#gui_menu_mode|use the GUI mode]], you need SSH for this method, too.
 +  - Activate or Select the correct powerswitch ''system.power.switch=RETROFLAG''
 +  - Reboot, this will activate the Safe Shutdown feature
 +
 +<WRAP center round info 80%>
 +**For the NESPi 4 case only**
 +
 +You have to do an additional reboot!
 +Sorry guys, but we need to make an autoconfig behind the scenes!
 +</WRAP>
 +
 +Also, for the NESPi4 case, you might experience some sluggishness using the HDD/SSD "cartridge". Here is [[https://www.reddit.com/r/RetroPie/comments/i9f45b/retroflag_nespi_4_ssd_boot_slowness_and_workaround/|a Reddit link]] that gives you a way to fix it (even if the reddit post was written for RetroPie, it has been reported as OK on Batocera too).
 +
 +==== Argon One ====
 +
 +Activate the Argon One fan by adding ''system.power.switch=ARGONONE'' in the configuration file ''batocera.conf''
 +
 +By default, the fan starts at 55 degrees Celsius. Your can define own temperature/fan speed ladder by editing the file ''/userdata/system/configs/argonone.conf'' (it can be also edited from the network, via the SHARE SMB folder).
 +
 +  # Configuration file for Argon One Pi4 case
 +  # temperatures are in Celsius
 +  # fan_speed are from 0-100 percent
 +  # syntax is: temp_threashold=fan_speed
 +  # default is:
 +  45=0
 +  55=10
 +  60=55
 +  65=100
 +
 +With this ladder, fan starts at 10% when reaching 55 degrees, and rises up to 100% when reaching 65 degrees Celsius. 
 +From the vendor recommendations, it is safe to start the fan at 55 degrees only. Less noisy. ;)
  • add_powerdevices_rpi_only.txt
  • Last modified: 5 weeks ago
  • by dmanlfc