1 of 57

Intro to Blockly

4-Day Lesson Plan

**Need a K-1 version, check it out HERE

2 of 57

DAY 1

What are robots?

&

Understanding Blockly

3 of 57

Day 1 Teacher Notes

Lesson Overview

  • Intro-What is a robot? & Meet Dash (5 minutes)
  • How Dash Works– Coding, Computer Programs, Block Coding & Blockly (5 minutes)
  • Logging into Blockly (15 minutes)
    • Have students get Blockly ready first, then leave materials on table and explain next steps
      • If connecting to Blockly as a whole class is overwhelming, working in small groups as a station rotation is a great option
  • Blockly Scavenger Hunt (20 minutes)
    • Students will access Blockly without using Dash to complete the activity
  • Share & Reflect (3 minutes)

4 of 57

Hi! I’m Dash!

I am a robot.

What do you think

a robot does?

5 of 57

Robots are machines that can complete jobs without needing a person, because they have computers inside of them.

Here are some everyday robots:

Can you think of other examples?

Drones

Vacuums

Factory Machines

6 of 57

Robots run a program that tells them how to do their job.

Most robots don’t think.

They follow commands.

They can do the same job over and over again in exactly the same way.

Dash can launch the ball over and over again, and sink the basket every time.

7 of 57

What is Coding?

Coding is writing the set of instructions that a computer or robot reads to complete

a task.

8 of 57

What is a Computer Program?

A computer program is a set of instructions a computer follows. It is the software we use!

9 of 57

What is Block Coding?

Block Coding is a coding language where each block is an instruction and you drag the blocks into the order you want the instructions to go.

10 of 57

How Do You Use Blocks?

11 of 57

Logging into Blockly on a Tablet

  1. Tap Blockly

2. Tap “Student”

3. Type teacher code

4. Tap “Profiles”

5. Find and tap your class

6. Tap your name

12 of 57

Logging into Blockly on a Computer

Start with code.makewonder.com

2. Tap Blockly

3. Tap “Student”

4. Type teacher code

4. Tap “Profiles”

5. Find and tap your class

6. Tap your name

  1. Play with Dash & Dot

Connect

Projects

Blank Project

13 of 57

  • Tap My Projects

2. Tap Create New

3. Blank Project & Create

4. Ready to program!

How to Start a New Project in Blockly

14 of 57

1. Without Dash, open up the Blockly app

2. Use Blockly to help you complete the scavenger hunt. You may have to tap inside blocks to find the answers!

Blockly Scavenger Hunt

15 of 57

16 of 57

17 of 57

18 of 57

19 of 57

20 of 57

21 of 57

22 of 57

23 of 57

24 of 57

Share & Reflect

  • What surprised you the most about Dash and coding?

  • What do you want to learn more about?

25 of 57

DAY 2

Exploring Coding & Understanding Blockly

26 of 57

Day 2 Teacher Notes

Lesson Overview

  • Intro-What does coding mean? (5 minutes)
  • Understanding Blockly (15 minutes)
    • Go over the categories of blocks in Blockly. This can be done whole class, or have students work through those slides and videos individually. There is a slide about variables, however, these might not be used on the worksheets.
  • Blockly Programs worksheet (20 minutes)
    • 1 copy/student/group
    • Students can use Blockly to help them think through the questions. You will not need Dash today.
    • Save worksheet for following activities today and tomorrow. Answers will vary, so there isn’t an answer key for these worksheets.
  • Blockly Coding Unplugged
    • Students will act out the programs on their worksheet
    • Demonstrate coding unplugged where one student is the robot and the other is the programmer telling them which program to perform
    • Numbers in forward movements can be steps. 30cm = 3 steps
    • Turns are in 90 degrees, one turn to left or right
  • Share & Reflect (3 minutes)

27 of 57

What do you think it means “to code”?

28 of 57

What is Coding?

Coding is writing the set of instructions that a computer or robot reads to complete

a task.

29 of 57

Dash uses block coding in Blockly to write programs.

30 of 57

What do the Blocks mean in Blockly?

31 of 57

START

Connect your first block to the ‘When Start’ block. If nothing is attached, nothing happens when you run your program.

32 of 57

DRIVE

Drive blocks control where and how Dash moves! Forward and Backward blocks use centimeters as units, and turns refer to degrees as the unit of the turn angle.

33 of 57

LOOK

Make Dash’s head move up, down, left, or right. Units refer to degrees. Degree units are absolute, meaning Left 30 sets the head at 30 degrees left from a neutral straight position.

34 of 57

LIGHT

Make Dash’s head move up, down, left, or right. Units refer to degrees.

Degree units are absolute, meaning Left 30 sets the head at 30 degrees left from a neutral straight position.

35 of 57

Dash loves to play sounds- go to each category and pick a sound to add some fun effects to your programs!

You also have the option to record your own sound.

SOUND

36 of 57

Use Animations to make Dash do fun dances, greetings, expressions and more!

ANIMATIONS

37 of 57

Control how Dash interacts with its environment.

To change the time, location or trigger for the program, tap inside the rectangles on the block for more options.

The more detailed your program gets, these blocks will help streamline your code and make less mistakes.

CONTROL

38 of 57

In programming, variables act like boxes to hold values. They’re called “variables” because what’s in them can ‘vary’ or change.

Why would you want to use a variable?

  1. They make code shorter
  2. They make code easier to read
  3. They make code easier to change

VARIABLES

39 of 57

ACCESSORY

Attach an accessory to Dash; Gripper Building Kit, Sketch Kit or Launcher and use these special blocks to make them move.

Gripper Building Kit

Launcher

Sketch Kit

Building Brick Connectors (no extra programming required)

40 of 57

Complete the following activities.

Save for the next 2 days!

41 of 57

Share & Reflect

  • What surprised you the most about Dash and coding?

  • What do you want to learn more about?

42 of 57

DAY 3

Coding Unplugged

43 of 57

Day 3 Teacher Notes

Lesson Overview

  • Intro-Having a growth mindset when coding (5 minutes)

  • (Finish from day before) Blockly Programs worksheet (20 minutes)
    • 1 copy/student/group
    • Students can use Blockly to help them think through the questions. You will not need Dash today.
    • Save worksheet for following activities today and tomorrow. Answers will vary, so there isn’t an answer key for these worksheets.
  • Blockly Coding Unplugged
    • Students will act out the programs on their worksheet
    • Demonstrate coding unplugged where one student is the robot and the other is the programmer telling them which program to perform
    • Numbers in forward movements can be steps. 30cm = 3 steps
    • Turns are in 90 degrees, one turn to left or right
  • Share & Reflect (3 minutes)

44 of 57

What are some things you have had to practice to get better at?

45 of 57

Coding takes a lot of practice!

The more you practice and learn, the better at coding you’ll become.

Having a growth mindset is important to help you keep going, even when things are a challenge.

46 of 57

Coding Unplugged

Robot

Programmer

Following the steps in a program without a device

Take turns with a partner being each role and using the programs on the worksheet.

47 of 57

Share & Reflect

  • What surprised you the most about coding in Blockly?

  • What was a challenge for you and your group?

  • What do you want to learn more about?

48 of 57

DAY 4

Coding with Dash

49 of 57

Day 4 Teacher Notes

Lesson Overview

  • Intro-How to Care for Dash (5 minutes)
  • Creating programs in Blockly (10 minutes)
    • 1 device/partnership & worksheets from Day 3
    • 1 Dash robot/partnership
    • Have students get Blockly ready first, then leave materials on table and explain next steps
      • If connecting to Blockly as a whole class is overwhelming, working in small groups as a station rotation is a great option
    • Demonstrate coding in Blockly where one student is in charge of the robot and the other is the programmer moving the blocks from the worksheet on the device
    • If groups finish, there is a slide with bonus challenges
  • Share & Reflect (3 minutes)

50 of 57

Taking Care of Dash

51 of 57

52 of 57

Connect Your Dash Robot to Blockly

  1. Turn Dash on

2. Launch Blockly, if necessary, re-enter your teacher code and find your profile

4. Choose your robot

**Make sure device bluetooth is turned on

3. Tap the orange plus sign to connect Dash

53 of 57

Coding in Blockly

Robot

Programmer

Take turns with a partner being each role and using the programs on the worksheet.

The programmer will build the code in Blockly and the other partner will be in charge of Dash and placing it where it needs to go for each challenge.

54 of 57

Use Blockly to program the answers to your activities.

55 of 57

Bonus Challenges

How can you code Dash to…

  • Move forward 30 cm.

  • Move Dash’s head to look left and look right

  • Say “Hello”

  • Move in a square

56 of 57

Share & Reflect

  • What surprised you the most about coding Dash?

  • What was a challenge for you and your group?

  • What do you want to learn more about?

57 of 57

Email Address

contactnaomimeredith@gmail.com

Website

naomimeredith.com

Instagram

@naomimeredith_

YouTube & TpT Shop

Naomi Meredith

Podcasts

The Elementary STEM Coach &

STEM Career Quest

Naomi Meredith is an online K-5 STEM Coach in Colorado supporting elementary teachers world-wide navigate the best practices, strategies and tools with her podcasts, curriculum and resources. Naomi has over a decade of experience teaching, 5 years teaching elementary STEM, along with a M.Ed. in STEM Leadership and STEM Certificate.