
Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 301-1141-01 - WATCHPORT TEMP SENSOR
Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com
Watchport Installation Guide (90000406 Rev. H) – Page 10
Watchport/A (Acceleration & Tilt Sensor)
The Watchport/A can be programmed to use either an RS-232 modem signal interface or an ASCII
command interface. In its ASCII command mode, the sensor reports the current X-axis and Y-axis
acceleration vectors relative to its ‘neutral’ position. In its modem signal mode, the sensor acts as a ‘tilt’
detector; that is, if the sensor is bumped from its ‘neutral’ position, it will raise (and then lower) its DSR
signal.
Watchport/A Commands
Command
Description
Return Value
?<CR>
Tells about the command set available for this Watchport.
as described in this section
I<CR>
Tells what kind of Watchport is connected.
Watchport/A<CR>
C<CR>
Calibrates the sensor.
OK<CR>
A<CR>
Reflects the current acceleration.
+/-n.nngX
+/-m.mmgY<CR>
U<CR>
Reads the raw axis values. These are the values that would be
read if the
C
command were never executed.
+/-n.nngX
+/-m.mmgY<CR>
E<CR>
Switches to modem signal mode. Until any other keystroke,
the sensor uses DSR to signal ‘tilt.’
OK<CR>
Mn<CR>
Adjusts sensitivity.
M
is followed by a single digit:
1
(most
sensitive) through
9
(least sensitive).
OK<CR>
Note that for the return values of commands
A
and
U
,
+/-
means the value will be either positive or
negative,
n.nn
and
m.mm
represent a number to the hundredth decimal,
g
stands for gravitational value,
and
X
for the x axis and
Y
for the y axis.
For starting in either mode:
Step 1: Mount the sensor at its ‘neutral’ position.
Step 2: Calibrate sensor to establish its ‘neutral’ position.
C<CR>
Calibrates the sensor.
OK<CR>
Step 3: Verify correct calibration.
A<CR>
Use to verify calibration. The response should be very close
to 0 for both axes.
+0.00gX +0.00gY<CR>
Now the sensor can either be left in ASCII mode or the
E<CR>
command can be sent to switch it to modem
signal mode.
13 / 28
13 / 28