Lab: Displaying Atmospheric Sensor Data

header-lesson-05

Lab: Displaying Atmospheric Sensor Data#

Objective#

In this lab, you will incorporate all the previous lessons to build an atmospheric sensing device that displays the temperature, humidity, atmopheric pressure, the Air Quaility Index (AQI), and eCO2 levels.

Materials#

  • 1 PC or Laptop

  • 1 BBC micro:bit

  • 1 Kitronik Air Quality and Environmental Board

Instructions#

  1. Setup: Connect your BBC micro:bit to your PC or laptop using the Micro USB cable. Place it into the Kitronik Air Quality and Environmental Board.

  2. Programming Environment: Open the MakeCode for micro:bit programming environment on your PC or laptop.

  3. Code Your Device: Using the Kitronik Air Quality and Environmental Board and the micro:bit create a program that:

  • Measures the temperature

  • Measures the humidity

  • Measures the atmospheric pressure

  • Measures the Air Quality Index

  • Measures the eCO2 level

  • Displays the readings above on the OLED screen

  1. Test Your Device: After you’ve written your code, download it to your micro:bit and test your code of your atmospheric sensing device. Write a brief report explaining your design process, how you coded your device, any challenges you faced, and how you overcame them.

  2. Document Your Work: Take picture of your air quality sensing device.

  3. Present Your Work: Prepare a short presentation to share your air quality sensing device with the class.

  4. Reflection: Write a brief report explaining the logic behind your code and how it results in an atmospheric sensing device.