NXT Line Follower - 2 views
-
When line following, the robot will try to align itself centered over the boundary between white and black (not centered over the black line), with black to the robot's left. Here the brightness seen by the sensor is halfway between the black/min and white/max readings
-
Joshua Wilkinson on 12 Mar 12This would be useful since we get the value when its over the tape and table, we can also find the value of the sensor when its directly over the tape then the table seperately.
-
-
When prompted to sample the "Min" or "Black" reading, position the sensor so that the red spot is centered over the line and then press the Enter button on the NXT. When prompted to sample the "Max" or "White" reading, position the sensor so that the red spot is completely over the surface away from the line and press the Enter button on the NXT.
-
Before line following using either the LineFollow2 or LineFollow5 program, you should "calibrate" the light sensor to the actual conditions expected. With the sensor mounted on the robot where it will be used, and the robot placed over the actual line it will be following, a calibration process takes two light sensor readings, one directly over the line (minimum = darkest), and one over the surface away from the line (maximum = brightest).
-
if we follow the edge of the line we will always be between the max and the minimum values. therefore, it can detect both values and stay between the min and the max.
-
we have to figure out how to correctly calibrate the sensors