@amando96 The number on the LCD is an estimate of the line position calculated from the values of all five line sensors. The line position ranges from 0 at one extreme (the line is to the left of the leftmost sensor) to 4000 at the other extreme (the line is to the right of the rightmost sensor). The line position is 2000 when the line is directly under the middle sensor (sensor 2). It works well to perform PID control using this line position value.
This is one "reflective" video. =p
gusmcleod922 1 month ago
This video is a favorite on Dominican Republic
tybruce37 2 months ago
why are the values enormous? like between 1000, and 6000? i thought it only had a 10-bit adc?
amando96 1 year ago
@amando96 The number on the LCD is an estimate of the line position calculated from the values of all five line sensors. The line position ranges from 0 at one extreme (the line is to the left of the leftmost sensor) to 4000 at the other extreme (the line is to the right of the rightmost sensor). The line position is 2000 when the line is directly under the middle sensor (sensor 2). It works well to perform PID control using this line position value.
BenPololu 1 year ago
@BenPololu Ah thanks, that is a good idea, i'm just adding PID to mine, and was just using 00100 = middle, 10000 = far right etc...
theguyyoulovetohate 1 year ago
Really neat! I like the track you made. That little thing can fly!
icollectstuffdude 2 years ago