mBot: Electric Presentation (Gr. 5-6)

Using coding to model a simple electric circuit.


The mBot can be used to demonstrate student understanding in practically any curriculum area. In this case, we use a popular programming algorithm (line following) to help students showcase and retain the basic concepts of a simple electric circuit.

Overall Curriculum Learning Goals

  • Electricity (Lesson Focus)
  • Circuit Diagrams
  • Resistance

Overall Coding Learning Goals

  • Sequencing
  • Loops
  • If Statements
  • Line Following

Educational Standards

• Grade 6 Science – Electricity and Electrical Devices

British Columbia

• Grade 6 Science – Electricity

• Grade 5 Science – Electricity and Magnetism

Lesson Procedure

  • Class 1 - Intro to mBlock, Simple Circuits, and Condition Based Loops (~30min)
  • Class 2 - If Statements and Line Following (~40min)
  • Class 3 - Main Electric Presentation Challenge (~50min)

Robots and Accessories

  • mBots

Other Supplies

  • Laptops
  • mBlock Software
  • Black Tape (Duct tape works well, thicker the better)

Find Out More


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