| | GP2D02 conversion
|
| Does anyone how I could create a lookup table or an algorithm to convert the output of the Sharp GP2D02 (0 to 255 = byte) to values between 10 and 80 cm, which is the reading capability of the IR? Thank you, J.M. Mongeau (25 years ago, 13-Jan-00, to lugnet.robotics.handyboard)
| | | | Re: GP2D02 conversion
|
| (...) You mean like value = 10 + ((70 * b) / 256) ? --Ben (25 years ago, 14-Jan-00, to lugnet.robotics.handyboard)
| | | | Re: GP2D02 conversion
|
| (...) Actually, the GP2DO2's output is not at all linear. Plotting the output against the actual distance will show an exponential curve. Each one is slightly different so what I do is to make up a little table in Excel like: 0,0 70,10 116,15 142,20 (...) (25 years ago, 14-Jan-00, to lugnet.robotics.handyboard)
| | | | Re: GP2D02 conversion
|
| (...) Sorry for two messages about the same subject but after playing around a bit more with it I got better results. Here is the spreadsheet to calculate the constants to convert the GP2D02 output to centimeters: 0.1233 1.0320 9.3078 GP2D02 Actual (...) (25 years ago, 15-Jan-00, to lugnet.robotics.handyboard)
| | | | Distance Sensors
|
| Hi All: Does anyone know of any good mini distance measuring sensors which can be used with a microprocessor? The required range is 0-30 mm and small size. Names of distributors would be greatly appreciated. Thank You. Raj (25 years ago, 25-Jan-00, to lugnet.robotics.handyboard)
| | | | Re: Distance Sensors
|
| Hi Raj, Your range of interest is small, but see if you can get anything out of the Sharp IR sensors from Acroname ((URL) luck! (...) ______ ______ ---...--- |_ _| |_ _| Kam Leang | |______| |______ University of Utah | |_ _| |_ _| Department of (...) (25 years ago, 25-Jan-00, to lugnet.robotics.handyboard)
| |