Computer Science Module Overview

This computer science module can be taught independently but is intended to be taught after the YES Middle School Engineering Vision Extenders unit. 

Students explore similarities and differences between sensors and their own senses. Students use a computer to monitor light and notify a user of changes in the environment.

  • Recommended for use with Engineering Vision Extenders, grades 6–8
  • Setting: In school
  • Computer science connections: Algorithms and Programming; Impacts of Computing
  • 2 lessons
  • 45 minutes per lesson
  • Student materials available in Spanish
  • Computational tools used: micro:bits, MakeCode (free and web-based)
  • Materials needed: Materials kits are not available for purchase for computer science modules

View all YES Computer Science modules.

Standards alignment

YES computer science modules align with state and national computer science standards. View Engineering Vision Extenders and Light Sensors Alignment or all Standards Alignments.

Module Map

Teams create a simple light meter using the light sensor on a micro:bit.

Students relate their own ideas of how automatic lights work to introduce the concept of if/ then statements. After translating their algorithm to MakeCode, students realize that the computer needs additional instructions requiring an if/then/else statement.

Our funders

Major support for this project has been provided by MathWorks.

MathWorks Logo

What’s Included?

  • Teacher Guide (PDF)
  • Teacher Slides (Google Slides)
  • Print Materials (PDF)