B - Neopixel Grid

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
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:
🔴 red. high danger.
🟡 yellow. Moderate danger
🟢 green. Low danger
🔵 blue. No danger
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
Find more projects at our partner's website SteamLabs
In the next activity, we are using data visualization to make better decisions regarding the use of electricity and its relationship with fossil fuels.
Last updated
Was this helpful?