OLED not working / does not display anything on Pironman5

Hello I have tried everything to make the OLED working. The cable is connected correctly BUT there is nothing on the display not even a light :slight_smile:

Version of Pironman5 is the latest.

When I try the status of the Pironman service I get this:

sudo systemctl status pironman5.service

β—‹ pironman5.service - pironman5 service
Loaded: loaded (/etc/systemd/system/pironman5.service; enabled; preset: en>
Active: inactive (dead)

Also when I check the LED status I get this:

i2cdetect -y 1

 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f

00: – – – – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – 3c – – –
40: – – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – – – – – – –

When I try to activate the oled via command line:

sudo pironman5 -oe

Traceback (most recent call last):
File β€œ/opt/pironman5/venv/bin/pironman5-service”, line 8, in
sys.exit(main())
^^^^^^
File β€œ/opt/pironman5/venv/lib/python3.11/site-packages/pironman5/init.py”, line 318, in main
print(f"OLED enable: {β€˜enabled’ if current_config[β€˜system’][β€˜oled_enable’] else β€˜disabled’}")
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: β€˜oled_enable’

What system are you currently using to install the Pironman5 software?
Please try installing the Raspberry Pi Bookworm system and then the Pironman5 software to see how it works.

Hello, that is what I did. Operating system is: Raspberry Pi Bookworm - Raspberry Pi OS 64 bit - a port of Debian Bookworm with the Raspberry pi desktop.

Hardware Pi5 - 16 GB with SSD and nvme

Pironman5 software installed according with the official website instructions:

sudo apt-get update
sudo apt-get install git -y
sudo apt-get install python3 python3-pip python3-setuptools -y

cd ~
git clone -b 1.2.15 GitHub - sunfounder/pironman5: Code for Raspberry Pi 5 case (Pironman5) --depth 1
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.

and this is the part where the oled does not show anything. log file for it is not created also.

I noticed that http://(replacing this with my PI IP):34001 when tried in the PI browser does not work either. The steps were performed exactly as per above.

I suggest you boot the system via the USB interface first, then switch to booting from the SSD or SD card to see if the software service can start and work properly.

Here’s the breakdown: Boot your SD card or SSD through the USB interface of the Pi 5, then install the Pironman 5 software. After the installation is successful, switch back to booting from the NVMe Pi and SD expansion board to check if the software service can start and operate normally.

Hello, I am happy to report that none of the above suggestions worked out and I found a solution that I do not like BUT at least it works. So by following the above instructions and the ones from the official page to install the pironman5 software got is installed BUT never got the services started. None of the following commands worked:

sudo systemctl restart pironman5.service
sudo systemctl start pironman5.service

Then I tried to run it manually and went to: /usr/local/bin and once into the bin folder used this manual command: sudo ./pironman5 start

All started to work like the oled, portal, etc.

Now why do I say that I do not like this is because I have to start it manually every time and I wish that this will start automatically as it is designed to do so.

So eventually I found a fix and it is a manual fix!

If you are using the bookworm system with a desktop environment, you do not need to execute the following commands:
sudo apt-get update
sudo apt-get install git -y
sudo apt-get install python3 python3-pip python3-setuptools -y
You can skip this step and directly run the installation commands for the pironman5 software:
cd ~
git clone -b 1.2.15 GitHub - sunfounder/pironman5: Code for Raspberry Pi 5 case (Pironman5) --depth 1
cd ~/pironman5
sudo python3 install.py
If your Raspberry Pi 5 has less than 16GB of RAM, you might consider upgrading to see how it performs.

1 Like