Changes

Jump to navigation Jump to search

XScript

268 bytes added, 18:45, 14 June 2023
''' PWM fan control''' (This is optional)
PS: You can ignore this step if you don't use the 3-Pin PWM fan to cool the CM4, in fact, the [[C235]] passive cooler can provide enough cooling capacity, and you can also avoid the trouble of fan noise, it is included in [[NASPi CM4-M2]] and [[NASPi CM4-2.5]]
PS: [[C235]] cooler is included in [[NASPi CM4-M2]] and [[NASPi CM4-2Run the below command to get the fan running.5]]
python3 /home/pi/xscript/fan-rpi.py&
But when you reboot the device, the PWM fans won't run unless you run the above command again, so you need to create a crontab job to keep the fans running when the device reboots, Please refer to [[How to add crontab job]].
 
'''Test safe shutdown'''

Navigation menu