Alert.png

Notice: This page contains information for the legacy Phidget21 Library.

Phidget21 is out of support. Bugfixes may be considered on a case by case basis.

Phidget21 does not support VINT Phidgets, or new USB Phidgets released after 2020. We maintain a selection of legacy devices for sale that are supported in Phidget21.

We recommend that new projects be developed against the Phidget22 Library.


Click on the 2phidget22.jpg button in the menu bar to go to the Phidget22 version of this page.

Alert.png

Data Logging With a Thermocouple

From Phidgets Legacy Support
Revision as of 22:45, 11 April 2012 by Cora (talk | contribs)

The project described here is a data recording program for the Phidget Temperature Sensors. We play with the program and record data to learn things about our environment. The emphasis in this project is on passing data and writing to files in different languages, to also learn about data logging in general.


Practical concepts covered are (click on links to see other projects on that topic):
  • Data Logging
    • Writing to a text file
    • Adding timestamps to your data
    • Using Phidgets with C/C++
    • Using Phidgets with Python
    • Using Phidgets with Java
  • Analyzing your Phidget Data
 


As with any of our described projects, Phidgets takes care of the electrical component design. Here, we also provide some simple code so you can play around with your Temperature Sensor and thermocouple, and save the data to plot later.

Time: About two hours for the basics, four hours for setting up background logging
Special Needed Tools: Something hot (tea, your skin), or something cold (ice, etc)
Materials and Phidgets: A Phidget Temperature Sensor (1048 or 1051), a Thermocouple, a USB cord, and your computer

Also:



Introduction

Phidgets

Code

Putting it All Together

Extra Credit