Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lego MindStorm An Introduction to Blocks. Blocks Blocks are used to give instructions to your robot. There are many types of blocks You can use the blocks.

Similar presentations


Presentation on theme: "Lego MindStorm An Introduction to Blocks. Blocks Blocks are used to give instructions to your robot. There are many types of blocks You can use the blocks."— Presentation transcript:

1 Lego MindStorm An Introduction to Blocks

2 Blocks Blocks are used to give instructions to your robot. There are many types of blocks You can use the blocks that come with the NXT software. You can create your own blocks.

3 Common Blocks The common blocks:

4 Common Blocks Move – Tells your robot to move. Record Play – The record play block allows your robot to record itself (movements and sound) and replay its actions later in the program.

5 Common Blocks cont. Sound – Allows your robot to play a sound file. Display – Displays an image on the NXT brick screen.

6 Flow Blocks The Flow Blocks

7 Flow Blocks The Loop Block – Use the loop block if you want your robot to continue doing the same things again and again, such as moving forward and backward until a touch sensor is pressed.

8 Flow Blocks The Switch Block – The switch block enables the robot to make its own decisions, such as going left when it hears a loud sound and turning right when it hears a soft sound.

9 Flow Blocks The Wait Blocks – The wait block makes your robot wait for sensor input, such as a sound or a time interval. DistanceLight Sound Time Touch

10 Action Blocks The Action Blocks

11 Action Blocks Display – The display block enables you to control the display on the NXT brick. You can type, show icons or even draw through your program!

12 Action Blocks Lamp – The lamp block tells your robot when to turn the lamp on/off. You can program your robot to turn on its lights when the touch sensor is triggered, or when it becomes dark.

13 Action Blocks Message Send – The message send block tells your robot to send information to another robot or to your computer.

14 Action Blocks Motor – The motor block tells your robot to turn on a motor. – This is different from the move block. – Your robot may have multiple motors attached.

15 Other Blocks There are other blocks that do more specific actions, such as: – Sensor Blocks Used for controlling sensors (Ex: distance sensor, sound sensor) – Data Blocks Logic – Advanced Blocks


Download ppt "Lego MindStorm An Introduction to Blocks. Blocks Blocks are used to give instructions to your robot. There are many types of blocks You can use the blocks."

Similar presentations


Ads by Google