An OrangePi Zero MMDVM fan controll service based on wiringOP . Tested on OrangePi Zero with Pi-Star V4.1.6
The fan control pin is physical pin 12 (PA07).
-
Build and install wiringOP.
rpi-rw cd ~ git clone https://github.com/orangepi-xunlong/wiringOP.git cd wiringOP chmod 777 build ./build
-
OrangePi MMDVM Fan Controller install.
rpi-rw cd ~ git clone https://github.com/leonfg/opizero_fan_ctrl.git cd opizero_fan_ctrl sudo cp fan.service /etc/systemd/system sudo cp fan_thermal_ctl.py /boot sudo systemctl start fan sudo systemctl status fan sudo systemctl enable fan
-
Test.
-
Fan on test.
python fan_on.py
-
Fan off test.
python fan_off.py
-