This circuit diagram controls fan speed based on temperature readings from a temp sensor. The temp sensor sends readings to an amplifier PWM which compares the readings to a max temp value set by the user input. The co-relator/comparator then controls the fan speed based on the comparison and displays the temperature on an LCD screen.