00:04Greetings friends, today I will present the topic related to control systems, which deals with on/off control of
00:10temperature using an oven and the PIC16F887 controller; for this I will use Proteus and PICC with PIC.
00:23VoidMain16 is already a reference. Here are the variables for reading the control signal to the cp module.
00:31In setup Timer2, T2DivBy4-249-1, describe the configuration of Timer2 to set frec, PWM to 1 kilometer.
00:44In setup CCP1-CCPPWM, the CCP1 module is configured in PWM mode.
00:53In the code setup channel 1, we choose channel 1 to read the potentiometer.
01:05Here I present the program to follow, which will deal with the objective of controlling the temperature of a thermal system.
01:12by turning the heat source on or off, such as an oven or an electric resistance heater.
01:17In the on/off control programming, if the temperature is equal to the heater turning off in the exe, the heater turns on.
01:23heater.
01:24The reference signal, desired temperature, will be adjusted with a potentiometer, for which we will use the ADC module of the
01:31PIC.
01:31The heater will be switched on and off by a relay activated by a PIC through a transistor.
01:40Here you can see the operation where oven describes temperature changes to the analog input RP0.
01:47The diagram shows the oven connection to the PIC 16 F887 port at RB0 for the input
01:55analog, a compime on the RC6 port for TX in serial communication, a 40X4 LCD.
Comentarios