I wish to implement a PIC16F877 based temperature controller. A LM35DZ temperature sensing IC is connected to RA0 and 10bit A/D value is used to obtain voltage values at regular intervals. The value of the obtained temperature ( LM35DZ is calibrated to 10mV/0 C) is displayed on a HD44780 LCD module which is connected on PortB and using 4-bit data lines (RB4 to RB7). The deviation from the set-point temperature is used to compute a PID output and this output is used to generate PWM control signals. Both CCP modules of the PIC16F877 are used CCP1 being connected to the gate of the heater driving NMOSFET (IRL1004) and CCP2 also to the gate of the fan driving NMOSFET. The duty cycle has to be varied in proportionto the amount of deviation.
If you have any constructive advice do not hesitate to offer it or if anyone can hook me up with a similar design or relevant source code. I am familiar with both C and Basic programming languages. My regular email is [email protected] .Thanks in advance.
Bookmarks