Changes

Jump to navigation Jump to search

X735 Software

422 bytes added, 20:30, 17 March 2021
read_fan_speed.py
This is only show how to get the fan speed every second.
sudo python read_fan_speed.py
pwm_fan_control.py
This is the phthon sample file to control fan speed by CPU temperature. you can refer to this sample or modify it by your request. please contact us if you found some error for this file.
You can use the 'crontab ' system command to execute this python file to get the function of speed adjustment according to temperature changes.
How to use crontab command
<pre>
sudo crontab -e
[[File:Crontab-step1.png]]
Choose "1" then press Enter
</pre>
 
Add a line at the end of the file that reads like this:
 
@reboot python3 /home/pi/X735-V2.5/pwm_fan_control.py
 
#Please note the path of this file.
[[File:Crontab-step2.png]]
Save and exit. In nano, you do that by hitting CTRL + X, answering Y and hitting Enter when prompted.
<!--Add review function! -->

Navigation menu