Temperature reaches or exceeds the set value, control level is low, pause heating
Leave a message
Temperature reaches or exceeds the set value, control level is low, pause heating
Use an interrupt input from P3 to generate an interrupt and send the keyboard code into the microcontroller. At the same time, use the two non interrupt inputs of P3 as the set/start conversion key and the temperature/time setting conversion key, and use the query method to check whether they are inputted.
During initialization, reset the timing to zero and default the control level to high. After data input, control the level output, connect the heating circuit, and start heating. When the temperature reaches or exceeds the set value, the control level is low and heating is suspended; When the temperature drops below the set temperature and the control level is high, reheat to achieve constant temperature. In the block diagram, the timing step needs to complete two functions: delay and timing. Before the temperature reaches the set value, do not count and only complete the delay function of 0.1s. After 0.1s, jump to the temperature detection step to continue executing. When the temperature reaches the set value for the first time, the heating stage ends, the insulation stage begins, and the timing starts accordingly. The specific implementation is to increase the timing variable by 1 after the delay ends, and then jump to temperature detection. In the future, every time the timing step is executed, the timing will not stop, regardless of whether the control level is low (high). During the timing process, carry can also be used to avoid data overflow. (The method is to reset the variable that measures 0.1 seconds to zero after reaching 10 and add 1 to the variable that measures seconds. Repeat this process until it reaches the measurement minute.) After the timing is completed, the program ends, the control level is low, and heating stops. Thus achieving precise to second constant temperature time control. We use Zener diodes as voltage stabilizing elements and use variable resistors to divide the voltage, adjusting the output voltage V1 to 2.73V. When the heated object reaches the set temperature, the central control circuit outputs the corresponding level to control the heating circuit to disconnect and stop heating.
Www.superbheater.com







