Dave Baum's Definitive Guide To LEGO MINDSTORMS / Edition 2

Paperback (Print)
Rent
Rent from BN.com
$7.46
(Save 75%)
Est. Return Date: 02/24/2015
Buy New
Buy New from BN.com
$23.83
Buy Used
Buy Used from BN.com
$18.21
(Save 39%)
Item is in good condition but packaging may have signs of shelf wear/aging or torn packaging.
Condition: Used – Good details
Used and New from Other Sellers
Used and New from Other Sellers
from $1.99
Usually ships in 1-2 business days
(Save 93%)
Other sellers (Paperback)
  • All (17) from $1.99   
  • New (7) from $18.77   
  • Used (10) from $1.99   

Overview

The LEGO MINDSTORMS Robotics Invention System kit enables anyone to build programmable robots with an assortment of LEGO pieces that snap, slide, and click into place. In this exciting second edition from MINDSTORMS expert Dave Baum, youll be able to take your robotics experiments to a new level.

Baum takes you step-by-step through the entire process of building and programming MINDSTORMS robots using both LEGO's RCX code and the author's own, more powerful programming language, Not Quite C (NQC). This edition has been updated with new programs that take advantage of the LEGO MINDSTORMS Robotics Invention System 2.0 and includes instructions for building 14 different robots including Tankbot, Bugbot, and Brick Sorter.

With Definitive Guide to LEGO MINDSTORMS, Second Edition, you will master the challenging yet always fun creation of your own robots from the ground up!

Read More Show Less

Product Details

  • ISBN-13: 9781590590638
  • Publisher: Apress
  • Publication date: 11/11/2002
  • Edition description: Subsequent
  • Edition number: 2
  • Pages: 432
  • Sales rank: 1,235,637
  • Product dimensions: 0.87 (w) x 7.50 (h) x 9.25 (d)

Meet the Author

Dave Baum is a principal staff engineer at Motorola. With the advent of LEGO MINDSTORMS, Baum was able to combine two of his favorite pastimes: programming and building with LEGO. He then developed Not Quite C (NQC), a powerful language for programming MINDSTORMS robots that has been widely accepted by advanced users. Visit Dave's personal website at BaumFamily.org/NQC.
Read More Show Less

Table of Contents

About the Author xix
Acknowledgments xxi
Preface to the Second Edition xxiii
Preface to the First Edition xxv
Part 1 Fundamentals 1
Chapter 1 Getting Started 3
Robotics Invention System 4
Software 5
NQC Quick Start 6
The START Program 11
The View Button 13
Attaching Motors 14
Debugging 15
Moving On 16
Chapter 2 The RCX 17
The Hardware 17
Firmware 19
Tasks and Subroutines 19
Output Ports 20
Sensors 22
Other Capabilities 31
Conclusion 33
Chapter 3 Introduction to NQC 35
A Simple Program 35
Controlling Outputs 38
Miscellaneous Commands 40
Using #define 41
Using Sensors 43
Using Variables 45
Expressions 46
Conditions 48
Control Structures 50
Using Tasks 52
Functions 53
Displaying Values 58
Events 61
Conclusion 64
Chapter 4 Construction 65
Structures 65
Basic Gears 71
Specialized Gears 76
Pulleys and Belts 81
Ratchets 84
Conclusion 89
Part 2 Robots 91
Chapter 5 Tankbot 93
Construction 93
Driving Straight 98
Turning 100
Conclusion 104
Chapter 6 Bumpbot 105
A Simple Approach 105
A Better Bumper 108
A Better Program 113
Conclusion 116
Chapter 7 Bugbot 117
Construction 117
RCX Code Blocks 122
Multiple Watchers 126
Synchronous Behavior 131
Stuck in a Corner 134
Tuning the Corner Detector 140
Conclusion 142
Chapter 8 Linebot 143
Construction 143
Seeing the Line 146
Feedback 147
Following the Line 149
Dynamic Thresholds 151
Improved Line Following 155
Conclusion 160
Chapter 9 Dumpbot 161
Construction 161
Delivering Cargo 166
Conclusion 169
Chapter 10 Scanbot 171
Construction 172
Looking and Steering 176
Improving the Scanbot Program 183
Using Scanbot When Space Is Limited 191
Conclusion 195
Chapter 11 Tribot 197
The Swivel Wheel 197
Construction 198
Programming 202
Variations 204
Chapter 12 Onebot 205
Driving with One Motor 205
Construction 206
Programming 210
Conclusion 211
Chapter 13 Steerbot 213
Rack and Pinion Steering 213
Chassis Construction 214
Programming 220
Asynchronous Steering 226
Conclusion 231
Chapter 14 Diffbot 233
Dual-Differential Drive 234
Constructing the Remote 239
Programming the Remote 242
Conclusion 246
Chapter 15 Brick Sorter 247
Construction 247
Programming 254
Sorting 257
Conclusion 257
Chapter 16 Vending Machine 259
Construction 259
Theory of Operation 267
Programming in RCX Code 267
Programming in NQC 269
Testing 277
Conclusion 278
Chapter 17 Communication 279
Reprogrammed Vending Machine 280
Candy Dispenser 284
Delivery Truck 288
Programming Delivery Truck in RCX Code 289
Programming Delivery Truck in NQC 290
Testing 293
Conclusion 294
Chapter 18 Using the Datalog 295
Datalog Basics 295
Logging Transactions 297
Keeping Track of the Television 302
Watching Water Freeze 306
Conclusion 312
Chapter 19 Roboarm 313
The Base 314
The Arm 318
The Body 325
Basic Operations 333
Starting Position 335
The Test Mat 338
Cleaning Up 339
Lining Up 342
Conclusion 348
Part 3 Appendixes 349
Appendix A Mindstorms Sets 351
Retail Base Sets 352
Retail Expansion Sets 354
Educational Sets 356
Accessories 357
Appendix B Supplementary Parts 359
Appendix C Programming Tools 363
RCX Code 363
NQC 364
ROBOLAB 365
MindScript and LASM 365
Custom Firmware 366
Appendix D NQC Quick Reference 367
The NQC Language 367
The NQC API 370
Appendix E Online Resources 381
General Information 381
Shopping 382
Programming Tools and Advanced Topics 382
Afterword 381
Index 384
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)