This script measures temperature of cpu and turns on/off cooler if necessary. Should work with any OrangePI.
WiringOP was used to measure temperature of Orange pi.
Enter password if needed
git clone https://github.com/Sabbaken/cooler-controller-orangePI.git
cd cooler-controller-orangePI
sudo sh install.sh
- Cooler
- Transistor npn
- Some wires
- Prototype PCB
Fan 5V | OrangePI 5V |
Fan GND | Transistor Collector (C) |
GPIO 7 | Transistor Base (B) |
GND | Transistor Emitter (E) |