Reading data from an atmospheric sensor

From Sensors in Schools
Revision as of 09:39, 22 December 2021 by EdmondLascaris (talk | contribs) (Created page with "== Overview == * In this lesson we are going to write code that will allow us to download data from an atmospheric sensor. * The sensor will give us data on temperature, atmo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

  • In this lesson we are going to write code that will allow us to download data from an atmospheric sensor.
  • The sensor will give us data on temperature, atmospheric pressure, battery voltage and signal strength.
  • We will use the python language to get this data.
  • Once we have data we can do other amazing things such as save the data and even graph the data.
  • Environmental data is very important because it allows us to monitor the environment we live in more closely.

Learning Objectives

  • Learn how to use the requests library in python to get data from a URL
  • Learn how to interpret data presented in the JSON format
  • Learn how to process data in python so that it can be saved in variables