Introduction to Ozobot Blockly 01: Basic Training (Grades 2-12)
Author: Ozobot
Grades:
2—12
Subject(s):
Computer Science,
Engineering/Tech
Pre-Reader/ESL-
Friendly?
No
Compatible Bot(s):
Evo
Coding Method:
OzoBlockly
Quick Summary:
In this lesson, students will learn how to navigate through OzoBlockly,
program simple block-based code, and run the code on their Ozobot.
Duration: 45 min
Objectives & Outcomes
1
Student will be able to build programs in OzoBlockly using blocks from the categories: Loops, Sounds, Timing,
Movement, and Light Eects.
2
Student will be able to run their block-based code on any Bluetooth®-enabled Ozobot (e.g. Evo).
3
Student will be able to navigate through and select a level in OzoBlockly.
4
Student will be able to use the delete, duplicate, undo, and redo icons in OzoBlockly.
Preparation
Teacher Materials & Digital Resources
Solution-ozobot-grades-2-12-Introduction-to-Ozobo...
Video
6-12GR-CS: Introduction to Ozobot Blockly 01: Bas...
Introduction to Ozobot Blockly 01: Basic Training...
Student Materials
1 OzoBlockly Editor per student
1 Bluetooth®-enabled Ozobot (e.g. Evo) per student
Blockly Editor
Background Knowledge
Completed lesson
Introduction to Ozobot: Get to Know Evo https://classroom.ozobot.com/lessons/lnHsHKD0kXTgueqAiT7Pg7jQT3
LESSON PLAN | FOR EDUCATORS
1
© Evollve, Inc
ozobot.com
Direct Instruction
1
Use the instructional video to guide your students through the activity. Alternatively, continue with the direct
instructions below. Have students follow along, step by step, or you can model creating the entire program and
then release students to construct the code on their own.
Before you dive in, dene the vocabulary terms: Code and Program Code: Instructions written in a programming
language Program: A complete set of instructions written in code that the computer executes to achieve a
particular objective Explain that pieces of code are combined to create programs. Tell students they will use
OzoBlockly to build block-based programs. OzoBlockly is a block-based editor. This editor allows students to
create programs for Ozobot using blocks that can be selected, dragged, dropped, and connected together like
puzzle pieces. Programs written with OzoBlockly can be sent to Ozobot Evo via Bluetooth. This means
OzoBlockly sends the program wirelessly to Ozobot, and Ozobot can run the program.
2
Point out that on the left side of the screen, there is a panel. This panel is where the blocks for programming are
found. OzoBlockly has 5 levels. Ask students what they notice about the dierence between the levels. Explain
that Level 1 is designed for beginners and Level 5 is designed for advanced users. As you go up in levels, there
are more block categories that contain more advanced blocks. Today, students will be working with Level 2.
3
Explore OzoBlockly with your students by selecting Level 2 and explain that you can see ve dierent block
categories. The categories are Movement, Light Eects, Timing, Loops, and Sounds. Click on the dierent block
categories. Point out how there are dierent types of blocks within each category. Ask students, "What do you
think the blocks in the sound category will tell your bot to do?" Then, explain that when programming with these
blocks, Ozobot will make dierent sounds. Ask students to think about the other categories. Explain that
movement will allow you to program your bot to move, light eects will allow you to program Ozobot's LED lights,
timing will allow you to control the time between blocks, and loops will allow you to program repeating sequences.
Point out the right side of the panel to nd the workspace. Explain that the workspace has a larger area and is
where you will build your program. Model how to click on Light Eects, select Rainbow, and drag the rainbow
block into your workspace.
4
Review the four icons found in the workspace. The four icons are a trash can, a pair of blocks, a left arrow, and a
right arrow. Show students how to use them. Select the rainbow block. Explain to students, you'll know you've
selected it when you see the block outlined in white. After selecting the block, click on the duplicate icon. The
duplicate icon has a plus symbol on it. Show students that the block duplicates, or makes a copy when the icon is
clicked. Then, click on the undo button, and explain that it undoes your last action, and in this case, it undoes
your duplication of the rainbow block. Then, click on the re-do button, and explain that in this case, it brings the
block back.
5
Explain to students: there are four ways to delete blocks. The rst way is to drag and drop a block or group of
blocks back into the side panel area. The second way is to drag and drop blocks over the trash icon. The third
way is to right-click and select "delete." The nal way is used to completely delete everything. If you'd like to
completely delete everything, click on the trash and select, "Yes" to delete all blocks.
LESSON PLAN | FOR EDUCATORS
Introduction to Ozobot Blockly 01: Basic
Training (Grades 2-12)
2
© Evollve, Inc
ozobot.com
6
Explain to students: Now that you know how to navigate around OzoBlockly, you are ready to construct a
program. Explain that they will start with a simple program that gets Ozobot to move. Model how to click on the
"Movement" category and explain that you can see the dierent blocks available in Level 2 that program Ozobot's
movements. You will program your bot to move forward. Model how to select the rst block in the list and drag it
into your workspace. Point out the three elds with drop-down menus. Explain that in Level 2, the blocks utilize
drop-down menus for them to adjust the code. In more advanced levels, there are elds they can type in. Model
how to practice with the dropdowns. Explain that to see the bot move, you will adjust the number of steps to 10.
The block now reads, "Move Forward 10 Steps Speed Medium."
7
Explain that now that you have adjusted your code, you are able to run it. Show students how to be sure the bot is
connected by looking at the bot icon. If the bot icon is teal you are connected. If it is red, click on the icon to pair
your bot. Click on "Run Program". Ask students, "Did your bot do what it is programmed it to do?"
8
Explain to students that once they have successfully programmed their bot to move, they get to add more to their
program. Explain that they can choose blocks from the other categories and connect them to the block in the
workspace. Optionally, you can model how to add blocks from the Light Eects, Timing, Loops, and Sound
Categories and adjust some of the pull down menus. Explain that if you use a loop block, explore what happens
when you put lines of code in the loop and that students will learn more about loops in a later lesson.
9
Great work constructing your rst program with OzoBlockly! Now, you should know how to:
• Navigate through OzoBlockly's Levels
• Connect and program loops, light eect, sound, and timing blocks
• Delete unneeded blocks
• Run your program on your Ozobot using Bluetooth
If you're looking for more, you can continue to explore the dierent levels of OzoBlockly and build dierent
programs.
Supplements
Lesson Closure
Verify mastery of the following::
• Navigate through OzoBlockly's Levels
• Connect and program Loops, Light eect, Sound, and Timing blocks
• Delete unneeded blocks
• Run the program on the Ozobot using Bluetooth
Additional Attachments
LESSON PLAN | FOR EDUCATORS
Introduction to Ozobot Blockly 01: Basic
Training (Grades 2-12)
3
© Evollve, Inc
ozobot.com
LESSON PLAN | FOR EDUCATORS
Introduction to Ozobot Blockly 01: Basic
Training (Grades 2-12)
4
© Evollve, Inc
ozobot.com
Academic Standards
CSTA.2-AP-12
Design and iteratively develop programs that combine control structures, including nested loops and compound
conditionals.
CSTA.2-AP-17
Systematically test and rene programs using a range of test cases.
ISTE.5.d
Students understand how automation works and use algorithmic thinking to develop a sequence of steps to create
and test automated solutions.
LESSON PLAN | FOR EDUCATORS
Introduction to Ozobot Blockly 01: Basic
Training (Grades 2-12)
5
© Evollve, Inc
ozobot.com
Name: Date:
1
Introduction to OzoBlockly 01
Basic Training Activity Sheet
© Evollve, Inc
Grades 6-12 | Computer Science
SAMPLE SOLUTION
5
Movement
Light Effects
Timing
Loops
Sounds
1
How many level are there in OzoBlockly?
2
List the block categories in Level 2:
3
Write/draw input a block that you used in your program from each category:
Name: Date:
2
Introduction to OzoBlockly 01
Basic Training Activity Sheet
© Evollve, Inc
Grades 6-12 | Computer Science
SAMPLE SOLUTION
Student responses will vary
Drag and drop blocks into the side panel
Drag and drop blocks over the trash icon
Right click and select “delete
Select the trash can and select “delete everything”
4
Draw or input a screenshot of the following icons:
Duplicate Undo Redo
4 |
3 |
5
List the four ways to delete block(s):
6
Describe the behavior of your Ozobot when you ran the program:
2 |
1 |
Introduction to Ozobot Blockly 01: Basic Training (Grades 2-12)
What We'll Cover:
1
We'll be able to build programs in OzoBlockly using blocks from the categories: Loops, Sounds,
Timing, Movement, and Light Eects.
2
We'll be able to run their block-based code on any Bluetooth®-enabled Ozobot (e.g. Evo).
3
We'll be able to navigate through and select a level in OzoBlockly.
4
We'll be able to use the delete, duplicate, undo, and redo icons in OzoBlockly.
Materials:
1 OzoBlockly Editor per student
1 Bluetooth®-enabled Ozobot (e.g. Evo) per
student
Blockly Editor
Activity Instructions:
1
Today, we will learn how to use OzoBlockly! Before we dive in, let's talk about some
vocabulary: Code and Program Let's dene the terms: Code: Instructions written in a
programming language Program: A complete set of instructions written in code that the
computer executes to achieve a particular objective What's the dierence? Think of it this way,
pieces of code are combined to create programs. Today, you will use OzoBlockly to build
block-based programs. OzoBlockly is a block-based editor. This editor allows you to create
programs for Ozobot using blocks that can be selected, dragged, dropped, and connected
together like puzzle pieces. Programs written with OzoBlockly can be sent to Ozobot Evo via
Bluetooth. This means OzoBlockly sends the program wirelessly to Ozobot, and Ozobot can run
the program.
Introduction: youtu.be/KPpFY0oabUk
Ozobot-grades-2-12-intro-to-ozobot-blockly-01-basic-training: https://stg-
les.ozobot.com/lessons/ba6705b9-2262-4487-95fa-5183aec2db64/ozobot-grades-2-12-
intro-to-ozobot-blockly-01-basic-training.FkNJkkGLTvyVb4fGCe2WCg4F.pdf
ACTIVITY GUIDE | FOR STUDENTS
1
© Evollve, Inc
ozobot.com
2
On the left side the screen, there is a panel. This panel is where the blocks for programming are
found. OzoBlockly has 5 levels. Level 1 is designed for beginners and Level 5 is designed for
advanced users. As you go up in levels, there are more block categories that contain more
advanced blocks. Today, you will be working with Level 2. Find and click on Level 2? What block
categories do you see?
OzoBlockly Levels: youtube.com/watch?
v=1rtAy1nc2tY&list=PLx38MWU2CMCm5VKanXTOBFyosWcsoZCN3&index=2
3
Let's explore. You've selected Level 2 and can see ve dierent block categories. The categories
are Movement, Light Eects, Timing, Loops, and Sounds. Click on the dierent block categories.
Notice how there are dierent types of blocks within each category. When programming with the
sound blocks Ozobot will make dierent sounds. The movement will allow you to program your bot
to move, light eects will allow you to program Ozobot's LED lights, timing will allow you to control
the time between blocks, and loops will allow you to program repeating sequences. Now, look at
the right side of the panel to nd the workspace. The workspace has a larger area and is where
you will build your program. Click on Light Eects, select Rainbow, and drag the rainbow block
into your workspace. Your turn to practice using your workspace. Can you drag and drop the
rainbow block into your workspace?
ACTIVITY GUIDE | FOR STUDENTS
Introduction to Ozobot Blockly 01: Basic
Training (Grades 2-12)
2
© Evollve, Inc
ozobot.com
Side Bar and Workspace: youtu.be/f3ZyMYHXnaA
4
Before you construct your program, let's review the four icons found in your workspace. The four
icons are a trash can, a pair of blocks, a left arrow, and a right arrow. Select the rainbow block.
You'll know you've selected it when you see the block outlined in white. After selecting the block,
click on the duplicate icon. The duplicate icon has a plus symbol on it. The block duplicates or
makes a copy. Now, click on the undo button, which is the arrow turning to the left, or
counterclockwise. The block undoes your last action, and in this case, it undoes your duplication of
the rainbow block. Now, click on the re-do button, or the button turning right, or clockwise. In this
case, it brings the block back. Can you practice using the duplicate, undo and redo icons?
Copy, Undo, and Redo Icons: youtu.be/l9rY4TakY5M
5
There are four ways to delete blocks. The rst way is to drag and drop a block or group of blocks
back into the side panel area. The second way is to drag and drop blocks over the trash icon. The
third way is to right-click and select "delete." The nal way is used to completely delete everything.
If you'd like to completely delete everything, click on the trash and select, "Yes" to delete all blocks.
Choose one of these ways to delete all of the blocks in your workspace.
Deleting Blocks: youtu.be/t4b9yiQIHm8
ACTIVITY GUIDE | FOR STUDENTS
Introduction to Ozobot Blockly 01: Basic
Training (Grades 2-12)
3
© Evollve, Inc
ozobot.com
6
Now that you know how to navigate around OzoBlockly, you are ready to construct a program.
Let's start with a simple program that gets Ozobot to move! Click on the "Movement" category.
Here you can see the dierent blocks available in Level 2 that program Ozobot's movements. You
will program your bot to move forward. Select the rst block in the list and drag it into your
workspace. Notice, there are three elds with drop-down menus. In Level 2, the blocks utilize
drop-down menus for you to adjust the code. In more advanced levels, there are elds you can
type in. Can you nd the "move forward distance 1 step speed medium" block and drag it into your
workspace? Then, adjust the number of steps to 10
Constructing and Adjusting Your Program: youtu.be/sOBVDRryjtg
7
Now that you have adjusted your code, you are able to run it. Be sure your bot is connected by
looking at the bot icon. If the bot icon is teal you are connected. If it is red, click on the icon to pair
your bot. Did your bot do what you programmed it to do?
Running Your Program: youtu.be/BENpNM1Q71s
ACTIVITY GUIDE | FOR STUDENTS
Introduction to Ozobot Blockly 01: Basic
Training (Grades 2-12)
4
© Evollve, Inc
ozobot.com
8
Now, you get to add more to your program. You will choose blocks from the other categories and
connect them to the block in your workspace. You can add blocks from the Light Eects, Timing,
Loops, and Sound Categories and adjust some of the pull-down menus. If you use a loop block,
explore what happens when you put lines of code in the loop. You'll learn more about loops in a
later lesson. Choose a block from each category, add them to your program, adjust any pull-downs
that you'd like, run the program and observe the behavior of your bot.
Add More To Your Program: youtu.be/m4vWqCDQgX4
9
Great work constructing your rst program with OzoBlockly! Now, you should know how to:
• Navigate through OzoBlockly's Levels
• Connect and program loops, light eect, sound, and timing blocks
• Delete unneeded blocks
• Run your program on your Ozobot using Bluetooth If you're looking for more, you can continue
to explore the dierent levels of OzoBlockly and build dierent programs.
Check for Understanding & Optional Extensions: youtu.be/cUQMpib4tzo
ACTIVITY GUIDE | FOR STUDENTS
Introduction to Ozobot Blockly 01: Basic
Training (Grades 2-12)
5
© Evollve, Inc
ozobot.com
Name: Date:
1
Introduction to Ozobot Blockly 01: Basic Training
Activity Sheet
© Evollve, Inc
Grades 6-12 | Computer Science
1
How many level are there in OzoBlockly?
2
List the block categories in Level 2:
3
Write/draw input a block that you used in your program from each category:
Name:
Date:
2
Introduction to Ozobot Blockly 01: Basic Training
Activity Sheet
© Evollve, Inc
Grades 6-12 | Computer Science
4
Draw or input a screenshot of the following icons:
Duplicate Undo Redo
4 |
3 |
5
List the four ways to delete block(s):
6
Describe the behavior of your Ozobot when you ran the program:
2 |
1 |