O'Reilly logo

Winning Design!: LEGO MINDSTORMS NXT Design Patterns for Fun and Competition by James J. Trobaugh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required