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
add_powerdevices_rpi_only [2024/02/07 07:23] dmanlfcadd_powerdevices_rpi_only [2025/08/21 22:30] (current) – [Argon One] command line to get current temperature lbrpdx
Line 1: Line 1:
-====== Add Powerdevices and Buttons to your Raspberry Pi 1 - ======+====== Add Powerdevices and Buttons to your Raspberry Pi 1 - ======
  
-**The Raspberry Pi 5 uses new GPIO code, the details below are not applicable to these boards**+**The Raspberry Pi 5 uses new GPIO code, the details below are not applicable for these boards, except for Argon One V3 at the bottom of the page**
  
 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.  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. 
Line 45: Line 45:
 </code> </code>
  
-===== Commercial Power Switches =====+===== Commercial Cases & Power Switches =====
  
 Here are some commercial power switches/commercial cases with power switches 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 power switches/commercial cases with power switches 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.
Line 51: Line 51:
 Here are the values you can put as ''system.power.switch=<value_below>'' in ''batocera.conf'': 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 related to Batocera ^ +^ Device Name                                    ^ system.power.switch  ^ Where to buy and additional manufacturer information                                                                                   ^ Notes related to Batocera                                                                 
-| 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]] | +| Argon One for RPi4 (v1/v2)                     | ARGONONE             | https://argon40.com/products/argon-one-v2-case-for-raspberry-pi-4                                                                             | [[add_powerdevices_rpi_only#argon_one|Get more details here]]                             | 
-| ATXRaspi                     | ATX_RASPI_R2_6      | http://lowpowerlab.com/atxraspi/#installation | | +| Argon One for RPi5 (v3)                        | ARGONONE             | https://argon40.com/products/argon-one-v3-case-for-raspberry-pi-5                                                                             | [[add_powerdevices_rpi_only#argon_one|Get more details here]]                             
-| DeskPi Pro case              | DESKPIPRO           | https://deskpi.com/collections/frontpage/products/deskpi-pro-for-raspberry-pi-4 | | +| ATXRaspi                                       | ATX_RASPI_R2_6       | http://lowpowerlab.com/atxraspi/#installation                                                                                                                                                                                    
-| Mausberry Circuits           | MAUSBERRY           | http://mausberry-circuits.myshopify.com/pages/setup | | +| DeskPi Pro case                                | DESKPIPRO            | https://deskpi.com/collections/frontpage/products/deskpi-pro-for-raspberry-pi-4                                                                                                                                                  
-| 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 | | +| msldigital PiBoard r2013                       | REMOTEPIBOARD_2003   | http://www.msldigital.com/pages/support-for-remotepi-board-2013                                                                                                                                                                  
-| OneNineDesign Powerhat       | POWERHAT            | https://github.com/redoakcanyon/HATPowerBoard | | +| 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 | | +| OneNineDesign Powerhat                         | POWERHAT             | https://github.com/redoakcanyon/HATPowerBoard                                                                                                                                                                                    
-| UUGear Witty Pi              | WITTYPI             | http://www.uugear.com/witty-pi-realtime-clock-power-management-for-raspberry-pi | Script uses WiringPi. | +| Pimoroni OnOffShim                             | ONOFFSHIM            | https://shop.pimoroni.com/products/onoff-shim                                                                                                                                                                                    
-| Retroflag cases              | RETROFLAG           | http://www.retroflag.com | **NEW** NESPi4 support! [[add_powerdevices_rpi_only#retroflag|Get more details here.]] | +| UUGear Witty Pi                                | WITTYPI              | http://www.uugear.com/witty-pi-realtime-clock-power-management-for-raspberry-pi                                                        | Script uses WiringPi.                                                                     
-| Retroflag cases with buttons | RETROFLAG_ADV       | http://www.retroflag.com | Same as the previous one, except the button can trigger actions, like stopping emulators | +| Retroflag cases                                | RETROFLAG            | http://www.retroflag.com                                                                                                               | **NEW** NESPi4 support! [[add_powerdevices_rpi_only#retroflag|Get more details here.]]    
-| Retroflag GPIO case          | RETROFLAG_GPI       | https://www.retroflag.com/GPi-CASE.html | [[:choose_a_handheld#retroflag_gpi_case|Get more details here.]] | +| Retroflag cases with buttons                   | RETROFLAG_ADV        | http://www.retroflag.com                                                                                                               | Same as the previous one, except the button can trigger actions, like stopping emulators  
-| Kintaro Super Kuma/Roshambo Retro Gaming case | KINTARO | https://www.amazon.com/dp/B079T7RDLX/?tag=electromake-20 / https://www.electromaker.io/blog/article/roshambo-retro-gaming-case-review | |+| Retroflag GPIO case                            | RETROFLAG_GPI        | https://www.retroflag.com/GPi-CASE.html                                                                                                | [[:choose_a_handheld#retroflag_gpi_case|Get more details here.]]                          
 +| Kintaro Super Kuma/Roshambo Retro Gaming case  | KINTARO              | https://www.amazon.com/dp/B079T7RDLX/?tag=electromake-20 / https://www.electromaker.io/blog/article/roshambo-retro-gaming-case-review                                                                                            | 
 +| Pironman Raspberry Pi 4 Case                   | PIRONMAN             | https://www.sunfounder.com/products/raspberry-pi-4-case                                                                                | Run pironman from the terminal to configure the OLED, RGB & Fan                           | 
 +| Pironman Raspberry Pi 5 Case                   | PIRONMAN5            | https://www.sunfounder.com/collections/cases/products/pironman-5-nvme-m-2-ssd-pcie-mini-pc-case-for-raspberry-pi-5                                                                                | Run pironman5 from the terminal to configure the OLED, RGB & Fan                           |
  
 ===== Simple push-button or switches ===== ===== Simple push-button or switches =====
Line 125: Line 128:
 ==== Argon One ==== ==== Argon One ====
  
-Activate the Argon One fan by adding ''system.power.switch=ARGONONE'' in the configuration file ''batocera.conf'' and that's it. Don't use any external script, the support for Argon One is already included in the Batocera Linux distribution. +<WRAP center round info> 
 +Until Batocera 40, only ArgonOne V1/V2 cases for Raspberry Pi4 are supported. 
 + 
 +**Batocera 41** introduces support for **ArgonOne V3 for Raspberry Pi5**, additionally to ArgonOne V1/V2 for Raspberry Pi4. 
 +</WRAP> 
 + 
 +Activate the Argon One fan by adding ''system.power.switch=ARGONONE'' in the configuration file ''batocera.conf'' and that's it. Upon next reboot, the fan will be controllable by software (fan speed depending on the temperature) and double-clicking the button on the back will kill the running emulator and get you back to EmulationStation. 
 +**Don't use any external script**, the support for Argon One is already included in the Batocera Linux distribution. 
  
 By default, the fan starts at 55 degrees Celsius. Here is the default fan curve configuration: By default, the fan starts at 55 degrees Celsius. Here is the default fan curve configuration:
Line 150: Line 160:
  
 You can define own temperature/fan speed ladder by creating a new ''argonone.conf'' file at ''/userdata/system/configs/argonone.conf''. You can define own temperature/fan speed ladder by creating a new ''argonone.conf'' file at ''/userdata/system/configs/argonone.conf''.
 +
 +To check that the temperature is correctly reported, you can log into [[access_the_batocera_via_ssh|Batocera through SSH]] and run the command ''rpi-argonone''.
  
  • add_powerdevices_rpi_only.1707290617.txt.gz
  • Last modified: 2 years ago
  • by dmanlfc