SunFounder Pironman 5

www.sunfounder.com

Oct 15, 2024

CONTENTS

1

1. What Else Should We Prepare?

52

2. Assembly Instructions

73

3. Installing the Operating System

944. Set up or Install Software

71

5

5. Control with Commands or Dashboard

956

6. Advanced

107

7

Compitable NVMe SSD

143

8

FAQ

145

i

ii

SunFounder Pironman 5

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 [] and join today!
Thanks for choosing our .
Note: This document is available in the following languages.
•
•
•
•
•
•
Please click on the respective links to access the document in your preferred language.

CONTENTS

1SunFounder Pironman 5

Elevate your Raspberry Pi 5 with the , our top-tier case designed for unmatched style and functionality. It’s the perfect
blend of aesthetics and performance:• Raspberry Pi 5 mini PC• 0.96” OLED Display showing Raspberry Pi’s CPU usage, temperature, disk usage, IP address, RAM usage etc.
• Tower cooler can cool a 100% CPU load Pi to 39°C at 25°C room temperature• 2 RGB Fans, with GPIO control• 1 PWM Fan on the Tower Cooler is controlled by the Raspberry Pi system.
• Supports four (PCIe Gen 2.0 / PCIe Gen 3.0) NVMe M.2 SSD sizes: 2230, 2242, 2260, and 2280.
• 4 WS2812 Addressable RGB LED light up the whole case with cool light effect• IR Receiver for multi-media center like Kodi or Volumio• Retro metal power button for safe shut down
• External GPIO extender with pin name label, for easy access• Equipped with a spring-loaded socket for easy card removal• Aluminum main body with clear Acrylic side panel• Features two standard HDMI ports
The is not just a case; it’s an upgrade that transforms your Raspberry Pi 5 into a powerful, efficient, and stylish device.
Get yours now and experience the future of Raspberry Pi cases!
Note:
2

CONTENTS

SunFounder Pironman 5

You need to install an OS that supports Raspberry Pi 5. Please use the latest Raspberry Pi Imager tool forsystem installation. The currently tested systems are:If you have any questions, please send an email to service@sunfounder.com and we will respond as soon as possible.
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 [] and join today!

CONTENTS

3

SunFounder Pironman 5

4

CONTENTSCHAPTERONE

1. WHAT ELSE SHOULD WE PREPARE?

Essential Components• Raspberry Pi 5
The Pironman 5 is fully compatible with the Raspberry Pi 5.
• 5V/5A Power Adapter
A 5V/5A power adapter is required to power the Pironman 5 and its components.
• Micro SD Card
It is recommended to use an SD card with a minimum of 16GB of storage for Raspberry Pi OS. For
Raspberry Pi OS Lite, a minimum of 4GB is advised.
Optional Components• M.2 NVMe SSD
The Pironman 5 features an NVMe PIP with an M.2 SSD connector, accommodating four NVMe M.2
SSD sizes: 2230, 2242, 2260, and 2280. The connection is certified for Gen 2.0 speeds (5 GT/sec),
but you can force it to Gen 3.0 (10 GT/sec).
• Screen
To access the Raspberry Pi’s desktop environment, a screen such as a TV or a computer monitor isrequired.
• HDMI Cable
The Raspberry Pi 5’s HDMI ports have been adapted to standard HDMI Type A interfaces via a USB
HDMI adapter. Therefore, a standard HDMI to HDMI cable is needed to connect the Pironman 5 toa display.
• Mouse & Keyboard
Any USB port on the Pironman 5 can be used to connect a wired keyboard and mouse, or a USB
Bluetooth receiver for wireless peripherals.
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.

5

SunFounder Pironman 5• 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 [] and join today!

6

Chapter 1. 1. What Else Should We Prepare?

CHAPTER

TWO

2. ASSEMBLY INSTRUCTIONSBefore assembling the Pironman, please first verify that all parts and components have been included. If there are any
missing or damaged components, please contact SunFounder immediately at service@sunfounder.com to resolve theissue as soon as possible.
Tips• It is recommended to follow the paper installation instructions step by step.
• Before installation, sort and stack the components to find them more quickly.
• Repeatedly check the connections of FFC and FPC cables to avoid poor contact.
• [PDF]Component List and Assembly of Pironman 5
Complete Assembly and Boot Guide: Pironman 5 with NVMe SSD
If you are using an NVMe SSD, follow this video to assemble and configure the Pironman 5.
Complete Assembly and Boot Guide: Pironman 5 with Micro SD Card
If you are using a Micro SD card, follow this video to assemble and configure the Pironman 5.
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 [] and join today!

7

SunFounder Pironman 5

8

Chapter 2. 2. Assembly Instructions

CHAPTER

THREE

3. INSTALLING THE OPERATING SYSTEM

Note:
You need to install an OS that supports Raspberry Pi 5. Please use the latest Raspberry Pi Imager tool forsystem installation. The currently tested systems are:In this chapter, you will learn how to install the operating systems. All the installation steps depend on the , which youneed to install first.
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 andteam.
• Learn & Share: Exchange tips and tutorials to enhance your skills.
9

SunFounder Pironman 5• 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 [] and join today!

3.1 Install the Raspberry Pi OS
You can choose the installation method based on whether you have a Micro SD or an NVMe SSD at hand.
• Installing directly onto the NVMe SSD involves an additional step compared to installing on theMicro SD: you must update the Raspberry Pi’s bootloader because it defaults to boot from the Micro
SD card. Update the bootloader to prioritize booting from the NVMe SSD.
• If you have an NVMe SSD but do not have an adapter to connect your NVMe to your computer,
consider the third option to first install the system on your Micro SD card. Once the Pironman 5
boots up successfully, you can copy the system from your Micro SD card to your NVMe SSD.
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 andteam.
• 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 [] and join today!

3.1.1 Installing the OS on a Micro SD Card
If you are using a Micro SD card, you can follow the tutorial below to install the system onto your Micro
SD card.
Required Components• A Personal Computer• A Micro SD card and Reader
Steps
1. Insert your SD card into your computer or laptop using a Reader.
2. Within the , click Raspberry Pi Device and select the Raspberry Pi 5 model from the dropdown
list.

10

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5

3. Select Operating System and opt for the recommended operating system version.

4. Click Choose Storage and select the appropriate storage device for the installation.

3.1. Install the Raspberry Pi OS

11

SunFounder Pironman 5

5. Click NEXT and then EDIT SETTINGS to tailor your OS settings.

• Define a hostname for your Raspberry Pi. The hostname is your Raspberry Pi’s network identifier. You can access your Pi using <hostname>.local or <hostname>.lan.

12

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5• Create a Username and Password for the Raspberry Pi’s administrator account. Establishinga unique username and password is vital for securing your Raspberry Pi, which lacks a default
password.

• Configure the wireless LAN by providing your network’s SSID and Password.
Note: Set the Wireless LAN country to the two-letter ISO/IEC alpha2 code corresponding
to your location.

3.1. Install the Raspberry Pi OS

13

SunFounder Pironman 5• To remotely connect to your Raspberry Pi, enable SSH in the Services tab.
– For password authentication, use the username and password from the General tab.
– For public-key authentication, choose “Allow public-key authentication only”. If you have
an RSA key, it will be used. If not, click “Run SSH-keygen” to generate a new key pair.

14

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5• The Options menu lets you configure Imager’s behavior during a write, including playing soundwhen finished, ejecting media when finished, and enabling telemetry.

6. When you’ve finished entering OS customisation settings, click Save to save your customisation.
Then, click Yes to apply them when writing the image.

7. If the SD card contains existing data, ensure you back it up to prevent data loss. Proceed by clicking
Yes if no backup is needed.

3.1. Install the Raspberry Pi OS

15

SunFounder Pironman 5

8. When you see the “Write Successful” popup, your image has been completely written and verified.
You’re now ready to boot a Raspberry Pi from the Micro SD Card!

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 andteam.
• Learn & Share: Exchange tips and tutorials to enhance your skills.

16

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5• 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 [] and join today!

3.1.2 Installing the OS on an NVMe SSD
If you are using an NVMe SSD and have an adapter to connect the NVMe SSD to your computer for systeminstallation, you can use the following tutorial for a quick installation.
Required Components• A Personal Computer• A NVMe SSD• A NVMe to USB Adapter• Micro SD Card and Reader
1. Update the Bootloader
First, you need to update the Raspberry Pi 5 bootloader to boot from NVMe before trying USB and thenSD Card.
Note: At this step, it is recommended to use a spare Micro SD card. First, write the bootloader to thisMicro SD card and then immediately insert it into the Raspberry Pi to enable booting from an NVMe
device.
Alternatively, you can write the bootloader directly to your NVMe device first, then insert it into the Raspberry Pi to change its boot method. Afterwards, connect the NVMe SSD to a computer to install theoperating system, and once the installation is complete, reinsert it back into the Raspberry Pi.
1. Insert your spare Micro SD card or NVMe SSD into your computer or laptop using a Reader.
2. Within the , click Raspberry Pi Device and select the Raspberry Pi 5 model from the dropdown
list.

3.1. Install the Raspberry Pi OS

17

SunFounder Pironman 5

3. On the Operating System tab, scroll down and select Misc utility images.

4. Select Bootloader (Pi 5 family).

18

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5

5. Select NVMe/USB Boot to enable Raspberry Pi 5 to boot from NVMe before trying USB and thenSD Card.

6. In the Storage option, select the appropriate storage device for the installation.
Note: Ensure you select the correct storage device. To avoid confusion, disconnect any additional
storage devices if multiple ones are connected.

3.1. Install the Raspberry Pi OS

19

SunFounder Pironman 5

7. Now you can click NEXT. If the storage device contains existing data, ensure you back it up toprevent data loss. Proceed by clicking Yes if no backup is needed.

8. Soon, you will be prompted that NVMe/USB Boot has been written to your storage device.

20

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5

9. Now, you can insert your Micro SD card or NVMe SSD into the Raspberry Pi. After powering the
Raspberry Pi with a Type C adapter, the bootloader from the Micro SD card or NVMe SSD will be
written to the Raspberry Pi’s EEPROM.
Note: Afterward, the Raspberry Pi will boot from NVMe before trying USB and then the SD Card.
Power off the Raspberry Pi and remove the Micro SD card or NVMe SSD.

2. Install OS to NVMe SSD
Now you can install the operating system on your NVMe SSD.
1. Within the , click Raspberry Pi Device and select the Raspberry Pi 5 model from the dropdown
list.

3.1. Install the Raspberry Pi OS

21

SunFounder Pironman 5

2. Select Operating System and opt for the recommended operating system version.

3. In the Storage option, select the appropriate storage device for the installation.

22

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5

4. Click NEXT and then EDIT SETTINGS to tailor your OS settings.

• Define a hostname for your Raspberry Pi. The hostname is your Raspberry Pi’s network identifier. You can access your Pi using <hostname>.local or <hostname>.lan.

3.1. Install the Raspberry Pi OS

23

SunFounder Pironman 5• Create a Username and Password for the Raspberry Pi’s administrator account. Establishinga unique username and password is vital for securing your Raspberry Pi, which lacks a default
password.

• Configure the wireless LAN by providing your network’s SSID and Password.
Note: Set the Wireless LAN country to the two-letter ISO/IEC alpha2 code corresponding
to your location.

24

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5• To remotely connect to your Raspberry Pi, enable SSH in the Services tab.
– For password authentication, use the username and password from the General tab.
– For public-key authentication, choose “Allow public-key authentication only”. If you have
an RSA key, it will be used. If not, click “Run SSH-keygen” to generate a new key pair.

3.1. Install the Raspberry Pi OS

25

SunFounder Pironman 5• The Options menu lets you configure Imager’s behavior during a write, including playing soundwhen finished, ejecting media when finished, and enabling telemetry.

5. When you’ve finished entering OS customisation settings, click Save to save your customisation.
Then, click Yes to apply them when writing the image.

6. If the NVMe SSD contains existing data, ensure you back it up to prevent data loss. Proceed byclicking Yes if no backup is needed.

26

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5

7. When you see the “Write Successful” popup, your image has been completely written and verified.
You’re now ready to boot a Raspberry Pi from the NVMe SSD!

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 andteam.

3.1. Install the Raspberry Pi OS

27

SunFounder Pironman 5• 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 [] and join today!

3.1.3 Copy OS from Micro SD to NVMe SSD
If you have an NVMe SSD but lack an adapter to connect it to your computer, you can opt for a third
approach: initially install the system on your Micro SD card. After the Pironman 5 successfully boots up,
you can then transfer the system from your Micro SD card to your NVMe SSD.
• First, you need to Installing the OS on a Micro SD Card.
• Then, boot up and log into your Raspberry Pi. If you’re unsure how to log in, you can visit the official
Raspberry Pi website: .
Complete the above steps before proceeding with the instructions below.
1. Enabling PCIe
By default the PCIe connector is not enabled.
• To enable it you should open the /boot/firmware/config.txt file.
sudo nano /boot/firmware/config.txt• Then add the following line to the file.
# Enable the PCIe External connector.
dtparam=pciex1• A more memorable alias for pciex1 exists, so you can alternatively add dtparam=nvme to the /boot/firmware/config.txt file.
dtparam=nvme• The connection is certified for Gen 2.0 speeds (5 GT/sec), but you can force it to Gen 3.0 (10 GT/sec)
if you add the following lines to your /boot/firmware/config.txt.
# Force Gen 3.0 speeds
dtparam=pciex1_gen=3

Warning: The Raspberry Pi 5 is not certified for Gen 3.0 speeds, and connections to PCIe
devices at these speeds may be unstable.
• Press Ctrl + X, Y and Enter to save the changes.

28

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5

2. Install the OS on the SSD
There are two ways to install an operating system on the SSD:
Copying the System from the Micro SD Card to the SSD
1. Connect a display or access the Raspberry Pi desktop through VNC Viewer. Then click Raspberry
Pi logo -> Accessories -> SD Card Copier.

2. Make sure to select the correct Copy From and Copy To devices. Be careful not to mix them up.

3. After selection, click Start.

3.1. Install the Raspberry Pi OS

29

SunFounder Pironman 5

4. You will be prompted that the content on the SSD will be erased. Make sure to back up your data
before clicking Yes.

5. Wait for some time, and the copying will be completed.
Installing the System with Raspberry Pi Imager
If your Micro SD card has a desktop version of the system installed, you can use an imaging tool (likeRaspberry Pi Imager) to burn the system to the SSD. This example uses Raspberry Pi OS bookworm, butother systems might require installing the imaging tool first.
1. Connect a display or access the Raspberry Pi desktop through VNC Viewer. Then click Raspberry
Pi logo -> Accessories -> Imager.

30

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5

2. Within the , click Raspberry Pi Device and select the Raspberry Pi 5 model from the dropdown
list.

3. Select Operating System and opt for the recommended operating system version.

3.1. Install the Raspberry Pi OS

31

SunFounder Pironman 5

4. In the Storage option, select your inserted NVMe SSD.

5. Click NEXT and then EDIT SETTINGS to tailor your OS settings.
Note: If you have a monitor for your Raspberry Pi, you can skip the next steps and click ‘Yes’ tobegin the installation. Adjust other settings later on the monitor.

32

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5

6. Define a hostname for your Raspberry Pi.
Note: The hostname is your Raspberry Pi’s network identifier. You can access your Pi using<hostname>.local or <hostname>.lan.

7. Create a Username and Password for the Raspberry Pi’s administrator account.
Note: Establishing a unique username and password is vital for securing your Raspberry Pi, whichlacks a default password.

3.1. Install the Raspberry Pi OS

33

SunFounder Pironman 5

8. Configure the wireless LAN by providing your network’s SSID and Password.
Note: Set the Wireless LAN country to the two-letter ISO/IEC alpha2 code corresponding to
your location.

9. To remotely connect to your Raspberry Pi, enable SSH in the Services tab.
• For password authentication, use the username and password from the General tab.
• For public-key authentication, choose “Allow public-key authentication only”. If you have an
RSA key, it will be used. If not, click “Run SSH-keygen” to generate a new key pair.

34

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5

10. The Options menu lets you configure Imager’s behavior during a write, including playing soundwhen finished, ejecting media when finished, and enabling telemetry.

11. When you’ve finished entering OS customisation settings, click Save to save your customisation.

3.1. Install the Raspberry Pi OS

35

SunFounder Pironman 5

Then, click Yes to apply them when writing the image.

12. If the NVMe SSD contains existing data, ensure you back it up to prevent data loss. Proceed byclicking Yes if no backup is needed.

13. When you see the “Write Successful” popup, your image has been completely written and verified.
You’re now ready to boot a Raspberry Pi from the NVMe SSD!

36

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5

3. Configure boot from the SSD• To enable boot support, you need to change the BOOT_ORDER in the bootloader configuration. Edit
the EEPROM configuration by:sudo rpi-eeprom-config --edit• Then, change the BOOT_ORDER line to be as below. 0xf416: Try NVMe SSD first, followed SD Cardand then USB.
BOOT_ORDER=0xf416

Note: Just change the order the Raspberry Pi starts up in, but don’t remove other ways it can start.
This helps make sure it always starts up right.
The BOOT_ORDER setting allows flexible configuration for the priority of different boot modes. It is represented as a 32-bit unsigned integer where each nibble represents a boot-mode. The boot modes are attempted in lowest significant nibble to highest significant nibble order. The BOOT_ORDER property defines
the sequence for the different boot modes. It is read right to left, and up to eight digits may be defined.

3.1. Install the Raspberry Pi OS

37

SunFounder Pironman 5• 0xf41: Try SD first, followed by USB-MSD then repeat (default if BOOT_ORDER is empty).
• 0xf14: Try USB first, followed by SD then repeat.
• Once the update is complete, reboot your Raspberry Pi for these changes to take effect.
sudo reboot

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 andteam.
• 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 [] and join today!

38

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5

3.2 Install the Ubuntu/Kali Linux/Homebridge/Home Assistant
You can choose the installation method based on whether you have a Micro SD or an NVMe SSD at hand.
Installing directly onto the NVMe SSD involves an additional step compared to installing on the Micro
SD: you must update the Raspberry Pi’s bootloader because it defaults to boot from the Micro SD card.
Update the bootloader to prioritize booting from the NVMe SSD.
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 andteam.
• 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 [] and join today!

3.2.1 Installing the OS on a Micro SD Card
If you are using a Micro SD card, you can follow the tutorial below to install the system onto your Micro
SD card.
Required Components• A Personal Computer• A Micro SD card and Reader
Steps
1. Insert your SD card into your computer or laptop using a Reader.
2. Within the , click Raspberry Pi Device and select the Raspberry Pi 5 model from the dropdown
list.

3.2. Install the Ubuntu/Kali Linux/Homebridge/Home Assistant39

SunFounder Pironman 5

3. Click on the Operating System tab.

4. Scroll down to the bottom of the page and select the your operating system.
Note:• For Ubuntu system, you need to click Other general-purpose OS -> Ubuntu, and select either
Ubuntu Desktop 24.04 LTS (64 bit) or Ubuntu Server 24.04 LTS (64 bit).
• For Kali Linux, Home Assistant and Homebridge systems, you need to click Other specificpurpose OS and then select the corresponding system.

40

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5

5. In the Storage option, select the appropriate storage device for the installation.

6. Click NEXT.
Note:• For systems that cannot be configured in advance, after clicking NEXT, you will be prompted
whether to save the data within the device. If you have confirmed that a backup has been made,select Yes.

3.2. Install the Ubuntu/Kali Linux/Homebridge/Home Assistant41

SunFounder Pironman 5• For systems where the Hostname, WiFi, and Enable SSH can be configured in advance, a pop-up
will appear prompting whether to apply the OS’s custom settings. You can choose Yes or No,
or go back to edit further.

• Define a hostname for your Raspberry Pi. The hostname is your Raspberry Pi’s network identifier. You can access your Pi using <hostname>.local or <hostname>.lan.

• Create a Username and Password for the Raspberry Pi’s administrator account. Establishinga unique username and password is vital for securing your Raspberry Pi, which lacks a default
password.

42

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5• Configure the wireless LAN by providing your network’s SSID and Password.
Note: Set the Wireless LAN country to the two-letter ISO/IEC alpha2 code corresponding
to your location.

• To remotely connect to your Raspberry Pi, enable SSH in the Services tab.
– For password authentication, use the username and password from the General tab.
– For public-key authentication, choose “Allow public-key authentication only”. If you have
an RSA key, it will be used. If not, click “Run SSH-keygen” to generate a new key pair.

3.2. Install the Ubuntu/Kali Linux/Homebridge/Home Assistant43

SunFounder Pironman 5• The Options menu lets you configure Imager’s behavior during a write, including playing soundwhen finished, ejecting media when finished, and enabling telemetry.

7. When you’ve finished entering OS customisation settings, click Save to save your customisation.
Then, click Yes to apply them when writing the image.

44

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5

8. If the SD card contains existing data, ensure you back it up to prevent data loss. Proceed by clicking
Yes if no backup is needed.

9. When you see the “Write Successful” popup, your image has been completely written and verified.
You’re now ready to boot a Raspberry Pi from the Micro SD Card!
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 and3.2. Install the Ubuntu/Kali Linux/Homebridge/Home Assistant45

SunFounder Pironman 5

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 [] and join today!

3.2.2 Installing the OS on an NVMe SSD
If you are using an NVMe SSD and have an adapter to connect the NVMe SSD to your computer for systeminstallation, you can use the following tutorial for a quick installation.
Required Components• A Personal Computer• A NVMe SSD• A NVMe to USB Adapter• Micro SD Card and Reader
1. Update the Bootloader
First, you need to update the Raspberry Pi 5 bootloader to boot from NVMe before trying USB and thenSD Card.
Note: At this step, it is recommended to use a spare Micro SD card. First, write the bootloader to thisMicro SD card and then immediately insert it into the Raspberry Pi to enable booting from an NVMe
device.
Alternatively, you can write the bootloader directly to your NVMe device first, then insert it into the Raspberry Pi to change its boot method. Afterwards, connect the NVMe SSD to a computer to install theoperating system, and once the installation is complete, reinsert it back into the Raspberry Pi.
1. Insert your spare Micro SD card or NVMe SSD into your computer or laptop using a Reader.
2. Within the , click Raspberry Pi Device and select the Raspberry Pi 5 model from the dropdown
list.

46

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5

3. On the Operating System tab, scroll down and select Misc utility images.

4. Select Bootloader (Pi 5 family).

3.2. Install the Ubuntu/Kali Linux/Homebridge/Home Assistant47

SunFounder Pironman 5

5. Select NVMe/USB Boot to enable Raspberry Pi 5 to boot from NVMe before trying USB and thenSD Card.

6. In the Storage option, select the appropriate storage device for the installation.
Note: Ensure you select the correct storage device. To avoid confusion, disconnect any additional
storage devices if multiple ones are connected.

48

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5

7. Now you can click NEXT. If the storage device contains existing data, ensure you back it up toprevent data loss. Proceed by clicking Yes if no backup is needed.

8. Soon, you will be prompted that NVMe/USB Boot has been written to your storage device.

3.2. Install the Ubuntu/Kali Linux/Homebridge/Home Assistant49

SunFounder Pironman 5

9. Now, you can insert your Micro SD card or NVMe SSD into the Raspberry Pi. After powering the
Raspberry Pi with a Type C adapter, the bootloader from the Micro SD card or NVMe SSD will be
written to the Raspberry Pi’s EEPROM.
Note: Afterward, the Raspberry Pi will boot from NVMe before trying USB and then the SD Card.
Power off the Raspberry Pi and remove the Micro SD card or NVMe SSD.

2. Install OS to NVMe SSD
Now you can install the operating system on your NVMe SSD.
Steps
1. Insert your SD card into your computer or laptop using a Reader.
2. Within the , click Raspberry Pi Device and select the Raspberry Pi 5 model from the dropdown
list.

50

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5

3. Click on the Operating System tab.

4. Scroll down to the bottom of the page and select the your operating system.
Note:• For Ubuntu system, you need to click Other general-purpose OS -> Ubuntu, and select either
Ubuntu Desktop 24.04 LTS (64 bit) or Ubuntu Server 24.04 LTS (64 bit).
• For Kali Linux, Home Assistant and Homebridge systems, you need to click Other specificpurpose OS and then select the corresponding system.

3.2. Install the Ubuntu/Kali Linux/Homebridge/Home Assistant51

SunFounder Pironman 5

5. In the Storage option, select the appropriate storage device for the installation.

6. Click NEXT.
Note:• For systems that cannot be configured in advance, after clicking NEXT, you will be prompted
whether to save the data within the device. If you have confirmed that a backup has been made,select Yes.

52

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5• For systems where the Hostname, WiFi, and Enable SSH can be configured in advance, a pop-up
will appear prompting whether to apply the OS’s custom settings. You can choose Yes or No,
or go back to edit further.

• Define a hostname for your Raspberry Pi. The hostname is your Raspberry Pi’s network identifier. You can access your Pi using <hostname>.local or <hostname>.lan.

• Create a Username and Password for the Raspberry Pi’s administrator account. Establishinga unique username and password is vital for securing your Raspberry Pi, which lacks a default
password.

3.2. Install the Ubuntu/Kali Linux/Homebridge/Home Assistant53

SunFounder Pironman 5• Configure the wireless LAN by providing your network’s SSID and Password.
Note: Set the Wireless LAN country to the two-letter ISO/IEC alpha2 code corresponding
to your location.

• To remotely connect to your Raspberry Pi, enable SSH in the Services tab.
– For password authentication, use the username and password from the General tab.
– For public-key authentication, choose “Allow public-key authentication only”. If you have
an RSA key, it will be used. If not, click “Run SSH-keygen” to generate a new key pair.

54

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5• The Options menu lets you configure Imager’s behavior during a write, including playing soundwhen finished, ejecting media when finished, and enabling telemetry.

7. When you’ve finished entering OS customisation settings, click Save to save your customisation.
Then, click Yes to apply them when writing the image.

3.2. Install the Ubuntu/Kali Linux/Homebridge/Home Assistant55

SunFounder Pironman 5

8. If the NVMe SSD contains existing data, ensure you back it up to prevent data loss. Proceed byclicking Yes if no backup is needed.

9. When you see the “Write Successful” popup, your image has been completely written and verified.
You’re now ready to boot a Raspberry Pi from the NVMe SSD!
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?

56

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5• Expert Support: Solve post-sale issues and technical challenges with help from our community andteam.
• 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 [] and join today!

3.3 Install the Batocera Linux
is an open-source and completely free retro-gaming distribution that can be copied to a USB stick or an
SD card with the aim of turning any computer/nano computer into a gaming console during a game orpermanently.
You can choose the installation method based on whether you have a Micro SD or an NVMe SSD at hand.
Installing directly onto the NVMe SSD involves an additional step compared to installing on the Micro
SD: you must update the Raspberry Pi’s bootloader because it defaults to boot from the Micro SD card.
Update the bootloader to prioritize booting from the NVMe SSD.
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 andteam.
• 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 [] and join today!

3.3.1 Installing the OS on a Micro SD Card
If you are using a Micro SD card, you can follow the tutorial below to install the system onto your Micro
SD card.
Required Components• A Personal Computer• A Micro SD card and Reader
Steps

3.3. Install the Batocera Linux57

SunFounder Pironman 5

1. First, navigate to the page, select Raspberry Pi 5 B, and click to download.

2. Insert your SD card into your computer or laptop using a Reader.
3. Within the , click on the Operating System tab.

4. Scroll down to the bottom of the page and select Use Custom.

58

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5

5. Choose the system file you have just downloaded, batocera-xxx-xx-xxxxxxxx.img.gz, and thenclick Open.

6. Click Choose Storage and select the appropriate storage device for the installation.

3.3. Install the Batocera Linux59

SunFounder Pironman 5

7. Now you can click NEXT. If the storage device contains existing data, ensure you back it up toprevent data loss. Proceed by clicking Yes if no backup is needed.

8. When you see the “Write Successful” popup, your image has been completely written and verified.
You’re now ready to boot a Raspberry Pi from the Micro SD Card!
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 and60

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5

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 [] and join today!

3.3.2 Installing the OS on an NVMe SSD
If you are using an NVMe SSD and have an adapter to connect the NVMe SSD to your computer for systeminstallation, you can use the following tutorial for a quick installation.
Required Components• A Personal Computer• A NVMe SSD• A NVMe to USB Adapter• Micro SD Card and Reader
1. Update the Bootloader
First, you need to update the Raspberry Pi 5 bootloader to boot from NVMe before trying USB and thenSD Card.
Note: At this step, it is recommended to use a spare Micro SD card. First, write the bootloader to thisMicro SD card and then immediately insert it into the Raspberry Pi to enable booting from an NVMe
device.
Alternatively, you can write the bootloader directly to your NVMe device first, then insert it into the Raspberry Pi to change its boot method. Afterwards, connect the NVMe SSD to a computer to install theoperating system, and once the installation is complete, reinsert it back into the Raspberry Pi.
1. Insert your spare Micro SD card or NVMe SSD into your computer or laptop using a Reader.
2. Within the , click Raspberry Pi Device and select the Raspberry Pi 5 model from the dropdown
list.

3.3. Install the Batocera Linux61

SunFounder Pironman 5

3. On the Operating System tab, scroll down and select Misc utility images.

4. Select Bootloader (Pi 5 family).

62

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5

5. Select NVMe/USB Boot to enable Raspberry Pi 5 to boot from NVMe before trying USB and thenSD Card.

6. In the Storage option, select the appropriate storage device for the installation.
Note: Ensure you select the correct storage device. To avoid confusion, disconnect any additional
storage devices if multiple ones are connected.

3.3. Install the Batocera Linux63

SunFounder Pironman 5

7. Now you can click NEXT. If the storage device contains existing data, ensure you back it up toprevent data loss. Proceed by clicking Yes if no backup is needed.

8. Soon, you will be prompted that NVMe/USB Boot has been written to your storage device.

64

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5

9. Now, you can insert your Micro SD card or NVMe SSD into the Raspberry Pi. After powering the
Raspberry Pi with a Type C adapter, the bootloader from the Micro SD card or NVMe SSD will be
written to the Raspberry Pi’s EEPROM.
Note: Afterward, the Raspberry Pi will boot from NVMe before trying USB and then the SD Card.
Power off the Raspberry Pi and remove the Micro SD card or NVMe SSD.

2. Install OS to NVMe SSD
Now you can install the operating system on your NVMe SSD.
Steps
1. First, navigate to the page, select Raspberry Pi 5 B, and click to download.

3.3. Install the Batocera Linux65

SunFounder Pironman 5

2. Insert your SD card into your computer or laptop using a Reader.
3. Within the , click on the Operating System tab.

4. Scroll down to the bottom of the page and select Use Custom.

66

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5

5. Choose the system file you have just downloaded, batocera-xxx-xx-xxxxxxxx.img.gz, and thenclick Open.

6. In the Storage option, select the appropriate storage device for the installation.

3.3. Install the Batocera Linux67

SunFounder Pironman 5

7. Now you can click NEXT. If the storage device contains existing data, ensure you back it up toprevent data loss. Proceed by clicking Yes if no backup is needed.

8. When you see the “Write Successful” popup, your image has been completely written and verified.
You’re now ready to boot a Raspberry Pi from the NVMe SSD!
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?

68

Chapter 3. 3. Installing the Operating System

SunFounder Pironman 5• 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 [] and join today!

3.3. Install the Batocera Linux69

SunFounder Pironman 5

70

Chapter 3. 3. Installing the Operating System

CHAPTER

FOUR

4. SET UP OR INSTALL SOFTWARE

Now that the system has been written to either the Micro SD or NVMe SSD, you can insert them into the Pironman 5
slot. Then press the power button to turn on the device.
After powering on, you will see the various power LEDs lit up, but the OLED screen, RGB LEDs, and RGB fans (thetwo fans on the side) will not be operational yet, as they need to be configured. If there is a screen garbling issue, pleaseignore it for now; it will be resolved after configuration.
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: .
You can then proceed to select the configuration tutorial based on your system.
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 [] and join today!

4.1 Set Up on Raspberry Pi/Ubuntu/Kali/Homebridge OS
If you have installed Raspberry Pi OS, Ubuntu, Kali Linux or Homebridge on your Raspberry Pi, you will need toconfigure the Pironman 5 using the command line. Detailed tutorials can be found below:
Note: Before configuring, you need to boot up and log into your Raspberry Pi. If you’re unsure how to log in, you canvisit the official Raspberry Pi website: .

71

SunFounder Pironman 5

4.1.1 Configuring Shutdown to Deactivate GPIO PowerTo 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.

4.1.2 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 -ysudo apt-get install python3 python3-pip python3-setuptools -y
2. Proceed to download code from GitHub and install the pironman5 module .
cd ~git clone 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.
• Four WS2812 RGB LEDs will light up in blue with a breathing mode.
Note: RGB fans won’t spin unless the temperature hits 60°C. For different activation temperatures, see Control
RGB Fans.
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.

72

Chapter 4. 4. Set up or Install Software

SunFounder Pironman 5

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 [] and join today!

4.2 Set Up on Home AssistantIf you have installed the Home Assistant system, you will need to add the necessary add-ons to Home Assistant andstart them to get the Pironman 5 working.
Note: The following method is only applicable to systems with Home Assistant installed natively. It does not apply
to Raspberry Pi systems with Home Assistant installed on top or to Docker versions of Home Assistant.

4.2.1 1. Log in to Home Assistant• After starting Pironman 5, it is recommended to plug in an Ethernet cable directly. This way, you can open yourcomputer browser and enter: homeassistant.local:8123 to access Home Assistant.

4.2. Set Up on Home Assistant73

SunFounder Pironman 5• Select CREATE MY SMART HOME, and then create your account.

74

Chapter 4. 4. Set up or Install Software

SunFounder Pironman 5• Follow the prompts to choose your location and other configurations. Once completed, you will enter the Home
Assistant dashboard.

4.2. Set Up on Home Assistant75

SunFounder Pironman 5

4.2.2 2. Add the SunFounder Add-ons Repository
The functionality of Pironman 5 is installed on Home Assistant in the form of add-ons. First, you need to add the
SunFounder add-ons repository.
1. Open Settings -> Add-ons.

2. Click the plus sign in the bottom right corner to enter the add-on store.

76

Chapter 4. 4. Set up or Install Software

SunFounder Pironman 5

3. In the add-on store, click the menu in the top right corner and select Repositories.

4. Enterthe
SunFounder
add-onshome-assistant-addon, and click ADD.

4.2. Set Up on Home Assistantrepository

URL:

https://github.com/sunfounder/77

SunFounder Pironman 5

5. After successfully adding, close the pop-up window and refresh the page. Find the SunFounder add-ons list.

78

Chapter 4. 4. Set up or Install Software

SunFounder Pironman 5

4.2.3 3. Install the Pi Config Wizard Add-on
The Pi Config Wizard can help enable the configurations needed for Pironman 5, such as I2C and SPI. If not needed
afterward, it can be removed.
1. Find Pi Config Wizard in the SunFounder add-ons list and click to enter.

2. On the Pi Config Wizard page, click INSTALL. Wait for the installation to complete.

4.2. Set Up on Home Assistant79

SunFounder Pironman 5

3. After the installation is complete, switch to the Log page to confirm if there are any errors.

4. If there are no errors, return to the Info page and click START to start this add-on.

80

Chapter 4. 4. Set up or Install Software

SunFounder Pironman 5

5. Now open the WEB UI.

6. In the Web UI, you will see an option to mount the Boot partition. Click MOUNT to mount the partition.

4.2. Set Up on Home Assistant81

SunFounder Pironman 5

7. After successful mounting, you will see options to set I2C, SPI, and edit the config.txt file. Check I2C and SPI
to enable them. Once they show as enabled, click the reboot button at the bottom to restart the Raspberry Pi.

8. After the restart, refresh the page. You will return to the mount boot partition page again. Click MOUNT again.

82

Chapter 4. 4. Set up or Install Software

SunFounder Pironman 5

9. Usually, you will see that SPI is enabled, but I2C is not because I2C requires two reboots. Enable I2C again,
then restart the Raspberry Pi.

10. After the reboot, return to the MOUNT page again. You will see that both I2C and SPI are enabled.

4.2. Set Up on Home Assistant83

SunFounder Pironman 5

Note:• If after refreshing the page, you do not enter the mount partition page, you can click Settings -> Add-ons -> Pi
Config Wizard again.
• Check if this add-on is started. If not, click START.
• After starting, click OPEN WEB UI, then click MOUNT to confirm if I2C and SPI are enabled.

4.2.4 4. Install the Pironman 5 Add-on
Now officially start installing the Pironman 5 add-on.
1. Open Settings -> Add-ons.

84

Chapter 4. 4. Set up or Install Software

SunFounder Pironman 5

2. Click the plus sign in the bottom right corner to enter the add-on store.

3. Find Pironman 5 in the SunFounder add-ons list and click to enter.

4.2. Set Up on Home Assistant85

SunFounder Pironman 5

4. Now install the Pironman 5 add-on.

5. After installation is complete, click START to start this add-on. You will see the OLED screen display the
Raspberry Pi CPU, temperature, and other related information. Four WS2812 RGB LEDs will light up in blue
with a breathing mode.

86

Chapter 4. 4. Set up or Install Software

SunFounder Pironman 5

6. Now you can click OPEN WEB UI to open the Pironman 5 web page. You can also check the option to display
the Web UI in the sidebar. This will allow you to see the Pironman 5 option in the left sidebar of Home Assistant,and click to open the Pironman 5 page.

7. Now you can see the information about your Raspberry Pi, configure the RGB, and control the fan, etc.

4.2. Set Up on Home Assistant87SunFounder Pironman 5

Note: For more information and usage of this Pironman 5 web page, please refer to: View and Control from Dashboard.

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 [] and join today!

88

Chapter 4. 4. Set up or Install Software

SunFounder Pironman 5

4.3 Set up on Batocera.linux
If you have installed the Batocera.linux OS, you can remotely log in to this system via SSH and then follow the steps
below to complete the configuration.
1. Once the system boots up, use ssh to remotely connect to Pironman5. For Windows, you can open Powershell,
and for Mac OS X and Linux, you can directly open Terminal.

2. The default hostname for the batocera system is batocera, with the default username as root and the password
as linux. Therefore, you can log in by typing ssh root@batocera.local and entering the password linux.

4.3. Set up on Batocera.linux

89

SunFounder Pironman 5

3. Execute the command: /etc/init.d/S92switch setup to enter the menu settings page.

90

Chapter 4. 4. Set up or Install Software

SunFounder Pironman 5

4. Use the down arrow key to navigate to the end, select and activate the Pironman5 services.

4.3. Set up on Batocera.linux

91

SunFounder Pironman 5

5. After activating the pironman5 service, select OK.

6. Execute the command reboot to restart Pironman5.
reboot92

Chapter 4. 4. Set up or Install Software

SunFounder Pironman 5

7. 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.
• Four WS2812 RGB LEDs will light up in blue with a breathing mode.
Note: RGB fans won’t spin unless the temperature hits 60°C. For different activation temperatures, see Control
RGB Fans.
Now, you can connect the Pironman 5 to a screen, game controllers, headphones, and more to immerse yourself in yourgaming world.
About Power Button
The power button brings out the power button of the Raspberry Pi 5, and it functions just like the power button of the
Raspberry Pi 5.
• Shutdown– If you run Raspberry Pi Bookworm Desktop system, you can press the power button twice in quick succession to shutdown.
– If you run Raspberry Pi Bookworm Lite system, press the power button a single time to initiate a shutdown.
– To force a hard shutdown, press and hold the power button.
• Power on– If the Raspberry Pi board is shut down, but still powered, single-press to power on from a shutdown state.
• If you are running a system that does not support a shutdown button, you can hold it for 5 seconds to force a hard
shutdown, and single-press to power on from a shutdown state.
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 [] and join today!

4.3. Set up on Batocera.linux

93

SunFounder Pironman 5

94

Chapter 4. 4. Set up or Install Software

CHAPTER

FIVE

5. CONTROL WITH COMMANDS OR DASHBOARD

Once you have successfully installed the pironman5 module, the pironman5.service will automatically start upon
reboot.
You can monitor and control the Pironman 5 via commands, or by accessing the dashboard through the webpage at
http://<ip>:34001.
Note:• For the Home Assistant system, you can only monitor and control the Pironman 5 through the dashboard by
opening the webpage at http://<ip>:34001.
• For the Batocera.linux system, you can only monitor and control the Pironman 5 via commands. It is important
to note that any changes to the configuration require a restart of the service using pironman5 restart to takeeffect.

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 [] and join today!

5.1 View and Control from Dashboard
Once you have successfully installed the pironman5 module, the pironman5.service will start automatically upon
reboot.
Now you can open the monitoring page in your browser to see the information about your Raspberry Pi, configure theRGB, and control the fan, etc. The page link is: http://<ip>:34001.
This page has Dashboard, History, Log, and a Settings page.

95

SunFounder Pironman 5

5.1.1 Dashboard
There are multiple cards to view the relevant status of the Raspberry Pi, including:• Fan: View the Raspberry Pi’s CPU temperature and the PWM fan speed. GPIO Fan State indicates the statusof the two side RGB fans. At the current temperature, the two RGB fans are off.

96

Chapter 5. 5. Control with Commands or Dashboard

SunFounder Pironman 5• Storage: Displays the storage capacity of a Raspberry Pi, showing various disk partitions with their used andavailable space.

5.1. View and Control from Dashboard

97

SunFounder Pironman 5• Memory: Shows the Raspberry Pi’s RAM usage and percentage.

• Network: Displays the current network connection type, upload, and download speeds.

• Processor: Illustrates the Raspberry Pi’s CPU performance, including the status of its four cores, operating
frequencies, and CPU usage percentage.

98

Chapter 5. 5. Control with Commands or Dashboard

SunFounder Pironman 5

5.1.2 History
The History page allows you to view historical data. Check the data you want to view in the left sidebar, then select thetime range to see the data for that period, and you can also click to download it.

5.1. View and Control from Dashboard

99

SunFounder Pironman 5

5.1.3 Log
The Log page is used to view the logs of the currently running Pironman5 service. The Pironman5 service includes
multiple sub-services, each with its own log. Select the log you want to view, and you can see the log data on the right.
If it is blank, it may mean there is no log content.
• Each log has a fixed size of 10MB. When it exceeds this size, a second log will be created.
• The number of logs for the same service is limited to 10. If the number exceeds this limit, the oldest log will be
automatically deleted.
• There are filter tools above the log area on the right. You can select the log level, filter by keywords, and use
several convenient tools, including Line Wrap, Auto Scroll and Auto Update.
• Logs can also be downloaded locally.

100

Chapter 5. 5. Control with Commands or Dashboard

SunFounder Pironman 5

5.1.4 Settings
There is a settings menu in the upper right corner of the page.
Note: After modifying, you need to click the SAVE button at the bottom to save the settings.

• Dark Mode: Toggle between light and dark mode themes. The theme option is saved in the browser cache.
Changing the browser or clearing the cache will revert to the default light theme.
• Temperature Unit: Set the temperature unit displayed by the system.
• Fan Mode: You can set the operating mode of the two RGB fans. These modes determine the conditions underwhich the RGB fans will activate.
– Quiet: The RGB fans will activate at 70°C.
– Balanced: The RGB fans will activate at 67.5°C.
– Cool: The RGB fans will activate at 60°C.
– Performance: The RGB fans will activate at 50°C.
– Always On: The RGB fans will always be on.
For instance, if set to Performance mode, the RGB fans will activate at 50°C.
5.1. View and Control from Dashboard

101

SunFounder Pironman 5

After saving, if the CPU temperature exceeds 50°C, you will see the GPIO Fan State change to ON
in the Dashboard, and the side RGB fans will start spinning.

• RGB Brightness: You can adjust the brightness of the RGB LEDs with a slider.
• RGB Color: Set the color of the RGB LEDs.
• RGB Style: Choose the RGB LEDs display mode. Options include Solid, Breathing, Flow, Flow_reverse,
Rainbow, Rainbow Reverse, and Hue Cycle.
Note: If you set the RGB Style to Rainbow, Rainbow Reverse, and Hue Cycle, you will not be able to set the color.
• RGB Speed: Set the speed of the RGB LED changes.
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 [] and join today!

102

Chapter 5. 5. Control with Commands or Dashboard

SunFounder Pironman 5

5.2 Control with Commands
In addition to viewing data from the Pironman 5 and controlling various devices through the Dashboard, you can alsouse commands to control them.
Note:• For the Home Assistant system, you can only monitor and control the Pironman 5 through the dashboard by
opening the webpage at http://<ip>:34001.
• For the Batocera.linux system, you can only monitor and control the Pironman 5 via commands. It is important
to note that any changes to the configuration require a restart of the service using pironman5 restart to takeeffect.

5.2.1 View the Basic Configurations
The pironman5 module offers basic configurations for Pironman, which you can review with the following command.
pironman5 -c
The standard configurations appear as follows:{"auto": {"rgb_color": "#0a1aff","rgb_brightness": 50,"rgb_style": "breathing","rgb_speed": 50,"rgb_enable": true,"rgb_led_count": 4,"temperature_unit": "C","gpio_fan_mode": 2,"gpio_fan_pin": 6}}
Customize these configurations to fit your needs.
Use pironman5 or pironman5 -h for instructions.
usage: pironman5-service [-h] [-c] [-rc [RGB_COLOR]] [-rb [RGB_BRIGHTNESS]][-rs [{solid,breathing,flow,flow_reverse,rainbow,rainbow_reverse,
˓→hue_cycle}]] [-rp [RGB_SPEED]][-re [RGB_ENABLE]] [-rl [RGB_LED_COUNT]] [-u [{C,F}]] [-gm [GPIO_
˓→FAN_MODE]] [-gp [GPIO_FAN_PIN]][{start,stop}]
Pironman5
positional arguments:{start,stop}

Command(continues on next page)

5.2. Control with Commands

103

SunFounder Pironman 5(continued from previous page)

options:-h, --help
show this help message and exit-c, --config
Show config-rc [RGB_COLOR], --rgb-color [RGB_COLOR]
RGB color in hex format with or without # (e.g. #FF0000 or␣
˓→00aabb)-rb [RGB_BRIGHTNESS], --rgb-brightness [RGB_BRIGHTNESS]
RGB brightness 0-100-rs [{solid,breathing,flow,flow_reverse,rainbow,rainbow_reverse,hue_cycle}], --rgb˓→style [{solid,breathing,flow,flow_reverse,rainbow,rainbow_reverse,hue_cycle}]
RGB style-rp [RGB_SPEED], --rgb-speed [RGB_SPEED]
RGB speed 0-100-re [RGB_ENABLE], --rgb-enable [RGB_ENABLE]
RGB enable True/False-rl [RGB_LED_COUNT], --rgb-led-count [RGB_LED_COUNT]RGB LED count int-u [{C,F}], --temperature-unit [{C,F}]
Temperature unit
-gm [GPIO_FAN_MODE], --gpio-fan-mode [GPIO_FAN_MODE]
GPIO fan mode, 0: Always On, 1: Performance, 2: Cool, 3:␣
˓→Balanced, 4: Quiet-gp [GPIO_FAN_PIN], --gpio-fan-pin [GPIO_FAN_PIN]
GPIO fan pin

Note: Each time you modify the status of pironman5.service, you need to use the following command to make theconfiguration changes take effect.
sudo systemctl restart pironman5.service• Verify the pironman5 program status using the systemctl tool.
sudo systemctl status pironman5.service• Alternatively, inspect the program-generated log files.
cat /opt/pironman5/log

5.2.2 Control RGB LEDs
The board features 4 WS2812 RGB LEDs, offering customizable control. Users can turn them on or off, change thecolor, adjust the brightness, switch RGB LED display modes, and set the speed of changes.
Note: Each time you modify the status of pironman5.service, you need to use the following command to make theconfiguration changes take effect.
sudo systemctl restart pironman5.service• To modify the on and off state of the RGB LEDs, true to turn on the RGB LEDs, false to turn them off.
104

Chapter 5. 5. Control with Commands or Dashboard

SunFounder Pironman 5

pironman5 -re true
• To change their color, input the desired hexadecimal color values, such as fe1a1a.
pironman5 -rc fe1a1a• To change the brightness of the RGB LED (range: 0 ~ 100%):
pironman5 -rb 100• To switch RGB LED display modes, choose from options: solid/breathing/flow/flow_reverse/
rainbow/rainbow_reverse/hue_cycle:
Note: If you set the RGB LED display mode to rainbow, rainbow_reverse, or hue_cycle, you will not be able toset the color using pironman5 -rc.
pironman5 -rs breathing• To modify the speed of change (range: 0 ~ 100%):
pironman5 -rp 80• The default setup includes 4 RGB LEDs. Connect additional LEDs and update the count using:pironman5 -rl 12

5.2.3 Control RGB Fans
The IO expansion board supports up to two 5V non-PWM fans. Both fans are controlled together.
Note: Each time you modify the status of pironman5.service, you need to use the following command to make theconfiguration changes take effect.
sudo systemctl restart pironman5.service• You can use command to configure the operating mode of the two RGB fans. These modes determine the conditions under which the RGB fans will activate.
For instance, if set to 1: Performance mode, the RGB fans will activate at 50°C.
sudo pironman5 -gm 3• 4: Quiet: The RGB fans will activate at 70°C.
• 3: Balanced: The RGB fans will activate at 67.5°C.
• 2: Cool: The RGB fans will activate at 60°C.
• 1: Performance: The RGB fans will activate at 50°C.
• 0: Always On: The RGB fans will always on.
• If you connect the control pin of the RGB fan to different pins on the Raspberry Pi, you can use the following
command to change the pin number.
5.2. Control with Commands

105

SunFounder Pironman 5

sudo pironman5 -gp 18

5.2.4 Check the OLED Screen
When you have installed the pironman5 library, the OLED screen displays CPU, RAM, Disk Usage, CPU Temperature,and the Raspberry Pi’s IP Address, and it shows this every time you reboot.
If your OLED screen does not display any content, you need to first check if the OLED’s FPC cable is connected
properly.
Then you can check the program log to see what might be the problem through the following command.
cat /var/log/pironman5/
Or check if the OLED’s i2c address 0x3C is recognized:
i2cdetect -y 1

5.2.5 Checkout the Infrared Receiver
To utilize the IR receiver, verify its connection and install the necessary module:• Test the connection:
sudo ls /dev |grep lirc
• Install the lirc module:
sudo apt-get install lirc -y• Now, test the IR Receiver by running the following command.
mode2 -d /dev/lirc0• After running the command, press a button on the remote control, and the code of that button will be printed.
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 [] and join today!

106

Chapter 5. 5. Control with Commands or Dashboard

CHAPTER

SIX

6. ADVANCED

This chapter is a detailed description of all the components in Pironman, as well as the associated software configuration.
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 [] and join today!

6.1 Features
Parameters• Dimension: 111.9x78.5x117mm• Material– Main body: aluminum alloy– Two side panel: acrylic• Support Platform: Raspberry Pi 5
• Power Input: USB Type C, 5V/5A• Interfaces– Raspberry Pi standard 40-Pin GPIO
– spring-loaded Micro SD socket– USB Type C power input– 2 x USB 2.0– 2 x USB 3.0– Gigabit LAN port
107

SunFounder Pironman 5– 2 x 4Kp60 HDMI Type A• Metal Power button• OLED screen: 0.96” 128x64 resolution• 1 x PWM Fan, 2 x RGB Fans: 40x40x10mm• 4 x WS2812-5050 RGB LED• 38KHz IR Receiver• Tower Cooler• PCIe 3.0 x1 M.2 M key 2230, 2242, 2260, 2280 for NVMe SSD• 1220 Battery for RTC
Dimensional Drawing

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 [] and join today!

108

Chapter 6. 6. Advanced

SunFounder Pironman 5

6.2 IO Expander
6.2.1 RGB LEDs

The board features 4 WS2812 RGB LEDs, offering customizable control. Users can turn them on or off, change thecolor, adjust the brightness, switch display modes, and set the speed of changes.
• To modify the on and off state of the RGB LEDs, true to turn on the RGB LEDs, false to turn them off.
pironman5 -re true
• To change their color, input the desired hexadecimal color values, such as fe1a1a.
pironman5 -rc fe1a1a• To change the brightness of the RGB LED (range: 0 ~ 100%):
pironman5 -rb 100• To switch RGB LED display modes, choose from options: solid/breathing/flow/flow_reverse/
rainbow/rainbow_reverse/hue_cycle:
Note: If you set the RGB LED display mode to rainbow, rainbow_reverse, or hue_cycle, you will not be able to6.2. IO Expander

109

SunFounder Pironman 5

set the color using pironman5 -rc.
pironman5 -rs breathing• To modify the speed of change (range: 0 ~ 100%):
pironman5 -rp 80

6.2.2 RGB Control Pin
The RGB LED is driven by SPI and connected to GPIO10, which is also the SPI MOSI pin. The two pins above J9
are used to connect the RGB to GPIO10. If not needed, the jumper can be removed.

110

Chapter 6. 6. Advanced

SunFounder Pironman 5

6.2.3 RGB OUT Pins

The WS2812 RGB LEDs support serial connection, allowing for the attachment of an external RGB LED strip. Connect
the SIG pin to the external strip’s DIN pin for expansion.
The default setup includes 4 RGB LEDs. Connect additional LEDs and update the count using:pironman5 -rl 12

6.2.4 OLED Screen Connector
The OLED screen connector, with an address of 0x3C, is a key feature.

6.2. IO Expander

111

SunFounder Pironman 5

If the OLED Screen is not displaying or displaying incorrectly, you can follow these steps to troubleshoot the issue:
Check if the FPC cable of the OLED Screen is properly connected.
1. Use the following command to view the program’s run logs and check for error messages.
cat /opt/pironman5/log
2. Alternatively, use the following command to check if the OLED’s i2c address 0x3C is recognized:
sudo i2cdetect -y 1
3. If the first two steps don’t reveal any issues, try restarting the pironman5 service to see if that resolves the problem.
sudo systemctl restart pironman5.service

112

Chapter 6. 6. Advanced

SunFounder Pironman 5

6.2.5 Infrared Receiver• Model: IRM-56384, operating at 38KHz.
• Connection: The IR receiver connects to GPIO13.
• D1: An infrared reception indicator that blinks upon signal detection.
• J8: A pin for enabling the infrared function. By default, a jumper cap is inserted for immediate functionality.
Remove the cap to free GPIO13 if the IR receiver is not in use.
To utilize the IR receiver, verify its connection and install the necessary module:• Test the connection:
sudo ls /dev |grep lirc
• Install the lirc module:
sudo apt-get install lirc -y• Now, test the IR Receiver by running the following command.
mode2 -d /dev/lirc0• After running the command, press a button on the remote control, and the code of that button will be printed.
6.2. IO Expander

113

SunFounder Pironman 5

6.2.6 RGB Fan Pins
The IO expansion board supports up to two 5V non-PWM fans. Both fans are controlled together.
FAN1 and FAN 2 are two sets of fan pins. You need to connect the fan’s red wire to “+”, and the black wire to “-“.

The two pins below J9 are the enable pins for RGB fans. By default, a jumper is inserted on these pins, allowing controlof the fans’ on and off state using GPIO6. If fan operation is not desired, the jumper can be removed to free GPIO6.

114

Chapter 6. 6. Advanced

SunFounder Pironman 5

D2 is a fan signal indicator that lights up when the fan is active.

6.2. IO Expander

115

SunFounder Pironman 5

You can use command to configure the operating mode of the two RGB fans. These modes determine the conditions
under which the RGB fans will activate.
For instance, if set to 1: Performance mode, the RGB fans will activate at 50°C.
pironman5 -gm 3• 4: Quiet: The RGB fans will activate at 70°C.
• 3: Balanced: The RGB fans will activate at 67.5°C.
• 2: Cool: The RGB fans will activate at 60°C.
• 1: Performance: The RGB fans will activate at 50°C.
• 0: Always On: The RGB fans will always on.
If you connect the control pin of the RGB fan to different pins on the Raspberry Pi, you can use the following command
to change the pin number.
sudo pironman5 -gp 18

116

Chapter 6. 6. Advanced

SunFounder Pironman 5

6.2.7 Pin Headers

Two right-angle header connectors extend the Raspberry Pi’s GPIO, but note that the IR receiver, RGB LED, and fan
occupy some pins. Remove the corresponding jumper caps to utilize these pins for other functions.
Pironman 5
IR Receiver(Optional)
OLED SDA
OLED SCL
FAN(Optional)
RGB(Optional)
RGB(Optional)
RGB(Optional)

Raspberry Pi 5
GPIO13
SDA
SCL
GPIO6
GPIO10
GPIO12
GPIO21

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.

6.2. IO Expander

117

SunFounder Pironman 5• 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 [] and join today!

6.3 USB HDMI Adapter

This USB HDMI adapter board is specifically designed for the Raspberry Pi 5. Its primary function is to reposition
the USB and HDMI connections to align with the USB interface side of the Raspberry Pi, enhancing accessibility andcable management.
Additionally, the HDMI port is converted to a standard HDMI Type A interface, offering broader compatibility.
NVMe Additional Power Supply
The board features a 5V power header specifically for NVMe PIP power supply. Coupled with an extension header, it
can be connected to the NVMe’s additional power interface to provide extra power.
1220RTC Battery Holder
A 1220RTC battery holder is incorporated for convenient installation of an RTC battery. It connects to the Raspberry
Pi’s RTC interface via an SH1.0 2P reverse cable.
The battery holder is compatible with both CR1220 and ML1220 batteries. If using an ML1220 (Lithium ManganeseDioxide battery), charging can be configured directly on the Raspberry Pi. Note that the CR1220 is not rechargeable.
Enabling Trickle Charging
Warning: If you’re using a CR1220 battery, do not enable trickle charging as it can cause irreparable damage tothe battery and risk damaging the board.
By default, the trickle charging feature for the battery is disabled. The sysfs files indicate the current trickle charging
voltage and limits:
118

Chapter 6. 6. Advanced

SunFounder Pironman 5

pi@raspberrypi:~ $ cat /sys/devices/platform/soc/soc:rpi_rtc/rtc/rtc0/charging_voltage
0
pi@raspberrypi:~ $ cat /sys/devices/platform/soc/soc:rpi_rtc/rtc/rtc0/charging_voltage_
˓→max
4400000
pi@raspberrypi:~ $ cat /sys/devices/platform/soc/soc:rpi_rtc/rtc/rtc0/charging_voltage_
˓→min1300000
To enable trickle charging, add rtc_bbat_vchg to /boot/firmware/config.txt:• Open the /boot/firmware/config.txt.
sudo nano /boot/firmware/config.txt• Add rtc_bbat_vchg to /boot/firmware/config.txt.
dtparam=rtc_bbat_vchg=3000000
After rebooting, the system will display:
pi@raspberrypi:~ $ cat /sys/devices/platform/soc/soc:rpi_rtc/rtc/rtc0/charging_voltage
3000000
pi@raspberrypi:~ $ cat /sys/devices/platform/soc/soc:rpi_rtc/rtc/rtc0/charging_voltage_
˓→max
4400000
pi@raspberrypi:~ $ cat /sys/devices/platform/soc/soc:rpi_rtc/rtc/rtc0/charging_voltage_
˓→min1300000
This confirms the battery is now under trickle charging. To disable this feature, simply remove the dtparam line from
config.txt.
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 [] and join today!

6.3. USB HDMI Adapter

119

SunFounder Pironman 5

6.4 Pi5 NVMe PIP
The Pi5 NVMe PIP (PCIe Peripheral Board), as defined by the Raspberry Pi Foundation, is a PCIe adapter board
designed specifically for NVMe solid-state drives. It supports four different sizes of NVMe SSDs: 2230, 2242, 2260,
and 2280, all fitting into an M.2 M key slot.

• The board connects through a 16P 0.5mm reverse FFC (Flexible Flat Cable) or a custom impedance-matched
FPC (Flexible Printed Circuit) cable.
• STA: A Status LED indicator.
• PWR: A Power LED indicator.
• The onboard 3.3V power supply can support up to 3A output. However, since the Raspberry Pi PCIe interface
is limited to providing 5V/1A output (equivalent to 5W), additional power for 3.3V/3A usage can be supplied
through the J3 connector from a 5V source.
• FORCE ENABLE: The onboard power supply is activated by the switch signal from the PCIe interface. Afterthe Raspberry Pi is powered on, it sends a signal to turn on the 3.3V power supply. If some systems do notsupport the switch signal or for other reasons, you can short-circuit J4 FORCE ENABLE by soldering a wire
between the two floating pads to force the onboard 3.3V power supply to power the NVMe.

6.4.1 About the Model
M.2 SSDs, known for their compact size, come in various types mainly differentiated by their keying (notch design on
the connector) and the interface they use. Here are the primary types:• M.2 SATA SSDs: These use the SATA interface, similar to 2.5-inch SATA SSDs but in the smaller M.2 form
factor. They are limited by the SATA III maximum speeds of around 600 MB/s. These SSDs are compatible
with M.2 slots keyed for B and M keys.
• M.2 NVMe SSDs: These SSDs use the NVMe protocol over PCIe lanes and are significantly faster than M.2
SATA SSDs. They are suitable for applications requiring high read/write speeds like gaming, video editing,and data-intensive tasks. These SSDs typically require M-keyed slots. These drives utilize the PCIe (Peripheral

120

Chapter 6. 6. Advanced

SunFounder Pironman 5

Component Interconnect Express) interface, with different versions like 3.0, 4.0, and 5.0. Each new version of
PCIe effectively doubles the data transfer speed of its predecessor. However, the Raspberry Pi 5 uses a PCIe 3.0
interface, capable of delivering transfer speeds up to 3,500 MB/s.
M.2 SSDs come in three key types: B key, M key, and B+M key. However, later on, the B+M key was introduced,
combining the functionalities of the B key and M key. As a result, it replaced the standalone B key. Please refer to theimage below.

In general, M.2 SATA SSDs are B+M-keyed (can fit in sockets for B-keyed and M-keyed modules), while M.2 NVMe
SSDs for PCIe 3.0 x4 lane are M-keyed.

6.4. Pi5 NVMe PIP

121

SunFounder Pironman 5

6.4.2 About the Length
M.2 modules come in different sizes and can also be utilized for Wi-Fi, WWAN, Bluetooth, GPS, and NFC.
Pironman 5 supports four (PCIe Gen 2.0 / PCIe Gen 3.0) NVMe M.2 SSD sizes based on their names: 2230, 2242,
2260, and 2280. The “22” is the width in millimeters (mm), and the two following numbers are the length. The longer
the drive, the more NAND flash chips can be mounted; therefore, the more capacity.

122

Chapter 6. 6. Advanced

SunFounder Pironman 5

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 [] and join today!

6.4. Pi5 NVMe PIP

123

SunFounder Pironman 5

6.5 MicroSD ExtenderThis is a Micro SD card expansion board, which extends the Raspberry Pi’s MicroSD card slot to the outside and adds
a spring-loaded card slot.

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 [] and join today!

6.6 Power Switch Conventor
This is a module that expands the Raspberry Pi 5 power switch to the outside.

124

Chapter 6. 6. Advanced

SunFounder Pironman 5

Adding the Power Button• The Raspberry Pi 5 features a J2 jumper, situated between the RTC battery connector and the board edge. This
breakout enables the addition of a custom power button to the Raspberry Pi 5 by connecting a Normally Open(NO) momentary switch across the two pads. Briefly engaging this switch mimics the onboard power button’sfunctionality.

• On the Pironman 5, there’s a Power Switch Converter that extends the J2 jumper to an external power button
using two Pogo pins.

6.6. Power Switch Conventor

125

SunFounder Pironman 5• Now, the Raspberry Pi 5 can be powered on and off using the Power Button.

126

Chapter 6. 6. Advanced

SunFounder Pironman 5

Power Cycling
Upon initially powering your Raspberry Pi 5, it will automatically turn on and boot into the operating system without
the need to press the button.
If running the Raspberry Pi Desktop, a brief press of the power button initiates a clean shutdown process. A menu willappear, offering options to shutdown, reboot, or logout. Selecting an option or pressing the power button again will
start a clean shutdown.

Shutdown• If you run Raspberry Pi Bookworm Desktop system, you can press the power button twice in quick succession
to shutdown.
6.6. Power Switch Conventor

127

SunFounder Pironman 5• If you run Raspberry Pi Bookworm Lite system without a desktop, press the power button a single time to initiate
a shutdown.
• To force a hard shutdown, press and hold the power button.
Power on• If the Raspberry Pi board is shut down, but still powered, single-press to power on from a shutdown state.
Note: If you are running a system that does not support a shutdown button, you can hold it for 5 seconds to force a
hard shutdown, and single-press to power on from a shutdown state.

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 [] and join today!

6.7 Tower Cooler
Warning
Do not touch the blades, or let the power wires wrap around the fan, or pull the power wires with force to avoid damaging
the fan.
Do not use in environments with flammable gases or any danger.
When the fan is working, please do not try to lock the fan for a long time. If you do so, the fan will burn out due to thehigh heat generated by the continuous stoppage.
When assembling the fan, please pay special attention to the noise generated by resonance or vibration.
Do not drop the Icecube Tower Cooler from height, as this may affect the balance of the fan’s blades.
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.

128

Chapter 6. 6. Advanced

SunFounder Pironman 5

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

6.8 OLED Screen• Size: 0.96”• Material: PM OLED• Color: White light• Driver: SSD1306• Voltage: 3.3V
• Resolution: 128*64• Display Area: 21.74x10.86mm• Panel Size: 26.70x19.26x1.42mm• Pixel Pitch: 0.17x0.17mm• Pixel Size: 0.154x0.154mm• Viewing Angle: Full view
• Operating Temperature: -20~70°C• Communication Method: IIC/SPI/Parallel• Connection Method: 0.5mm pitch plug-in type FPC

6.8. OLED Screen

129

SunFounder Pironman 5

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 [] and join today!

6.9 Fans
6.9.1 PWM Fan
The PWM fan on the Pironman 5 is controlled by the Raspberry Pi system.
Regarding cooling solutions for the Raspberry Pi 5, especially under heavy load, the design of the Pironman 5 incorporates a smart cooling system. It features a primary PWM fan and two supplementary RGB fans. The cooling strategy
is closely integrated with the Raspberry Pi 5’s thermal management system.
The PWM fan’s operation is based on the Raspberry Pi 5’s temperature:• Below 50°C, the PWM fan remains off (0% speed).
• At 50°C, the fan starts at a low speed (30% speed).
• Reaching 60°C, the fan increases to a medium speed (50% speed).
• At 67.5°C, the fan ramps up to a high speed (70% speed).
• At 75°C and above, the fan operates at full speed (100% speed).
This temperature-to-speed relationship also applies when the temperature decreases, with a 5°C hysteresis. The fan
speed reduces when the temperature falls 5°C below each of these thresholds.
• Commands to monitor the PWM fan. To check the PWM fan’s status:
cat /sys/class/thermal/cooling_device0/cur_state• To view the PWM fan’s speed:
cat /sys/devices/platform/cooling_fan/hwmon/*/fan1_input
In the Pironman 5, the PWM fan is a critical component for maintaining optimal operating temperatures, particularly
during intensive tasks, ensuring the Raspberry Pi 5 runs efficiently and reliably.

130

Chapter 6. 6. Advanced

SunFounder Pironman 5

6.9.2 RGB Fans

• Extermal dimension: 40*40*10MM• Weight: 13.5±5g/pcs• Life: 40,000 hours (room temperature 25°C)• Maximum Air Flow: 2.46CFM• Max.Air Pressure: 0.62mm-H2O• Accoustic Sound: 22.31dBA• Rated Input power: 5V/0.1A• Rated Speed: 3500±10%RPM• Operating Temperature: -10℃~+70℃• Storage Temperature: -30℃~+85℃
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 [] and join today!

6.9. Fans

131

SunFounder Pironman 5

6.10 Log in to the Raspberry Pi OS
In this chapter, you will learn how to log in to the Raspberry Pi. Whether you have a screen attached or need to accessit remotely, this section will guide you through opening the terminal, which you will use in later chapters to entercommands.
Note: If you are already familiar with Raspberry Pi operations, you can skip this chapter.

6.10.1 Logging in with a Screen
Having a screen attached to your Raspberry Pi makes it easier to interact with the system directly.
Required Components• Pironman 5• Power Adapter• Micro SD card or NVMe SSD with pre-installed Raspberry Pi OS• Monitor Power Adapter• HDMI cable• Monitor• Mouse• Keyboard
Steps
1. Insert the Micro SD card into the Pironman 5.
2. Connect the Mouse and Keyboard to the USB ports of the Pironman 5.
3. Use the HDMI cable to connect the monitor to the HDMI port of the Pironman 5. Make sure the monitor isconnected to a power source and is turned on.
4. Power up the Pironman 5 using the power adapter. You should see the Raspberry Pi OS desktop appear on themonitor shortly.

132

Chapter 6. 6. Advanced

SunFounder Pironman 5

5. Once the desktop is visible, open the Terminal by clicking on the terminal icon or searching for it in the menu tostart entering commands.

6.10.2 Logging in Remotely Without a Screen
If you do not have access to a monitor, you can still use your Raspberry Pi by logging in remotely.
For command-line access, you can use SSH to connect to the Raspberry Pi’s Bash shell, the default Linux shell whichallows for managing the device via commands.
For those who prefer a graphical interface, using a remote desktop application like VNC Viewer offers a visual way tomanage files and operations remotely.
Required Components• Pironman 5• Power Adapter• Micro SD card or NVMe SSD with pre-installed Raspberry Pi OS
Steps:
1. Insert the Micro SD card into the Pironman 5.
2. Connect the Pironman 5 to a power source using the power adapter.
3. For detailed tutorials on setting up remote access depending on your computer’s operating system, see the following sections:
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.

6.10. Log in to the Raspberry Pi OS

133

SunFounder Pironman 5• 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 [] and join today!

For Mac OS X Users
For Mac OS X users, SSH (Secure Shell) offers a secure and convenient method to remotely access and control a
Raspberry Pi. This is particularly handy for working with the Raspberry Pi remotely or when it’s not connected toa monitor. Using the Terminal application on a Mac, you can establish this secure connection. The process involves
an SSH command incorporating the Raspberry Pi’s username and hostname. During the initial connection, a security
prompt will ask for confirmation of the Raspberry Pi’s authenticity.
1. To connect to the Raspberry Pi, type the following SSH command:ssh pi@raspberrypi.local

2. A security message will appear during your first login. Respond with yes to proceed.
The authenticity of host 'raspberrypi.local␣
˓→(2400:2410:2101:5800:635b:f0b6:2662:8cba)' can't be established.
ED25519 key fingerprint is SHA256:oo7x3ZSgAo032wD1tE8eW0fFM/
˓→kmewIvRwkBys6XRwg.
Are you sure you want to continue connecting (yes/no/[fingerprint])?
3. Input the password for the Raspberry Pi. Be aware that the password won’t display on the screen as you type,which is a standard security feature.

134

Chapter 6. 6. Advanced

SunFounder Pironman 5

pi@raspberrypi.local's password:
Linux raspberrypi 5.15.61-v8+ #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST␣
˓→2022 aarch64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in theindividual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Sep 22 12:18:22 2022
pi@raspberrypi:~ $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 [] and join today!

For Windows Users
For Windows 10 or higher users, remote login to a Raspberry Pi can be achieved through the following steps:
1. Search for powershell in your Windows search box. Right-click on Windows PowerShell and select Run asadministrator.

2. Determine your Raspberry Pi’s IP address by typing ping -4 <hostname>.local in PowerShell.
ping -4 raspberrypi.local

6.10. Log in to the Raspberry Pi OS

135

SunFounder Pironman 5

The Raspberry Pi’s IP address will be displayed once it’s connected to the network.
• If the terminal displays Ping request could not find host pi.local. Please check thename and try again., verify the hostname you’ve entered is correct.
• If the IP address still isn’t retrievable, check your network or WiFi settings on the Raspberry Pi.
3. Once the IP address is confirmed, log in to your Raspberry Pi using ssh <username>@<hostname>.local or
ssh <username>@<IP address>.
ssh pi@raspberrypi.local

Warning: If an error appears stating The term 'ssh' is not recognized as the nameof a cmdlet..., your system may not have SSH tools pre-installed. In this case, you need tomanually install OpenSSH following Install OpenSSH via Powershell, or use a third-party tool
like .
4. A security message will appear on your first login. Enter yes to proceed.
The authenticity of host 'raspberrypi.local␣
˓→(2400:2410:2101:5800:635b:f0b6:2662:8cba)' can't be established.
ED25519 key fingerprint is SHA256:oo7x3ZSgAo032wD1tE8eW0fFM/
˓→kmewIvRwkBys6XRwg.
Are you sure you want to continue connecting (yes/no/[fingerprint])?
5. Enter the password you previously set. Note that the password characters won’t be displayed on the screen, which
is a standard security feature.
Note: The absence of visible characters when typing the password is normal. Ensure you input thecorrect password.
6. Once connected, your Raspberry Pi is ready for remote operations.

136

Chapter 6. 6. Advanced

SunFounder Pironman 5

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 [] and join today!

For Linux/Unix Users
1. Locate and open the Terminal on your Linux/Unix system.
2. Ensure your Raspberry Pi is connected to the same network. Verify this by typing ping <hostname>.local. For
example:ping raspberrypi.local
You should see the Raspberry Pi’s IP address if it’s connected to the network.
• If the terminal shows a message like Ping request could not find host pi.local.
Please check the name and try again., double-check the hostname you’ve entered.
• If you’re unable to retrieve the IP address, inspect your network or WiFi settings on the RaspberryPi.
3. Initiate an SSH connection by typing ssh <username>@<hostname>.local or ssh <username>@<IP
address>. For instance:ssh pi@raspberrypi.local
4. On your first login, you’ll encounter a security message. Type yes to proceed.
The authenticity of host 'raspberrypi.local␣
˓→(2400:2410:2101:5800:635b:f0b6:2662:8cba)' can't be established.
(continues on next page)

6.10. Log in to the Raspberry Pi OS

137

SunFounder Pironman 5(continued from previous page)

ED25519 key fingerprint is SHA256:oo7x3ZSgAo032wD1tE8eW0fFM/
˓→kmewIvRwkBys6XRwg.
Are you sure you want to continue connecting (yes/no/[fingerprint])?
5. Enter the password you previously set. Note that for security reasons, the password won’t be visible as you type.
Note: It’s normal for the password characters not to display in the terminal. Just ensure to enter thecorrect password.
6. Once you’ve successfully logged in, your Raspberry Pi is now connected, and you’re ready to proceed to the next
step.
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 [] and join today!

Remote Desktop Access for Raspberry Pi
For those preferring a graphical user interface (GUI) over command-line access, the Raspberry Pi supports remote
desktop functionality. This guide will walk you through setting up and using VNC (Virtual Network Computing) for
remote access.
We recommend using VNC® Viewer for this purpose.
Enabling VNC Service on Raspberry Pi
VNC service comes pre-installed in the Raspberry Pi OS but is disabled by default. Follow these steps to enable it:
1. Enter the following command in the Raspberry Pi terminal:
sudo raspi-config
2. Navigate to Interfacing Options using the down arrow key, then press Enter.

138

Chapter 6. 6. Advanced

SunFounder Pironman 5

3. Select VNC from the options.

4. Use the arrow keys to choose <Yes> -> <OK> -> <Finish> and finalize the VNC service activation.

6.10. Log in to the Raspberry Pi OS

139

SunFounder Pironman 5

Logging in via VNC Viewer
1. Download and install VNC Viewer on your personal computer.
2. Once installed, launch VNC Viewer. Enter the hostname or IP address of your Raspberry Pi and press Enter.

3. When prompted, enter your Raspberry Pi’s username and password, then click OK.

140

Chapter 6. 6. Advanced

SunFounder Pironman 5

4. You’ll now have access to your Raspberry Pi’s desktop interface.

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.
6.10. Log in to the Raspberry Pi OS

141

SunFounder Pironman 5• 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 [] and join today!

142

Chapter 6. 6. Advanced

CHAPTERSEVENCOMPITABLE NVME SSD

7.1 Compitable NVMe SSD• ADATA Legend 700• ADATA Legend 800• AData XPG SX8200 Pro• Axe Memory Generic Drive• Crucial P2 M.2• Crucial P3 M.2• Crucial P3 Plus M.2• Inland PCIe NVMe SSD• KIOXIA EXCERIA NVMe SSD• KIOXIA EXCERIA G2 NVMe SSD• Kingston KC3000• Kingston NV2• Lexar NM710• Lexar NM620• Netac NV3000 NVMe SSD• Netac NV2000 NVMe SSD• Origin Inception TLC830 Pro NVMe SSD• Pineberry Pi Pinedrive (2280)• PNY CS1030• Sabrent Rocket 4.0• Sabrent Rocket Nano
• Samsung 970 EVO Plus
• Samsung 980• Samsung 980 Pro• Team MP33
• Western Digital SN850
143

SunFounder Pironman 5• Western Digital SN740• Western Digital SN570• Western Digital SN530• Western Digital Black SN750 SE (Phison Controller)• Western Digital Blue SN550/SN580 series (If you know how to install latest rpi-eeprom-updates, pieeprom2024-01-24.bin fixed the Western Digital Blue SN550 nvme boot issue Refer to https://forums.raspberrypi.com/
viewtopic.php?t=364327.)• XPG GAMMIX S70 BLADE• XPG SX8200 Pro

7.2 Uncompitable NVMe SSD
We recommend avoiding the following NVMe SSD drives which is equipped with a Phison controller due to theirproven incompatibility:• Western Digital Green SN350 series• Western Digital Black SN850 series• Western Digital Black SN770• Inland tn446 nvme drive• Corsair MP600 SSD• Samsung PM991• Kingston OM8SEP4256Q-A0• Transcend 110Q (TS500GMTE110Q)• SN350 and SN570 prevented the RPi 5 from booting at all especially.
• Other NVMe SSD drivers equipped with the same Phison controller
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 [] and join today!

144

Chapter 7. Compitable NVMe SSD

CHAPTER

EIGHT

FAQ

8.1 How to disable web dashboard?
Once you have completed the installation of the pironman5 module, you will be able to access the View and Control
from Dashboard.
If you do not need this feature and want to reduce CPU and RAM usage, you can disable the dashboard during the
installation of pironman5 by adding the --disable-dashboard flag.
cd ~/pironman5
sudo python3 install.py --disable-dashboard
If you have already installed pironman 5, you can remove the dashboard module and influxdb, then restart pironman5 to apply the changes:/opt/pironman5/env/bin/pip3 uninstall pm-dashboard influxdb
sudo apt purge influxdb
sudo systemctl restart pironman5

8.2 Does the Pironman 5 support retro gaming systems?
Yes, it is compatible. However, most retro gaming systems are streamlined versions that cannot install and run additional
software. This limitation may cause some components on the Pironman 5, such as the OLED display, the two RGB
fans, and the 4 RGB LEDs, to not function properly because these components require the installation of Pironman 5’s
software packages.
Note: The Batocera.linux system is now fully compatible with Pironman 5. Batocera.linux is an open-source andcompletely free retro-gaming distribution.
• Install the Batocera Linux• Set up on Batocera.linux

145

SunFounder Pironman 5

8.3 How to Control Components Using the pironman5 Command
You can refer to the following tutorial to control the components of the Pironman 5 using the pironman5 command.
• Control with Commands

8.4 How to Change the Raspberry Pi Boot Order Using Commands
If you are already logged into your Raspberry Pi, you can change the boot order using commands. Detailed instructions
are as follows:• 3. Configure boot from the SSD

8.5 How to Modify the Boot Order with Raspberry Pi Imager?
In addition to modifying the BOOT_ORDER in the EEPROM configuration, you can also use the Raspberry Pi Imager
to change the boot order of your Raspberry Pi.
It is recommended to use a spare card for this step.
• 1. Update the Bootloader

8.6 How to Copy the System from the SD Card to an NVMe SSD?
If you have an NVMe SSD but do not have an adapter to connect your NVMe to your computer, you can first install thesystem on your Micro SD card. Once the Pironman 5 boots up successfully, you can copy the system from your Micro
SD card to your NVMe SSD. Detailed instructions are as follows:• Copy OS from Micro SD to NVMe SSD

8.7 OLED Screen Not Working?
If the OLED Screen is not displaying or displaying incorrectly, you can follow these steps to troubleshoot the issue:
Check if the FPC cable of the OLED Screen is properly connected.
1. Use the following command to view the program’s run logs and check for error messages.
cat /opt/pironman5/log
2. Alternatively, use the following command to check if the OLED’s i2c address 0x3C is recognized:
sudo i2cdetect -y 1
3. If the first two steps don’t reveal any issues, try restarting the pironman5 service to see if that resolves the problem.
sudo systemctl restart pironman5.service

146

Chapter 8. FAQSunFounder Pironman 5

8.8 Install OpenSSH via Powershell
When you use ssh <username>@<hostname>.local (or ssh <username>@<IP address>) to connect to yourRaspberry Pi, but the following error message appears.
ssh: The term 'ssh' is not recognized as the name of a cmdlet, function,␣
˓→script file, or operable program. Check thespelling of the name, or if a path was included, verify that the path is␣˓→correct and try again.
It means your computer system is too old and does not have OpenSSH pre-installed, you need to follow the tutorial
below to install it manually.
1. Type powershell in the search box of your Windows desktop, right click on the Windows PowerShell, andselect Run as administrator from the menu that appears.

2. Use the following command to install OpenSSH.Client.
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
3. After installation, the following output will be returned.
Path:
Online: TrueRestartNeeded : False
4. Verify the installation by using the following command.
Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*'
5. It now tells you that OpenSSH.Client has been successfully installed.
Name : OpenSSH.Client~~~~0.0.1.0
State : Installed
Name : OpenSSH.Server~~~~0.0.1.0
State : NotPresent.. warning::
If the above prompt does not appear, it means that your Windows system is still␣˓→too old, and you are advised to install a third-party SSH tool, like |link_putty|.

8.8. Install OpenSSH via Powershell147

SunFounder Pironman 5

6. Now restart PowerShell and continue to run it as administrator. At this point you will be able to log in to yourRaspberry Pi using the ssh command, where you will be prompted to enter the password you set up earlier.

Copyright NoticeAll contents including but not limited to texts, images, and code in this manual are owned by the SunFounder Company.
You should only use it for personal study,investigation, enjoyment, or other non-commercial or nonprofit purposes,
under therelated regulations and copyrights laws, without infringing the legal rights of the author and relevant rightholders. For any individual or organization that uses these for commercial profit without permission, the Company
reserves the right to take legal action.

148

Chapter 8. FAQ