02 - Servo Motor and Data

In the previous activity, we saw how can we manually collect and display data using the micro:bit. In this section, we will introduce two new different concepts:
Collect data continuously and automatically.
Display the data results using the Servo Motor.
The code for the activity is quite simple but useful and informative. We will create a thermometer and using the same code, a light meter!
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.
You can see our solved version here
In the next section, we are utilizing the sensors on the micro: bit to collect data and display it using a Neopixel grid. See you at Neopixel and Data.
Last updated
Was this helpful?



