Changes

Jump to navigation Jump to search

X715 Software

250 bytes added, 10:47, 13 November 2023
==How to control PWM fan speed==
The PWN PWM fan is not rotating when X715 is connected to PI 4, we need to to install the pwm fan control script
#fan control code need pigpiod library, so we need to install it firstly. sudo apt-get update sudo apt-get install -y pigpio python3-pigpio python3-rpi.gpio sudo systemctl enable pigpiod git clone https://github.com/geekworm-com/x715.git  //reboot to enable pigpiod sudo reboot  cd ~ python python3 /home/pi/x715/pwm_fan_control.py&
Then the x715 fan will start working.
Add a line at the end of the file that reads like this:
'''''@reboot python python3 /home/pi/x715/pwm_fan_control.py'''''
Please note the path of this file.
== 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 python3 /home/pi/x715/read_fan_speed.py
Return to [[X715]]

Navigation menu