Skip to main content

Posts

Showing posts from June, 2020

social

pop

Programming temperature sensor with microcontroller

Interfacing LM35 temperature sensor with PIC microcontroller An LM35 temperature sensor senses the temperature and produces Analog signals which is fed to a microcontroller which interprets the result. The microcontroller used here contains an Analog to Digital Converter (ADC) which receives the signals from the LM35 and produces a corresponding digital signal and the value of the temperature displayed on an LCD. Application: Room temperature control Egg incubator Dryers e.g. cocoa dryers, Green agriculture, etc. Materials: An LM35 A PIC 16F877A Two relays 2 transistors BC549 2 protective diodes (fly-back diodes) A Fan A heater A 16x2 LCD Supply DC 5/12V, AC 230V Circuit diagram of LM35 temperature sensor interface with microcontroller The circuitry is shown below Operation Lets control the temperature such that if the temperature is less than 25 degree Celsius, the heater is put ON and the fan OFF. If the temperature is about 25 degree Celsius, the