Before couple of weeks i remember somthing circut on inet. Collector and base on transistor detect temperature dissparation. Next stage is the op amp whos spin dc fan as a lamp on circuit. Bottom near opamp i add and trimmer it works as fan speed also he depent vout.