The GP2D02 output is an exponential curve so plugghing the a bunch of samples into a TI calculator and solving for the coefficients gave me the following two equations for two different sensors. G is 255 minus the ouptut reading from the GP2D02. (...) (25 years ago, 1-Jun-99, to lugnet.robotics.handyboard)
|