LowPowerLab ATX-RASPI-R2 Raspberry Pi Power Controller

LowPowerLab ATX-RASPI-R2 Raspberry Pi Power Controller

ጠቃሚ መረጃ

To keep the price down, the Raspberry Pi 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.

This document is splitted in two part and with a short introduction of how to setup.

  • የንግድ ኃይል መቀየሪያዎች
    • provide real power cuts
    • costs are around 10-25 USD
    • usually need some space to build in
  • ቀላል አዝራሮች ወይም መቆለፊያ ቁልፎች
    • very simple setup
    • low cost
    • no power cut possible

Raspberry Pi የኃይል ቁልፍ ለምን አስፈላጊ ነው? 

You should never “yank” the power cord out of your Pi as this can lead to severe data corruption (and in some cases, physically damage your SD card). Even if BATOCERA is best prepared against file corruption it is recommended to safely shut down your Pi via BATOCERAs Quit Menu or even better, use a power button or switch.

Note: When we “shut down” the Pi, it will send it into a halt state, which still consumes a very small amount of power. This is similar to how all modern computers work. In this guide walk through the process of adding a power button that will both halt and wake the Pi up from a halted state.
Additionally, after your Pi has shut down, you can safely disconnect the power supply (should you desire) without the worry of data corruption.

የንግድ ኃይል መቀየሪያዎች

Here are some commercial power devices 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.

የመሣሪያ ስም system. power. switch Where to buy and additional help to install የጎን ማስታወሻዎች
ATXRaspi ATX_RASPI_R2_6 http://lowpowerlab.com/atxraspi/#installation
Mausberry ወረዳዎች ማውስቤሪ http://mausberry-circuits.myshopify.com/pages/setup
Pimorini OnOffShim ኦኖፍሺም https://shop.pimoroni.com/products/onoff-shim
msldigital PiBoard r2013 REMOTEPIBOARD_2003 ttp://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
UUGEar Witty Pi WITTYPI http://www.msldigital.com/pages/support-for-remotepi-board-plus-2015
Retroflag Cases መልሶ ማቋቋም http://www.retroflag.com enable UART in config.txt for LED laction

Simple Pushbutton Or Switches

It is possible to add a button to turn on and turn off your BATOCERA console properly! But how?

Which button to use? 

You can add a power button to switch on/off BATOCERA. The button can be either a push button (momentary button) or a switch button (latching switch). Note on the push buttons: some GPIO have resistors pull-up built-in (resistors connected to the + 3.3V), so it is preferable to use switches normally open (abbreviated NO) with these pins.
Simple Pushbutton Or Switches
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):

የመቀየሪያውን ማግበር

መመሪያ

so your switch is recognized account by BATOCERA, you need to enable this feature in it’s settings.
Therefore edit batocera.config

  • ለመቆለፊያ መቀየሪያ batocera.conf ከመረጡት የጽሑፍ አርታዒ ጋር ያርትዑ እና system.power.switch=PIN56ONOFF ያክሉ
  • For a momentary button edit batocera. conf with your preferred OS editor and add system.power.switch=PIN56PUSH
  • ስርዓቱን ዳግም አስነሳ
  • If you are logged in with SSH or you’ve a terminal open then enter

batocera-settings --command set --key system.power.switch --value
PIN56ONOFF
batocera-settings --command set --key system.power.switch --value
PIN56PUSH

your BATOCERA system can now be turned on/off with a button!

የምናሌ ሁኔታ 

Get a terminal window by quitting Emulation Station with a Keyboard or get a access to terminal by SSH. Now enter rpi_gpioswitch and you will see a terminal windows like in picture down. From there you can select and activate your power or switch device. The script will show you an already activated device (ONOFFSHIM in this case) and will later show you a small message box, if the value setup was successfully setted up. After this reboot the device and everything should work fine.
Simple Pushbutton Or Switches

የደንበኛ ድጋፍ

rom:
https://wiki.batocera.org/ - Batocera.linux - ዊኪ
ቋሚ አገናኝ
https://wiki.batocera.org/add_powerdevices_rpi_only?rev=1581110157
የመጨረሻው ዝመና፡ 2020/02/07 22:15

QR ኮድ

https://wiki.batocera.org/
የታተመው በ2025/06/28 02፡48 ነው።

ሰነዶች / መርጃዎች

LowPowerLab ATX-RASPI-R2 Raspberry Pi Power Controller [pdf] መመሪያ
ATX_RASPI_R2_6, MAUSBERRY, OnOffShim, ATX-RASPI-R2 Raspberry Pi Power Controller, ATX-RASPI-R2, Raspberry Pi Power Controller, Pi Power Controller, Power Controller

ዋቢዎች

አስተያየት ይስጡ

የኢሜል አድራሻዎ አይታተምም። አስፈላጊ መስኮች ምልክት ተደርጎባቸዋል *