Skip to main content

EcoBits Explorers: Collecting Environmental Data with Micro:bits

Three photos of students at classroom tables, each testing a small Micro:bit sensor with a tablet in front of them.
In the Mystery Sensor warm-up, students shake, warm and shine light on a sensor while watching its graph on a phone or tablet, to work out what it measures.
The EcoBits Data Dashboard app on a phone, showing a line chart titled Light Readings from Ms. Thompson's Room.

In this module, students gather authentic environmental data by setting up and utilizing sensors such as temperature, light, and motion (project compatible with iPhones, iPads, and Android phones/tablets). Students can create a dashboard app to monitor data collection anywhere there is a cellular or Wi-Fi connection.

Educators can use this lesson to support students in making and defending a claim based on evidence about the natural world that reflects scientific knowledge and student-generated evidence (NGSS MS/HS Practices 4 & 7). As with all MIT App Inventor efforts, emphasis is on active constructionist learning where students code projects that instantiate their ideas.

  • GradesMiddle School & High School, grades 7–12+
  • Duration5 × 50-minute lessons
  • HardwareA Micro:bit, V2 or newer
  • DevicesiPhone, iPad, or Android phone or tablet

Student Self-Guided Tutorials

Three students around a table: one holds a Micro:bit while another watches its readings graphed on a tablet.
Project 1 · Warm-up

The Mystery Sensor Project

A warmup for the Fridge Project that helps get oriented to Bluetooth sensors.

A Micro:bit sitting on a refrigerator shelf between food containers, marked with an orange arrow.
Project 2

The Fridge Project

Collect light and temperature data by putting the Micro:bit inside your refrigerator. Monitor your data anywhere with the dashboard app.

The EcoBits Data Dashboard app on a phone, with a light intensity chart above a temperature chart.
The Data Dashboard app: opening the fridge door shows up in the light readings (top), and its effect on temperature in the readings below.

Teacher Materials

All resources are in Google Drive.

Special hardware requirements: Requires a Micro:bit. For best results, use Micro:bit models V2 and newer. You can check the device version by looking at the lower left corner of the back.

More units for the classroom: Data Science · The Internet of Things · Teach with App Inventor