LEGO® Mindstorms™ NXT™ Power Programming; Robotics in C

by Unknown
  • ISBN13:


  • ISBN10:


  • Edition: 2nd
  • Format: Trade Paper
  • Copyright: 9/1/2009
  • Publisher: Variant Press

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping On Orders Over $59!
    Your order must be $59 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $29.95 Save up to $28.95
  • Rent Book $5.00
    Add to Cart Free Shipping


Supplemental Materials

What is included with this book?

  • The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
  • The Used and Rental copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.


With fun projects, tips, instructions, illustrations, and programs, this comprehensive companion to the powerful Mindstorms NXT robot kit will help LEGO popularize robotics in the way that the iPod did for digital music. This second edition to programming on the NXT helps users make the most of the latest LEGO Mindstorms NXT release for further robot enhancements. Included is an ingenious set of projects that explore the complete arsenal of basic and advanced NXT functionality. At the heart of these projects is Versa, a versatile mobile robot platform that utilizes modular attachments.

Author Biography

John C. Hansen is the creator of several LEGO Mindstorms tools and utilities, including the Bricx Command Center and the NXC and NBC programming languages for the NXT. 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.

Table of Contents

Prefacep. v
Table of Contentsp. vii
Getting Startedp. 1
Purpose of this bookp. 2
Programming Languagesp. 3
NBC/NXC Quick Startp. 6
The NXT Hardwarep. 17
Introducing the hardwarep. 18
Moving aboutp. 24
Sensing surroundingsp. 27
The NXT Firmwarep33
The menu interfacep. 34
Introducing the firmwarep. 37
Building Without Bricksp. 39
Technic Bricksp. 40
Unitsp. 42
Beamsp. 42
Making the connectionp. 43
Gearsp. 49
Online Resourcesp. 53
Bricx Command Centerp. 55
Connecting to the brickp. 56
The programmer's editorp. 64
Drag and drop programmingp. 80
Exploring your codep. 82
Managing macrosp. 84
Compiling and runningp. 86
Exploring the tool windowsp. 88
Getting helpp. 105
NXT Utilitiesp. 107
Creating Melodiesp. 108
Creating Soundsp. 113
Creating Picturesp. 116
Decompiling NXT Executablesp. 122
Exploring the NXTp. 123
Virtual NXTp. 127
Programming the NXTp. 131
Introduction to Cp. 132
NXC Overviewp. 133
NQC Compatibilityp. 154
RICScript Overviewp. 166
NXT Programsp. 168
Advanced Programmingp. 171
Introduction to Assemblyp. 172
NBC Overviewp. 173
Building Versap. 207
Basic NXT Outputsp. 233
Motorsp. 234
LCD Screenp. 248
Soundsp. 257
Basic NXT Inputsp. 261
Buttonsp. 262
Basic Sensorsp. 264
Advanced NXT Outputsp. 291
Creating and Writing to Filesp. 292
Sending Messagesp. 299
Custom I2C Output Devicesp. 305
Advanced NXT Inputsp. 309
Advanced Sensorsp. 310
Opening and Reading from Filesp. 317
Receiving Messagesp. 320
Custom Analog Sensorsp. 322
Custom I2C Input Devicesp. 324
Games People Playp. 337
Tic-Tac-Toep. 338
Pongp. 345
Bluetooth Direct Commandsp. 353
Direct commandsp. 354
Building and programming a Bluetooth-based PC Joystick remote controller and NXT carp. 358
Robotic Armp. 371
Drawing shapes with your NXTp. 401
NXC Quick Referencep. 413
NXT Firmware Modulesp. 479
NXT Picture Formatp. 523
Indexp. 535
Table of Contents provided by Ingram. All Rights Reserved.

Rewards Program

Write a Review