Skip to main content

FAN

tip

The FAN interface on the Raspberry Pi Compute Module 4 IO Board only supports fans with a voltage of 12V.

FAN-1

Usage Instructions

Connect

As shown in the figure, connect the fan to the Raspberry Pi Compute Module 4 IO Board.

FAN-2

Rsetup select Thermal Governor mode

  • Open a terminal, type rsetup, select Hardware.

    rsetup hardware
  • Enter to Thermal governor

    rsetup hardware
  • The default governor should be power_allocator.

    rsetup hardware
  • power_allocator

    The system defaults to fanless mode or DC fan mode. Ensure that the machine can still work stably without a cooling fan

  • user_space

    • Select user_space

    • Locate the fan device with the following command.

      ls /sys/class/thermal/cooling_device*/type
      cat /sys/class/thermal/cooling_device*/type

  • Turn off the fan

    echo 0 | sudo tee /sys/class/thermal/cooling_device1/cur_state

  • Set the fan to the highest setting.

    sudo cp /sys/class/thermal/cooling_device1/max_state /sys/class/thermal/cooling_device1/cur_state

  • step_wise

    When the CPU temperature reaches 60 degrees Celsius the fan starts to rotate.

  • Refer to

    • For more information, please refer to the "thermal governor" section in rsetup.