Sell Back Your Copy
For a $1.00 Gift Card
Trade in
Have one to sell? Sell yours here
LEGO Mindstorms NXT Power Programming: Robotics in C
 
See larger image
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

LEGO Mindstorms NXT Power Programming: Robotics in C [Paperback]

John C. Hansen (Author)
4.0 out of 5 stars  See all reviews (11 customer reviews)


Available from these sellers.


Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Paperback $18.43  
Paperback, November 7, 2007 --  
There is a newer edition of this item:
LEGO Mindstorms NXT Power Programming: Robotics in C LEGO Mindstorms NXT Power Programming: Robotics in C 4.0 out of 5 stars (11)
$18.43
In Stock.

Book Description

November 7, 2007 0973864923 978-0973864922

NXT Power Programming delivers everything you need to create the robot you've always dreamed about. This is the definitive guide to C programming by the developer of some of the most powerful and popular development tools for LEGO MINDSTORMS. John C. Hansen presents a comprehensive yet friendly set of tools that allow you to create almost any robot you can imagine.

Inside, you'll find an ingenious set of projects that explore the complete arsenal of NXT functionality. At the heart of these projects is Versa, a versatile mobile robot platform utilizing modular attachments.

Master the Art of:

• NXC, a C language for the NXT

• BricxCC, a full featured programming environment

• Sensors and Motors

• Utilities for Music, Sound Sampling, Graphics and more

• NBC, an Assembler Language for the NXT

• Building Robots without Bricks

• Handheld Arcade Games on the NXT

• An Intruder System using a Sphere Cannon

• NXT to NXT Bluetooth communications

• NXT to Bluetooth devices

• The latest sensors from HiTechnic and mindsensors.com



Editorial Reviews

About the Author

John Hansen is the author of several popular LEGO MINDSTORMS tools and utilities, including the Bricx Command Center as well as the NeXT Byte Codes (NBC) and Not eXactly C (NXC) programming languages for the NXT. He actively maintains the Not Quite C (NQC) tool for programming previous generations of LEGO MINDSTORMS products. He was a member of the MINDSTORMS Users Panel, the MINDSTORMS Developer Program, and is currently a member of the MINDSTORMS Community Partners. He lives in Nashville, Tennessee.


Product Details

  • Paperback: 560 pages
  • Publisher: Variant Press (November 7, 2007)
  • Language: English
  • ISBN-10: 0973864923
  • ISBN-13: 978-0973864922
  • Product Dimensions: 9.6 x 7 x 1.2 inches
  • Shipping Weight: 1.9 pounds
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (11 customer reviews)
  • Amazon Best Sellers Rank: #1,138,388 in Books (See Top 100 in Books)

Customer Reviews

Most Helpful Customer Reviews
30 of 30 people found the following review helpful
Format:Paperback
While the official NXT-G programming language included in the LEGO Mindstorms NXT set works well for many people, what if you want to increase your programming potential or simply prefer a text-based language rather than a graphical one? John C. Hansen's book provides the answer to both of these questions by teaching you how to program the NXT in NeXT Byte Codes (NBC) and Not eXactly C (NXC).

The book begins with an introduction to some basic programming concepts and then shows you how to set up NBC/NXC. Since these unofficial languages are based on the standard firmware, you don't have to download custom firmware to your microcomputer, making setup a breeze. Chapters 2 through 4 discuss the NXT hardware, NXT firmware, and basic construction concepts, respectively. If you're new to the NXT set, you'll find these chapters helpful.

Chapter 5 covers the BricxCC IDE, which supports NBC, NXC, and a number of other languages. This is definitely one of my favorite chapters. BricxCC is an incredibly powerful but user-friendly program, and this chapter shows how to effectively use and customize BricxCC. Perhaps the most interesting chapter in the book is Chapter 6, which discusses free NXT utilities that perform miscellaneous functions.

The real power programming begins in Chapters 7 and 8, which cover NXC and NBC. If, like me, you've programmed the RCX microcomputer in Not Quite C (NQC), you'll be glad to see that Hansen created NXC with a lot of the same features and same "feel." Naturally, these chapters are most easily understood if you have a background in C or programming in general, but such knowledge is not required. The book assumes you are a beginner and explains fundamental programming concepts. If you need more information about a basic concept that the book doesn't discuss in great detail (for example, using arrays), you could easily consult an online resource.

Chapters 9 through 16 teach you how to build a basic robot (Versa), program basic and advanced NXT outputs, program basic and advanced NXT inputs, create an intruder alert robot, explore "games that people play" on the NXT, and control an NXT robot remotely. It is through these chapters that you get practical experience in using NBC/NXC.

In conclusion, if you're looking for an effective and user-friendly text-based programming language for the NXT, then this book is for you. NBC, NXC, and the BricxCC IDE are outstanding resources, and this book teaches not only the basics but also quite advanced concepts (which will be of interest to expert users out there). Bear in mind, however, that this isn't primarily a book of building instructions. Its purpose is to teach you how to effectively program robots--and it accomplishes that purpose very well.
Comment | 
Was this review helpful to you?
19 of 19 people found the following review helpful
By Tony
Format:Paperback
Summary: An excellent 'next step' for getting the most from this powerful computer system

Mindstorms NXT is robot building tool from Lego. The centrepiece is a large "brick" containing a 32-bit ARM7 computer - the kind of computer you might find in a PDA or a Smartphone. The kit includes a graphical programming environment capable of quite complex programs as well as being accessible to beginners and youngsters. The kit also includes motors and sensors, wheels, gears, and a whole lot of technic-style Lego to hold them together.

John Hansen's book takes all of these components and organises them in a coherent and easily understandable fashion. He describes how to use the various components and explains the sensors (that range from a simple contact switch to a sophisticated ultrasonic distance sensor). However, the real strength of the book is in its approach to programming of the system.

Power Programming describes how to maximise the capability of the kit by programming it using a conventional, textual programming language that is close to standard C. This is both more natural to anyone who already has a smattering of programming knowledge and, ultimately, capable of more complex and much faster programs for the NXT. Best of all, the system that Hansen describes is a free, open-source toolkit usable on Mac, PC and Linux; just download it from the WWW and you're ready to roll.

NXC (Not eXactly C) and the complementary assembler, NBC (NeXT Byte Code) are explained in a clear and authoritative way (Hansen is the author of the compilers too) before the book explores the rest of the system. Each item is introduced in the context of a real robot (you can build these from the step by step instructions) but in a style that explains how it actually works; so the reader is left understanding how to apply each item in their own programs. Later chapters dig deeply into advanced programming of the sensors and communication between several robots without ever becoming inaccessible. And, lest I have made it all sound too dry and worthy, there are detours to examine such things as playing Space Invaders on the NXT and producing a Bedroom security system and remote controlled car.

This is a well-written, clearly presented and very well produced book from an acknowledged expert. It's not for young children but anyone with a little programming knowledge and an interest in computers and robots will find it entirely indispensable. Just beware that, while the tools it describes are free, it could well convince non-owners that they need to buy a NXT!
Comment | 
Was this review helpful to you?
12 of 13 people found the following review helpful
Format:Paperback
If you are interested in programming your NXT beyond what NXT-G can do (the environment that comes with the retail kit) this is the book for you. You don't have to change out the firmware as you do for other text based programming languages, so you can continue to use NXT-G. In fact both types of programs can reside on the NXT at the same time.

There is a great chapter giving details on the Bricx integrated development environment and all the tools that come with it. It is very complete.

The versa bot that is detailed in the book is a great platform to add to and make your own modifications to. I have already made several of my own modules for it and wrote programs to take advantage of them with NXC.
There are several other bots to be built in the book that I have yet to get built, as I am still adding to the versa bot, but I definitely will though. The etch a sketch one looks really cool and I am sure programming it will teach me a lot.

Thanks should go out to John Hansen (the author) for all the contributions he has made, and continues to make to the Mindstorms Robotic community. The Mindstorms is a great platform to aid the young in learning and teaching the old to stay young.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
C programming
If you already know C this book might be helpfull. There is an overwhelming ton if information.

If you are looking to get started programming in C Looks else were
Published 5 months ago by pete
Pretty darn good!
This book is a great read. It provides lots of information about programming and blue tooth communications. It also is useful for learning about sensors, motors and building. Read more
Published 6 months ago by Jon. D. S.
needs a few more comments
I got this book because I wanted to learn a written programming language for the NXT, and I have gone through most of it. Read more
Published 9 months ago by money000
The "missing manual" for NXC and NBC
If you're going to use NXC to program the mindstorms brick then you probably want to save yourself some trouble and get this book. Read more
Published 10 months ago by Omega Man
Good book
It is a very good book for learning to program Mindstorms robots in NXC. This book teaches us to send NXC programs to the brick. Read more
Published 12 months ago by Gleizes
Mindstorms power programming
A very good source for procedures and programming guides. Contains important tips for routines and code development. A 'must have' reference text.
Published 18 months ago by z.concepts
Explains a difficult topic
I bought this book as an experiment because I really wanted to teach my students to use Java on their NXTs. Read more
Published on January 2, 2010 by Richard Osborne
NXT Power Programming
This is an excellent book written by someone who was involved in-depth with NXT programming as the NXT product evolved. Read more
Published on September 2, 2008 by Ronald Mcrae
Search Customer Reviews
Only search this product's reviews


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(4)
(3)
(2)
(1)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject