📊 micro:bit Data and Climate Change
  • Introduction
  • Data
  • Climate Change
  • Our Tools
    • 01- micro:bit
    • 02 - MakeCode
      • A - Events
      • B - Animations
      • C - Counting
      • D - If Hot
    • 03 - Servo Motor
      • Coding your first servo motor on MakeCode
    • 04 - Neopixel
      • Coding your first neopixel on MakeCode
  • Activities
    • Tools and Data Together
      • 01 - micro:bit and Data
      • 02 - Servo Motor and Data
      • 03 - Neopixel and Data
  • Showcase Projects
    • 01 - Air Pollution
      • A - Servo Motor
      • B - Neopixel Grid
    • 02 - Green Energy Forecast
    • 03 - Temperature Change
      • A - Neopixel Grid
      • B - Neopixel Ring
    • 04 - Heavy Precipitation Days
      • A - Neopixel Grid
      • B -Servo Motor
      • C-Neopixel Fairy Lights
    • 05 - Greenhouse Gas Emission
      • A - Neopixel Grid
      • B - Neopixel Fairy Lights
  • 🚀Extra Missions
  • Support Material
    • Data on the Run
    • Data Visualization Examples
    • Data Science of Climate Change by Lucie Luneau
    • Ideas from the Canadian Space Agency - CSA
    • CASC + Science Spotlight
Powered by GitBook
On this page
  • Neopixel Grid Activity
  • Assembly Instructions
  • Functionality

Was this helpful?

Export as PDF
  1. Showcase Projects
  2. 01 - Air Pollution

B - Neopixel Grid

PreviousA - Servo MotorNext02 - Green Energy Forecast

Last updated 2 years ago

Was this helpful?

Neopixel Grid Activity

We are using the neopixel grid to display pollution levels below 2.5pm. The grid will light up each province in the country and represent levels of particulate matter with different colours.

Materials

Quantity
Material

1

micro:bit

1

battery pack

1

set of 3 alligator clips to M connector

1

pre-cut cardstock sheet

1

neopixel grid

Assembly Instructions

Functionality

micro:bit A Button

  • Cycle through the different programmed years.

  • Each year is represented by a lit LED on the micro:bit.

  • The data includes information from 1990 to 2014.

micro:bit B Button

  • Goes back one year each time it is pressed, stopping in 1990.

Neopixel

  • One of the rows of the neopixel will have lights representing the level of danger indicated by the particulate matter measurement. The colours are:

  • The lights on the matrix will change each time buttons A or B are pressed, representing the air quality in each province that year.

  • Once the project is assembled, the neopixel LEDs will light up points in each province on the map pre-printed on the cardstock sheet.

MakeCode project LINK

In the next activity, we are using data visualization to make better decisions regarding the use of electricity and its relationship with fossil fuels.

Data used for this activity

red. high danger.

yellow. Moderate danger

green. Low danger

blue. No danger

Find more projects at our partner's website

🔴
🟡
🟢
🔵
DATA
SteamLabs