Help with scaling math..


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Default Re: Help with scaling math..

    Right. I don't know if the chart showed the actual values of the measurment or the values output by the formula used.
    In either case I don't quite understand the X-axis scale of that chart, I would've expected it to end at 100% not 120%.

    If it's the values of the actual measurments it seems to "just" be a dual slope line so it shouldn't be too hard to apply to decide if you're below or above the "knee" and act accordingly. If there's more curve to it than that a lookup table should do it and since it's not really that many values (only 50) there's really no need to do any interpolation between points.

    I'd like more data before trying to come up with a solution though. Like a table with the raw value, as seen by the PIC, for every 10% from 0-100.

    /Henrik. Not Hank :-)

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: Help with scaling math..

    your chart with equation.... how to remove first image???

    Name:  Capture.JPG
Views: 774
Size:  60.1 KB
    Attached Images Attached Images  
    Last edited by amgen; - 16th May 2017 at 00:04.

Similar Threads

  1. Scaling ADC Result to a Set Range
    By RossWaddell in forum mel PIC BASIC Pro
    Replies: 44
    Last Post: - 20th February 2016, 01:09
  2. strange A2D 5V scaling result - 16F819
    By Max Power in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 8th April 2010, 02:28
  3. Scaling ADC values
    By purkolator in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th November 2007, 05:14
  4. Help scaling voltage...
    By sirvo in forum Schematics
    Replies: 6
    Last Post: - 30th July 2007, 19:35
  5. Need help with scaling
    By champion in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 13th November 2006, 03:20

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