> 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/sensor-technology/wireless-soil-moisture-logger/workbench.md).

# Configure and update with Workbench

Change the WSML's logging interval and clock with QTech Workbench, and update its firmware.

The WSML is configured using QTech Workbench via the USB interface (Type A-MiniB cable required).

{% hint style="info" %}
**Applies to:** WSML Rev A2 hardware and v1.04 firmware. From the QIMS WSML User Guide V2 (October 2021). See [QTech Workbench](https://help.qtech.co.nz/qtech/qtech-workbench.md).
{% endhint %}

## Connect

1. Connect the USB cable (Type A-MiniB cable required) and wait for the USB drivers to install.
2. Launch Workbench, choose the **wireless soil moisture logger** device type from the top menu and press the **connect** button.

There are three forms to choose from: **Setup**, the main configuration screen; **Calibration**, used by QTech to calibrate the real time clock in the unit; **Firmware upgrade**, for updating the firmware in the device.

## Setup

| Setting                    | Notes                                                                                                                                                                            |
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **MAC Address**            | Radio address, not configurable by user, do not change                                                                                                                           |
| **Serial Number**          | QTech assigned, not configurable, do not change                                                                                                                                  |
| **Firmware version**       | Configured using firmware upgrade process, read only on setup form                                                                                                               |
| **Time**                   | WSML local time. To synchronise to time on PC press Sync RTC button                                                                                                              |
| **Interval**               | Logging interval in seconds, recommended logging interval for soil moisture is 3600 seconds (1 hour). Intervals less than 15 minutes are not recommended on solar powered units. |
| **QTech radio channel**    | QTech assigned, not configurable by user, do not change. This channel is matched to the receiving equipment                                                                      |
| **Radio Power**            | Max value 18 dBm                                                                                                                                                                 |
| **RTC Calibration factor** | QTech assigned, not configurable, do not change                                                                                                                                  |

| Button               | What it does                                                                                                                                                               |
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Read from Device** | Returns the current device settings                                                                                                                                        |
| **Write to device**  | Saves new configuration settings to the device.                                                                                                                            |
| **Reboot Device**    | Force the device to reset. This can be done after updating a configuration and writing it to the device to cause new configuration values to take effect.                  |
| **Sync RTC**         | Synchronises the device real time clock to the PC                                                                                                                          |
| **Factory Defaults** | This returns the device to its factory state. Do not do this unless instructed by a QTech technician otherwise the device may cease to work without further configuration. |

## Update the firmware

From time to time the firmware in the WSML may need to be upgraded. Two separate firmware options are offered: firmware using the FSK radio modem for communications and firmware using LORA radio modulation.

1. Disconnect the USB cable if connected. And remove the power connector.
2. Press and hold the prog pushbutton on the device circuit board.
3. Insert the USB cable.
4. Release the prog button when the DBG led on the circuit board is illuminated.
5. Ignore the auto-play dialogue box if it appears on the PC screen.
6. Press the start button in workbench (firmware upgrade form).
7. Browse and select the new firmware file. Opening the file will commence the upgrade process.
8. 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).
9. Remove the USB cable.
10. Reconnect the power.
