
2.2 Interface
The device connects to any industry-standard 9-pin (DB9) RS-232 serial port. Some hosts do not have such
a port, but can still be used with the device if an appropriate adapter is purchased:
PCs or Macs with USB only require a USB-serial adapter such as the Keyspan High-Speed USB Serial
Adapter (USA-19QW)
Handhelds with USB only require a serial cradle or cable, or serial port add-on card (ask your PDA
manufacturer)
Macs with MiniDIN8 serial port require a MiniDIN8 to DB9 adapter (contact ReefNet for details)
The universal cradle does not contain any electronics. It is simply designed to expose the three serial port
connections RX, TX, and GND to the device. The metal contacts on the device mate with those on the
cradle to establish the necessary connections.
The contact layout is designed to prevent users from connecting the device backwards. The device has built-
in protection against moderate static discharge, and will not be damaged by everyday handling. Nor does
shorting between any of its contacts harm it.
For those interested: the cradle’s PC/Mac and Palm ports differ as follows:
The PC/Mac port is meant to connect to a DTE (Data Terminal Equipment) such as a PC, Mac, Unix
workstation, or any other host with a male DB9 serial port.
The Palm port is meant to connect to a DCE (Data Communication Equipment) such as a Palm handheld’s
cradle, or any other host with a female DB9 serial port.
The two cradle ports are wired together with the RX/TX lines swapped between them.
The software interface requires direct access to the serial port being used by the SENSUS PRO device. The
only signals used are RX, TX, and GND. No flow control signals are implemented, and these should be
disabled by the software interface to prevent erroneous transmissions.
3.0 Retrieving Data from a Device
This section defines the serial communication protocol used to send data to- and receive data from SENSUS
PRO devices. Only rudimentary knowledge of serial communications and data processing is required.
3.1 Serial Port Settings
Communication with the device is done at 19.2 kbps, 8 data bits, No parity, 1 stop bit.
NO flow control is implemented.
3.2 Byte Order, Data Types
All data transmitted by the device are Little Endian (Intel style), with the least significant byte(s) first. Three
data types are used:
Table 2 -- Data Type Definitions
Type Description
UInt8 8 bit unsigned integer
UInt16 16 bit unsigned integer
UInt32 32 bit unsigned integer