Pironman 5 Max, cpu fan not working, oled not working

hello,

i have recently bought and assembled PironMan 5 Max and having some issues.

i installed ubuntu desktop on the sd card, yet to install on the ssd / nvme and i followed the docs.sunfounder.com .

Problems:

o OLED / display not working

o CPU Fan in the Dashboard of the website monitor showing as 0 rpm
CPU Fan is not working.. after pironman5.service is started, cpu fan stops working

since, i am using linux after long long time, i hope you can guide me through diagnosing it & finally correcting the problems..

i read few threads & i ran the following:

anshul@anshul-rasp:~$ sudo 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: – – – – – – – – – – – – – – – –
70: – – – – – – – –

edit: both tower rgb fan work now, connection was lose.. it was showing only rgb earlier..
rgb fan start working when pironman5 service is loaded / started..

Please follow the troubleshooting steps in our official FAQ guide to verify the issue:

OLED Screen Not Working - FAQ

Here is a summary of the steps:

  1. Check the OLED FPC cable connection. Ensure it is securely seated. Try reseating the cable and then powering on the device.
  2. Confirm that the Raspberry Pi is running a compatible operating system.
  3. Verify correct installation of the Pironman5 software.
  4. Check I2C address detection.
    • Run the command: sudo i2cdetect -y 1
    • Please take a screenshot of the output and share it with us.
  5. If no address is detected, enable I2C:
    • Run sudo raspi-config to enable the I2C interface.
    • Restart the Pironman5 software service and check if it works.
  6. Provide OLED debug logs.
    • Please run the following commands and share the outputs:
    • cat /var/log/pironman5/pm_auto.oled.log
    • cat /var/log/pironman5/pm_auto.fan_control.log
    • cat /var/log/pironman5/main.log

Hello, thanks for quick reply..

merry christmas to you!!

about the raspberry pi 5, i checked the OLED FPC cable connection, it is connected perfectly (seated).

OS Running: Ubuntu 24.04 LTS installed using imager on nvme ssd.

sudo i2cdetect -y 1

screenshot

cat /var/log/pironman5/pm_auto.oled.log

25/12/27 18:12:19.591 [DEBUG] Update temperature_unit to C
25/12/27 18:12:19.591 [DEBUG] Update oled_rotation to 0
25/12/27 18:12:19.592 [DEBUG] Update oled_disk to total
25/12/27 18:12:19.592 [DEBUG] Update oled_network_interface to all
25/12/27 18:12:19.592 [DEBUG] Update oled_sleep_timeout to 10
25/12/27 18:12:19.592 [DEBUG] Update oled_enable to True
25/12/27 18:12:19.592 [DEBUG] OLED wake up
25/12/27 18:12:20.852 [INFO] Connected to wlan0: 192.168.50.176
25/12/27 18:12:29.896 [INFO] OLED sleep timeout, sleeping

cat /var/log/pironman5/pm_auto.fan_control.log

25/12/27 18:12:19.609 [DEBUG] Initializing FanControl
25/12/27 18:12:19.609 [DEBUG] Update gpio_fan_pin to 6
25/12/27 18:12:19.609 [DEBUG] Update gpio_fan_mode to 0
25/12/27 18:12:19.610 [DEBUG] Update gpio_fan_led to follow
25/12/27 18:12:19.610 [DEBUG] Update gpio_fan_led_pin to 5
25/12/27 18:12:19.610 [DEBUG] Init GPIO Fan with pin: 6, led_pin: 5
25/12/27 18:12:19.651 [DEBUG] Set led to follow
25/12/27 18:12:19.651 [DEBUG] Init PWM Fan
25/12/27 18:12:19.679 [DEBUG] FanControl initialized
25/12/27 18:12:20.972 [INFO] PWM Fan is supported, sync all other fan with pwm fan

cat /var/log/pironman5/main.log

25/12/27 18:12:19.483 [INFO] 
25/12/27 18:12:19.483 [INFO] ############################################################
25/12/27 18:12:19.483 [DEBUG] Config path: /opt/pironman5/venv/lib/python3.12/site-packages/pironman5/config.json
25/12/27 18:12:19.484 [DEBUG] Pironman5 version: 1.2.22
25/12/27 18:12:19.484 [DEBUG] Variant: Pironman 5 Max 
25/12/27 18:12:19.484 [DEBUG] Config: {'system': {'data_interval': 1, 'rgb_color': '#0a1aff', 'rgb_brightness': 50, 'rgb_style': 'breathing', '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, 'gpio_fan_led': 'follow', 'gpio_fan_led_pin': 5, 'oled_sleep_timeout': 10, 'vibration_switch_pin': 26, 'vibration_switch_pull_up': False, 'debug_level': 'INFO'}}
25/12/27 18:12:19.484 [DEBUG] Device info: {'name': 'Pironman 5 Max', 'id': 'pironman5', 'peripherals': ['storage', 'cpu', 'network', 'memory', 'history', 'log', 'ws2812', 'cpu_temperature', 'gpu_temperature', 'temperature_unit', 'oled', 'clear_history', 'delete_log_file', 'pwm_fan_speed', 'gpio_fan_state', 'gpio_fan_mode', 'gpio_fan_led', 'vibration_switch', 'oled_sleep'], 'version': '1.2.22', 'app_name': 'pironman5'}
25/12/27 18:12:19.484 [DEBUG] PM_Auto version: 1.2.12
25/12/27 18:12:19.484 [DEBUG] PM_Dashboard version: 1.2.10
25/12/27 18:12:20.809 [INFO] PMAuto started
25/12/27 18:12:20.907 [INFO] PmDashboard started

i see the threshold temperature 50 degree celcius is not triggered so the cpu fan remains off..

how can i configure it to become on if temperature is < 50 degree celcius.

i am going to run raspberry pi 24 hrs x 366 days.. what must i be worried about? the fans? and temperature? because in India the temperatures in summer could go upto 45 degree celcius easily.

about the oled
i find the oled display turns off very quickly.

  1. can i install a touchscreen instead of oled and use it for display purpose and turn off the oled graph and all?
  2. what all cables do i need for it?
  3. can i stop the oled from going into sleep after awhile? how can i do that?

There is no real issue with 45’ c. Fans cannot reduce the cpu temperature below ambient, whatever you do. Yes, you can change the fan cut off to 45 ‘ c but that will run the cpu at 45’ c exactly as it would in a much colder country. There is no noticeable silicon reliability issue at that temperature. Electromigration etc Are only minimally affected

  1. Regarding the CPU temperature not reaching 50°C and thus the heatsink not activating:
    We believe that if the Pi 5’s CPU temperature does not reach 50°C, it generally will not significantly affect its performance or efficiency. Therefore, there is no need to lower the activation temperature threshold to make the heatsink start working. However, if you still wish to lower the temperature threshold, it is possible.

The temperature threshold for the CPU heatsink can be adjusted by modifying the system’s config.txt configuration file. This allows customization of the fan start-up temperature and the corresponding fan speed at different temperatures, meeting the needs for temperature-regulated cooling control. The specific steps are as follows:
sudo nano /boot/firmware/config.txt

This is suitable for scenarios where you want the fan to automatically adjust its speed based on different temperatures. Example configuration is as follows (you can modify the temperature and speed values according to your needs):

dtparam=cooling_fan=on
dtparam=fan_temp0=20000,fan_temp0_hyst=2000,fan_temp0_speed=90 # 90% speed at 20°C

fan_temp0 refers to: the “activation temperature threshold” for the fan.

fan_temp0_hyst refers to: the “hysteresis / deadband value” for temperature (prevents frequent on/off cycling).

fan_temp0_speed=90 refers to: the “fixed fan speed value”.

0 = Fan stopped; :check_mark: 255 = Fan at full speed; :check_mark: 90 = Low-speed quiet mode (balancing cooling and noise reduction).

0 = Fan stopped; :check_mark: 255 = Fan at full speed; :check_mark: 90 = Low-speed quiet mode (balancing cooling and noise reduction).

  1. I noticed the OLED screen turns off very quickly?
    This indicates your OLED screen is functioning normally and is not damaged.

Our Max case OLED screen features a timeout sleep function, which is set to 10 seconds by default. If the OLED screen operates for more than 10 seconds, it will turn off and enter sleep mode. If you wish to wake up the OLED screen, simply tap the case. Our intention is to extend the lifespan of the OLED screen.

You can also modify the OLED screen’s timeout sleep duration. The maximum value is 300 (i.e., 5 minutes), meaning the OLED screen will only enter sleep mode after operating continuously for more than 5 minutes.
The command is as follows:
sudo pironman5 -os 300
sudo systemctl restart pironman5.service