LM35 sensor temprature circuit
The LM35 is an accurate temperature sensor that will provide an analogue output of 10mV per degree C. It is very easy to interface one with a PIC 16f877.
The program is written in basic, proton compiler.
Declare XTAL 4
Declare LCD_TYPE 0 ' Type of LCD Used is Alpha
Declare LCD_DTPIN PORTB.4 ' The control bits B4,B5,B6,B7
Declare LCD_RSPIN PORTB.2 ' RS pin on B2
Declare LCD_ENPIN PORTB.3 ' E pin on B3
Declare LCD_INTERFACE 4 ' Interface method is 4 bit
Dim ADC_Result As Float
Dim Temp_Float as Float
ADCON1 = %10000000 ' Set all to analogue inputs (PORTA)
TRISA = $FF ' Declare porta as all inputs
ADC_Result = ADIN 0
Temp_Float = ADC_Result * 5000 / 1023 ' to reduce decimal error
Print At 1,1, Dec1 Temp_Float , 0, "C "
LM35 Interfacing with microcontroller PIC16f877, LCD and LM35 with microcontroller PIC, how to use LM35 with PIC microcontrollers,source code for LM35, basic language source code, example program of microcontroller having interfaced lm35 and LCD 2line to show reading programme in basic langauge,LM35 - Precision Centigrade Temperature Sensor,LM35 LM35A LM35C LM35CA LM35D Precision Centigrade Temperature Sensors An Integrated Circuit Temperature Sensor Temperature sensor tutorial - Using the TMP36 / LM35 Its very similar to the LM35/TMP35 (celsius output) and LM34/TMP34 (farenheit output). The reason we went with the '36 instead of the '35 or '34 Interfacing Temperature Sensor with AVR Microcontrollers - LM35 Waterproof a LM35 Temperature Sensor Project using LM35, ADC0804, LCD in Assembly LM34/LM35 Precision Monolithic Temperature Sensors 12F675 tutorial 4: Making an LM35 temperature recorder.Measuring temperature using the LM35 sensor LM35 sensor temprature circuit