For code: https://www.dropbox.com/s/813fuaigke4yrq3/main.c?dl=0
Fan speed control system based on room temperature using Pulse width Modulation Technique
The duty cycle is made to vary according to the room temperature and the fan speed is controlled accordingly.
Post time: Jun-16-2017