Research Article

Research and Design of Distributed IoT Water Environment Monitoring System Based on LoRa

Table 1

Data frame protocol.

ByteCharacterMeaning

Byte[0]0x40Data frame header
Byte [1]IDLoRa node ID
Byte [2]Data7-4 bit: integer part of water temperature; 3-0 bit: decimal part of water temperature
Byte [3]Data7-4 bit: pH integer part; 3-0bit: pH decimal part
Byte [4]Data7-4 bit: integer part of turbidity; 3-0 bit: decimal part of turbidity
Byte [5]Data7-4 bit: integer part of conductivity; 3-0 bit: decimal part of conductivity
Byte [6]Data7-4 bit: integer part of longitude; 3-0 bit: decimal part of longitude
Byte [7]Data7-4 bit: integer part of latitude; 3-0 bit: decimal part of latitude
Byte [8]0x35Data frame tail