Chapter 5. Line Following and Detection
A smart robot can detect its surroundings and make decisions based on its findings; a smart robot is a winning robot. One of the ways to make your robot smart is by giving it the ability to receive input from the game field. Using a light sensor on your MINDSTORMS robot is a great place to start when adding some intelligence. I have found that many new teams are intimidated by using sensors other than the rotation sensors built into the NXT servos, but this doesn't need to be the case.
One of the great things about the NXT Light sensor is that it's pretty much a passive sensor from a hardware perspective: you simply put it on your robot facing the direction you wish to use for detection and wire it up, and ...
Get Winning Design!: LEGO MINDSTORMS NXT Design Patterns for Fun and Competition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.