/opizero_fan_ctrl

OrangePi Zero MMDVM fan controll service

Primary LanguagePython

OrangePi Zero MMDVM Fan Controller

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).

Install Instructions

  1. Build and install wiringOP.

    rpi-rw
    cd ~
    git clone https://github.com/orangepi-xunlong/wiringOP.git
    cd wiringOP
    chmod 777 build
    ./build
    
  2. 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
  3. Test.

    • Fan on test.

      python fan_on.py
    • Fan off test.

      python fan_off.py