Difference between revisions of "X715 Software"
(Created page with "{{GD Template Impl}} This guide is only for X715 V1.0 shield based on RASPBIAN. git clone https://github.com/geekworm-com/x735-v2.5.git At this time, the fan is still not ro...") |
|||
Line 2: | Line 2: | ||
This guide is only for X715 V1.0 shield based on RASPBIAN. | This guide is only for X715 V1.0 shield based on RASPBIAN. | ||
− | + | ==How to control PWM fan speed== | |
+ | The PWN fan is not rotating when X715 is connected to PI 4, we need to to install the pwm fan control script | ||
− | + | git clone https://github.com/geekworm-com/x715.git | |
+ | python /home/pi/x715/pwm_fan_control.py | ||
− | + | Then the x715 fan will start working. | |
− | |||
− | Then the | ||
But we hope that the script can be executed automatically when the Raspberry Pi board boots, we can use crontab system command to achieve it. please refer to the following | But we hope that the script can be executed automatically when the Raspberry Pi board boots, we can use crontab system command to achieve it. please refer to the following | ||
− | + | == How to start PWM fan when pi 4 boots== | |
+ | The following comment is from [[X735 V2.5 Software]] | ||
sudo crontab -e | sudo crontab -e | ||
Line 22: | Line 23: | ||
Add a line at the end of the file that reads like this: | Add a line at the end of the file that reads like this: | ||
− | @reboot python /home/pi/ | + | @reboot python /home/pi/x715/pwm_fan_control.py |
Please note the path of this file. | Please note the path of this file. | ||
Line 31: | Line 32: | ||
== How to read the fan RPM?== | == How to read the fan RPM?== | ||
− | please refer to /home/pi/ | + | please refer to /home/pi/x715/read_fan_speed.py, and this is only show how to get the fan speed every second, run the following command. |
− | sudo python /home/pi/ | + | sudo python /home/pi/x715/read_fan_speed.py |
<!--Add review function! --> | <!--Add review function! --> |
Revision as of 18:20, 25 May 2021
This guide is only for X715 V1.0 shield based on RASPBIAN.
How to control PWM fan speed
The PWN fan is not rotating when X715 is connected to PI 4, we need to to install the pwm fan control script
git clone https://github.com/geekworm-com/x715.git python /home/pi/x715/pwm_fan_control.py
Then the x715 fan will start working.
But we hope that the script can be executed automatically when the Raspberry Pi board boots, we can use crontab system command to achieve it. please refer to the following
How to start PWM fan when pi 4 boots
The following comment is from X735 V2.5 Software
sudo crontab -e
Choose "1" then press Enter
Add a line at the end of the file that reads like this:
@reboot python /home/pi/x715/pwm_fan_control.py
Please note the path of this file.
Save and exit (CTRK + O and ENTER to save it). In nano editor, you do that by hitting CTRL + X, answering Y and hitting Enter when prompted.
How to read the fan RPM?
please refer to /home/pi/x715/read_fan_speed.py, and this is only show how to get the fan speed every second, run the following command.
sudo python /home/pi/x715/read_fan_speed.py
Enable comment auto-refresher
Anonymous user #6
Permalink |
Anonymous user #5
Permalink |
Walker
Anonymous user #5
Permalink |
Anonymous user #5
Permalink |
Walker
Anonymous user #4
Permalink |
Lisa
Harry
Anonymous user #3
Permalink |
Lisa
Anonymous user #3
Lisa
Anonymous user #1
Permalink |
Lisa
Anonymous user #2
Harry