Serial line communication - HMP155

HMP155 User Guide

Document code
M210912EN
Revision
G.1
Language
English
Product
HMP155
Document type
User guide

Connect a USB cable (221040) to the 8-pin connector on the bottom of HMP155. You do not need a separate power unit, the probe is powered through the USB port.

Before using the USB cable, you must install the USB driver on your PC, see Installing driver for USB cable.
Depending on your computer and the environmental conditions, heating and purge functions may not work properly with the USB cable due to limited USB powering capability.

HMP155 does not echo typed characters back to the terminal screen. To see the commands you type, enable the local echo setting in the terminal program.

When HMP155 is sending out data, it cannot receive a new command. Wait until HMP155 completes the response before typing the next command.

In the RUN mode, the sensor may send the measurement data message while you are typing the S command to stop the sending. You may need to repeat the S command. Note this when designing how computer programs access HMP155. You can use the Esc button on your keyboard to stop the sending.
Table 1. Default serial communication settings
Parameter Value
Bauds 4800
Parity Even
Data bits 7
Stop bits 1
Flow control None
If you do not know the HMP155 serial connection settings, you can force the settings 19200 N 8 1 with the # command. The # command is only available during the 3 first seconds after startup.

After startup in the STOP mode, the probe outputs the software version and the command prompt.

HMP155 1.00
>

In the RUN mode, a measurement output starts immediately after startup.

In the POLL mode, the probe does not output anything after startup. See SMODE command.