Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

interfacing LM35 to 89c51 microcontroller.

Status
Not open for further replies.

kerolUnimap88

Newbie level 2
Newbie level 2
Joined
Aug 1, 2008
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Malaysia
Activity points
1,301
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..
 

hi
following link will help u interface adc 0804 with 89c51
https://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
 

    Lindo

    Points: 2
    Helpful Answer Positive Rating
There is enough information for the interface in the data sheet of LM35. Pls take a look.
 

    Lindo

    Points: 2
    Helpful Answer Positive Rating
Use At 89C2051 20 pin microcontroller
It has inbuilt ADC.
 

Abhishekabs said:
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
 

Yeah
ahmedshakeel is right.
I was talking about same.
You can use that comparator to make ADC.
Thats why Atmel has placed comparator inbuilt.
 
hi this is kiran plz send me interfacing adc vth microcontroller

Added after 1 seconds:

hi this is kiran plz send me interfacing adc vth microcontroller
 

Hi... this is sample program..
 

Attachments

  • mcs51 to lcd.pdf
    2.1 MB · Views: 159

    V

    Points: 2
    Helpful Answer Positive Rating
check this **broken link removed** for both ADC and LM35 interfacing!!
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top