Jin Sato's Lego Mindstorms: A Book Review
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.
|Designing Electronics with Linux||May 22, 2013|
|Dynamic DNS—an Object Lesson in Problem Solving||May 21, 2013|
|Using Salt Stack and Vagrant for Drupal Development||May 20, 2013|
|Making Linux and Android Get Along (It's Not as Hard as It Sounds)||May 16, 2013|
|Drupal Is a Framework: Why Everyone Needs to Understand This||May 15, 2013|
|Home, My Backup Data Center||May 13, 2013|
- New Products
- Linux Systems Administrator
- Senior Perl Developer
- Technical Support Rep
- UX Designer
- Designing Electronics with Linux
- Dynamic DNS—an Object Lesson in Problem Solving
- Using Salt Stack and Vagrant for Drupal Development
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Nice article, thanks for the
5 hours 29 min ago
- I once had a better way I
11 hours 15 min ago
- Not only you I too assumed
11 hours 32 min ago
- another very interesting
13 hours 25 min ago
- Reply to comment | Linux Journal
15 hours 19 min ago
- Reply to comment | Linux Journal
22 hours 13 min ago
- Reply to comment | Linux Journal
22 hours 29 min ago
- Favorite (and easily brute-forced) pw's
1 day 20 min ago
- Have you tried Boxen? It's a
1 day 6 hours ago
- seo services in india
1 day 10 hours ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi
It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?