A - Servo Motor

Servo Motor Activity

Visualize data containing air pollution information represented as pm2.5 or smaller values in Canada between 1990 and 2014.

Materials

Quantity
Material

1

micro:bit

1

battery pack

1

set of 3 alligator clips to M connector

1

servo motor

1

pre-cut cardstock sheet

Data used for this activity DATA

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.

Servo Motor

  • It will move each time either the A or B buttons are pressed on the micro:bit to the specified pm reading for that year.

  • Once the project is assembled, the servo motor will point to the scale drawn on the cardstock sheet.

In the next section, we are using the neopixel grid to visualize this data.

Last updated

Was this helpful?