Contents 1 Introduction 1.1 WACO communication system ........1.2 LoRaWAN communication system .
Page 3
List of Figures Principle of data transmission from WM868-THI4 module via communication gateway ..Principle of data transmission from WM868-THI4 module to another WACO radio module ..Appearance of the WM868-THI4 module .
Introduction This document describes the configuration options of the WM868-THI4 radio module, which is used for measuring temperature and humidity in interiors and for radio transmission of information about the current state of measured quantities via radio messages in WACO, LoRa, or Wireless M-Bus format. WACO communication system WACO (Wireless Automatic Collector) is radio frequency (RF) communication system intended especially for the remote reading of consumption meters (smart metering area), automatic data collection from sensors (telemetry...
Wireless M-BUS Communication Protocol Wireless M-BUS is the communications protocol described by international standards EN 13757-4 (physical and link layer) and EN 13757-3 (application layer), which is intended primarily for radio transmission of remote reading values from consumption meters and sensors. Protocol Wireless M-BUS (hereinafter WMBUS”) is based on a ”...
In WACO transmission mode, messages can be transmitted directly to another WACO system module that is per- manently receiving. Figure shows data transmission from the WM868-THI4 module to the so-called ”Collecting Unit” of the WACO system, which collects data from battery-powered WACO modules, converts data to standard M-Bus protocol messages, and further transmits them to the bus control unit (”M-Bus Master”...
Overview of technical parameters Table 1: Overview of technical parameters of the WM868-THI4 module Radio interface Frequency band Transmission modes WACO, wM-Bus, LoRa Modulation type - WACO GFSK Modulation type - wM-Bus Modulation type - LoRa spread spectrum Transmit power 10 - 25 Channel width - WACO 100 (15)*...
” Description of connecting the module to a mobile phone via Bluetooth wireless connection and general rules for configuring the module using the mobile application ”Softlink Configurator” are described in Chapter 3 of the above-mentioned manual Configuration of wacoSystem product family devices”. In section ”Setting the pa-...
Page 9
wm868-THI4>conf Config : OK --- WACO protocol --- channel Group Hop count Repeater Test timeout: 20 sec. Encrypt port: Repeat count: 1 Master : 0x010000FE Repeat tout : 1 (50 ms) --- RF Driver --- TX power : 14 dBm RX timeout : 4 (200 ms) High Gain --- Application ---...
3.1.2 Overview of configuration commands of the WM868-THI4 module (”HELP”) To display a summary of configuration commands (”HELP”) and their parameters, enter the command ”?” into the command line and press the ”ENTER” key. The following listing will appear in the terminal window: wm868-THI4>? - help info...
3.1.3 Commands for basic module control This group of commands contains commands for controlling and monitoring the module as a whole. These are the following commands: wm868-THI4>? - help info - print system info conf - print configuration write - write configuration clear - clear configuration mode...
Page 12
parameters stored in FLASH. If the parameter should be set only temporarily (for example when turn on a ”test”), it is not needed to save the operational configuration to FLASH memory (after finishing diagnostics the ”test” will be turned off anyway). However, if it is necessary for the currently changed operating parameters to remain set permanently, it is necessary to enter at the end of the configuration sequence a command to save the current configuration to FLASH..
3.1.4 Commands for configuring the RF subsystem of the module This group of commands is used to set those parameters of the RF subsystem of the WM868-THI4 module that are common to all modes. These are the following commands: - help info - print driver info clear...
wm868-THI4>rf rxt 10 RX timeout : 10 (500 ms) wm868-THI4> Using the command ”rf active”, you can switch the RF subsystem to a permanently active mode, where the receiver is constantly receiving, except for moments of transmission. For the battery-powered WM868-THI4 module, such a setting would lead to rapid battery discharge, so it is strongly advised against using this command during normal module operation.
Page 15
kb/s with a theoretical receiver sensitivity of about 104 dBm, which allows communication in built-up objects in the order of tens of meters. Channels labeled ”3”, ”4”, ”5” and ”6” have a width of 15 kHz and are used for data transmission at a speed of 2.4 kb/s with a theoretical receiver sensitivity of about 120 dBm.
WACO protocol port number and any string of up to 16 characters after the ”waco encrypt” command. Based on this string, the module generates a cipher according to the proprietary Softlink algorithm. Spontaneously sent INFO messages of the WM868-THI4 module have port number ”37”. The same string can be used to generate a key for decrypting messages on the receiving side (in the central data collection application) using the same algorithm.
Page 17
M-Bus standard. The code value for the WM868-THI4 module is set at the factory to ”SFT” (unique code of the manufacturer SOFTLINK) and unless there is a serious reason, the module manufacturer does not recommend changing the manufacturer code setting.
The command ”wmbus ekey” is used to set the encryption key for message encryption using the AES-128 algorithm. Enter the 16-byte encryption key using the ”wmbus ekey” command followed by a string of 16 bytes, which we enter in hexadecimal form as 32 consecutive characters (characters ”0” to ”f”, without spaces and without prefixed ”0x”).
Page 19
The commands ”lora info” and ”lora regs” are used to display the settings of the LoRa subsystem. These commands are only used for module diagnostics in the manufacturer’s laboratory. The ”lora band” command can be used to set the regional frequency plan according to the LoRa specification. For the Czech Republic region in the 868 MHz band, the frequency plan EU863-870 (abbreviated as ”EU868”) is reserved, which corresponds to option ”0”.
Page 20
wm868-THI4>lora rxdly Recv Delay : 2 wm868-THI4>lora rxdly 1 Recv Delay : 1 wm868-THI4> In ABP mode (Activation by Personalization), the first receive window always opens with the set ”lora rxdly” delay. This value is also stored in the network’s BackEnd, so the network always sends reverse channel messages in this window.
Page 21
--- LoRa App --- Dev Addr : 0x00000000 NwkSKey : 1a2b3c4d5e6fa1b2c3d4e5f6778899af AppSKey : 00000000000000000000000000000000 Similarly, the key for encrypting application data is entered using the ”lora appskey” command. Warning! For modules with OTAA activation mode, these two keys are not entered, the module creates them during the initialization process based on information from the network.
be entered into the module configuration. When the module first logs into the network, it receives back from the network the network address ”NetAddr” and the ”JoinNonce” information, which it uses to create the ”Network Session Key” and ”Application Session Key” keys. The network BackEnd simultaneously generates both of these keys using the same algorithm.
The description of connecting the module to a mobile phone via Bluetooth wireless connection and general rules for configuring the module using the ”Softlink Configurator” mobile application are described in Chapter 3 of the ”Configuration of wacoSystem product line devices” manual.
Page 24
Configuring the module from a mobile application via the Bluetooth wireless interface has several general steps: 1. Download the ”Softlink Configurator” mobile application from the ”Google Play” (Android) or ”App Store” (iOS) store. To search, use the keyword ”Softlink”, the application is presented under the name ”BLE Configurator”;...
Page 25
- setting the group address (Group Address) - setting the frequency channel (Channel) - setting the max. number of hops (Hop Count) - setting the transmit power - setting the receive window length (RX TimeOut) - setting the carrier detection function (Carrier Detect) The ”WMBUS RF Settings”...
Figure 4: Preview of forms for setting the WM868-THI4 module using a mobile application Setting module parameters from a remote computer using a reverse channel he WM868-THI4 module supports communication in the so-called reverse channel (from the central application to the module) in WACO and LoRa transmission modes. The possibilities of two-way communication via the reverse channel can be used for remote parameter setting from a remote computer.
Individual variables are coded into the data content of the message by using of ”NEP” proprietary coding system invented by SOFTLINK. In this system each type of variable has its own designation called ”OID” (Object ID), which determines meaning, character and data type of the variable. These variables, that could be used multiple times (as multiple inputs, temperatures, voltages...) must be used jointly with order number of the variable called...
Figure 6: Structure of WACO system data packet Figure 7: Preview of NEP coding table” for coding of variables in WACO system ” If a receiver of ”INFO” messages from the module is WACO collection unit” (see paragraph Module usage”), ”...
Message length (L) Message length in Bytes Packet type (C) ”Spontaneous User Data” Manufacturer ID (M) ”SFT” (Softlink manufacturer code) Serial number (A) Module identification according to M-BUS standard (configurable) Version (V) Module generation/version according to M-BUS standard (configurable) Medium (T) Type of measured medium according to M-BUS standard (configurable)
Operating conditions This section of the document provides basic recommendations for transportation, storage, installation and operation of WM868-THI4 radio modules. General operating risks WM868-THI4 radio modules are electronic devices powered by their own internal battery, which measure ambient air temperature at short intervals and transmit a radio message with the current temperature and humidity data at set intervals.
Module installation WM868-THI4 radio modules are enclosed in plastic boxes with IP20 protection. The box consists of two parts: - module box with printed circuit board. There are ventilation slots on two sides of the box; - box lid with moldings indicating the place for drilling holes for screws used to secure the module. A view of both parts of the WM868-THI4 module is shown in Figure 9.
Walk-By system. These conditions can either be estimated based on previous experience or measured using a WACO RFAN 3.x analyzer. The minimum received signal level (RSSI) value for WACO WM868 series modules in WACO transmission mode is -105 dBm, but at this level there is no reserve for temporary signal ”fades” and it is almost certain that radio connection with the module will occasionally fail.
check the functionality of the RF subsystem using the RFAN 3.x analyzer. For this, it is necessary to switch the module to WACO transmission mode and receive messages from the module with the analyzer in ”Packets” or ”Radar” mode (according to the procedure described in the analyzer documentation), preferably using the test transmission function;...
6.1.3 Transmitter and receiver failures If the module is powered by correct voltage, the module communicates through the configuration port, responds to the configuration commands but the radio-messages from the module are still not received steadily, the possible reason of the trouble can be a failure of transmitting or receiving of radio signal. The typical indication of trans- mitting or receiving failures is state of partial”...
This manual is focused on description, parameters and configuration options of radio modules WM868-THI4 of the WACO RF system, operating in the 868 MHz band, that are a part of the Softlink’s wacoSystem product family. More information about all WM868 (WACO), WB169 (Wireless M-BUS), WS868 (Sigfox), or NB (NB-IoT) series of the modules can be found on the manufacturer website: www.wacosystem.com...
Need help?
Do you have a question about the WACO WM868 and is the answer not in the manual?
Questions and answers