Computer Science
Engineering Vision Extenders: Light Sensors
Middle School
Impacts of Computing
Algorithms & Programming
In Classrooms
Students use micro:bits and MakeCode to design and build a simple light sensor.
unit 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.
- 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
Standards Alignment
YES units align with state and national science standards, integrating seamlessly with popular elementary science curricula.
unit Resources
Digital Resources (FREE)
YES provides these materials free of charge! Use the link below to download resources from our Google Drive.
Download ResourcesModule 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.