Presentation is loading. Please wait.

Presentation is loading. Please wait.

Mindstorms EV3 Programming

Similar presentations


Presentation on theme: "Mindstorms EV3 Programming"— Presentation transcript:

1 Mindstorms EV3 Programming
Exploring Computer Science Lesson 6-6

2 Objectives The Student will be able to:
Recognize the parts of the Mindstorms EV3software. Explain the different types of icons in the common palette and how to use them. Explain the different types of icons in the complete palette and how to use them. Explain the difference between software errors and hardware errors. Explain the difference between logical errors and syntax errors.

3 Journal Last time you ran some test programs with your robot using the “Program” menu on the brick. What did one of the sensor programs do? Why is this not a good interface for all programming of the EV3 brick?

4 Lobby Every time you open the EV3 Software, you will automatically start out in the Lobby area Lobby Button Activity Overview—Here you can access, organize, and preview content and get started with a project View—This button takes you back to the Activity Overview Search—Find projects with specific content using different filter options A link to the official LEGO® MINDSTORMS® Education website.

5 My First Program I want to write a program tells the robot to:
Wait for the Touch Sensor to be touched Move forward If the robot is within 10 cm of something Play a sound Move backward and to the side Repeat

6 Programming The EV3 Programming environment consists of the following main areas: 1. Programming Canvas—Lay out your program here. 2. Programming Palettes—Find the building blocks for your program here. 3. Hardware Page—Establish and manage your communication with the EV3 Brick here and see what motors and sensors are connected where. This is also where you download programs to the EV3 Brick. 4. Content Editor—A digital workbook integrated into the software. Get instructions or document your project using text, images, and videos. 5. Programming Toolbar—Find basic tools for working with your program here. Learn more about these tools in the EV3 Software Help

7 Action Blocks Medium Motor Large Motor Move Steering Move Tank Display
Sound Brick Status Light

8 Flow Blocks Start Wait Loop Switch Loop Interrupt

9 Sensor Blocks Brick Buttons Color Sensor Gyro Sensor Infrared Sensor
Motor Rotation Temperature Sensor Timer Touch Sensor Ultrasonic Sensor Energy Meter NXT Sound Sensor

10 Data Blocks Variable Constant Array Operations Logic Operations Math
Round Compare Range Text Random

11 Advanced Blocks File Access Data Logging Messaging
Bluetooth Connection Keep Awake Raw Sensor Value Unregulated Motor Invert Motor Stop Program

12 My Blocks When you are repeatedly using the same segment of a program in many programs, that is a good time to create a My Block. Once your My Block is created, you can simply insert that single block into future programs within the same project.

13 My First Program Let’s build my program…
Wait for the Touch Sensor to be touched Move forward If the is within 10 cm of something Play a sound Move backward and to the side Repeat

14 Rest of the day… Try to recreate the program we did here.
Program your robot to continually make an S pattern. Show me this program. Rename the project “Block 4” Rename the program “HW6-6”


Download ppt "Mindstorms EV3 Programming"

Similar presentations


Ads by Google