Skip to main content

8. FAN Interface

8.1 Interface Model and Connection

  • The connector is a 0.8mm 1x3P straight insert type (0.8mm pitch), detailed specifications can be found in the connector datasheet.
  • Supports 5V powered fans.
  • Supports PWM control.

ArmSoM products are equipped with this fan interface by default.

sige5-fan

FanPinFunction
5V15V Power Supply
GND2Ground
PWM3PWM Control Signal

Note:

  • 5V Power Supply (Pin 1): Provides 5V power to the fan.
  • Ground (Pin 2): Ground line for the fan, used for the circuit's return path.
  • PWM Control Signal (Pin 3): Controls the fan's speed via PWM signal. Changes in duty cycle directly affect the fan's operational speed.

8.2 Using the Fan

The fan currently supports five states based on temperature:

TemperatureStatePWM Speed
Below 50°C00
50°C - 55°C150
55°C - 60°C2100
60°C - 65°C3150
65°C - 70°C4200
Above 70°C5250

8.2.1 Verify PWM Fan Device is Recognized

After rebooting, you can check if the fan device has been recognized and configured correctly by running the following command:

root@armsom-sige5:/home/armsom# ls /sys/class/thermal/

If the pwm-fan configuration is successful in the device tree, you should see a directory like thermal_zoneX, which contains information related to fan control.

8.2.2 Adjusting Temperature and Fan Speed

The fan speed is controlled by the temperature. When the system temperature reaches a certain threshold, the system will automatically adjust the fan speed. You can manually simulate temperature changes to test if the fan is functioning correctly.

You can control the temperature policy through the thermal subsystem. For example, to check the current temperature status, you can use the following command:

root@armsom-sige5:/home/armsom# cat /sys/class/thermal/thermal_zone0/temp

If the temperature exceeds a certain threshold, the system will automatically adjust the fan speed. For example, you can use stress testing to rapidly increase the chip's temperature and verify the fan's operation:

root@armsom-sige5:/home/armsom# stress --cpu 4