Digital barometer – Vaisala Hydromet Data Collection Platform User Manual

Page 124

Advertising
background image

User's Guide ______________________________________________________________________

122 _________________________________________________________________ M210933EN-C

Digital Barometer

The default communication parameters for the PTB330 sensor are as
follows:

The sensor commands for the interface configuration are as follows:

To get a suitably formatted data output from the digital barometer, the
following message format string must be given using the FORM
command. The string is almost of maximum length allowed, so do not
insert any extra spaces. Proceed as follows:

1.

Type FORM <CR>. This command outputs the current format
string and prompts

?

for a new one.

2.

Copy the string below to the terminal and press <CR>.

#001 "PTB" ADDR #002 ERR " " 4.2 P " " P3H " " A3H "
" P1 " " P2 " " P3 #003 CS4 #rn

Parameter

Value

Speed

9600 bps

Parity

even

Data bits

7

Stop bits

1

Handshake

XON/XOFF

Operation

Command(s)

Description

Set polled

SMODE POLLED

Sets sensor to polled operation

Set auto tx

INTV <time> <unit>
SMODE RUN

Select transmit interval to <time>
<unit>
, for example, 10 s. Sets
sensor to automatic transmit
mode.

Set format

FORM

See the detailed explanation
below.

Set ID ADDR <id>

Sets device id for polled
operation. <id> = 0 ... 99

Activate param

RESET

New parameters are taken into
use after reset.

NOTE

After configuring the sensor, enter the RESET command in order for
the changes to take effect.

Advertising