I HAVE THE SAME PROJECT USING LM35 WITH THE 8051UC I REQUEST FOR THE COMPLETE DETAIL OF THE PROJECT AS I AM NEW IN THE FIELD START FROM THE BASICS WHAT I HAVE TO DO ??????????????????
Added after 1 minutes:
I HAVE TO RUN A ALARM ALSO USING TEMPRATURE SENSING AND UCONTROLLER 8051
I havent done this project of temperature measurement with the 8051 myself but a friend of mine once did it so I can give u a rough idea.
The LM35 is a temperature sensor it will sense the temperature and give some analog output in the form of voltage this voltage will be fed into an A to D converter ( u can use ADC0804). The A to D converter will give some digital output corresponding to the voltage level. This digital output will be given to the uC. The 8051 will then drive 7 segment LED displays attached to it and display the temperature accordingly.
For the alarm you can use a piezo buzzer which will be controlled by the 8051 through a transistor acting as a switch.
the sensor measures the temperature and outputs it in voltage form
this voltage is then inputed to an Analog to Digital converter (ADC)
this ADC outputs digital data according to the different voltage levels (corresponding to temperature changes)
u take this digital data and work on it with the microcontroller
u can output the temperature on LCD or 7 segment
u can make it convert from celsuis to fahrenheit
or makes a buzzer if the tempertaure exceeds a certain limit
just get the sensor and ADC datasheets and use two ports from the 8051 (one input from the ADC and one for the interface)
u can also use pic16f877...it has an internal ADC....so u won't need a separate chip from sampling
shift the sensor output voltage to a level using a summing amplifier/level shiter to zero volt minimum , then amplify that to get 0-5V . use this as one analog input to microcontroller and give 0-5V variable voltage using pot to another analog(set point)input . by comparing the analog1 with analog2 u can high or low one digital output which can be used to drive ur alarm circuit.
u can do it with avr microcontroller. I have provided c code and schematic in my book. Use same logic with 8051. Here is my book
MY EXPERIENCE IN PROGRAMMIGN AVR MICROCONTROLLER IN C USING WINAVR
GET IT FREE FROM http://groups.yahoo.com/group/booksbybibin/
comments abt this book on
hi... i have same project to but i am using Z8f082A microcontroller. Can someone give me a circuit diagram connection for an LM35 to a Z8 microcontroller. Please 8O