ev3 robotics

24
ROBOTICS Jason Bell [email protected] u.au Brad Carlson [email protected] u.au

Upload: doandat

Post on 08-Feb-2017

315 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: EV3 Robotics

ROBOTICSJason [email protected]

Brad [email protected]

Page 2: EV3 Robotics

EV3 is the third platform Lego® has created for robotics

Platform 2: NXT can still be used but is no longer supported by Lego, however it can still be programmed using the EV3 Mindstorms software

Two parts to all robotics; Construction (what do you want your robot to do) and Programming (how will your robot do it?)

Page 3: EV3 Robotics

Robotics promotes and/or supportsMathematics - angles

- problem solving-algebra-chance and data

Science - simple machines- force and motion

Digital Technologies – Creative thinking

Page 4: EV3 Robotics

Inputs4 ports to add sensors (input)-Ultrasonic-Light-Infrared-Touch-Gyroscope

OutputsMotors USB connection

Back/Cancel

Accept/RunUp, down, left and right menu controls

Page 5: EV3 Robotics

Inputs4 ports to add sensors (input)-Sound-Light-Infrared-Touch

OutputsMotors USB connection

Back/Cancel

Accept/Run

Scroll left Scroll right

Page 6: EV3 Robotics
Page 7: EV3 Robotics

Whilst allowing students to create a robot is fun , engaging and interesting, you will get a multitude of designs that may or may not meet the intended purpose. When starting out use a simple design for all students/groups, the activity will have more purpose and run a lot smoother.

For this reason today we are using the basic design you have prebuilt to allow more hands-on time

Page 8: EV3 Robotics

1. Open LEGO Mindstorms

2. Click the “+” icon to open a project tab

3. Rename your program

Page 9: EV3 Robotics

Working in the program is simply click, drag and drop. Programming is icon based.Icons are located at the bottom of the program window.Each icon will change once it has been placed to give a number of variables associated with the that icon eg. power, volume, distance.

You can collapse or expand the “Document your work” dialogue box by clicking on the Mindstorms logo next to the pencil.

Page 10: EV3 Robotics
Page 11: EV3 Robotics
Page 12: EV3 Robotics

Connect the robot to the computer via USB cable

Click this button

Wait for confirmation beep Disconnect cable and run program

Page 13: EV3 Robotics

Click and drag a “Large Motor” icon to the programming pallet, placing it next to the “Play” building piece. The icon will change to look like the one below. The functions for the motor are all shown on the icon with drop down menus.

Output port A/B/C/D

Motor power level

Motor variable

Brake/coast

Motor on for…

Page 14: EV3 Robotics

Use Trial and Error make your robot turn 180o

Does wheel rotation equal robot rotation?

Page 15: EV3 Robotics

Program your robot to 1.Travel forwards 5 rotations2.Travel backwards 3 rotations3.Complete a sharp right-hand turn 4.Complete a slow left-hand turn5.Travel forward 3 seconds and then backwards for 2 seconds6.Turn exactly 90o

Page 16: EV3 Robotics

Pick a sound file to play

File name is displayed in upper right corner

Page 17: EV3 Robotics

Infrared

Touch

Light

Ultrasonic

Gyroscope

Compass

Page 18: EV3 Robotics

Unlimited (default)

Time Sensor

Page 19: EV3 Robotics

“Wait for Time” Allows the robot/program to complete one task before moving to the next or by defining a delayed start time for an action.

Page 20: EV3 Robotics

Challenge:

Program your robot to greet someone as they walk past

Page 21: EV3 Robotics

On the floor are a cup-ple (please laugh). Your robot must complete a figure 8 around the cups.

Page 22: EV3 Robotics
Page 23: EV3 Robotics

22 July 2016CQUniversity Community

Sports CentreAll Welcome

This year’s goal 250+ participants