| Author |
Message |
kerolUnimap88
Joined: 01 Aug 2008 Posts: 2 Location: Malaysia
|
01 Aug 2008 10:07 interfacing LM35 to 89c51 microcontroller. |
|
|
|
|
Hi..Im Rafi
how to interfaced LM35DZ with ADC.I have no idea to do it...the ADC that i use is ADC0804...and what amplifier that i want 2 use?
please help me sir..
|
|
| Back to top |
|
 |
Google AdSense

|
01 Aug 2008 10:07 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
ahmedshakeel
Joined: 07 Feb 2007 Posts: 41 Helped: 2 Location: Pakistan
|
01 Aug 2008 10:53 Re: interfacing LM35 to 89c51 microcontroller. |
|
|
|
|
hi
following link will help u interface adc 0804 with 89c51
http://www.freewebs.com/maheshwankhede/adcdac.html.LM35 has Linear + 10.0 mV/°C scale factor, that means for every degree rise in temperature its voltage is incresed by 10mv.u have to provide voltage (Pin 1)and ground(pin 3) to LM35(for TO92 and TO220) ,connect output (pin 2) either directly to 0804 input or use lm358 to amplify the input signal ,u can use following formula to calculate the LM35 output and then process it to get degree centigrade values.
Analog voltage=ADC value*Step size.
step size=vref/256,
256 is used as u will be using 8bit ADC.
Shakeel
|
|
| Back to top |
|
 |
tutx
Joined: 04 Mar 2004 Posts: 152 Helped: 16
|
01 Aug 2008 12:11 interfacing LM35 to 89c51 microcontroller. |
|
|
|
|
| There is enough information for the interface in the data sheet of LM35. Pls take a look.
|
|
| Back to top |
|
 |
Abhishekabs
Joined: 12 Jan 2007 Posts: 727 Helped: 84 Location: India
|
04 Aug 2008 5:38 interfacing LM35 to 89c51 microcontroller. |
|
|
|
|
Use At 89C2051 20 pin microcontroller
It has inbuilt ADC.
|
|
| Back to top |
|
 |
ahmedshakeel
Joined: 07 Feb 2007 Posts: 41 Helped: 2 Location: Pakistan
|
07 Aug 2008 12:48 Re: interfacing LM35 to 89c51 microcontroller. |
|
|
|
|
| Abhishekabs wrote: |
Use At 89C2051 20 pin microcontroller
It has inbuilt ADC. |
Hi
I have never seen built in ADC in 89c2051 ,u might be talking about analog comparator.
Shakeel
|
|
| Back to top |
|
 |
Abhishekabs
Joined: 12 Jan 2007 Posts: 727 Helped: 84 Location: India
|
07 Aug 2008 13:16 Re: interfacing LM35 to 89c51 microcontroller. |
|
|
|
|
Yeah
ahmedshakeel is right.
I was talking about same.
You can use that comparator to make ADC.
Thats why Atmel has placed comparator inbuilt.
|
|
| Back to top |
|
 |