This application note describes the method of defining the system for regulating the speed of the 5 Vdc fan using an ST72651AR6 microcontroller and digital temperature sensor STDS75 or STLM75. The sensor measures the temperature data and communicates this data to the microcontroller. Based on this temperature data, the microcontroller issues a PWM signal with varying duty cycle to the fan for regulating its speed.