Note

Hello, welcome to the SunFounder Raspberry Pi & Arduino & ESP32 Enthusiasts Community on Facebook! Dive deeper into Raspberry Pi, Arduino, and ESP32 with fellow enthusiasts.

Why Join?

  • Expert Support: Solve post-sale issues and technical challenges with help from our community and team.

  • Learn & Share: Exchange tips and tutorials to enhance your skills.

  • Exclusive Previews: Get early access to new product announcements and sneak peeks.

  • Special Discounts: Enjoy exclusive discounts on our newest products.

  • Festive Promotions and Giveaways: Take part in giveaways and holiday promotions.

👉 Ready to explore and create with us? Click [here] and join today!

Set Up on Raspberry Pi

Note

Before configuring, you need to boot up and log into your Raspberry Pi. If you’re unsure how to log in, you can visit the official Raspberry Pi website: Getting Started with Raspberry Pi.

Configuring Shutdown to Deactivate GPIO Power

To prevent the OLED screen and RGB fans, powered by the Raspberry Pi GPIO, from remaining active post-shutdown, it’s essential to configure the Raspberry Pi for GPIO power deactivation.

  1. Manually edit the EEPROM configuration file with this command:

    sudo rpi-eeprom-config -e
    
  2. Modify the POWER_OFF_ON_HALT setting in the file to 1. For instance:

    BOOT_UART=1
    POWER_OFF_ON_HALT=1
    BOOT_ORDER=0xf41
    
  3. Press Ctrl + X, Y and Enter to save the changes.

Downloading and Installing the pironman5 Module

  1. For lite systems, initially install tools like git, python3, pip3, setuptools, etc.

    sudo apt-get update
    sudo apt-get install git -y
    sudo apt-get install python3 python3-pip python3-setuptools -y
    
  2. Proceed to download code from GitHub and install the pironman5 module .

    cd ~
    git clone -b nas https://github.com/sunfounder/pironman5.git
    cd ~/pironman5
    sudo python3 install.py
    

    After successful installation, a system reboot is required to activate the installation. Follow the on-screen reboot prompt.

    Upon reboot, the pironman5.service will start automatically. Here are the primary configurations for Pironman 5:

    • The OLED screen displays CPU, RAM, Disk Usage, CPU Temperature, and the Raspberry Pi’s IP Address.

  3. You can use the systemctl tool to start, stop, restart, or check the status of pironman5.service.

    sudo systemctl restart pironman5.service
    
    • restart: Use this command to apply any changes made to the settings of pironman 5.

    • start/stop: Enable or disable the pironman5.service.

    • status: Check the operational status of the pironman5 program using the systemctl tool.