Line follow sensor:
Problem: The surrounding light has influence on the line follow censor.
The line follow sensor is a light source that shines its light downwards and two light dependent sensors that receive the reflected light from the surface. I did two measurements, one normal and one when the Asuro robot was covered with two hands.
Normal:
Sensor left, white surface: 970
Sensor left, black surface: 262
Sensor right, white surface: 912
Sensor right, black surface: 298
Covered:
Sensor left, white surface: 600
Sensor left, black surface: 160
Sensor right, white surface: 514
Sensor right, black surface: 146
The following of a line is based on the difference between the two light dependent sensors, for this the absolute values are not that important.
But I also want to recognise a crossroad. The crossroads have a grey colour. I want to link a certain grey to an absolute value of the light dependent sensors.
Modifications:
I built a small shroud around the line follow sensor. This shroud is an old cap from a 9-pin SUB-D connector, from which I removed the top half. De distance between the shroud and the surface is minimal (about 0,5 mm) and that's why the surrounding light has no more influence.
With the shroud:
Sensor left, white surface: 520
Sensor left, grey surface: 375
Sensor left, black surface: 91
Sensor right, white surface: 440
Sensor right, grey surface: 310
Sensor right, black surface: 70
The result of this modification is a dependable measurement for white, grey and black.
[563]