• Jun 28, 2026 temperature fan control using lm35 with microcontroller supply (Vcc and GND) connected to LM35 and microcontroller. A relay module or transistor connected to a digital output pin for fan control. Fan connected through relay contacts to power source. Sample Code Logic By Jerry Bosco