Jin Sato's Lego Mindstorms: A Book Review

Definitely more for the advanced Lego fan, this book offers a lot of tips and hints for building your own robots.

Title: Jin Sato's Lego MindstormsAuthor: Jin SatoPublisher: No Starch PressISBN: 1-886411-56-5

Lego Mindstorms is one of the greatest geek toys around, and Jim Sato clearly is a master Mindstorm user. Jin Sato's Lego Mindstorms tells you how to design, assemble and program a number of robots, but it goes much farther than that. It also covers things like how to clean and store your Lego bricks, design software and much more.

The book begins with a discussion of the basics, covering parts and simple construction techniques. But Sato doesn't describe only the parts that come with the Mindstorms kits; he also talks about the parts available only in other Lego TECHNIC sets.

It is not until Chapter 6 that the book begins to discuss programming. The Lego Mindstorms kit comes with its own programming system, called RCX. This software is designed to be run by seven-year-olds and is extremely limited. For the serious programmer, it is useful only for comic relief.

The good news is other programming systems exist for Mindstorms. The book discusses the other Lego-supplied system, ROBOLAB. Designed primarily for schools, this system contains a much better programming environment, but one that is still designed for children.

For hackers, a variety of programming languages are available. The first, NQC (Not Quite C) is a C-like language. Here, though, is where one of the weaknesses of the book shows up: it's Windows-centric. Although NQC is available for Linux, only the Windows version is discussed.

The other programming system discussed is legOS. This system lets you program the Mindstorms controller in C or C++, and it gives you greater control over what the system does.

The book does not limit itself to software that can be used to control the robot. It turns out that a number of CAD packages are available, such as LEdit/LDraw, MLCad, L3P and POV-Ray.

The LDraw package contains a database of all the Lego brick shapes. It is used by the MLCad program to let the user design his robots (or anything else Lego) in cyberspace instead of having to click bricks together. Finally L3P and POV-Ray can be combined to produce very nice 3-D views of the finished creation.

The real fun of Mindstorms, however, comes from building the robots, and this book contains a number of examples. Each one is designed to be fun as well as to demonstrate different design and programming techniques. There are robots that roll, robots that walk and robots that grab.

The ultimate robot is MIBO, the robotic dog. Created shortly after Sony came out with its robot dog AIBO, MIBO can walk, move its head, sit down and wag its tail. The good news is it's a neat robot; the bad news is you can't assemble it with only the parts that come with a single Mindstorms kit. It takes at least two Mindstorms and a number of parts from other places to get the thing built.

The book concludes with a chapter describing all the chores a true Lego master must do at some time or other. These chores include cleaning the parts and organizing your collection. Also, some practical advice is offered on where to get parts and where to find parts that are out of production. (Hint: garage sales. The boxes look shoddy, but the bricks often are in good shape.)

Although this book contains a great deal of information about Lego Mindstorms and Legos in general, its approach is somewhat uneven. For example, chapter 1 discusses the benefits of offsetting each row of bricks during construction (something my seven-year old nephew knew already).

The book provides almost no information about installing the Cygwin software system. All it really tells you to do is download the software and run SETUP.EXE.

If you are looking for a book that will take you step-by-step through the process of assembling and programming Mindstorms robots, this book is not for you. Too many of the steps are inadequately explained, missing or Windows-centric. On the other hand, if you are the adventurous type, or a Mindstorms hacker, this book is full of information, advice and techniques you can use. If filling in the gaps and scrounging for parts is your idea of recreation, then this is the book for you.


White Paper
Linux Management with Red Hat Satellite: Measuring Business Impact and ROI

Linux has become a key foundation for supporting today's rapidly growing IT environments. Linux is being used to deploy business applications and databases, trading on its reputation as a low-cost operating environment. For many IT organizations, Linux is a mainstay for deploying Web servers and has evolved from handling basic file, print, and utility workloads to running mission-critical applications and databases, physically, virtually, and in the cloud. As Linux grows in importance in terms of value to the business, managing Linux environments to high standards of service quality — availability, security, and performance — becomes an essential requirement for business success.

Learn More

Sponsored by Red Hat

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState