03 - Neopixel and Data
Last updated
Was this helpful?
Last updated
Was this helpful?
In this activity we are using a micro:bit to collect data from our environment, and visualize it using a neopixel matrix. Like the last challenges, it will be using the micro:bit sensors (temperature and light) to collect our data.
Besides using the neopixel matrix, we are using other two different concepts in this build:
We will manually trigger the data collection.
We are using a new concept in computer science called arrays to help us store the collected data.
Arrays are lists that hold information. These lists or containers can grow and shrink depending on the data they include.
In this project, we are visualizing different light levels within a specific environment. Think of collecting data at several points in your classroom and then displaying all the points on a grid.
Read the requirements and try to code the activity. Once you are done or you give it your best, take a look at the way we solved it, below.
We are now ready to tackle the Climate Change Activities in the next section.
You can see our solved version
Arrays are flexible, they can grow and shrink in size. You can add and remove items at any place in the array.
Learn more about arrays at
In computer science, a loop is a programming structure that repeats a sequence of instructions until a specific condition is met.
More information about Loops from