Chapter 1. Robots and Programs


Without a program, a robot is just an assembly of electronic and mechanical components. This book shows you how to give it a program.

The LEGO® Mindstorms® kit contains the parts and directions for building the following four different types of robots:

  • A vehicle called a Tribot
  • A machine called a RoboArm
  • An animal called Spike the scorpion
  • A humanoid Alpha Rex

Of these, Alpha Rex is closest to most people's idea of what a robot is. But Tribot and RoboArm are typical of robots commonly seen in industrial situations. It is a lot of fun building them, testing them with the few simple programs that come with the kit, and then getting them to do new and interesting things by writing your own programs. ...

Get Programming Lego Mindstorms NXT now with O’Reilly online learning.

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