For the complete documentation index, see llms.txt. This page is also available as Markdown.

A - Neopixel Grid

Neopixel Grid Activity

We are using the neopixel grid to display the past, present and future annual mean temperatures in Canada.

Materials

Quantity
Material

1

micro:bit

1

battery pack

1

set of 3 alligator clips to M connector

1

neopixel grid

1

pre-cut cardstock sheet

Data used for this activity DATA

Assembly Instructions

Functionality

micro:bit A Button

  • Cycle through the three different time periods programmed.

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

  • The set time periods are 1976-2005, 2021-2050 and 2051-2080.

micro:bit B Button

  • Cycle through the three different programmed years.

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

  • The set years for each time period are:

    • Period 1 (1976-2005) includes data for the years 1980, 1990 and 2005.

    • Period 2 (2021-2050) includes data for the years 2030, 2040 and 2050.

    • Period 3 (2051-2080) includes data for the years 2060, 2070 and 2080.

micro:bit A+B Buttons

  • Toggle between low and high-temperature scenarios for Period 2 and Period 3.

Neopixel

  • One of the rows of the neopixel will have colour lights representing different temperatures.

    • 🔵 blue - Low mean temperature. Below or equal to 9ºC.

    • 🟣 purple - Medium mean temperature. Between 9ºC and 12ºC.

    • 🟡 yellow - High mean temperature. Between 13ºC and 15ºC.

    • 🔴 red - Very Hight mean temperature. Above 15ºC.

  • The lights on the matrix will change each time buttons A, B or A+B are pressed, representing the temperature 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.

In the next section, we this same topic, but this time using a neopixel ring.

Last updated

Was this helpful?