Changes

Jump to navigation Jump to search

X729-Software

558 bytes added, 16:05, 19 November 2022
no edit summary
3.3 Powering off the Raspberry Pi from software
x729off
 
'''4. Setting up the PWM cooling fan'''
cd ~
cd cd x729
python3 pwm_fan_control.py
 
4.1 Run the script at Raspberry Pi boot
 
sudo crontab -e
 
[[File:Crontab-step1.png|none]]
 
Choose "1" then press Enter
 
4.2 Add a line at the end of the file that reads like this:
@reboot python3 /home/pi/x729/pwm_fan_control.py
 
[[File:X729-2.png|none]]
 
4.3 Save and exit. In nano, you do that by hitting CTRL + X, answering Y and hitting Enter when prompted.
 
4.4 Run below script and you will get RPM value every second:
cd ~
cd x729
python3 read_fan_speed.py
5. Set and Read the RTC time

Navigation menu