Changes

Jump to navigation Jump to search

X708-Software

325 bytes added, 09:56, 31 May 2023
In fact, you can refer to this example code to implement your own shutdown logic. . . This requires you to have some python programming foundation.
8. Automatically control the cooling Fan fan
<span style="color:#23AC38">pi@raspberrypi</span>:<span style="color:#50BEDB">~ $</span> cd ~/x708v2/raspberry-pi-os/
<span style="color:#23AC38">pi@raspberrypi</span>:<span style="color:#50BEDB">~ $</span> python3 fan.py
 
Then the fan starts running.
 
'''[PS]'''
 
You need to create a crontab job, and then put this run command into the job, so that the command will run automatically when the device restarts. refer to [X708-Software#FAQ]
 
You can control the fan running at high speed or low speed via modify the CPU temperature threshold in fan.py script file (yellow highlight line)

Navigation menu