6

understanding sensors

The LEGO MINDSTORMS NXT 2.0 robotics kit includes three types of sensors: Ultrasonic, Touch, and Color. You can use these sensors to build a robot that makes sounds when it sees you or to build a vehicle that drives around while avoiding walls or that follows the black line on the Test Pad. This second part of the book will teach you what you need to know in order to create working robots with sensors.

To learn how to work with sensors, you’ll upgrade the Explorer robot by adding several sensor attachments to it to create the Discovery robot shown in Figure 6-1. You’ll learn to create programs for robots with sensors as you upgrade your robot with an Ultrasonic Sensor attachment. Once you have a good working knowledge ...

Get The LEGO MINDSTORMS NXT 2.0 Discovery Book 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.