Sensorsoft Thermometer User’s Manual
Writing custom software programs for the Sensorsoft
Thermometer
Sensorsoft provides three methods for allowing your custom software programs to communicate
with Sensorsoft Thermometers, outlined here:
Simple Text Commands Interface
The
Simple Text Commands Interface
can be used interactively with a terminal program
(HyperTerminal, TeraTerm, Putty, Telnet, Screen, etc.) or by user-written programs and language
scripts. These commands make it possible to read Sensorsoft devices in many systems including
Linux, UNIX and embedded applications. The following single letter (lower case) commands
should be ended with a carriage return and or line feed character:
r read
temperature
m
read model number
v
read firmware version
This interface outputs temperature readings in Celsius and only supports 0.5 C resolution
measurements. If you need temperatures in Fahrenheit (F), you will need to do a conversion in
your software (i.e. F = 9/5C + 32).
Using this method, we recommend keeping the cabling short (<100 ft) as the
Simple Text
Commands Interface
does not support the built-in CRC error detection.
Sensorsoft Device Monitoring .NET Component for Windows
This method involves use of the Sensorsoft Device Monitoring.NET Component for creating
software on Windows based systems. It provides a high-level Windows .NET-based API to
implement the Sensorsoft Device Protocol. You can download and learn more about this free
software at:
http://www.sensorsoft.com/developers.html
Sensorsoft Device Protocol (SSDP) for Advanced Programmers
This software method is the most advanced way of supporting Sensorsoft devices. It has several
advantages over the Simple Text Commands Interface discussed above. These include:
CRC error detection for use over long serial cables (1000 ft)
higher resolution measurements (0.1)
auto-discovery by reading device ID record
The Sensorsoft Device Protocol uses a binary, packet-formatted, master-slave protocol. Your host
computer (master) must send commands to, and receive responses back from, the Sensorsoft
device (slave). All data is represented in the
little endian format
- least significant byte first and
the most significant byte last.
18
Содержание ST6105C
Страница 2: ......