Offline configuration for LoRaWAN sensors

Instructions for offline configuration of the Daviteq LoRaWAN sensors. Please follow the following steps.

1. Prepare equipment and tools

Following items must be prepare for configuration

  1. A PC using the Windows OS (win7 or above versions). The PC is installed the COM port driver of modbus configuration cable (if needed). The driver is at link:  Modbus Configuration Cable COM port driver for PC   and the instruction to install  the driver at link: How to install driver
  2. A modbus configuration cable 
  3. Tools to open the plastic housing of Lorawan sensors (L hex key or screwdriver)

2. Download and launch Daviteq modbus configuration software

After downloading the software, unzip the file named: Daviteq Modbus Configuration and then copy the extracted folder to the storage drive for long-term use. 

  • Open the folder, double click to the file Daviteq Modbus Configuration Tool Version.exe  to launch the software and the software interface as below:image-1601890119287.png

Note: The software only runs on Microsoft Windows OS (win7 and above).

3. Connect the cable and configure the sensor

Step 1: Connect the PC to the LoraWAN sensor using the configuration cable.


- Use the configuration cable (Item code: TTL-LRW-USB-01). 


- Connect the USB-A plug into the USB-A socket of the PC 


- Open the housing of the sensor.


- Plug the cable connector into sensor's modbus configuration port.

Step 2: On the configuration software, choose relevant Port (the USB port which is the cable plugged in) and set the BaudRate: 9600, Parity: none


Step 3: Click “ Connect “ button to connect the software to the sensor. After successful connection, the  connected status(green text) will show on the software.



Step 4: Import the configuration file for the sensor to the software: click menu File/ Import New and then browse the relevant sensor template file (csv file) and click Open to import the template file. 

Each sensor type has own template file. Refer to sensor's manual to download the correct file.

The sensor is only active for configuration in 60 seconds since plugging the configuration cable or the power supply into the sensor.

Step 5: Read current value of parameter with function 3

  • At the relavant row of the parameter, check the box 3 on the column Func  to read the value of the parameter. The read value is shown on Read value column.



Step 6: Write the new setting to parameter with function 16

  • Double click on column Setting Value of the parameter and input new setting of the parameter
  • Uncheck the tick on Func column of the parameter, click on the arrow, select 16 and then check on the Func column to write new setting to the parameter. The OK text will show on Read Column if the software successfully writes the setting.


  • Repeat the step 5 to read the setting of the parameter for checking.

For some critical parameters of the sensor, the password in "password for setting" must be written before writing the new settings to these parameters.

Only read/write registers are allowed to write

4. Troubleshooting

No. Phenomena Reason Solutions

Status on the software always shows Disconnected although the configuration cable is connected to the PC

  • The selected COM port is incorrect.
  • The cable is defective
  • Select the correct COM port to which the configuration cable connects to PC
  • Check the cable
2 The software reads no value after importing right template and connecting right cable
  • The cable is defective or loose connection
  • The USB port is defective
  • There is no power supply to sensor via configuration cable 
  • The sensor is defective
  • Check or replace new configuration cable
  • Check USB port
  •  Check power line of the cable
  • Check the sensor
3 No COM port appears in the Port list
  • No configuration cable is plugged to PC
  • Cable driver is not installed on PC
  • Plug the cable to PC
  • Install the driver for PC
4 The parameter table on the software is empty
  • The template file has not been imported
Go to File/Import New to import the template file
5 The parameter table on the software does NOT match the memmap table of the sensor
  • The wrong template file is imported
Go to the correct manual page of the product and download right template file, then import the template file into the software

5. List of Configuration Template Files for various LoRaWAN Sensors

Because each LoRaWAN sensor has many parameters to configure or read, the number could be up to a hundred. To simplify the process of reading and writing those parameters, we divide the parameters list into multiple files.

Please download all the Template files at this link.