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.

assembly code for lm35 interfaced to 8051 and display on lcd

Status
Not open for further replies.

shruti dhargalkar

Newbie level 2
Joined
Mar 28, 2012
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,302
hi..
i m doing my BE project.i m are using 8051 microcontroller.
i want assembly code for temperature sensor lm35 interfaced to 8051 and display on the lcd.and then to display on seven segment display.
plzz do help.its urgent..
thax.
 

yes.temperature sensed.
actually its not a led display.its a electromechanical display where the leds are replaced by the plastic segments controlled by the motors...
plz help..
 
Last edited:

you have to convert analog output to digital and for that you can use p1 port of 8051 and then interface
LCD to display the respective result, here is the program for that : **broken link removed**
or otherwise post a complete diagram including the connections of E.M.Display with 8051.
 
Firstly post your schematic . . . By the way you will require an adc0804 for converting analog value of lm 35 into digital , and also u will need an amplifier circuit between lm35 and adc , i hav recently prepared this mini project , tell me if you need any guidance

---------- Post added at 13:36 ---------- Previous post was at 13:22 ----------

here is tutorial for LM35 signal amplification :

https://www.google.co.in/imgres?imgurl=http://www.8051projects.net/e107_files/public/1237621169_14263_FT19498_temp_ckt.jpg&imgrefurl=http://www.8051projects.net/lofiversion/t19498/solvedno-output-on-lcd-screen-green-bee-project.html&usg=__xQd48KrXO51KXWGI--W3VB23IXw=&h=399&w=433&sz=28&hl=en&start=1&zoom=1&tbnid=OSMlpYkbXbLJLM:&tbnh=116&tbnw=126&ei=YhZ0T7iQE8zorQeBh421DQ&prev=/search%3Fq%3Dgreenbee%2Blm324%26hl%3Den%26client%3Dfirefox-a%26hs%3D7OB%26sa%3DX%26rls%3Dorg.mozilla:en-US:eek:fficial%26tbm%3Disch%26prmd%3Dimvnsfd&itbs=1




here is tutorial for adc0804

https://www.8051projects.net/adc-interfacing/adc0804-interfacing.php
 

hi..
i m doing my BE project.i m are using 8051 microcontroller.
i want assembly code for temperature sensor lm35 interfaced to 8051 and display on the lcd.and then to display on seven segment display.
plzz do help.its urgent..
thax.

First check this to get idea on 8051 and ADC0804 interface : https://www.edaboard.com/threads/217541/
after that check this :Display temperature on LCD 16x2 display using LM35 and Pic16F876A https://www.edaboard.com/blog/1486/
Now do some research

---------- Post added at 00:18 ---------- Previous post was at 00:14 ----------

no need of ADC : go through this link
https://www.dreamincode.net/forums/to...ith-8051-in-c/
u can convert analog to digital using 8051 port 1.

Which microcontroller you are using. There is no adc with AT89S51/52.
For details check https://www.edaboard.com/threads/57109/
 

Which microcontroller you are using. There is no adc with AT89S51/52. For details check [url said:
https://www.edaboard.com/threads/57109/[/url]

Exactly my point , that is why i was suggesting the use of adc0804
 


should we use amplifier lm 324 to the output of lm35 while interfacing with adc 0804
 

no need to use Op-Amp, ADC will do it. just set the Vref of ADC properly as per your requirement, so that you will get an accurate reading.
 

you may require an amplifier , and ya LM324 is the best choice as it requires only +5v supply
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top