Getting Started! Lego Mindstorms Program NXT 2.0.

12
Getting Started! Getting Started! Lego Mindstorms Lego Mindstorms Program Program NXT 2.0 NXT 2.0

Transcript of Getting Started! Lego Mindstorms Program NXT 2.0.

Page 1: Getting Started! Lego Mindstorms Program NXT 2.0.

Getting Started!Getting Started!

Lego Mindstorms ProgramLego Mindstorms Program

NXT 2.0NXT 2.0

Page 2: Getting Started! Lego Mindstorms Program NXT 2.0.

GETTING TO KNOW YOUR ROBOTGETTING TO KNOW YOUR ROBOT

Robot moved forward for 3 seconds. Both motors running.Robot moved forward for 3 seconds. Both motors running.

Page 3: Getting Started! Lego Mindstorms Program NXT 2.0.

Robot moved forward for 3 second then moved backwards for 3 second.Robot moved forward for 3 second then moved backwards for 3 second.

Page 4: Getting Started! Lego Mindstorms Program NXT 2.0.

Robot moved forward for 3 second then moved backwards for 3 secondRobot moved forward for 3 second then moved backwards for 3 secondand then turned around for 3 rotationsand then turned around for 3 rotations

Page 5: Getting Started! Lego Mindstorms Program NXT 2.0.

Robot turns around for 8 rotations and then turns the other way for 8 rotationsRobot turns around for 8 rotations and then turns the other way for 8 rotationsthen the Robot shouts "Hooray" then the Robot shouts "Hooray"

Page 6: Getting Started! Lego Mindstorms Program NXT 2.0.

Robot turns around for 8 rotationsRobot turns around for 8 rotations and then turns the other wayand then turns the other way

for 8 rotationsfor 8 rotationsthen the Robot shouts "Hooray" then the Robot shouts "Hooray"

and then a stop signand then a stop sign appears on the screen. appears on the screen.

Page 7: Getting Started! Lego Mindstorms Program NXT 2.0.

Robot waits until you clap ormake a sound then moves

forward and backwardsthen shouts "Hooray"

Page 8: Getting Started! Lego Mindstorms Program NXT 2.0.

Robot waits for 5 second (time)and then moves forward for3 seconds and then moves

backward for 3 seconds andshouts "Hooray"

Page 9: Getting Started! Lego Mindstorms Program NXT 2.0.

Robot program is "looped" for 5 counts.

Page 10: Getting Started! Lego Mindstorms Program NXT 2.0.

Mexican Wave.Mexican Wave. As a class you are going to do a Mexican Wave.As a class you are going to do a Mexican Wave.

Your Robot is to start only on a sound.Your Robot is to start only on a sound. Your Robot will then go forward for 2 seconds.Your Robot will then go forward for 2 seconds. Your Robot will then reverse for 2 seconds.Your Robot will then reverse for 2 seconds. Your Robot will then shout "Hooray"Your Robot will then shout "Hooray" Your Robot will then wait for 2 seconds.Your Robot will then wait for 2 seconds. Your Robot will then go forward again for 2 seconds.Your Robot will then go forward again for 2 seconds. Your Robot will then reverse for 2 seconds.Your Robot will then reverse for 2 seconds. Your Robot will then turn around 360 degrees.Your Robot will then turn around 360 degrees.

D:\tpowt1\My Documents\Days of Excellence\Mexican Wave D:\tpowt1\My Documents\Days of Excellence\Mexican Wave

Page 11: Getting Started! Lego Mindstorms Program NXT 2.0.

Figure 8Figure 8

Make your Robot turn in a figure 8.Make your Robot turn in a figure 8. Hint: The figure 8 should look like the Hint: The figure 8 should look like the

drawing below.drawing below.

Page 12: Getting Started! Lego Mindstorms Program NXT 2.0.

Let's DanceLet's Dance

Make your Robot sway from side to side.Make your Robot sway from side to side.

Then make your Robot rock backward and Then make your Robot rock backward and forward.forward.