EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / How to display the exact analog value?

How to display the exact analog value?

|

Microcontroller › 8051 › How to display the exact analog value?

  • This topic has 4 replies, 4 voices, and was last updated 13 years, 2 months ago by anurudh tiwari.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • February 6, 2012 at 6:43 am #1679
    Madhu
    Participant

    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.

    February 14, 2012 at 6:36 am #7160
    nikhiljain
    Participant

    use the reverse algorithm which is used by the ADC to convert the analog siginal into digital signal.

    February 15, 2012 at 5:46 pm #7171
    Madhu
    Participant

    Thank you Nikhiljain……Hope this works out.

    March 9, 2012 at 2:06 pm #7280
    Paramasivan
    Participant

    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.

    March 31, 2012 at 9:14 am #7364
    anurudh tiwari
    Participant

    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..

     

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Is AI making embedded software developers more productive? June 22, 2025
  • Can I make two inputs from one?? June 21, 2025
  • Behlke swich June 21, 2025
  • Beats Solo 4 June 21, 2025
  • Simple LED Analog Clock Idea June 21, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise