Project to use Arduino and 12V PWM fans to control temperature for network rack
Information gathered from:
DHT input
Adafruit library
Fan PWM output using Arduino
https://github.com/adolfintel/NanoFanController
Originally built with:
DHT temp -> Arduino Nano -> 12V PWM fan | Serial over USB Rasp Pi -> Prometheus Endpoint | Network Prometheus Control -> Grafana
After breaking my Arduino Nano (likely shorted out on something inside rack, I did not protect all the Arduino pins) I bought an Arduino Uno that included an ESP8266 Wifi module. The setup now looks like:
DHT temp -> Arduino Uno-> 12V PWM fan | on-board serial ESP8266 -> Prometheus Endpoint | Network Prometheus Control -> Grafana
Here is a photo before making the header breakout board more permanent

The new setup lets the fan control arduino only need power and is isolated from the Raspberry Pis within the network rack
