Publisher's Synopsis
This circuit constructed with Arduino uno board as a main part and LM35 as a temperature sensor. The output from sensor is directly connected with analog input A0 pin of Arduino board, and the LED1 is connected with digital pin D8, the output is taken from the D11 pin of arduino, here you can choose any digital pin with PWM function as a output pin, remember to make those changes in arduino program code, here the code given based on D11 pin as a output. Whenever the temperature sensor detects the changes in temperature outside the Arduino varies the PWM output at D11 pin hence the speed of fan varies, here the SL100 transistor acts as a switching transistor.