Ev3 Programming Lesson Plan ENUS
Ev3 Programming Lesson Plan ENUS
TO ROBOTICS
LESSON PLAN
USING THE EV3
PROGRAMMING APP
LEGOeducation.com/MINDSTORMS
Table of Contents
Table of Contents
Introduction to Robotics Lesson Plan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Lesson 1 - Building and Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Lesson 2 - Curved Move . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Lesson 3 - Move Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Lesson 4 - Stop at Object. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Lesson 5 - Stop at Angle. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Lesson 6 - Stop at Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Lesson 7 - Follow a Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Master Challenge 1 - The Turntable Challenge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Master Challenge 2 - The LEGO Factory Robot Challenge . . . . . . . . . . . . . . . . . . . . . . . . . .
Design Brief Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Relevant Standards. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
4
6
8
10
13
16
18
20
22
24
25
29
30
31
32
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
Introduction
Firmware Update
3. Before connecting tablets and EV3 Bricks via Bluetooth in the classroom, we
recommend renaming each EV3 Brick. This can be done in two ways:
a. Update the name via the desktop EV3 Software using a USB cable.
b. Update to firmware V1.07E or later and change the name via the EV3 Brick
Settings Area (see the User Guide for more help).
4. Check out the Quick Start Video from the Menu.
You may want the students to understand the names and functions of the different
elements in the brick set. Discuss the naming and basic functionality of the key
hardware components and establish a set of brick management rules. A copy of
the 45544 LEGO MINDSTORMS Education EV3 Core Set Elements List is included in
the User Guide. The User Guide is your source for everything relating to the LEGO
MINDSTORMS EV3 Hardware.
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
Lesson 1
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
Lesson 1
b. make their robot display an image or their own text in the EV3 Brick Display;
and
Assessment
Observe and/or ask questions to determine if the students
follow the building instructions to successfully construct the Driving Base;
connect and download programs;
manage to create and run simple programs; and
work cooperatively to solve the tasks.
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
Lesson 2
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
Lesson 2
4. Students solve the Modify It task, which challenges them to add three Move
Steering Blocks to their program in order to make the robot drive backward,
following the same path back to the starting position.
5. Lesson Challenge Ideas:
a. Program the robot to trace out a figure eight or the first letter of your name
(or some other letter or number).
b. Attach a pen to the robot and program it to draw a cloverleaf, heart, flower,
or some other shape.
c. To ensure that students know when to use different kinds of turns (point turn,
single-motor turn, or curved turn), make an obstacle course that requires
different turning methods (see illustration below and/or Appendix A). The
students must write a program that makes the left wheel of the robot follow a
path and parks the robot in the parking area.
For this path use curved turns for the first section, followed by single-motor turns
for the 90-degree turns, and finally, a point turn before reversing the robot into the
parking area.
Assessment
Observe and/or ask questions to determine if the students
set the Steering Parameter Value to 50 to perform a single-motor turn;
set the Steering Parameter Value to 100 or -100 to perform a point turn;
manage to describe the robot behavior in relation to the program in as much detail
as possible;
for the Lesson Challenges
a. are able to trace out the selected shape;
b. are able to attach a pen to their robot and have it draw the correct shape;
c. are able to have the robot follow the path by selecting the correct turn types;
and
work cooperatively to solve the tasks.
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
Lesson 3
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
Lesson 3
5. Students complete the Modify It task. The shape and size of other objects
challenges students to modify their program or make changes to the Medium
Motor Module that allow the robot to grab the different objects. When modifying
the program, students will have to change the number of degrees the Medium
Motor turns in order to accommodate the varying dimensions of the objects.
Note: Before modifying the Medium Motor Module, be aware that it is also required
in Lesson 4 and Master Challenge 2.
6. Lesson Challenge:
Combine the optional challenge of Lesson 2 with moving the Cuboid (or another
object) from predetermined start and end positions (see illustration below and/
or Appendix A). For an additional challenge, students can also use the Ultrasonic
Sensor to help detect the Cuboid (see Lesson 4 for further details).
Assessment
Observe and/or ask questions to determine if the students
successfully grab the Cuboid with the robot;
manage to describe the robot behavior in relation to the program in as much detail
as possible;
modify the robot to grab other objects;
for the Lesson Challenge, grab the Cuboid and place it fairly precisely in the
predetermined end position; and
work cooperatively to solve the tasks.
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
Lesson 4
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
10
Lesson 4
4. Students also complete the Modify It task. They should realize that the robot will
always move forward 11 cm and then backward 6 cm, no matter the start distance
to the Cuboid; this is the essence of the Ultrasonic Sensors Change Mode.
5. Lesson Challenge Ideas:
Students attach the Medium Motor Module and grab the Cuboid (see illustration
below and/or Appendix A). Remind students to use the Wait Blocks Ultrasonic
Sensor Compare Mode so that the robot moves close enough to the Cuboid.
The following scenarios can be used:
a. Cuboid in position 1. Robot in start position. Make the robot move the Cuboid
to position 2 and return to the start position.
b. Cuboid in position 1. Robot in start position. Make the robot move the Cuboid
to position 3 and then park in position 4.
c. Cuboid in position 3. Robot starts in position 4. Make the robot move the
Cuboid to position 1 following the path.
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
Change Mode:
Compare Mode:
11
Lesson 4
Assessment
Observe and/or ask questions to determine if the students
can use the Ultrasonic Sensor to detect the Cuboid;
manage to describe the robot behavior in relation to the program in as much detail
as possible;
in the Modify It task, realize that the robot will always move forward 11 cm and then
backward 6 cm, regardless of the start distance to the Cuboid;
for the Lesson Challenges
a. are able to detect and grab the Cuboid from position 1, follow the path
before releasing the Cuboid in position 2, and then reverse the robot back to
the start position;
b. are able to move the Cuboid correctly from position 1 to position 3 and park
the robot in position 4;
c. are able to move the Cuboid correctly from position 3 to position 1; and
work cooperatively to solve the tasks.
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
12
Lesson 5
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
13
Lesson 5
5. In the Modify It task you may want to introduce students to the Loop Block as a
way of decreasing the number of blocks needed to drive in a square. However,
allow the students sufficient time to work it out for themselves.
Suggested program:
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
14
Lesson 5
Assessment
Observe and/or ask questions to determine if the students
can identify factors that may affect the stopping precision when using the Gyro
Sensor (sensor tolerance, motor slack, and rotational momentum);
manage to describe the robot behavior in relation to the program in as much detail
as possible;
in the Modify It task, can make the robot drive in a square based on Gyro Sensor
input;
for the Lesson Challenges
a. fully or partially draw the letter Z;
b. fully or partially draw a star with five identical angles;
c. fully or partially navigate their robot through a maze; and
work cooperatively to solve the tasks.
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
15
Lesson 6
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
16
Lesson 6
4. In the Test It phase, the students will open a sample program (this will close
the current tutorial). Ensure each group takes the time to describe the robots
behavior when running the sample program using their own words. This
encourages the students to reflect on what they see and how that relates to the
programming blocks. They can use the Comment Box provided on the canvas.
The following sample program is provided for the students:
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
17
Lesson 7
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
18
Lesson 7
4. Students complete the Modify It task, which allows them to test their program
with a lighter-colored line. This will challenge them to experiment with the Wait
Blocks Threshold Value Parameter.
5. Lesson Challenge Ideas:
a. Ask the students to test how fast they can make their robot follow a line.
b. Make a line-follower program that uses Move Steering Blocks to perform
curved turns rather than the sharp single-motor turns used in the tutorial.
c. The tutorial sample program uses a Switch Block to create a line follower.
Can they produce the same result without using a Switch Block?
Assessment
Observe and/or ask questions to determine if the students
are able to make the robot follow the line;
manage to describe the robot behavior in relation to the program in as much detail
as possible;
in the Modify It task, change the Threshold Value Parameter;
for the Lesson Challenges
a. increase the power in one or both of the Large Motor Blocks;
b. fully or partially modify their sample program to include Move Steering
Blocks;
c. fully or partially create a line-follower program using Wait Blocks; and
work cooperatively to solve the tasks.
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
19
Master Challenge 1
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
20
Master Challenge 1
Tasks
1. By using two sensors, students move the robot from the center to final positions 1,
2, 3, and 4. If using the suggested angles for the Wait Blocks Gyro Sensor Mode,
students should create their own copy of the chart below and try to predict which
of the parking bays their robot will drive into:
Programmed Angle
45 deg. clockwise
135 deg. counterclockwise
405 deg. counterclockwise
3
Note: There may be several correct answers, as the robot can be rotated both
clockwise and counterclockwise.
2. Create a program that uses a Switch Block to allow students to navigate the robot
to one of the four parking bays by pressing one of the EV3 Brick Buttons.
Suggested program:
Assessment
Observe and/or ask questions to determine if the students
use both the Color and Gyro Sensors;
correctly predict the angle required to park the robot in each of the parking bays;
use the blue line to stop forward movement;
can compensate for the factors that may affect the stopping precision when using
the Gyro Sensor (sensor tolerance, motor slack, and rotational momentum); and
work cooperatively to solve the tasks.
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
21
Master Challenge 2
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
22
Master Challenge 2
5. Locate the line using the Color Sensor. To challenge students, use sticky tape of a
different color than that used in the Stop at Line and Follow a Line tutorials.
6. Have the robot follow the line towards the large object.
7. Stop right in front of the object. Here, the main challenge for the students is to
define for how long the robot should follow the line before stopping. The large
object at the end of the line gives the students a chance to escape the linefollower loop using the Ultrasonic Sensor. Time can also be used to solve the
challenge.
Assessment
Observe and/or ask questions to determine if the students use their experience from
the seven lessons to solve this seven-step challenge, by
understanding the difference between Change and Compare Modes. For example,
they use the Wait Blocks Ultrasonic Sensor Compare Mode in this challenge to
achieve the best results;
calculating the distance based on wheel circumference or using trial and error to
get to the required 84 cm;
estimating the turn angle by using a protractor and the Gyro Sensor;
measuring the distance and then calculating the number of motor rotations to get
close to the center of the target;
programming the robot to stop at the line;
following the line back;
stopping in front of the large object; and
working cooperatively to solve the tasks.
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
23
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
24
Relevant Standards
Relevant Standards
The seven lessons, two Master Challenges, and Design Brief Challenges provide a
full introduction to robotics and are great examples of how to use robotics in a STEM
context. Using the LEGO MINDSTORMS Education EV3 concept in the classroom
opens up a range of valuable learning outcomes. Skills such as teamwork, creativity,
and problem solving are an inherent part of the experience, and students natural
mastery of tablet devices will help them learn the language of programming more
rapidly.
Below is a selected overview of standards addressed or partially addressed when
using LEGO MINDSTORMS Education EV3. This list will grow steadily when you
expand the use of EV3 in the classroom.
Next Generation Science Standards Framework
Practices
Asking questions
Developing and using models
Planning and carrying out investigations
Analyzing and interpreting data
Using mathematics, Informational and Computer Technology, and computational
thinking
Constructing explanations and designing solutions
Engaging in argument from evidence
Obtaining, evaluating, and communicating information
Cross-cutting concepts
Cause and effect: Mechanism and explanation
Structure and function
Systems and system models
Core Ideas: Engineering, Technology and Application of Science
Engineering Design
Motion and stability: Forces and interactions
Energy
Waves and their applications in technologies for information transfer
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
25
Relevant Standards
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
26
Relevant Standards
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
27
Relevant Standards
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
28
Appendix A
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
29
Appendix B
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
30
Appendix C
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
31
Appendix D
LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS logo are trademarks of the/sont des marques de commerce du/son
marcas registradas de LEGO Group. 2015 The LEGO Group. 041329.
32