User manual

66l Robotics experiment with PIC microcontroller
GP2D120
output volta
g
e (V)
10-bit
A/D converter result
Distance
(cm.)
0.4 82 32
0.5 102 26
0.6 123 22
0.7 143 19
0.8 164 16
0.9 184 14
1.0 205 13
1.1 225 12
1.2 246 11
1.3 266 10
1.4 287 9
1.5 307 8
1.6 328 8
1.7 348 7
1.8 369 7
1.9 389 6
2.0 410 6
2.1 430 6
2.2 451 5
2.3 471 5
2.4 492 5
2.5 512 5
2.6 532 4
Table 5-1 : The relation of GP2D120 output voltage, A/D converter result and
Measured distance.