Line Follower Sensor Spacing
RoboticsProfessor
Posts: 54
If you space five sensors at just the right distance, you can always get patterns with·a single·one like:
00000
10000
01000
00100
00010
00001
...showing the black tape moving from left to right·under the array.
You can also move them closer together. Just enough that for a very brief period, two sensors can see the black line. This gives you more possibilities, like:
00000
10000
11000
01000
01100
00100
00110
00010
00011
00001
It seems the second choice offers more precision. What is your experience? Have you tried this. What do you think?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Richard Vannoy
Programming and Electronics Instructor
www.RichardVannoy.info
·
00000
10000
01000
00100
00010
00001
...showing the black tape moving from left to right·under the array.
You can also move them closer together. Just enough that for a very brief period, two sensors can see the black line. This gives you more possibilities, like:
00000
10000
11000
01000
01100
00100
00110
00010
00011
00001
It seems the second choice offers more precision. What is your experience? Have you tried this. What do you think?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Richard Vannoy
Programming and Electronics Instructor
www.RichardVannoy.info
·
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
With BOE-Bot, it travels too slow for closer spacing to make much of a difference.
With 3PI, the sensor spacing is not adjustable.
I'm thinking next semester of taking some powerful 12 volt motors I have and using the close spacing to beat the approx 2 M/S that our 3PIs are doing.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Richard Vannoy
Programming and Electronics Instructor
www.RichardVannoy.info
·
Richard Vannoy
Programming and Electronics Instructor
www.RichardVannoy.info
·
For example, instead of:
00000
10000
01000
00100
00010
00001
in actuality the data possibilities would look more like this....
00000
10000
00000
01000
00000
00100
00000
00010
00000
00001
The same number of data points as in your second set of data
I assume that in your second set of data with the sensors closer to one another that you ignore the data with the ODD number of data bits to confirm your position, This would have the same effect as assigning 00000 as a do-nothing with the first set of data with the sensors further away from one another.
What you do gain with having the sensors closer together is a faster reaction time or a need to react faster, but your resolution should not change in either position.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.