3 sensors mini lesson - storage.googleapis.com · evo 3: sensors mini lesson 1 evo skills 3 sensors...

6
1 Evo 3: Sensors Mini Lesson EVO SKILLS 3 SENSORS MINI LESSON Essential Question/Summary Students will learn how to use the sensor blocks along with movement, sound and lights. Information Instructors should feel comfortable with the loop and logic blocks on OzoBlockly.com Please see this guide for help on uploading OzoBlockly code onto Evo http://files.ozobot.com/stem-education/ozoblockly-evo-getting-started.pdf Prerequisites Students will need to be familiar loops and the if/else block Grouping This can be an individual or partner activity Materials OzoBlockly.com editor on a computer or tablet Ozobot Evo, one per student or pair Attached handouts (two found below) o The program specifications o The race course Age/Grade Level Grades 4 through 12 OzoBlockly Programming Topics Loops, logic, sounds, sensors, lights, movement OzoBlockly Mode OzoBlockly Evo mode must be used. Blocks should come from level 3 and level 4.

Upload: others

Post on 05-Jul-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

1 Evo 3: Sensors Mini Lesson

EVO SKILLS 3 SENSORS MINI LESSON

Essential Question/Summary Students will learn how to use the sensor blocks along with movement, sound and lights.

Information • Instructors should feel comfortable with the loop and logic blocks on

OzoBlockly.com• Please see this guide for help on uploading OzoBlockly code onto Evo

http://files.ozobot.com/stem-education/ozoblockly-evo-getting-started.pdf

Prerequisites Students will need to be familiar loops and the if/else block

Grouping This can be an individual or partner activity

Materials • OzoBlockly.com editor on a computer or tablet• Ozobot Evo, one per student or pair• Attached handouts (two found below)

o The program specificationso The race course

Age/Grade Level Grades 4 through 12

OzoBlockly Programming Topics Loops, logic, sounds, sensors, lights, movement

OzoBlockly Mode OzoBlockly Evo mode must be used. Blocks should come from level 3 and level 4.

2 Evo 3: Sensors Mini Lesson

Duration Approximately 30-60 minutes.

Topics • Computer Science (Loops, variables, conditionals)

Academic Standards CCSS.MATH.PRACTICE.MP1 Make sense of problems and persevere in solving them. CCSS.MATH.PRACTICE.MP5 Use appropriate tools strategically. CCSS.MATH.PRACTICE.MP7 Look for and make use of structure. ISTE 1.c Use technology to seek feedback that informs and improves their practice to demonstrate their learning in a variety of ways ISTE 4.c Develop, test and refine prototypes as a part of a cyclical design process ISTE 5.c Break problems into component parts, extract key information, and develop descriptive models to understand complex systems or facilitate problem solving ISTE 6.a Choose the appropriate platforms and tools for meeting the desired objectives of their creation or communication

Vocabulary • Sensor: a device that detects or measures changes in its environment and

sends the information to a computer that decides a programmed response.

Overview Students willprogram their Ozobot to move away from obstacles, based on where the obstacles appear. This will allow them to guide Ozobot from the start to finish line with just their hands (which will be detected by the sensors).

Related Activities This lesson is meant to be done with the two other mini lessons, Count to Ten and Timer. The Binary Blaster is a longer activity that would be a good extension of the mini lessons.

3 Evo 3: Sensors Mini Lesson

LESSON/ACTIVITY PLAN

By completing this lesson, students should feel confident in their ability to use the new sensor blocks. The instructor can introduce the activity as a mini lesson; it is possible to fit one or two mini lessons into one class session.

Programming Instructions:

Task: make Ozobot Evo move a specific way based on what the motion sensors detect. Ozobot will move the opposite direction of a front left or front right obstacle, by 45 degrees; if the sensors pick up an object from behind, Ozobot will move forwards. Once students correctly program Ozobot, have them guide Ozobot from start to finish on the race course handout.

1. Use a repeat forever loop to run the program until the Ozobot “sees” a blacksurface

2. If Ozobot detects an object from the left front sensor:a. The proximity sensor should be set to detect for greater than 20 so that

obstacles must be close to Ozobot to cause changeb. Set the front lights color randomly,c. Say the direction that Ozobot is moving (right)d. Rotate Ozobot -45 degrees

3. If Ozobot detects an object from the right front sensor:a. The proximity sensor should be set to detect for greater than 20 so that

obstacles must be close to Ozobot to cause changeb. Set the front lights color randomlyc. Say the direction Ozobot is moving (left)d. Rotate Ozobot 45 degrees

4. If Ozobot detects an object from behind set all of the lights green and moveforwards 3 steps

5. If the surface color “black” is detected break out of the loop and use a soundblock to say the surface color to signify the end of your program

6. Once the students finish their program they can test out their Ozobot on therace course handout. They will use their hands as a guide and can move theirOzobot towards the finish line. There are two flags on the course and Ozobotmust move around them in the directions indicated on the course.

If Ozobot touches either of the flags, students must start the race over by putting

4 Evo 3: Sensors Mini Lesson

Ozobot back on the “start” spot

The following image is a possible solution

Notes:

• Each student can work on their own;however, if some of the concepts arenew it may help students to work inpairs.

• Each student should have a copy ofthe program specifications handoutand the race course, which can befound below.

Sensor Course

STARTSTAR

TS

TAR

TSTART

FINISH

Programming Instructions Handout

Programming Instructions Handout

Make Evo Move! Sensor Activity

Programming Instructions:

Task: make Ozobot Evo move a specific way based on what the motion sensors detect. Ozobot will move the opposite direction of a front left or front right obstacle, by 45 degrees; if the sensors pick up an object from behind, Ozobot will move forwards. Once you correctly program Ozobot, guide Ozobot from start to finish on the race course handout using only your hands as obstacles!

1. Use a repeat forever loop to run the program until the Ozobot “sees” a blacksurface

2. If Ozobot detects an object from the left front sensor:a. The proximity sensor should be set to detect for greater than 20 so that

obstacles must be close to Ozobot to cause changeb. Set the front lights color randomly,c. Say the direction that Ozobot is moving (right)d. Rotate Ozobot -45 degrees

3. If Ozobot detects an object from the right front sensor:a. The proximity sensor should be set to detect for greater than 20 so that

obstacles must be close to Ozobot to cause changeb. Set the front lights color randomlyc. Say the direction Ozobot is moving (left)d. Rotate Ozobot 45 degrees

4. If Ozobot detects an object from behind set all of the lights green and moveforwards 3 steps

5. If the surface color “black” is detected break out of the loop and use a soundblock to say the surface color to signify the end of your program

6. Once the students finish their program they can test out their Ozobot on the racecourse handout. They will use their hands as a guide and can move their Ozobottowards the finish line. There are two flags on the course and Ozobot must movearound them in the directions indicated on the course.

If your Ozobot touches one of the flags, you must put Ozobot back on the “start” spot and start the race over.