Weather sensors

Introduction

Sensor board top view
Sensor board top view
Sensor board bottom view
Sensor board bottom view
  • Temperature, barometric pressure and humidity sensor combo
  • Linear calibration available for sensor readings

compatible hardware version1.*
firmware version1.0
USB portmicro-B
Serial port speed115200
USB voltage5V
USB current100mA

GUI

This device has a graphical control panel

Open control panel

Examples

If you are not sure how to connect to your device, you can follow this Getting Started page.

Read environmental temperature
    
> read temperature

Read barometric pressure
    
> read pressure

Read relative humidity
    
> read humidity

Calibrate temperature reading
    
> write calibration.temperature.offset=0.5
> write calibration.temperature.scale=1.01

After writing to the calibration parameters, the new temperature reading will be: 1.01*raw_reading+0.5

Commands

Write

Write to the temperature linear calibration offset.

> write calibration.temperature.offset={float}

The input data type isfloat.

The value range of this property is [-500, 500].

The temperature reading is offset by the value of this property. calibrated_reading = scale * raw_reading + offset. This property is the offset of the formula.

Write to the temperature linear calibration scale.

> write calibration.temperature.scale={float}

The input data type isfloat.

The value range of this property is [-100, 100].

The temperature reading is scaled by the value of this property. calibrated_reading = scale * raw_reading + offset. This property is the scale of the formula

Write to the pressure linear calibration offset.

> write calibration.pressure.offset={float}

The input data type isfloat.

The value range of this property is [-50000000, 50000000].

The pressure reading is offset by the value of this property. calibrated_reading = scale * raw_reading + offset. This property is the offset of the formula.

Write to the pressure linear calibration scale.

> write calibration.pressure.scale={float}

The input data type isfloat.

The value range of this property is [-100, 100].

The pressure reading is scaled by the value of this property. calibrated_reading = scale * raw_reading + offset. This property is the scale of the formula

Write to the humidity linear calibration offset.

> write calibration.humidity.offset={float}

The input data type isfloat.

The value range of this property is [-100, 100].

The humidity reading is offset by the value of this property. calibrated_reading = scale * raw_reading + offset. This property is the offset of the formula.

Write to the humidity linear calibration scale.

> write calibration.humidity.scale={float}

The input data type isfloat.

The value range of this property is [-100, 100].

The humidity reading is scaled by the value of this property. calibrated_reading = scale * raw_reading + offset. This property is the scale of the formula

Write to the name of the device.

> write device.name={string}

The input data type isstring.

The length of the {string} should be less than 16.

Write to the switch of restarting the device.

> write device.restart={bool}

The input data type isbool.

The default value of device.restart is True. > write device.restart is equivalent to > write device.restart=True

Write to the switch of resetting the device.

> write device.reset={bool}

The input data type isbool.

The default value of device.reset is True. > write device.reset is equivalent to > write device.reset=True

Reset calibration parameters and device name to their default values.

Read

Read the temperature value.

> read temperature.value

The output data type is float.

Read the temperature unit.

> read temperature.unit

The output data type is enum.The value is{celsius}.

Read the relative humidity (RH) value.

> read humidity.value

The output data type is float.

Read the humidity unit.

> read humidity.unit

The output data type is enum.The value is{percent}.

Read the barometric pressure value.

> read pressure.value

The output data type is float.

Read the barometric temperature unit.

> read pressure.unit

The output data type is enum.The value is{pascal}.

Read the temperature linear calibration offset.

> read calibration.temperature.offset

The output data type is float.

The value range of this property is [-500, 500].

The temperature reading is offset by the value of this property. calibrated_reading = scale * raw_reading + offset. This property is the offset of the formula.

Read the temperature linear calibration scale.

> read calibration.temperature.scale

The output data type is float.

The value range of this property is [-100, 100].

The temperature reading is scaled by the value of this property. calibrated_reading = scale * raw_reading + offset. This property is the scale of the formula

Read the pressure linear calibration offset.

> read calibration.pressure.offset

The output data type is float.

The value range of this property is [-50000000, 50000000].

The pressure reading is offset by the value of this property. calibrated_reading = scale * raw_reading + offset. This property is the offset of the formula.

Read the pressure linear calibration scale.

> read calibration.pressure.scale

The output data type is float.

The value range of this property is [-100, 100].

The pressure reading is scaled by the value of this property. calibrated_reading = scale * raw_reading + offset. This property is the scale of the formula

Read the humidity linear calibration offset.

> read calibration.humidity.offset

The output data type is float.

The value range of this property is [-100, 100].

The humidity reading is offset by the value of this property. calibrated_reading = scale * raw_reading + offset. This property is the offset of the formula.

Read the humidity linear calibration scale.

> read calibration.humidity.scale

The output data type is float.

The value range of this property is [-100, 100].

The humidity reading is scaled by the value of this property. calibrated_reading = scale * raw_reading + offset. This property is the scale of the formula

Read the URL to the Exaberry.org.

> read device.exaberry

The output data type is string.

Read the URL to the documentation.

> read device.documentation

The output data type is string.

Read the name of the device.

> read device.name

The output data type is string.

You can customize the device name by writing to this property.

Read the system ticks since powered up.

> read device.systick

The output data type is uint.

The systick is approximately the number of microseconds since power up.

Read the device ID.

> read device.id

The output data type is hex.

The device ID is unique for each device.

Read the type ID of the device.

> read device.type_id

The output data type is string.

The type ID is unique for different API and hardware design combination.

Read the firmware version.

> read device.firmware.version

The output data type is string.

Read the hardware version.

> read device.hardware.version

The output data type is string.

Hardware

Dimensions

dimension image
A:17.0mm
B:30.2mm
C:12.0mm
D:28.6mm
E:2.54mm

Firmware

The Firmware flashing page documents the steps for downloading the firmware to the device.

Links