Quantasizing Formula


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Here's a different way to do it that should be a little more accurate.

    https://www.picbasic.co.uk/forum/showthread.php?p=2010

    Just change the Res1 and Res2 variables to match your voltage divider.
    <br>
    DT

  2. #2
    Join Date
    Jun 2007
    Posts
    4


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    Here's a different way to do it that should be a little more accurate.

    https://www.picbasic.co.uk/forum/showthread.php?p=2010

    Just change the Res1 and Res2 variables to match your voltage divider.
    <br>
    Thank you for the help,
    I tested his/her program but it presents the same problems of mine. With the increase of the tension of the source, 0-25V, the mistake is going increasing, that it begins with 1mV for 10V of the source and it arrives to 8mV with 24V of the source.

    Thank you,
    LLEEDD

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,175


    Did you find this post helpful? Yes | No

    Default

    Hmmm, I don't see how you can be more accurate since:

    1. For 8bit ADC, each step is 25/255=0.098 Volts

    2. For 10bit ADC, each step is 25/1023=0.0244 Volts.

    May be you have to use an external ADC with more resolution.

    Ioannis

Similar Threads

  1. Sine wave power inverter
    By sougata in forum mel PIC BASIC Pro
    Replies: 244
    Last Post: - 23rd February 2017, 06:16
  2. Math Formula / Variable Problem! Help!
    By bwarp in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th February 2006, 08:59

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts