LEGO Mindstorms NXT Power Programming: Robotics in C

Overview

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 ...

See more details below
Paperback (Second edition)
$23.07
BN.com price
(Save 22%)$29.95 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (7) from $16.84   
  • New (6) from $16.84   
  • Used (1) from $23.06   
Sending request ...

Overview

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.

Read More Show Less

Editorial Reviews

From the Publisher
"Succeeds brilliantly in the difficult tasks of introducing the reader to the Java language, to the Mindstorms system, and to some programming techniques peculiar to robotics . . . in such a pleasant way that [the reader] doesn't even realize [he or she is] learning new concepts."  —Mario Ferrari, author, Building Robots with Lego Mindstorms
Read More Show Less

Product Details

  • ISBN-13: 9780973864977
  • Publisher: Variant Press
  • Publication date: 9/1/2009
  • Edition description: Second edition
  • Edition number: 2
  • Pages: 560
  • Product dimensions: 7.00 (w) x 9.20 (h) x 1.20 (d)

Meet the Author

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.

Read More Show Less

Table of Contents

Preface v

Table of Contents vii

Section I

Chapter 1 Getting Started 1

Purpose of this book 2

Programming Languages 3

NBC/NXC Quick Start 6

Chapter 2 The NXT Hardware 17

Introducing the hardware 18

Moving about 24

Sensing surroundings 27

Chapter 3 The NXT Firmwarep33

The menu interface 34

Introducing the firmware 37

Chapter 4 Building Without Bricks 39

Technic Bricks 40

Units 42

Beams 42

Making the connection 43

Gears 49

Online Resources 53

Chapter 5 Bricx Command Center 55

Connecting to the brick 56

The programmer's editor 64

Drag and drop programming 80

Exploring your code 82

Managing macros 84

Compiling and running 86

Exploring the tool windows 88

Getting help 105

Chapter 6 NXT Utilities 107

Creating Melodies 108

Creating Sounds 113

Creating Pictures 116

Decompiling NXT Executables 122

Exploring the NXT 123

Virtual NXT 127

Chapter 7 Programming the NXT 131

Introduction to C 132

NXC Overview 133

NQC Compatibility 154

RICScript Overview 166

NXT Programs 168

Chapter 8 Advanced Programming 171

Introduction to Assembly 172

NBC Overview 173

Section II

Chapter 9 Building Versa 207

Chapter 10 Basic NXT Outputs 233

Motors 234

LCD Screen 248

Sounds 257

Chapter 11 Basic NXT Inputs 261

Buttons 262

Basic Sensors 264

Chapter 12 Advanced NXT Outputs 291

Creating and Writing to Files 292

Sending Messages 299

Custom I2C Output Devices 305

Chapter 13 Advanced NXT Inputs 309

Advanced Sensors 310

Opening and Reading from Files 317

Receiving Messages 320

Custom Analog Sensors 322

Custom I2C Input Devices 324

Chapter 14 Games People Play 337

Tic-Tac-Toe 338

Pong 345

Chapter15 Bluetooth Direct Commands 353

Direct commands 354

Building and programming a Bluetooth-based PC Joystick remote controller and NXT car 358

Chapter 16 Robotic Arm 371

Drawing shapes with your NXT 401

Appendix A NXC Quick Reference 413

Appendix B NXT Firmware Modules 479

Appendix C NXT Picture Format 523

Index 535

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)