Home > Articles > Hardware > Upgrading & Repairing

📄 Contents

  1. The Box
  2. The Contents
This chapter is from the book

The Contents

Next, let’s dump out everything inside the box (see Figure 1.4). Look at all this cool stuff! The plastic bags hold the LEGO beams and connectors, and the white cardboard boxes hold the NXT brick and the sensors, motors, and wires. When you look at the parts like this, it doesn’t seem like a $280 set, but when you start building cool robots, you’ll think differently.

Figure 1.4

Figure 1.4. Mindstorms parts—just add imagination.

Reading Material

Let’s dive in! First, let’s begin with the printed stuff that comes with the set, as shown in Figure 1.5. The Test Pad, on the left, is a poster-sized track that you can use with a rolling robot. It has a circuit that you can use to test a line-following robot, as well as color swatches to test its color sensor. The stickers are just for looks, obviously, and are used to dress up the four default models that LEGO suggests you make with the set. The LEGO Mindstorms User Guide offers basic instructions on how to build robots and program them, and the disc holds the software you need to do so. We talk more about the disc and its programs in Chapter 4, “Introduction to Programming.”

Figure 1.5

Figure 1.5. The user guide and other materials included with the set.

Connector Pegs

In many ways, these little tubes—connector pegs in LEGO parlance—are the glue that holds your robot together (see Figure 1.6). The pegs connect two LEGO elements via their holes, and you’ll use them all the time. Interestingly, the black and gray pegs are nearly identical and in many cases can be used interchangeably. The critical difference between the two is that the black pegs have little ridges on them that add friction, to reduce the tendency of a single peg to rotate on its own. By contrast, the gray pegs are smooth and can be used as axles. You get 88 black pegs with your set and 6 gray ones.

Figure 1.6

Figure 1.6. Black and gray connector pegs are the backbone of your Mindstorms set.

3M Connector Pegs

More pegs! The big ones shown in Figure 1.7, called 3M connector pegs, are a lot like the black and gray ones in Figure 1.6, but they extend three standard LEGO thicknesses. In LEGO parlance, this is referred to as 3M—the thickness of three regular LEGO beams stacked atop each other.

Figure 1.7

Figure 1.7. The longer connectors are delineated by both color and presence (or lack thereof) of friction ridges.

The blue pegs have friction ridges, whereas the beige ones do not. The set includes 52 blue pegs and 6 beige ones.

Connector Pegs with Bushing

The next type of peg is rather interesting. You may not use them all of the time, but when you need them you’ll totally be grateful to have them. They’re basically two-thickness pegs, but have a cross-axle bushing on the end (see Figure 1.8). This is a special connector that accommodates Mindstorms’ cross axles, so you could use one to anchor the hub of a wheel, for instance. Another great use of the part is as an easily removable peg. Say you want to keep a moving part of your robot from moving; you could temporarily block the motion with one of these pegs, leaving the big part—the bushing—sticking out so you can easily grab and remove it when you’re ready. You get 10 of these in the set.

Figure 1.8

Figure 1.8. These connectors combine a peg with a bushing!

Connector Pegs with Cross-Axle Ends

You might have figured out by now that the Mindstorms set comes with lots of types of pegs! Figure 1.9 shows even more pegs; these pegs have a regular connector on one side and a cross connector on the other. In this book I call those cross connectors. You’ll find yourself using these almost as much as the black ones previously shown in Figure 1.6. They’re important because some LEGO beams have cross-axle holes as well as the regular round kind. As with the 3M pegs previously shown in Figure 1.7, the blue color signifies that those pegs have friction ridges, whereas the beige ones do not. The cross-axle portion is the same for both types. You’ll find 24 blue pegs of this type in the set, along with 4 beige ones.

Figure 1.9

Figure 1.9. These pegs allow you to join two elements, one with a Technic hole and one with a cross hole.

2M Axle Peg

The 2M axle peg shown in Figure 1.10 is another commonplace one and is essentially like the ones previously shown in Figure 1.9, but these pegs are all cross axle. The 2M axle pegs are two standard LEGO thicknesses long. Nine of them come in the box.

Figure 1.10

Figure 1.10. 2M axle pegs.

Connector Peg with Towball

Next comes the connector peg with towball. These pegs are typically used as an end-stop for some sort of movement. If you need a LEGO part sticking out to make sure your robot’s range of movement is limited, you’ll want one of these pegs. Another use is as a holder for a rubber band. Say you want to have a hinged piece held taut to keep it from flapping around. Simply attach one of these pegs to each side and loop a rubber band around the towball (see the Alpha Rex’s hands on the cover of your box). As you can see from Figure 1.11, the gray ones have a cross-axle connector, and the black ones have a smooth connector. You get 10 black pegs and 2 gray ones.

Figure 1.11

Figure 1.11. If you’ve ever used a ball hitch to tow a boat or trailer, these connectors will look quite familiar to you.

1/2 Connector Pegs

The final type of peg you’ll find in the set is the 1/2 connector peg, shown in Figure 1.12. Just three of these pegs are included in the set. They look a lot like half of a gray connector peg. Pure and simple, these pegs provide a way of turning a beam’s hole into a standard LEGO stud. You insert the long end into a hole, leaving the stud sticking out, allowing you to attach a regular LEGO brick to the stud. The connection isn’t strong, and it is typically used more for cosmetic purposes than structural ones.

Figure 1.12

Figure 1.12. Use these pegs to transform a Technic hole into a LEGO stud.

Bushings

Next, let’s look at bushings, which are little tubes that secure the ends of cross axles. You’ll use them for pretty much every Mindstorms model you’ll ever make (see Figure 1.13). Bushings come in two flavors: bushings and half bushings. The former are one LEGO thickness, and the half bushings are half as thick. With bushings, unlike most of the parts you’ll find in the set, LEGO doesn’t differentiate the two types with different colors, although you’ll often find half bushings in bright yellow in different sets. There are 11 bushings and 9 half bushings in the Mindstorms set.

Figure 1.13

Figure 1.13. Bushings are an integral part of nearly any Mindstorms model you create.

Cross Axles

Now, for the famous cross axles you’ve been hearing about so much. Cross axles, shown in Figure 1.14, are absolutely critical components of the Mindstorms set, used for everything from stabilizers securing multiple thicknesses of beam to, well, serving as axles for wheels. The set includes the following cross axles:

Figure 1.14

Figure 1.14. Cross axles are your new best friend.

  • 12M axles—1
  • 9M axles—2
  • 7M axles—4
  • 6M axles—2
  • 5M axles—8
  • 4M axles—4
  • 3M axles—19

Cross Axles with End Stops

The next piece is a variant of the cross axle, which features end stops so you don’t have to use a bushing to keep parts from sliding off the end (see Figure 1.15). You’d be surprised how often this piece will come in handy! The set includes three different types of axles, and each features a different type of end stop. The set contains

  • 3M cross axles—6
  • 5M cross axles—2
  • 8M cross axles—4
    Figure 1.15

    Figure 1.15. End stops on these axles eliminate the need for a bushing. Note that the end stops are circled in this photo.

Wheels and Treads

Wheels and treads come next (see Figure 1.16). The set contains four rims along with rubber tires. You also get two tank treads that are compatible with the rims.

Figure 1.16

Figure 1.16. Where the rubber meets the road.

Gears

My favorite parts of any LEGO set are the gears. I love figuring out how to mesh them together in a clever way. It is a bit disappointing, though, that LEGO includes a rather weak assortment of gears in the set (see Figure 1.17). You get a mere 11 gears:

  • 36-tooth gears—2
  • 20-tooth gears—2
  • 12-tooth gears—2
  • 12-tooth bevel gears—1
  • 4-tooth gears—4
    Figure 1.17

    Figure 1.17. The Mindstorms set comes with a disappointing number of gears.

Teeth

The next parts, Bionicle teeth, are kind of unusual for Mindstorms in that they’re almost completely cosmetic. You get 10 of them in the set (see Figure 1.18). Although they’re usually decorative, another possibility might be to use them in conjunction with a motor to serve as some sort of dial, rotating to a certain direction as directed by the NXT brick. Also, in the Backscratcher Bot, our first project in this book, we use the teeth as the business end of the scratcher; they’re what scratch your back!

Figure 1.18

Figure 1.18. These teeth are mostly for fun, but if you’re clever, you can come up with other more useful applications.

Balls

LEGO includes multicolored balls with the set, used by robots either as missiles or as objects to be color-scanned and sorted (see Figure 1.19). One common type of robot to use these balls is a Great Ball Contraption. These complex linked robots are often found at LEGO conventions. Some assemblies are so huge that they cover multiple tables and spend their time rolling, pulling, lifting, and shooting the balls in an endless chain reaction. You get three of each color ball with your set.

Figure 1.19

Figure 1.19. These colored balls provide a variety of interesting possibilities.

Beams With Pegs

The so-called beams with pegs are essentially short Mindstorms beams with connector pegs sticking out (see Figure 1.20). You can add them as stabilizers to a wobbly model, and they’re also great for changing the angle of the beams because most LEGO beams have holes on two sides only. That means you sometimes have to resort to trickery to attach parts to the smooth sides. You get six of the angle beams and 14 of the 3M beams. I wish the set included more; I use them all the time!

Figure 1.20

Figure 1.20. Crafty builders make good use of beams with pegs.

Beams

Next, let’s check out beams, the bones of Mindstorms robots. Using these building blocks, you can pretty much create whatever you want—with the help of the other components, of course! The kit comes with the following beams (see Figure 1.21):

  • 2M beams—8
  • 3M beams—10
  • 5M beams—18
  • 7M beams—20
  • 9M beams—14
  • 11M beams—6
  • 13M beams—10
  • 15M beams—2
    Figure 1.21

    Figure 1.21. Beams form the skeleton of any Mindstorms bot.

Angle Beams

Angle beams add critical stability, enabling you to connect parts in ways that a straight beam cannot. For instance, you could reinforce the corners of a square robot with a 90-degree beam on each corner.

The orange parts in Figure 1.22 are the same as the similar-appearing dark gray parts, one of the few instances in the set where you get two basically identical parts sporting different colors. As you can see in Figures 1.22 and 1.23, the set includes

  • 3×5 90-degree angle beams (gray)—14
  • 2×4 90-degree angle beams (gray)—13
  • 2×4 90-degree angle beams (orange)—4
  • T-shaped angle beams—2
  • 45-degree double-angle beams (medium gray)—2
  • 45-degree double-angle beams (light gray)—4
  • 3×3 angle beams (gray)—6
  • 3×7 angle beams (white)—10
  • 4×6 angle beams (white)—4
    Figure 1.22

    Figure 1.22. L- and T-shaped angle beams provide stability and provide lots of building options.

    Figure 1.23

    Figure 1.23. These angle beams help break your robot out of the 90-degree mindset.

Car Parts

The parts shown in Figure 1.24 are purely cosmetic, made to make robotic cars more cool looking but not adding a lot of value. Essentially, what you’re getting are the fenders and side panels of a car’s body. As with other cosmetic parts, what you get out of them depends on your own cleverness. Who knows what functional mechanisms could be created?

Figure 1.24

Figure 1.24. While purely cosmetic in nature, these parts will help you trick out any robotic cars you decide to build.

Steering Links

The parts shown in Figure 1.25 are called steering links, and they’re used in conjunction with tow balls to form a flexible link between two elements.

Figure 1.25

Figure 1.25. Steering links offer a more flexible connection than beams.

Angle Elements

The parts shown in Figure 1.26, called angle elements, are used for connecting cross axles, cross connectors, and connector pegs. Not only can you connect two axles to make a bigger one, you can use them structurally with axles to make cubes, triangles, and so on.

  • 0-degree angle elements—5
  • 90-degree angle elements—12
  • 180-degree angle elements—6
    Figure 1.26

    Figure 1.26. Angle elements help connect cross axles at different angles.

Cross-Axle Connectors

Cross-axle connectors combine two cross axles into a longer one (see Figure 1.27). They also interface with other elements with cross ends. They’re the sort of element you may not use a lot, but when you need one, you’ll be grateful LEGO created them! You get four in the set.

Figure 1.27

Figure 1.27. Cross-axle connectors make long axles out of short ones.

Cross Blocks

The parts shown in Figure 1.28 are called cross blocks, small beams with cross holes and Technic holes at right angles to each other. These parts allow you to attach cross axles to beams and to add perpendicular elements to help reinforce beam structures. I use the double cross blocks all the time; I don’t know why LEGO includes only five in the set.

  • 3M cross blocks—16
  • 2M cross blocks—8
  • 3M double cross blocks—5
    Figure 1.28

    Figure 1.28. Cross blocks allow you to add cross-holes to beams, and at different angles.

More Miscellaneous Parts

More obscure parts! The funny-looking ones at the top of Figure 1.29 are the magazine and launcher for the ShooterBot, one of the robots you can build with the set; the instructions may be found on the Mindstorms software.

Figure 1.29

Figure 1.29. Some parts are hard to categorize. Here are some of the more obscure parts found in the set.

The black double pins are exactly that; you get three. The oval disks, called cams, are used to add an irregular motion to a motor’s spin, and the four rubber things are called rubber axle connectors. Here’s a breakdown of the oddball parts:

  • Magazine—2
  • Launcher—1
  • 3M double Technic pin—3
  • Cam—2
  • Rubber axle connector—4
  • Axle connector—6

Peg Joiner

Peg joiners do just that, allowing you to insert connector pegs at different angles (see Figure 1.30). These parts are great for reinforcing your robot, especially if you’ve already built the bot and it’s a little wobbly. Just reinforce the wobbly parts with some of these connectors!

  • 2×3 peg joiner—6
  • 2×2 peg joiner split—8
  • 2×2 peg joiner—4
  • 90-degree peg joiner—1
    Figure 1.30

    Figure 1.30. Peg joiners are great for reinforcing wobbly robots.

Figure 1.31

Figure 1.31. Who is to say why this one non-Technic Lego element was included?

Motors, Wires, and Sensors

The larger of the two white boxes in the main set holds all your motors and sensors, as well as the Mindstorms wires and the USB cable you use to program your NXT brick. You get three interactive servo motors, two touch sensors, a color sensor, and an ultrasonic sensor (see Figure 1.32).

Figure 1.32

Figure 1.32. This box contains the sensors, motors, and wires you’ll need to turn a model into a robot!

Ultrasonic Sensor

Let’s take a peek at the ultrasonic sensor that comes with the set. As you can see in Figure 1.33, the ultrasonic sensor has two grills in the front, one of which covers a sensing element, while the other one emits sound. The idea is that the sensor beams out inaudible sound waves and then measures how fast the sound bounces back to the sensor, enabling you to measure distance with surprising accuracy.

Figure 1.33

Figure 1.33. Ultrasonic sensors emit sound waves that help your bot measure distance.

Touch Sensors

The Mindstorms touch sensors double as both pushbuttons as well as sensor-detecting contacts (see Figure 1.34). The sensors can discern three different actions: a quick bump, a press-and-hold, and a release action. You get two touch sensors with the set.

Figure 1.34

Figure 1.34. Touch sensors can serve as a pushbutton or as a contact sensor.

Interactive Servo Motors

Three of LEGO’s interactive servo motors come with the set, and you’ll probably wish there were more (see Figure 1.35). What differentiates them from motors one might find in a hobby store is that they are equipped with position encoders that enable the NXT brick to accurately determine the speed and precise angle of the motor’s turn.

Figure 1.35

Figure 1.35. Three interactive servo motors are included with the NXT 2.0 set.

Color Sensor

The color sensor shown in Figure 1.36 can distinguish between colors—hence the name—but it does so much more. For instance, it not only can determine the color of a scanned object by bouncing a light off it and measuring the returned values but also can detect the level of lighting in a room (dark, poorly lit, bright, and so on). If that weren’t enough, you can turn it into a lamp shining red, blue, and green lights. The color sensor is a vast improvement over the previous Mindstorms set, which only boasted a light sensor.

Figure 1.36

Figure 1.36. The color sensor is a multipurpose part that you’ll find many ways to use.

USB Cable

LEGO includes a standard USB cable with the set (see Figure 1.37). It’s fairly universal, so if you lose yours, you can always find another without buying an official LEGO product. You’ll need this cable when you start programming your NXT brick.

Figure 1.37

Figure 1.37. Use the supplied USB cable when you start programming your NXT brick.

Mindstorms Wires

The Mindstorms sensors and motors communicate with the NXT brick with the help of sixply wires (see Figure 1.38). The set comes with the following selection of wires, giving you a nice variety for all your projects:

  • 20cm wire—1
  • 35cm wires—4
  • 50cm wires—2
    Figure 1.38

    Figure 1.38. These wires carry the communications from the NXT brick to your bot’s motors and sensors.

The NXT Brick

The NXT brick is the brain of the robot, a computer that interprets data from the sensors and sends power to the motors to make them turn (see Figure 1.39). You learn all about the NXT brick in Chapter 3, “Anatomy of the NXT Brick,” so be sure to check it out!

Figure 1.39

Figure 1.39. The NXT brick-the brain of your creations.

Next Chapter

In Chapter 2, “Project: Backscratcher Bot,” we’ll build our first bot—the backscratcher bot!

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020