O'Reilly logo

Lego Mindstorms NXT-G Programming Guide, Second Edition by James Floyd Kelly

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

When it comes to the Sound and Light sensors, you will find that the minimum and maximum values of these two sensors can change from environment to environment. If your robot, for example, is located in a well-lit room, the minimum value (darkest spot in the room) will be substantially different from the minimum value the sensor obtains in a poorly lit room.

Note

The NXT 2.0 robotics kit does not come with the Light or Sound sensors, but you may still find yourself using them one day, so it's worth knowing not only how to use these sensors with your 2.0 brick but also how to calibrate them.

This chapter will show you how to use the CALIBRATE block (and the Calibrate Sensor tool built into the 2.0 software), so you can trust ...

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