Temperature reading application: Difference between revisions
| Line 8: | Line 8: | ||
== Installation of the application == | == Installation of the application == | ||
Extract the TRead application in the folder <code>/tinyos-1.x/apps/</code>. In the file <code>TReadM.nc</code>, at the top, there is a preprocessor definition <code>#define BASE_STATION</code>. | |||
Revision as of 10:28, 15 April 2007
General
This Nesc/TinyOS application is for measuring the temperature with maximum of two sensors. One acts like a Base Station and has to be connected with the USB connection to the computer. The second acts like a Remote Station and transmitts its temperature reading via the radio to the Base Station. At the final stage, the base station transmitts the complete data, both temperature readings, to the computer every second. In this document it is described how to install the Nesc/TinyOS, how to retreive the the data and how to interpret the data.
It is assumed that the installation of TinyOS 1.x and Nesc is installed with the nessecary components.
Installation of the application
Extract the TRead application in the folder /tinyos-1.x/apps/. In the file TReadM.nc, at the top, there is a preprocessor definition #define BASE_STATION.