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: Difference between revisions

From Phidgets Legacy Support
(Created page with "<!-- CATEGORIES --> Category:fileIO The project described here is a simple data recording program for the Phidget Spatial. We play with the program and record data to learn ...")
 
No edit summary
Line 8: Line 8:
* Data Logging
* Data Logging
** [[:Category:FileIO|Writing to a text file]]
** [[:Category:FileIO|Writing to a text file]]
** Adding timestamps to your data
** Using Phidgets with C/C++
** Using Phidgets with C/C++
** Using Phidgets with Python
* Analyzing your Phidget Data
* Analyzing your Phidget Data
|width="45px"|&nbsp;
|width="45px"|&nbsp;
|[[Image:app_guide_simplespatial_introphoto.png|link=|alt=]]
|[[Image:app_guide_templogger_1051.jpg|link=|alt=]]
|}
|}




As with any of our [[Application Guides|described projects]], Phidgets takes care of the electrical component design.  Here, we also provide some simple code so you can play around with your Spatial and save the data to plot later.
As with any of our [[Application Guides|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
'''Time:''' About two hours


'''Special Needed Tools:''' A Phidget Spatial, USB cord, and your computer.  
'''Special Needed Tools:''' A Phidget Temperature Sensor (1048 or 1051), a Thermocouple, a USB cord, and your computer.  
*You should have already worked through our Phidget Spatial Getting Started Guide [[Device List|for your Spatial Device]] - this will show you how to get the the Phidget Libraries installed [[Software Overview#Operating System Support|for your operating system]].
 
*Your computer should have [[Language - C/C++|a C compiler we support]] (including gcc, MinGW, Borland, Visual Studio, and many more)
*You should have already worked through our Phidget Temperature Sensor Getting Started Guide [[Device List|for your Temperature Sensor]] - this will show you how to get the the Phidget Libraries installed [[Software Overview#Operating System Support|for your operating system]].
*Your computer should have one of:
** A [[Language - C/C++|a C compiler we support]] (including gcc, MinGW, Borland, Visual Studio, and many more)
** A version of Python 2.6 or later
*If you would like to follow along with the graphing examples, you can install the R Statistical package, which is [http://www.r-project.org/ free and available] for Windows, Mac, and Linux.
*If you would like to follow along with the graphing examples, you can install the R Statistical package, which is [http://www.r-project.org/ free and available] for Windows, Mac, and Linux.



Revision as of 16:27, 11 April 2012

The project described here is a simple data recording program for the Phidget Spatial. We play with the program and record data to learn things about our environment.


Practical concepts covered are (click on links to see other projects on that topic):
  • Data Logging
  • 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

Special Needed Tools: A Phidget Temperature Sensor (1048 or 1051), a Thermocouple, a USB cord, and your computer.

  • You should have already worked through our Phidget Temperature Sensor Getting Started Guide for your Temperature Sensor - this will show you how to get the the Phidget Libraries installed for your operating system.
  • Your computer should have one of:
    • A a C compiler we support (including gcc, MinGW, Borland, Visual Studio, and many more)
    • A version of Python 2.6 or later
  • If you would like to follow along with the graphing examples, you can install the R Statistical package, which is free and available for Windows, Mac, and Linux.


Introduction

Phidgets

Code

Putting it All Together

Extra Credit