Core LEGO MINDSTORMS Programming

Core LEGO MINDSTORMS Programming

by Brian Bagnall
5.0 1
Pub. Date:
Prentice Hall

Paperback - Rent for

Select a Purchase Option
  • purchase options

Temporarily Out of Stock Online


Core LEGO MINDSTORMS Programming

LEGO Mindstorms robots can do more than you ever imagined! The secret: go beyond the built-in tools and leverage the power of Java. In Core LEGO Mindstorms, author Brian Bagnall shows you how, step by step. Working from beautifully rendered 3-D plans and photographs, you'll construct five unique robots. You'll master advanced proximity and compass sensors, even master MIT's new breakthrough in robotics: behavior control programming.

Product Details

ISBN-13: 9780130093646
Publisher: Prentice Hall
Publication date: 03/11/2002
Series: Core Series
Pages: 560
Product dimensions: 7.00(w) x 8.97(h) x 1.26(d)

Table of Contents




Enter MINDSTORMS. The Robotics Invention System. RCX Brick. IR Tower. Motors. Sensors. LEGO Parts. Building Tippy. The RIS CD Software. The World of MINDSTORMS. ROBOLAB(tm). LogIT Sensors. Technic. Robotics Discovery Set. Vision Command. RIS Expansion Sets. Code Pilot. Droid Developer Kit. Dark Side Developer Kit. CyberMaster. Ultimate Accessory Kit. Ultimate Builders Set.

2. Getting Started with leJOS.

leJOS Overview. JVM. RCX Platform Extensions. Java API. Robotics Programming. Installing leJOS. Windows 98/Windows Me. Windows NT/Windows 2000. Linux. Macintosh OSX. Testing leJOS. Creating and Running a Program. Uploading More Than One Program. Setting Up an IDE. JCreator (Windows Platforms). How leJOS “Stacks Up”. NQC. PbFORTH. LegOS. Visual Basic. leJOS vs. TinyVM.

3. Learn Java in 2.4 Hours!

Java Core Language. OOP. Source Files. Classes. Interfaces. Import and Package Statements. Methods. Overloading Methods. Fields and Variables. Naming Rules. Operators. Program Flow Control. The java.lang Package. Math. Object. Runtime. String. StringBuffer. System. Threads. Throwable. java.util. BitSet. Hashtable. Random. Vector.


josx.platform.rcx. Button. LCD. MinLCD. Motor. ROM. Sensor. Serial. Sound. MinSound. TextLCD. The josx.util Package. Timer. josx.robotics. and josx.platform.rcx.comm..

5. LEGO 101.

RIS Parts Library. Bricks. Classic LEGO Bricks. Technic Beams. Specialized Bricks. Slope Bricks. Plates Overview. Rectangular Plates. Plates Overview. Specialty Plates. Pins. Tires, Wheel Hubs, and Treads. Axles. Axle Accessories. Gears. Pulleys. Pulley Drive Belts. Lift Arms. Other Parts. Common LEGO Structures. Chassis. Caster Wheels. Ratchets. Single Motor Navigation. Walking Mechanism. Building Philosophy 101.

6. Behavior Control.

Behavior Control Theory. Programming Behavior with leJOS. The Behavior API. Advanced Behavior Coding. Coding Foolproof takeControl() Methods. Coding Solid action() and suppress() Methods.

7. Navigation.

Understanding the Problem of Navigation. Navigation Theory. Trigonometry. Using the Navigator API. Creating a Navigator Robot. Building the Trilobot. Programming Trilobot. TimingNavigator Accuracy. Systematic Errors. Nonsystematic Errors. Summary.

8. Navigation with Rotation Sensors.

Understanding Rotation Sensors. Trailer Odometer. Handheld Odometer. On-Axle Odometers. Off-Axle Odometers. Angle Measurement. Using the RotationNavigator Class. Creating a Navigator Robot. Building Instructions. Programming Tippy Senior. RotationNavigator Accuracy. Systematic Errors. Nonsystematic Errors.

9. Proximity Detection.

Creating a Simple Proximity Sensor. Programming the Sensor. Reliability. Creating a Distance Sensor. The Sharp GP2D12 Sensor. A Primer in Electronics. Building the Distance Sensor. Permanent Assembly. Enclosing the Circuit. Programming the Proximity Sensor Driver. A Wall Follower.

10. Navigation with a Compass Sensor.

The Compass Sensor. Theory of Calculating Direction. Building the Compass Interface. Tools. Circuit Assembly. Testing the Circuit. Programming the Compass Class. Calibration. Compass Driver. Programming CompassNavigator. A Robot Using the Compass. Chassis. Compass Basket. Front Bumper. Final Assembly. Compass Accuracy.

11. RCX Communications.

The Communications API. InputStream. DataInputStream. DataOutputStream. DataPort. PCDataPort. RCXDataPort. Installation. IDE Setup. Uploading Map Data. Controlling the RCX Through a Network. Controlling the RCX from a Web Page. Installing a Web Server. A Simple Project. Alternate Data Transfer Methods. Alternate Communication Uses.

12. Advanced leJOS Topics.

Memory Issues. Monitoring Memory Use. Programming Efficient Code. Hacking leJOS to Save Memory. Performance Tips. Alternate Languages for the JVM. Using NetRexx on the RCX. leJOS Architecture Overview. The Firmware. The API. The Linker. Modifying and Recompiling the Firmware. Adding Native Methods. Portability of leJOS.

Appendix A. Parts and Kits.

LEGO Shop At Home. Pitsco LEGO Dacta. LogIT Sensors. Mindsensors.

Appendix B. Electronics Projects.

Electronics Sources. Europe. North America. International. Distance Sensor Parts. Europe. North America. Compass Sensor Parts. Europe. North America. Compass Sensor Circuit Building. Experimentor Board. Punchboard. Etched PC Board.

Appendix C. Utilities.

leJOS Binaries. lejosc.exe. lejos.exe. lejosfirmdl.exe. lejosrun.exe. emu-lejos.exe. emu-lejosrun.exe. lejosp.exe. lejosp1.exe. lejosc1.exe. emu-dump.exe. leJOS Utilities. RCX Direct-Mode. RCX Download. Bricks Music Studio. Text to LCD Display. leJOS Visual Interface. LEGO Utilities. Ldraw. MLCAD. L3P. LEO Cad.

Appendix D. Internet Resources.

leJOS Resources. leJOS Home Page. leJOS Project Development Home Page. Java Resources. Sun's Official Java Site. LEGO Resources. LEGO Users Group (LUGNet). RCX Resources. RCX Internals. Analysis of the RCX. Sensors and Actuators. Distance Sensor. Compass Sensor. Homebrew RCX Sensors. Resistor Color Bands. RCX Projects. Rubik's Cube Solver (and More). LEGO Robotics Network. Robot Navigation. Mobile Robot Positioning. Dead Reckoning Contest. Other Hardware. Tower Hobbies. Draganfly.


Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

Core LEGO MINDSTORMS Programming 5 out of 5 based on 0 ratings. 1 reviews.
Guest More than 1 year ago
If you are serious about getting into robotics and artificial intelligence, this is the perfect book to be used with the best entry level robotics system currently developed. You can utilize this device and language to make insect-like AI intelligence, perform swarm-like behavior if you have multiple RCX's, and much more. In combination with some home made sensors and some fancy programing you can make scaled down versions of the same kind of robotic and AI developments being done at the University of Minnesota and MIT. Very nice.