CyberPi: Sound Machine (Gr. 6-8)

Block-Based: Beginner


Description

In this lesson, students will create a disco party using the on-board LEDs and speaker. This program will use the CyberPi buttons to trigger events and run scripts. Students will also program a button to stop all sounds and lights, as well as a button to restart the CyberPi.

Objectives

  • Identify CyberPi’s input(s) and output(s).
  • Write pseudocode to plan and design a program in mBlock.
  • Create a program in mBlock using the CyberPi buttons to trigger events.
  • Select and use programming blocks to control the speaker and LED strip.

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


CyberPi
CyberPi

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!