Lego Mindstorms Intro Lab
Description
Aim:
Getting familiar with equipment of NXT set: NXTbrick, sensors and motors.
Getting familiar with programming of LEGO Mindstorms.
Resources:
Hardware: NXTbrick, 3 motors, 4 sensors, connecting wires, USB wire, some Lego elements.
Software: LEGO environment.
Preparing
Pay attention to your workspace. Proper space arrangement is important.
Make sure that Lego elements do not fall on the floor, get entangled with the keyboard etc.
Every team has a separate table.
Special attention should be paid regarding elements location in the case, each element should be placed in a proper compartment!
according to element arrangement in the case compartments.
Please, respect it for your and others convenience
Assign appropriate roles in your team. Role assignment is important, you should choose persons for handling:
computer (programming) → Chief
case (finding and delivering elements) → Mechanic
elements (assembly, connecting elements) → Constructor
Introduction
Read about laboratory equipment.
Find:
Before the end of the exercise, everything should be packed exactly in the same way as in the beginning
Connecting Senses
I'm alive!
Test UI Brick:
run test programs “Try Me” (UG:16),
check sensors signals by “View” (UG:17),
look at UI full description (UG:20–21).
Connecting to the computer
Programming
Construct a simple program, consisting of 2 elements in sensor/motor sequence.
Send program to Brick and test.
Repeat above using different sensors.
Robot building
Build a simple mobile robot, i.e. the one described in the QuickStart, use at least two motors.
Attach a single desired sensor (i.e. sonar) on the front or on the side of the Brick.
Logic
Finish
After finishing the exercise but before leaving the lab, you should:
turn off the Brick and disconnect USB,
terminate the Lego application,
put the Brick, motors and sensors back to the case, unless at the beginning of the exercise the robot was already built - in this case you shouldn't disassemble it,
close the case and clean up your work place.
REPORT
Prepare a short report describing what you have accomplished during the this exercise:
what was the purpose of the robot,
what sensors did you use and why,
include a photo of your robot,
include a screenshot of your program,
describe problems and difficulties you had.