[SOLVED] 8051 and ADC0804 interface code related Convert ADC Value to display voltage

Status
Not open for further replies.
I have used SDCC C Compiler with M-IDE Studio http://www.opcube.com/home.html

As a LCD library I have two files downloaded from here: http://www.8051projects.net/download-d5-lcd-library.html

---------- Post added at 17:56 ---------- Previous post was at 17:50 ----------


The lcd.c file is missing. I have never used Keil compiler. So I don't know if any LCD library present in it or what is it's name.
 

Hi, Mr. Papunblg, wondering do you have a complete diagram of this project, such may include LM35, ADC, and LCD. according to the code that you are providing. thank you for you response.
 

Write now I dont have ready code. But if you want to get, there is a similar diagram with code in Muhammad Ali Mazidi's book on 8051 Microcontroller
 


Read the following line :-
To check that flag you need to make R/S=1 and RS=0 and a low to high pulse for the E pin. After that P1.7 reflects the state of busy flag.

as-

To check that flag you need to make R/W=1 and RS=0 and a low to high pulse for the E pin. After that P1.7 reflects the state of busy flag.
 

Dear Mr. Papunblg,

In summary:
1) Could you please share the assembly code and give some advice, example: How to view 5V in LCD while step resolution 255, what formula need to use/what method need to use???

My project testing able to show the response of step resolution from 0 to 255 but don't know How to show the actual voltage

thanks for cooperation and great support
Aljabar...
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…