LEGO Mindstorms LEGO Mindstorms is a line of Lego sets combining programmable bricks with electric motors, sensors, Lego bricks, and Lego Technic pieces (such as gears, axles, and beams). Mindstorms originated from the programmable sensor blocks used in the line of educational toys. The first retail version of Lego Mindstorms was released in 1998 and marketed commercially as the Robotics Invention System (RIS). The current version was released in 2006 as Lego Mindstorms NXT. The hardware and software roots of the Mindstorms Robotics Invention System kit go back to the programmable brick created at the MIT Media lab. 2
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
LEGO Mindstorms
LEGO Mindstorms is a line of Lego sets combining programmable
bricks with electric motors, sensors, Lego bricks, and Lego Technic pieces
(such as gears, axles, and beams).
Mindstorms originated from the programmable sensor blocks used in
the line of educational toys. The first retail version of Lego Mindstorms was
released in 1998 and marketed commercially as the Robotics Invention
System (RIS). The current version was released in 2006 as Lego Mindstorms
NXT.
The hardware and software roots of the Mindstorms Robotics Invention
System kit go back to the programmable brick created at the MIT Media lab.
2
This brick was programmed in Brick Logo. The first visual programming
environment, called LEGOsheets, for this brick was created by the University
of Colorado in 1994 and was based on AgentSheets.
The original Mindstorms Robotics Invention System kit contained two
motors, two touch sensors, and one light sensor. The NXT version has three
servo motors and four sensors for touch, light, sound, and distance. Lego
Mindstorms may be used to build a model of an embedded system with
computer-controlled electromechanical parts. Many kinds of real-life
embedded systems, from elevator controllers to industrial robots, may be
modelled using Mindstorms.
Mindstorms kits are also sold and used as an educational tool,
originally through a partnership between Lego and the MIT Media
Laboratory. The educational version of the products is called Lego
Mindstorms for Schools, and comes with the ROBOLAB GUI-based
programming software, developed at Tufts University using the National
Instruments Lab VIEW as an engine. The only difference between the
educational series, known as the "Challenge Set", and the consumer series,
known as the "Inventor Set", is another included light sensor and several
more gearing options.
Mindstorms is named after the book Mindstorms: Children, Computers,
The parts included in retail version of the LEGO MINDSTORMS NXT set (8527) are pictured below.
6
7
8
9
ROBOT ARM
10
11
12
13
14
15
16
17
18
19
20
Using The Robot Arm
• Pressing the orange Enter button on the NXT brick will toggle the controls between "Rotate" and "Lift" modes.
• In "Rotate" mode, the gray left and right arrow buttons on the NXT brick will rotate the arm left and right as long as you hold the button down.
• In "Lift" mode, the left and right buttons will lift the arm up and down as long as you hold the button down.
• Pressing the touch sensor button will make the claw switch between grabbing and releasing.
The turntable and lifting arm motors both use gears to "gear down" the motion (decrease speed and increase force). You will notice that this keeps you from being able to turn the motors by hand.
To work around this problem, you can use the handle on the side of the arm
21
lifting motor to adjust the arm's up/down position by hand when the program is not running. (When the program is running the NXT has the electric brakes on the motors and will not allow them to be turned by hand).
This design does not include a similar lever on the turntable motor. Can you figure out a way to add one?
Challenges
• Practice using the controls to pick up and move objects. Here is an example challenge. Place the red and blue balls on tire stands in different locations but both at the correct distance from the arm so that the claw will reach it, as shown below. Now try to use the robot arm to swap the positions of the two balls. What is smallest number of button presses that you think this can be done in?
• Think of some mechanical improvements you might make to this design. For example:
Come up with a way to keep the wires out of the way.
The claw is designed to be as simple as possible to keep it
light weight. However, it would be nice if both sides of it
opened and closed. Can you come up with a simple way to
do this?
The Arm Control program allows you to control the arm
using the buttons. Try making a program of your own that
controls the arm automatically by itself with a pre-
programmed sequence of moves. Here's a big challenge:
Can you write a program that will swap the balls as shown