I have to make a peak-based temperature controller for my PFE, I chose the 16F877A and for the sensor I was advised the LM335, I was helped for programming with microC,
The intended operation is as follows:
- At the connection of the set a green LED indicates the presence of the 5V, the heater is at a standstill.
- When heating an LED (Red) is on.
- The temperature measured by the LM35 is permanently displayed.
- When the desired temperature is reached, an LED (green) lights up. This same LED goes out if the temperature drops below a certain threshold.
I explain my problem:
PUT a standard value in the µc !
make a contact between the µc and the pushbutton !
compare the LM35 and the given temperature value !