https://circuitdiagrams.in/temperature-controlled-fan/
Arduino Based Temperature Controlled Fan Using DHT11 Sensor