Facebook Twitter Instagram YouTube Tumblr RSS
    Facebook Twitter Instagram
    AndroidPIMP.com
    • Home
    • About
    • Deals
    • VPNs
    • Smartwatches
    • Remotes
    • Phones
      • Phone News
      • Phone Reviews
    • Boards
    • Embedded
      • Raspberry Pi
      • Embedded Computers
      • Addon Boards & Modules
    AndroidPIMP.com
    Home»Raspberry Pi»Raspberry Pi Power Switch Expansion Module
    Raspberry Pi

    Raspberry Pi Power Switch Expansion Module

    By androidpimpApril 14, 2017Updated:September 13, 2020No Comments5 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    52Pi Raspberry Pi Power Switch
    52Pi Raspberry Pi Power Switch
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Product Introduction

    As everyone at some point recognizes that the Raspberry Pi downside is the fact that it’s missing any kind of a power button. The only way to power the Raspberry board off is by unplugging it from the power supply. What can sometimes corrupt data stored on the SD card if the device is suddenly being powered off during operation. To solve this problem, 52Pi company came out with a smart solution in a form of a special expansion board, that connects to the raspberry 40 GPIO pin header and lets you turn on/off the Pi board remotely via the IR remote control unit and the expansion board power button.

    When you power the Raspberry with this expansion board it doesn’t only power it off, but also sends a signal to the board and gives a few seconds delay to initialize a proper shutdown to the Pi Board, which assures that stored data is not damaged in any way.

    This power expansion board could be very particle for hobbyist that use the Raspberry Pi boards as a type of a home media player center, to stream content from the internet, or just users that need to have the remote option for specific DIY projects, For example when designing Alarm systems, Smart home solutions. For further information about the product, price, and specifications you are welcome to visit the company official AliExpress store link posted below:

    Buy it from 52Pi Aliexpress Store

    Expansion Board | Front & Rear Views  

    Expansion Board & IR Remote

    Review TOC:

    1. Product Introduction
    2. Specifications
    3. Package
    4. Packaging and accessories supplied
    5. a closer look at the Board
    6. Hardware Compatibility
    7. Operation & Setup
    8. Final Verdict (Pros / Cons)

    Features:

    The Power Button provides a small circuit that includes the following features:

    • Sending a shutdown signal to the Raspberry if the Shutdown Button is pressed
    • Time delay function – waiting for the Raspberry to shut down
    • Powering off the Raspberry after saving data
    • Powering on the Raspberry after the Button is pressed again
    • LED light indicating the current state: On / Shutdown / Off
    • Dimension: 65 mm x 30 mm x 20 mm
    • Easy to setup

    Package Contents :

    • 1x Switch Remote Control Module
    • 1x IR Remote controller.

     Package

    Unpacking all Items

    • 1x Switch Remote Control Module
    • 1x IR Remote Controller (Battery not included)

    Accessories supplied

    52Pi power switch expansion board came with a simple ON/OFF IR remote control unit in decent quality. Cables for operating this board are not needed because the power is provided using the Pi power adapter via the power switch Micro USB interface. Controlling the Pi board on/off modes is completely done using the GPIO interface pins. Also important to mention that the package does not include a battery necessary for the remote control unit, therefore you will need to buy a 3V cr2025 lithium battery.

    52Pi power switch IR Remote Control with Battery | Back View

    a closer look at the Board

    As explained in the product intro, The Pi boards don’t have any Onboard power button. The power switch expansion board provides two powering methods. It comes with an on-board power button that lets you manually switch the Pi board on & off. The second option, with Onboard IR Receiver that lets you power the unit remotely via a basic IR remote control equipped with a simple ON/OFF button.

    52Pi Power Switch Expansion Board

    • Raspberry Pi Supply Switch 1
    • Raspberry Pi Supply Switch 2
    • Raspberry Pi Supply Switch 4
    • Raspberry Pi Supply Switch 5
    • Raspberry Pi Supply Switch 6
    • Raspberry Pi Supply Switch 8


     – Configuration #1 –

    Raspberry Pi 3 + Power Switch Card

    • Power Switch Raspberry Pi 3 02
    • Power Switch Raspberry Pi 3 03
    • Power Switch Raspberry Pi 3 04
    • Power Switch Raspberry Pi 3 01

     – Configuration #2 –

    Raspberry Pi 3 + Power Switch Card + 7 Port Self Powered USB Hub

    Power Switch Hub Raspberry Pi 3 1 Power Switch Hub Raspberry Pi 3 2 Power Switch Hub Raspberry Pi 3 3 Power Switch Hub Raspberry Pi 3 4 Power Switch Hub Raspberry Pi 3 5 Power Switch Hub Raspberry Pi 3 6 Power Switch Hub Raspberry Pi 3 7

    Hardware Compatibility

    The power switch expansion board is compatible with Raspberry Pi 2, 3, and the Zero series boards. Banana Pi and Orange Pi brand boards based on All Winner SoC maybe also work with it, but I can’t guarantee %100 compatibility because it likely depends on the GPIO pin arrangement on the specific board.

    It can be a great solution for home media player and KODI fans that would want to use a remote control with their PI boards, instead of powering the Pi board on and off each time by unplugging the Pi power adapter cable by hand or using a power socket with a built-in switch. Also, hobbyists using the Pi as a type of workstation and server applications can benefit from having a proper system shutdown.

    Operation & Setup

    Setting up the board to work with a Raspberry Pi 2, 3 board:

    • Step #1: Hooking the Board it into the Pi 40 GPIO pins interface.
    • Step #2: Modifying the OS Image config file:  /boot/config.txt

    Adding the following lines:

    device_tree=bcm2710-rpi-3-b.dtb
    dtoverlay=power-off,gpiopin=26
    dtoverlay=pi3-act-led,gpio=21

    Modifying Config.txt file (Example)

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    #dtparam=pwr_led_activelow=off
     
    ## pwr_led_gpio
    ##     Set which GPIO to use for the PWR LED
    ##
    ##     In case you want to connect it to an external device
    ##
    ##     Not available on Model A/B boards.
    ##
    ##     Default 35.
    ##
    #dtparam=pwr_led_gpio=35
     
     
    # Power Switch Settings
    device_tree=bcm2710-rpi-3-b.dtb
    dtoverlay=power-off,gpiopin=26
    dtoverlay=pi3-act-led,gpio=21

    • Step #3: Installing ‘wiringPi’ GPIO library & moving script file to  /etc/init.d/

    1
    2
    3
    4
    5
    6
    apt-get install -y wiringPi
    cd ~
    git clone https://github.com/yoyojacky/powerbutton.git
    cd ~/powerbutton
    sudo mv ~/powerbutton/gpioshutdown /etc/init.d/
    sudo chmod +x /etc/init.d/gpioshutdown

    Step # 4: Editing the rc.local file and adding the following lines:

    1
    2
    3
    4
    5
    6
    7
    8
    sudo nano /etc/rc.local
     
     
    # Adding the following lines before exit 0
     
    sudo /etc/init.d/gpioshutdown
    gpio mode 25 out
    gpio write 25 1

    Note: The setup Instructions also can be found in the 52Pi Product wiki page Here

    Final Verdict (Pros / Cons)

    52Pi Power Switch is a very nice addition to the Pi boards, including other SBC that would like to power their boards remotely via a remote control unit. The only disadvantage I found with this product, is that it occupies the Pi GPIO pins, so for developers that really need access to the pins, they will find that they are limited and can’t use both.

    That said, this board is a nice and cheap solution when there is a need to turn the Pi board completely in an organized way, without damaging files during device operation. Overall, I think it’s a must-have product.

    Pros

    • Works Well
    • Cheap
    • Easy to setup

    Cons

    • Occupies GPIO interface.

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    androidpimp
    • Website

    Related Posts

    $20 ICE Tower CPU Cooler Targets Raspberry Pi 3/4 Boards

    July 11, 2019

    Raspberry Pi 4 Release and Specs Finally Announced!

    June 25, 2019

    Raspberry Pi 3 Model B+ Review – Faster Than Ever

    March 27, 2018

    Leave A Reply Cancel Reply

    Ivacy Banner
    Vyprvpn Banner
    Recent Posts
    • Under $50 Rugged Watch for 2021: Kospet Outdoor Watch
    • Huawei WiFi AX3 Pro Review: Should You Buy It?
    • Today’s Best Daily Deals [2021 Offers By Gearbest]
    • Amazfit Neo Review: Awesomely retro, clever and cheap
    • DUKA Electronic Digital Meter: The Ultimate Measuring Tape Tool
    • 2021 VPN Deals | First Class VPN Service By VyprVPN
    RSS RSS FEED
    • Under $50 Rugged Watch for 2021: Kospet Outdoor Watch
    • Huawei WiFi AX3 Pro Review: Should You Buy It?
    • Today’s Best Daily Deals [2021 Offers By Gearbest]
    • Amazfit Neo Review: Awesomely retro, clever and cheap
    • DUKA Electronic Digital Meter: The Ultimate Measuring Tape Tool
    Facebook Twitter Instagram Pinterest
    • Terms of Use
    • Disclaimer
    • Supporters
    • Contact
    © 2021 AndroidPIMP | All rights reserved .

    Type above and press Enter to search. Press Esc to cancel.