> For the complete documentation index, see [llms.txt](https://help.qtech.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.qtech.co.nz/water-insight/tank-level-monitor/workbench.md).

# Configure and update with Workbench

Change a TLM's radio channel, reporting interval or scaling, and update its firmware, with QTech Workbench.

The TLM is configured using QTech Workbench via the USB interface. The radio channel, scaling factors and reporting interval are configurable, no other settings should be changed. The TLM is upgraded using QTech Workbench via the USB interface.

{% hint style="info" %}
**Applies to:** TLMs. Workbench version 2.8 or above is required to configure a TLM. TLM firmware v1.02 must use Workbench v2.13 to configure, and TLM firmware v1.03 must use Workbench v2.15 or later to configure. From the application notes "TLM Configuration" and "TLM Firmware Upgrade" (Rev 01) and "TLM Application Restrictions". See [QTech Workbench](https://help.qtech.co.nz/qtech/qtech-workbench.md).
{% endhint %}

## What you need

* Computer running windows 7 or higher, with QTech Workbench
* USB (Type A-Mini B) cable
* Firmware file (ending is .bin), for a firmware upgrade. Firmware is available on request.

## Connect

1. Remove the back panel of the TLM case.
2. Connect the USB cable to the computer and the TLM.
3. Press and hold the **MODE** pushbutton switch until the **STAT** LED shows one quick flash every \~0.5s. Requires approx. 5s push and hold.
4. Launch Workbench, choose the device type (**Tank Level Monitor**) from the top menu. Select **Connect** in Workbench.

## Change the radio channel

1. Select the **Wireless** menu on the right hand side.
2. The **QTech Radio Channel** setting can be changed. Select **Write to device**.
3. If the radio channel is changed, the sensor gateway channel must match. This can be changed in IMS.

## Change the reporting interval or scaling

Select the **QTech Settings** menu and scroll to the **Configuration** section. No other settings other than those described should be changed.

| Setting                | What it does                                                        | Default |
| ---------------------- | ------------------------------------------------------------------- | ------- |
| **Reporting Interval** | How often the sensor probe is sampled and result transmitted to IMS | 15min   |
| **Raw Min**            | Minimum voltage expected from sensor                                | 0.00    |
| **Raw Max**            | Maximum voltage expected from sensor                                | 5.00    |
| **Scaled Min**         | Corresponding minimum value transmitted to IMS                      | -375.00 |
| **Scaled Max**         | Corresponding maximum value transmitted to IMS                      | 3375.00 |

The Holykell HPT604 pressure transducer quoted specification is 0.5 – 4.5V output and 0 – 3m range (standard). TLM default scaling is 0 – 5V (raw) and -375 – 3375 (scaled). The aim of this configuration is to allow for error detection, such as a disconnected probe, which would show as a negative value in IMS.

After any configuration changes the TLM must be rebooted for the changes to take effect.

## Update the firmware

1. To upgrade the device, launch Workbench, choose the device type (**Tank Level Monitor**) from the top menu and click the **firmware upgrade** category to begin the process.
2. Connect the USB cable to the computer but NOT the TLM.
3. Press and hold the **MODE** pushbutton switch on the device. Insert the USB cable. Release the **MODE** pushbutton switch when the **STAT** LED is illuminated.
4. Windows may launch the explorer auto-play dialogue Window. Ignore the auto-play dialogue box if it appears on the PC screen (close it).
5. Press the start button in Workbench (firmware upgrade form). Browse and select the new firmware file that has been provided (ending is .bin). Opening the file will commence the upgrade process.
6. On completion eject the device (this can happen automatically but if not select the drive using Windows Explorer, right click and choose eject from the pop-up menu).
7. Remove the USB cable. Reconnect the power.

## Firmware and gateway compatibility

| TLM firmware | Adds                    | Gateway                                                       | Workbench                                      |
| ------------ | ----------------------- | ------------------------------------------------------------- | ---------------------------------------------- |
| V1.03        | Flow meter integration  | Only compatible with LSG01 LoRa Gateway (not Duinotech style) | Must use Workbench v2.15 or later to configure |
| V1.02        | Pump control introduced | Only compatible with Duinotech style LoRa Gateway             | Must use Workbench v2.13 to configure          |
