5. Project: Clothesline Cruiser

Now that we’ve delved into Mindstorms and its programming environment, let’s expand our skills by building and programming an even more complicated robot! The Clothesline Cruiser is a robot that rolls along a clothesline, transporting action figures from one side of the room to the other (see Figure 5.1). One new twist we’re exploring with this robot is its interaction with sensors. It has two:

• An ultrasonic sensor that sees with sound, detecting objects in its vicinity

• A touch sensor that sends a signal to the NXT brick when its button is pressed

Image

Figure 5.1. The Clothesline Cruiser is a robot that travels along ...

Get Basic Robot Building With LEGO Mindstorms NXT 2.0 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.