CyberPi: Sensor Meter (Gr. 6-8)

Block-Based: Beginner


In this lesson, students will discover how the on-board sensors on the CyberPi represent loudness and light intensity of the surrounding environment. Students will learn about data representation and graphing of sensors values.


  • Describe how CyberPi sensors detect the surrounding environment.
  • Debug errors in programs in mBlock.
  • Document a program using comments in mBlock.

Curriculum Connections Summary

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

Find Out More


Networkable microcontroller for Computer Science and AI education

CyberPi is a single-board computer, packed with advanced electronics which makes it a powerful coding machine! In combination with an impressive mBlock coding editor, it supports the development of coding skills from block-based programming to Python. The Python editor is a platform designed for learning and teaching Python and Micropython - taking AI, IoT and Data Science learning to the next level!