- This topic has 4 replies, 4 voices, and was last updated 12 years, 5 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › How to display the exact analog value?
Hi!
I’m presently working on a data acquisition system using 8051 microcontroller and ADC 0809. I’m getting digital data in my lcd corresponding to the analog signal but I need to display the exact analog data (say 2.366V) . Could you please help me develop an asm program to display the exact analog value?
Thanking you in anticipation.
use the reverse algorithm which is used by the ADC to convert the analog siginal into digital signal.
Thank you Nikhiljain……Hope this works out.
I can’t understand. What is the reverse algorithm. Can you please explain in detail. I’m doing a project Energy Meter. It’ll be helpful for me.
if u want to display the whole digit(including decimal point ) . first display the ral part of that.then display the decimal sign..after that display the digit after the decimal point…. algorithm for the display the correct decimal point is given below …
1- reminder obtan from the real part first multiplied the 100(64h)
2-then divid the again from the divdend its give the some real part display it after the decimal sign….
3-repeat the above point again and again till which no digit want to display after the decimal point
i have done this program in assembally if any one required post here again..