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


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

Get Basic Robot Building With LEGO Mindstorms NXT 2.0 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.