Saving sensor data to a file: Difference between revisions

From Sensors in Schools
Jump to navigation Jump to search
(Created page with "== Overview == * In this lesson we are going to learn how to save our sensor data to a file. * Saving data to a file will keep it safe. Once data is in a file, we can read th...")
 
Line 1: Line 1:
== Overview ==
== Overview ==
* In this lesson we are going to learn how to save our sensor data to a file.  
* In this lesson we are going to learn how to save our sensor data to a file.  
* Saving data to a file will keep it safe. Once data is in a file, we can read the data again and make a graph.
* Saving data to a file will keep it safe.  
* Once data is in a file, we can read the data again and make a graph.
* Reading, saving a graphing data is very important for all environmental and Citizen Science activities.  
* Reading, saving a graphing data is very important for all environmental and Citizen Science activities.  
* Sensors often deliver data a numerical data. Some simple examples are  temperature, time, speed, counts, etc.  
* Sensors often deliver data a numerical data. Some simple examples are  temperature, time, speed, counts, etc.  

Revision as of 17:10, 22 December 2021

Overview

  • In this lesson we are going to learn how to save our sensor data to a file.
  • Saving data to a file will keep it safe.
  • Once data is in a file, we can read the data again and make a graph.
  • Reading, saving a graphing data is very important for all environmental and Citizen Science activities.
  • Sensors often deliver data a numerical data. Some simple examples are temperature, time, speed, counts, etc.
  • In this example we are going to save our data as a String (or text).
  • Most files store data as text. In this example we also need to separate the data using commas (,).
  • If data is separated by commas it makes each data element human readable and other programs, such as Spreadsheets, can also read the file more easily.

Learning Objectives

  • Learn how convert numerical data into a String (or text)
  • Learn how to save data to a new empty file
  • Learn how to read a saved file and check for data integrity