# mBot: Pattern Recognition (Gr. 5)

## Making patterns with geometry and light!

**Description**

The technical understanding of patterns constantly arises in math and science, and coding is no different. Many important algorithms use patterns in order to work. In this lesson, students will appreciate the utility of loops by first driving in a square (the hard way) and then are taught a more efficient method (using loops). Moving onto more complex (regular) shapes forces students to dissect the smallest repeatable unit in the pattern. Lastly students will start referring to each action in the pattern as a term, use the term number, and utilize the mBot's lights and sounds to create and dissect more interesting patterns.

**Objectives**

**Students will be able to understand:**

- Extrapolating Patterns (Lesson Focus)
- Regular Polygons
- Internal and External Angles
- Term Numbers
- Loops
- Precise Motor Control
- RGB LEDs
- Tones

**Lesson Procedure**

- Class 1 - Intro to mBlock, Driving in a Square, and Geometrical Patterns (~45min)
- Class 2 - Lights, Sounds and Term Numbers (~45min)

# Curriculum Connections Summary

- Ontario - Mathematics - Algebra (Coding)
- Quebec - Mathematics
- New Brunswick - Mathematics
- Nova Scotia - ICT
- Alberta - Mathematics & ICT/CTF
- British Columbia - Mathematics & ADST
- Manitoba - Mathematics
- Prince Edward Island - Mathematics
- Saskatchewan - Mathematics
- Newfoundland & Labrador - Mathematics
- Yukon Territories - Follow's B.C.'s Curriculum
- Northwest Territories - Follows Alberta's Curriculum
- Nunavut - Follows Alberta's Curriculum

**Robots and Accessories **

**
**

- mBots

**Other Supplies**

- Laptops
- Makeblock Software

## Find Out More

*mbot is the best of both worlds, transitioning students from Scratch Blocks to Text Code*