Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
LM35 gives an analog output. It outputs 10mV per degree Celsius. You will need an ADC (analog to digital converter) to interface the LM35 to the microcontroller. Few 8051 microcontrollers I know of have an on-chip ADC. So, you may need to use an external ADC such as 0804.