Campbell CSAT3 Sonic
See the CSAT3 Three Dimensional Sonic Anemometer Instruction Manual,
Revision 3/98, Campbell Scientific, Inc. Appendix B discusses RS232 serial
communications.
Cabling
An adaptor must be built which makes the following connections from the
CSAT3 RS232 and power cables into a 9 pin Amp connector on an ASTER
serial breakout box.
CSAT3 Serial Connections
CSAT3 DB9 Connector |
9 pin Amp Connector |
Notes |
2 Tx (output from CSAT3) |
1 Rx (input to adam) |
|
3 Rx (input to CSAT3) |
2 Tx (output from adam) |
|
5 Ground |
4 Gnd |
|
7 RTS (input to CSAT3) |
3 DTR (output from adam) |
not required if RI=1 see below |
8 CTS (output from CSAT3) |
not connected |
|
CSAT3 Power Connections
CSAT3 Power Cable |
9 pin Amp Connector |
Notes |
Black Ground |
7 Gnd |
|
Red +12 DC |
8 +12 |
|
Silver |
6 Shield |
|
ADAM Serial Interface Jumpers
S1 jumpers (signals from interface to Ironics)
Row B is connected to Ironics, row A to RS232 interface,
C to RS422 interface.
The following jumpers must be installed from A to B
Pin 1 (RX input to Ironics)
Pin 2 (TX output from Ironics)
The following do not need to be connected
Pin 3 (CTS input to Ironics)
Pin 4 (RTS output from Ironics)
Pin 5 (DCD input to Ironics)
Pin 6 (DTR output from Ironics)
S2 jumpers (signals from serial interface to sensor)
Row B is connected to sensor port, row A to RS232 interface,
C to RS422 interface.
The following jumpers must be installed from A to B
Pin 2 (GND)
Pin 3 (RX input to Ironics)
Pin 8 (TX output from Ironics)
The following is required if sonic parameter RI=0
Pin 1 (DTR output from Ironics) and W4 jumper installed
The following do not need to be connected
Pin 4 (RTS output from adam)
Pin 5
Pin 6 (DCD input to adam)
Pin 7 (CTS input to adam)
Note that if sonic parameter RI=0, then pin 1 of S2 must be jumpered
from row A to B, and W4 jumper must be installed.
CSAT3 Configuration
A CSAT3 sonic must be configured to operate in unprompted mode, with the
sync bytes option turned on.
The sonic software must be at least EPROM version 3.0a, I believe.
To temporarily configure the CSAT3, do the following (to make
the changes permanent, see below):
-
Connect CSAT3 to ADAM break out box.
-
On base system, do "rserial -A adam port" where adam is name of adam, and
port is the serial port number (200-215)
-
If jibberish data is spewing, type "&" to turn off unprompted mode.
-
Type "T" to put sonic in terminal mode.
-
Type "rs 1" to enable sync bytes.
-
Type "ri 1" to disable RTS monitoring
-
Type "Ac" to configure for 20Hz output (or see Execution Parameter Table, below, for other rates)
-
Type "??" to view configuration. You should see "RS=1" and "RI=1", as the
16th and 18th parameters.
-
Type "D" to return to data mode.
-
Type "&" to turn on unprompted mode.
-
Type "ctrl-D" to exit rserial
-
Reenter rserial without -A option: "rserial adam port"
Reasonable looking hex data should be displayed. The first two fields
should be 55 AA hexadecimal. Do "ctrl-D" to exit rserial.
This configuration will be lost after powering down the sonic. You must
move a jumper, and enter a top-secret password to save the values in non-volatile
memory, as follows:
-
Remove power from CSAT3
-
Remove 4 screws and open CSAT3 electronics box
-
With the external connectors facing you, locate the jumper labeled P12H
above and to the left of the EPROM near the gray strip.
-
Move the jumber from the right two pins to the left two pins
-
Restore power to CSAT3
-
Run "rserial -A adam port" on the base system.
-
Type "rs 1" to enable sync bytes.
-
Type "ri 1" to disable RTS monitoring
-
Type "??" to view settings. You should see "RS=1" and "RI=1", as the
16th and 18th parameters.
-
Type "sr2718" to store values in non-volatile memory.
-
Remove power
-
Switch jumper back to right 2 pins.
-
Restore power.
-
Look at output with rserial again. If necessary, enter "D" to enter
data mode and "&" to enable unprompted mode.
CSAT3 Configuration Display
Type "T" and "??" to view the configuration settings. Here is an
example, showing RS=1 and RI=1.
ET= 20 ts=i XD=d GN=222a TK=1 P=5 FK=0 RN=1 IT=1 DR=102 rx=2 fx=038
BX=0 AH=1 AT=0 RS=1 BR=0 RI=1 GO=00000 HA=0 6X=3 3X=2
PD=2 SD=0 ?d sa=1
WM=o ar=0 ZZ=0 DC=4 ELo=016 016 017 ELb=017 017 017 TNo=accd TNb=bcd JD= 005
C0o=-2-2-2 C0b=-2-2-2 RC=0 tlo=8 8 9 tlb=9 9 9 DTR=01740 CA=1 TD= duty=047
AQ= 20 AC=1 CD=0 SR=1 X=0 MX=0 DT=02320 DTC=01160 RD=o ss=1 XP=2 RF=018 DS=007
SN0261 30jul98 HF=005 JC=3 CB=3 MD=5 DF=05000 RNA=1 rev 3.0a cs=39302 &=0 os=
Sample Rate
Enter the "An" command to select a sampling rate and output rate. This
value is automatically saved in non-volatile memory.
An Command |
Sampling Rate (Hz) |
Output Rate (Hz) |
Power, with serializer (Watt) |
A2 |
1 |
1 |
1.3 |
A5 |
2 |
2 |
1.3 |
A6 |
3 |
3 |
1.6 |
A7 |
5 |
5 |
1.6 |
A8 |
6 |
6 |
1.7 |
A9 |
10 |
10 |
1.7 |
Aa |
12 |
12 |
1.8 |
Ab |
15 |
15 |
1.9 |
Ac |
20 |
20 |
2.2 |
Ad |
30 |
30 |
3.0 |
Ae |
60 |
60 |
3.0 |
Ag |
60 |
10 (6:1 oversampling) |
3.0 |
Ah |
60 |
20 (3:1 oversampling) |
3.0 |