Succesive Aproximation Normalization Filter

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: Parallax Inc, created: 2015-01-22 | updated: 2015-01-22

Purpose: Take a data value where you know the upper and lower limits and "normalize" the data so that it proportionally scales to a binary weighted value.

For instance, say you have a potentiometer that reads 204 on one extreme and 8453 on the other extreme.  ...And the current value is 2834. You want to scale that to a 12-Bit number?  Simply load the Data, BitResolution, RefLOW, RefHIGH variables and call the function.  The returned value will contain the result. 1306 in this case.

Original File Upload
Package icon Succesive-Approx-Norm-Filter-v1.1-DEMO.zip11.95 KB