Pironman 5 LED not working

Hi,
So I got the OLED display working thanks to help of people from this forum.

The two fans are spinning in the back of the case. However there is no (blue) or any light.
I followed instructions and modified the config file.

rpi-eeprom-config -e
[all]
BOOT_UART=1
POWER_OFF_ON_HALT=1
BOOT_ORDER=0xf461
NET_INSTALL_AT_POWER_ON=1

But the lights are not working. Any help would be appreciated. Thanks.

I just want to reply, that with a bit of help from ChatGPT, I run this Python script:
import board
import neopixel
import time

NUM_LEDS = 4
pixels = neopixel.NeoPixel(board.D10, NUM_LEDS)

pixels.fill((255, 0, 0))
time.sleep(1)
pixels.fill((0, 255, 0))
time.sleep(1)
pixels.fill((0, 0, 255))
time.sleep(1)
pixels.fill((0, 0, 0))

And guess that, it showed Red, Green, Blue. So the hardware is working. I think it’s a setting somewhere in the software. I need some help please.

Have you take a look inside the dashboard setting, if RGB is enable. Also check into log section of there’s any issues with RGB.

Thanks for your reply.
I now know it’s 100% related to a setting in the software. I just don’t know where to fix it.

So I made a script (thanks to ChatGPT).
import board
import neopixel
import time

NUM_LEDS = 4
pixels = neopixel.NeoPixel(board.D10, NUM_LEDS)

pixels.fill((255, 0, 0))
time.sleep(1)
pixels.fill((0, 255, 0))
time.sleep(1)
pixels.fill((0, 0, 255))
time.sleep(1)
pixels.fill((0, 0, 0))

When I run this… I get the IO board and the fans turning red, green and blue. So this is good.
But somehow Pironman5 software is not set correctly. All is up to date as you mentioned. Also in the dashboard it’s toggled on ENABLED.

So I got two fans (back of the plate) and one ICECUBE middle fan in the centre. I think the python script works because it’s set to GPIO10 not sure what pin Pironman is using… or where I can change this, or even if I should change this ?

@Weirdyguy so I played around with the following settings:
sudo pironman5 -gp 5 (the fans LEDs turn on, but not spinning)
sudo systemctl restart pironman5.service
I did this from all numbers, it seems when I change it to 6 the fans start spinning again but no LED lights. Also the IO board LED is off.

I feel I should search it somewhere in this area?

RGB fan are controlled by gpio6 and led by gpio6. pironman5/pironman5/variants/pironman5_max.py at main · sunfounder/pironman5 · GitHub

i’m just not sure for the LED count, it’s set to 4. is it supposed to be 6, including rgb fan…

I really want to help you, but by my side I onle have a Pironman5 standard and Pironman V2. Do you have anything else connected to GPIO, like 3.5 inches display?

anyway, you said that with chatgpt, you found a way to turn them ON, so physicaly, everything is good, the issue is in software. Did you install the good software for Pironman5 MAX?

cd ~
git clone -b max GitHub - sunfounder/pironman5: Code for Raspberry Pi 5 case (Pironman5) --depth 1
cd ~/pironman5
sudo python3 install.py

No, it’s brand new Pi 5 straight out of the box, with Desktop OS (nothing special) running.
`I completely removed the Pironman5 software, did complete new install:
cd ~
git clone GitHub - sunfounder/pironman5: Code for Raspberry Pi 5 case (Pironman5)
cd ~/pironman5
sudo python3 install.py

no result, oh man… this is so frustrating.

I see what you make wrong. Take a look after git clone.

-B max

Since the begining , you install the version for Pironman5 standard, but you have the MAX version :wink:

@Weirdyguy oh my.. so stupid. So I removed the whole folder. Complete reboot and started again from scratch.
cd ~
git clone -b max GitHub - sunfounder/pironman5: Code for Raspberry Pi 5 case (Pironman5) --depth 1
cd ~/pironman5
sudo python3 install.py

My commands… but guess that… no LED is on. Same issue. Also all steps in dashboard are toggled on. I even tried direct commands like: sudo pironman5 -re True / sudo systemctl restart pironman5.service even tried to upgrade led from 4 to 6… with sudo pironman5 -rl 6 and a restart from the service again. No luck.

cd ~
git clone -b max GitHub - sunfounder/pironman5: Code for Raspberry Pi 5 case (Pironman5) --depth 1
cd pironman5
Cloning into ‘pironman5’…
remote: Enumerating objects: 28, done.
remote: Counting objects: 100% (28/28), done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 28 (delta 2), reused 14 (delta 0), pack-reused 0 (from 0)
Receiving objects: 100% (28/28), 26.27 KiB | 3.28 MiB/s, done.
Resolving deltas: 100% (2/2), done.

sudo python3 install.py
Installing for Pironman 5
Version: 1.2.18

Install build dependencies…

  • Update package list… Done
  • Install build dependencies: python3-pip python3-venv git curl… Done
    Run commands before install…
  • Run command before install: Download influxdb key… Done
  • Run command before install: Setup influxdb install source… Done
  • Run command before install: Cleanup influxdata-achive.key… Done
  • Run command before install: Install LGPIO… Done
    Install APT dependencies…
  • Install APT dependencies: libopenjp2-7 python3-dev lsof influxdb i2c-tools python3-gpiozero libjpeg-dev libfreetype6-dev kmod… Done
    Create working directory…
  • Create work directory… Done
  • Change work directory mode… Done
  • Change work directory owner… Done
  • Create log directory… Done
  • Change log directory mode… Done
  • Change log directory owner… Done
  • Remove old virtual environment… Done
  • Create virtual environment… Done
    Install PIP dependencies…
  • Install pip… Done
  • Install setuptools… Done
  • Install build… Done
  • Install adafruit-circuitpython-neopixel-spi… Done
  • Install Adafruit-Blinka==8.59.0… Done
  • Install gpiozero… Done
  • Install smbus2… Done
  • Install gpiod… Done
  • Install Pillow… Done
  • Install rpi.lgpio… Done
    Install Python source packages…
  • Uninstall pironman5 old package… Done
  • Install pironman5 from source… Done
  • Uninstall pm_auto old package… Done
  • Install pm_auto from source… Done
  • Uninstall pm_dashboard old package… Done
  • Install pm_dashboard from source… Done
  • Uninstall sf_rpi_status old package… Done
  • Install sf_rpi_status from source… Done
    Setup auto start…
  • Copy binary file… Done
  • Change binary file mode… Done
  • Copy service file… Done
  • Enable service… Done
  • Reload systemd… Done
    Probe modules…
  • add module: i2c-dev… Done
    Copy device tree overlay…
  • Copy dtoverlay sunfounder-pironman5.dtbo… Done
    Change work directory owner…
  • Change work directory owner… Done
    Finished
    Cleanup
  • Remove build… Done

I’m not sure that’s your uninstall was good, i suggest you to go into terminal, sudo pcmanfm than go on ROOT , Tools and search for all files names Pironman5, select all and delete. Reboot and then re-installer the good version for your Pironman5 MAX. Or maybe make a brand new OS installation from the beginning.

After that if you want to get better performance from rpi5, good info for overclocking. I also add force_turbo=1 to keep cpu speed at 3000mhz :slight_smile:

Ok. So there is some good news… but still 1 final push to be made.
I cleared everything, so removed the SD, fresh image and started from scratch…

1 sudo apt update
2 sudo apt full-upgrade -y
3 sudo rpi-eeprom-config -e
5 sudo apt update
6 sudo apt-get install git -y
7 sudo apt-get install python3 python3-pip python3-setuptools -y
8 cd ~
9 git clone -b max GitHub - sunfounder/pironman5: Code for Raspberry Pi 5 case (Pironman5) --depth 1
10 cd ~/pironman5
11 sudo python3 install.py

After all this, I got the:
OLED working > YES!
4 RGB leds on IO working > YES!

The only thing that the two fans are spinning, but no color. I need a little help in that.
sudo pironman5 -c
{
“system”: {
“data_interval”: 1,
“rgb_color”: “#0a1aff”,
“rgb_brightness”: 50,
“rgb_style”: “solid”,
“rgb_speed”: 50,
“rgb_enable”: true,
“rgb_led_count”: 4,
“temperature_unit”: “C”,
“oled_enable”: true,
“oled_rotation”: 0,
“oled_disk”: “total”,
“oled_network_interface”: “all”,
“gpio_fan_pin”: 6,
“gpio_fan_mode”: 0,
“debug_level”: “INFO”
}
}

So led count is 4, even if I change this to 6 or 12 with: sudo pironman5 -rl 6 (and reboot of pironman5.services there is no effect. On the dashboard there is no toggle like ON OFF FOLLOW like they mentioning. Only RGB but those are for the leds of the IO board not the fans.
When scrolling down to the fans the only option I get is: GPIO Fan Mode: which I slided to ALWAYS ON.

Would be great if anyone can help me out, please.

Please contact service@sunfounder.com to get a IO board.