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/09/01 11:10] – [Table] lalaadd_powerdevices_rpi_only [2020/11/07 17:43] 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'': 
 + 
 +^ Device Name               ^ system.power.switch  ^ Where to buy and additional manufacturer information                                      Notes BATOCERA related ^
 | ATXRaspi                  | ATX_RASPI_R2_6       | http://lowpowerlab.com/atxraspi/#installation                                    |                             | | ATXRaspi                  | ATX_RASPI_R2_6       | http://lowpowerlab.com/atxraspi/#installation                                    |                             |
 | Mausberry Circuits        | MAUSBERRY            | http://mausberry-circuits.myshopify.com/pages/setup                              |                             | | Mausberry Circuits        | MAUSBERRY            | http://mausberry-circuits.myshopify.com/pages/setup                              |                             |
Line 31: Line 33:
 | msldigital PiBoard r2013  | REMOTEPIBOARD_2003   | http://www.msldigital.com/pages/support-for-remotepi-board-2013                  |                             | | msldigital PiBoard r2013  | REMOTEPIBOARD_2003   | http://www.msldigital.com/pages/support-for-remotepi-board-2013                  |                             |
 | msldigital PiBoard r2015  | REMOTEPIBOARD_2005   | http://www.msldigital.com/pages/support-for-remotepi-board-plus-2015                                         | | msldigital PiBoard r2015  | REMOTEPIBOARD_2005   | http://www.msldigital.com/pages/support-for-remotepi-board-plus-2015                                         |
-| UUGear Witty Pi           | WITTYPI              | http://www.uugear.com/witty-pi-realtime-clock-power-management-for-raspberry-pi                             +| 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!     | +| Retroflag Cases           | RETROFLAG            | http://www.retroflag.com                                                         | **NEW** NESPi4 support! [[add_powerdevices_rpi_only#retroflag|Get more details here]]     
-| Argon One for RPi4        | ARGONONE             | https://www.argon40.com/argon-one-raspberry-pi-4-case.html                       see below for more details  |+| 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 74: Line 77:
 {{ 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>
  
 ==== Argon One ==== ==== 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). 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).
  • add_powerdevices_rpi_only.txt
  • Last modified: 8 weeks ago
  • by dmanlfc