Skip to main content

Water Level Sensor (LoRaWAN)

Lobaro Water Level Sensor

Newer product version and hardware variants

Sensors purchased in 2022 or later are based on the newer Hybrid Industrial Gateway hardware.

Configuration information for the newer Modbus-based pressure sensor is available under Pressure Sensor Application.

Major differences:

  • The newer probes communicate via Modbus.
  • This discontinued version supports I2C pressure probes only.
  • Modbus enables cable lengths of more than 15 m.
  • The newer version supports uploads via NB-IoT and LoRaWAN.

Different pressure probes use different communication interfaces. Therefore, several hardware and firmware variants of this product exist.

Install only firmware that is intended for the pressure probe and hardware variant used by your device.

See available firmware downloads

Target Measurement and Purpose

The Water Level Sensor provides precise liquid-level measurements, for example in tanks, and transmits the results via LoRaWAN.

Features

  • Cable length: 15 m
  • Measurement range: 0–15 mH₂O
  • Maximum pressure: approximately 1.5 bar
  • Resolution: ±0.5% FSO
  • Long-term stability: ±0.3% FSO per year
  • Waterproof IP67 housing
  • Multi-year battery life
  • Ultra-low-power design

Order Information

PropertyValue
Product typeLOB-S-PR-LW-BOX
Lobaro article number8000089

Initial Configuration

The initial configuration is normally performed using the

Lobaro Maintenance Tool and the Lobaro USB Configuration Adapter.

The configuration can also be read or changed remotely using LoRaWAN downlink messages.

Specifications

PropertyValue
Measurement range0–15 mH₂O
Equivalent pressure rangeApproximately 0–1.5 bar
Accuracy±0.5% FSO
Accuracy in pressure±0.0075 bar / ±7.5 mbar
Accuracy in water level±75 mm / ±7.5 cm
Measurement principleRelative pressure measurement
Probe cable15 m, including cable feedthrough
Probe temperature sensorIncluded
Supply voltage3.6 V
Power connectorJST-XH
Housing protectionIP67
Housing dimensions122 mm × 82 mm × 55 mm
Pressure compensationDAE pressure-compensating element
Housing closureQuick-release screws
Operating temperature-10 °C to +55 °C
Relative humidity20–70%, non-condensing

LoRaWAN Connection

The device uses the Lobaro LoRaWAN stack.

Some LoRaWAN features, including LoRaWAN 1.1 and remote configuration, are available only in newer firmware versions:

  • Lobaro pressure sensor firmware: version 0.2.1 or newer
  • Keller pressure sensor firmware: version 0.3.0 or newer

Use the most recent firmware version compatible with the installed hardware whenever possible.

The LoRaWAN parameters must match the selected LoRaWAN network. Incorrect credentials or activation settings prevent the device from joining the network and transmitting data.

For more information, see the LoRaWAN configuration article.

LoRaWAN Parameters

NameDescriptionTypeValues
OTAASelects OTAA or ABP activationbooltrue = OTAA, false = ABP
DevEUIUnique device identifierbyte[8]Example: 0123456789abcdef
JoinEUIJoinEUI used for OTAA; called AppEUI in LoRaWAN 1.0byte[8]Example: 0123456789abcdef
AppKeyApplication key used for OTAAbyte[16]LoRaWAN 1.0 and 1.1
NwkKeyNetwork key used for OTAAbyte[16]LoRaWAN 1.1 only
SFInitial or maximum spreading factorint712
ADREnables Adaptive Data Ratebooltrue or false
TimeSyncInterval between time synchronizationsintDays; 0 disables synchronization
RndDelayMaximum random delay before transmissionintSeconds
RemoteConfEnables remote configurationbooltrue or false
LostRebootReboots after a specified period without downlinksintDays; 0 disables the reboot

Measurement Configuration

The following parameters define the measurement and transmission behavior.

The minimum and maximum values are configured before delivery. Using Restore Default resets them to standard values. They must then be restored using the values printed on the sensor or supplied with the device.

NameDescriptionTypical value
sendCronCron expression defining when measurements are read and sent0 0/15 * * * * for every 15 minutes
rangeMinMinimum measurement range in mH₂O0
rangeMaxMaximum measurement range in mH₂O15
outputMinMinimum digital sensor output819
outputMaxMaximum digital sensor output11664

For more information about schedules, see the Introduction to Cron expressions.

Payload Format

Data Message

PropertyValue
LoRaWAN port1
Legacy payload length8 bytes
Payload length since firmware 0.3.316 bytes
Transmission scheduleDefined by sendCron

The data message is sent whenever the configured Cron expression triggers.

Non-ADC values are encoded in little-endian byte order. The two raw ADC values are encoded in big-endian byte order.

PPPPTTVVppttMMMM
FieldByte rangeLengthEncodingDescription
PPPP0–34 bytesfloat32 LEPressure in bar
TT4–52 bytesint16 LEProbe temperature in 1/100 °C
VV6–72 bytesuint16 LEDevice supply voltage in mV
pp8–92 bytesuint16 BERaw pressure ADC value; firmware 0.3.3 or newer
tt10–112 bytesuint16 BERaw temperature ADC value; firmware 0.3.3 or newer
MMMM12–154 bytesfloat32 LEWater level in metres H₂O; firmware 0.3.3 or newer

Water Level Sensor payload format

Pressure and Water-Level Conversion

  • 1.0 bar corresponds approximately to 10 m of water above the probe.
  • 0.1 bar corresponds approximately to 1 m of water above the probe.

An external bar-to-metres-head converter can be used for approximate conversions.

Data Message Example

Payload:

cf91873b56076a0e

Decoded values:

PPPP: cf91873b
-> 0.0041372548 bar
-> approximately 41 mm water level

TT: 5607
-> 0x0756
-> 1878
-> 18.78 °C

VV: 6a0e
-> 0x0e6a
-> 3690 mV
-> 3.69 V

This example uses the legacy 8-byte data-message format.

Status Message

PropertyValue
LoRaWAN port64
Payload length13 bytes
Available sinceFirmware 0.3.0
Transmission intervalOnce per day

The status message contains diagnostic information about the device, including the firmware version, latest reset reason, supply voltage, and internal temperature.

All multi-byte values in the status message are encoded in big-endian byte order.

PPBvvvSRFVVTT
FieldByte rangeLengthEncodingDescription
PPB0–23 bytesASCIIFirmware identifier, always PPB
vvv3–53 bytesuint8[3]Firmware version, for example 0.3.1
S61 byteuint8Status or error code
R71 byteuint8Reset reason
F81 byteuint8Final words code
VV9–102 bytesuint16 BESupply voltage in mV
TT11–122 bytesint16 BEInternal temperature in 1/10 °C

Status Message Example

Payload:

5050420003010006000e6a00d0

Decoded values:

505042 -> ASCII firmware identifier "PPB"
000301 -> Firmware version 0.3.1
00 -> Status code 0: OK
06 -> Reset reason 6: EXTERNAL_RESET_PIN_RESET
00 -> No final words
0e6a -> 3690 mV -> 3.69 V
00d0 -> 208 -> 20.8 °C

Status Codes

The status code indicates problems detected by the device.

HexDecimalNameDescription
0x000OKNo problems detected
0x65101PROBE_ERRORCommunication with the pressure probe failed

Reset Reason Codes

The reset-reason value indicates what triggered the latest restart. The restart may have occurred a long time before the current status message was sent.

HexDecimalName
0x011LOW_POWER_RESET
0x022WINDOW_WATCHDOG_RESET
0x033INDEPENDENT_WATCHDOG_RESET
0x044SOFTWARE_RESET
0x055POWER_ON_RESET
0x066EXTERNAL_RESET_PIN_RESET
0x077OBL_RESET

Final Words

The final-words field is currently not used by this firmware.

Supply Voltage

The device measures its supply voltage to help diagnose the condition of the battery.

The voltage is transmitted as an unsigned 16-bit big-endian value in millivolts.

PropertyValue
Maximum voltage3.7 V
Minimum voltage2.6 V

Internal Temperature

The device contains an onboard temperature sensor for diagnostic purposes.

This is not the same sensor as the temperature sensor inside the attached pressure probe. The probe temperature is transmitted in the data message, whereas the onboard temperature is transmitted in the status message.

The internal temperature is encoded as a signed 16-bit big-endian value in tenths of a degree Celsius.

Payload Parser

The Lobaro reference JavaScript parser supports:

  • Lobaro IoT Platform
  • The Things Network
  • ChirpStack
  • niota.io

Open the Lobaro Water Level Sensor parser on GitHub

A separate parser is also available for Element IoT:

Open the Element IoT parsers on GitHub

Device and Probe Dimensions

Water Level Sensor housing dimensions

Pressure probe dimensions

CE Declaration of Conformity

Download the CE Declaration of Conformity

Disposal and WEEE

For information about disposal and recycling, see WEEE Disposal.