I've bought the new Pololu IR sensor GP2Y0A60SZLF, and want to use it with my Netduino.
Other sensors I've used before use a linear scale for determining distance. So from the sensor output you could basically just multiply it with a simple value to get the distance.
For this sensor the output varies like this;
I'm using the 5V version, by the way.
Here the output voltage doesn't have a linear relationship with the distance.
I need to figure out a formula, or maybe create a method where I can input a few known values, and interpolate values based on that. I don't know.
Maybe someone in the NetMF/Netduino community have any experiences calculating these sort of graphs?