Wiren BoardDokumentation
Dokumentation / Sensoren / WB-MS v.2
Dokumentation · Deutsch

WB-MS v.2

Temperature, humidity, illuminance and VOC sensor with two multifunction inputs

revision 117112
Abgedeckte Bestellnummern (1)
  • WB-MS v.2 — Combined environmental sensor

WB-MS v.2 is a compact DIN-rail environmental sensor with RS-485 Modbus RTU. Depending on the ordered configuration, it measures temperature, relative humidity, illuminance and total volatile organic compounds (VOC). Two multifunction inputs accept external DS18B20 temperature sensors or operate as pulse and press-event inputs.

WB-MS v.2 combined environmental sensor
WB-MS v.2 combined environmental sensor

Purpose and configurations

The sensor is intended for equipment cabinets, server rooms, warehouses, technical rooms and industrial spaces. Readings are available to a Wiren Board controller, a PC or any third-party Modbus RTU master over RS-485. The product card offers temperature and humidity, temperature/humidity/illuminance, and temperature/humidity/illuminance/air-quality configurations.

Technische Daten

Versorgungsspannung9–28 V DC
Leistungsaufnahme0.1 W
SchnittstelleRS-485, Modbus RTU
Temperatur−40 to +80 °C; 0.1 °C resolution; ±0.3 °C maximum error from 0 to +70 °C and ±0.5 °C outside that range; ±0.2 °C repeatability; ±0.1 °C/year drift
Relative Luftfeuchtigkeit5–95% RH at air temperatures of 0 °C and above; 0.1% resolution; ±3% maximum error; ±1% repeatability
Beleuchtungsstärke10–10,000 lx; up to ±20% sensor-to-sensor variation; spectral response does not match the human eye
VOC0–60,000 ppb ethanol equivalent; ±15% typical and ±40% maximum error
Externe SensorenUp to 20 DS18B20 sensors on each of two inputs
Input terminalsW1, W2, GND and 5V output; each input can alternatively count pulses and detect press types
Abmessungen65 × 46 × 29 mm; 84 × 46 × 29 mm including terminal blocks; approximately 2.5 DIN units
Gewicht mit Verpackung60 g
Betriebsbedingungen−40 to +80 °C, up to 95% RH without condensation
Lebensdauer / Garantie8 Jahre / 2 Jahre

Measurement and input operation

Statusanzeige

The status indicator shows power-up and communication activity. During normal operation it flashes when the device exchanges Modbus data, which makes basic wiring and bus diagnostics possible without opening the controller interface.

Temperatur und Luftfeuchtigkeit

Der Sensor kompensiert die Erwärmung der Platine automatisch. Die Rohwerte für Temperatur und Feuchtigkeit sind in den Input-Registern 284 und 285 verfügbar. Holding-Register 245 ermöglicht eine benutzerdefinierte Temperaturkorrektur, beispielsweise bei Montage des Sensors in der Nähe einer warmen Decke.

Der Temperatur- und Feuchtigkeitssensor ist auf die Modulplatine gelötet. Seine Heizung trocknet Kondenswasser und kann über die Weboberfläche oder durch Schreiben von 1 in Coil-Register 2 einmalig für 1 Sekunde eingeschaltet werden. Bei Geräten mit einem Sensirion-SHT40-Sensor schaltet sich die Heizung außerdem bei einer Luftfeuchtigkeit über 95% automatisch für 1 Sekunde ein.

Bei SHT40-Geräten erwärmt der Reinigungsmodus das Sensorelement eine Stunde lang auf etwa 110 °C. Normale Messungen werden vorübergehend ausgesetzt; ausgenommen sind die Rohwerte für Temperatur und Feuchtigkeit. Verwenden Sie die Reinigung nur bei Bedarf und bei einer Umgebungstemperatur von 15–40 °C, niemals über 50 °C. Die Lebensdauer der Heizung ist begrenzt. Die Reinigung kann falsche Bewegungserkennungen auslösen. Schreiben Sie 1 in Coil-Register 8, um die Reinigung zu starten, oder 0, um sie zu beenden; nach einer Stunde endet sie automatisch. Input-Register 365 gibt die verbleibende Zeit in Sekunden an.

The sensor heater can remove condensation. Coil register 2 controls the heater, while coil register 8 starts the one-hour cleaning mode supported by SHT40-equipped units. Use cleaning only when necessary and under the permitted ambient conditions because the sensing element becomes hot.

WB-MS v.2 printed circuit board
WB-MS v.2 printed circuit board

Beleuchtungsstärke

Wenn eine Schutzabdeckung oder ein Gehäuse den Sensor bedeckt, korrigieren Sie den Beleuchtungsstärkewert mit Holding-Register 288 (0x0120), verfügbar seit Firmware 4.18.6. Der Messwert wird mit 1 + value / 128multipliziert; der Wert liegt zwischen −128 und 127.

The illuminance channel is linear from 10 to 10,000 lx. Individual sensors can differ by up to 20%, and their spectral response is not equivalent to human vision. A configurable low-pass filter suppresses short changes such as a moving shadow.

VOC und Raumluftqualität

Units manufactured before August 2023 can use the Sensirion SGPC3 VOC sensor. It requires a warm-up period and reports an error value while it is not ready. Later units use the ScioSense ENS160. Its initial self-calibration takes about 24 hours, so keep the device continuously powered during commissioning.

VOC means the combined concentration of volatile organic compounds released by paints, interior materials, alcohols, solvents, decomposing organic matter, people and household gas. The value is expressed as an ethanol-equivalent concentration. It is useful for ventilation control and trend monitoring but does not identify individual substances.

Press recognition and pulse counting

Each W1 or W2 input can operate as a 1-Wire bus or as a discrete counting input. In counting mode the device records input state, pulse count and recognised press events. Fast Modbus can report event-capable channels immediately to a compatible master.

Press-event recognition diagram
Press-event recognition
Press counters in the controller interface
Press counters in the controller interface

Installation und Verdrahtung

Install the module on a 35 mm DIN rail; it occupies about 2.5 DIN units. It can also be fixed directly to a surface through the 4 mm mounting holes. The hole centres are 37 mm apart and the required clearance between the screw head and the mounting surface is 11 mm.

The removable upper terminal block provides W1, W2, GND and 5V for external DS18B20 sensors. Up to 20 sensors can be assigned to each input. For powered wiring, connect sensor GND to GND, data to W1 or W2 and supply to 5V. Parasitic-power wiring is possible but not recommended.

WB-MS v.2 wiring with two DS18B20 sensors
Typical installation with externally powered DS18B20 sensors
WB-MS v.2 mounting-hole dimensions
Mounting-hole dimensions

Controller setup and values

On a Wiren Board controller, open the serial-device configuration, scan the RS-485 bus or add the WB-MS v.2 template manually, enter the factory Modbus address and save the settings. The device page can display Temperature, Humidity, Illuminance, VOC, Input Voltage, external-sensor temperatures and the serial number. Unsupported channels are marked as unavailable and can be hidden in the serial-driver settings.

WB-MS v.2 controls and values in the controller web interface
Controls and measured values in the controller web interface

Konfiguration

Input modes and debounce

Configure W1 and W2 independently as a 1-Wire input or as a counting and press-recognition input. In counting mode, the debounce time can be set from 0 to 100 ms; the default is 50 ms. The press-event settings define the timings used to distinguish short, long, double and repeated presses.

WB-MS v.2 input-mode settings
Input mode and event settings

1-Wire polling and multiple sensors

The temperature-sensor polling period is global for all 1-Wire devices on both inputs. It can be set from 1 to 60 seconds and defaults to 2 seconds. Firmware 4.36.0 and later supports up to 20 assigned sensor IDs per input.

  1. Connect the new sensors and verify the number reported as new devices on the required bus.
  2. Run the command to save new sensors on that bus.
  3. Reload the configuration and check that the ROM IDs occupy free slots.
  4. Save the serial-device settings.

Assigned IDs can be reordered, moved or cleared. The module also scans both buses at power-up and stores newly detected IDs in free configuration slots. With exactly one sensor on an input, its reading remains available even before the ID is assigned. With several unassigned sensors, the summary channel reports an error until every ID has been saved.

Temperature compensation and filters

Stellen Sie Self-Heating Compensation (°C) ein, wenn die Installationsbedingungen eine zusätzliche Korrektur erfordern, beispielsweise in der Nähe einer warmen Decke. Low-pass Filter Time Constant (ms) steuert die Mittelwertbildung der Beleuchtungsstärke. TH Sensor Heater Enabled schaltet die Heizung einmalig für 1 Sekunde ein, um Kondenswasser zu trocknen. TH Sensor Heater Cleaning Mode Enabled aktiviert den Reinigungsmodus. Dieser Kanal ist standardmäßig ausgeblendet: Aktivieren Sie ihn in der Kanalliste der Geräteeinstellungen, damit der Schalter auf der Seite Devices angezeigt wird.

Temperature compensation settings
Temperature compensation

Modbus-RTU-Betrieb

WB-MS v.2 supports standard Modbus RTU read and write functions. The factory serial settings are 9,600 bit/s, 8 data bits, no parity and 2 stop bits. Each device uses a unique Modbus address from 1 to 247; the factory address is printed on its label. Fast Modbus adds rapid bus discovery and event polling while retaining compatibility with ordinary Modbus masters.

Wichtige Register

AdresseTypFunktionFormat / Werte
0EingangTemperatur×0.1 °C
1EingangRelative Luftfeuchtigkeit×0.1% RH
2EingangBeleuchtungsstärkelx
4EingangTemperature, high resolution×0.01 °C
5EingangRelative humidity, high resolution×0.01% RH
6–7EingangExternal sensor 1 / 2 temperature×0.0625 °C
11EingangVOC-Konzentrationppb; 0xFFFF bedeutet nicht verfügbar
2CoilTemperatur-/Feuchteheizung0 aus; 1 ein
8CoilEinstündiger TH-Reinigungsmodus0 aus; 1 starten
90HoldingIlluminance averaging time×0.1 ms
110HoldingRS-485-BaudrateRate divided by 100
111HoldingParität0 none; 1 odd; 2 even
112HoldingStoppbits1 oder 2
128HoldingModbus-Adresse1–247
245HoldingBenutzerdefinierte TemperaturkompensationVorzeichenbehaftet ×0,01 °C
275–276HoldingInput 1 / 2 mode0 = 1-Wire; 1 = discrete input
277–278EingangInput 1 / 2 pulse counterUnsigned counter
284EingangRohtemperatur vor der KompensationVorzeichenbehaftet ×0,01 °C
285EingangRohe relative Feuchte vor der Kompensation×0.01% RH
304–319EingangProduction batch numberString; devices made from 21 January 2026
65402HoldingZurücksetzen auf WerkseinstellungenWrite 1; communication settings are retained
288HoldingIlluminance correction−128…127; × (1 + value / 128); FW 4.18.6
365EingangVerbleibende TH-ReinigungszeitSekunden

Firmwareaktualisierung und Zurücksetzen

Firmware is updated over RS-485. A normal update preserves stored configuration. Do not disconnect power or the bus while an update is running. A factory reset restores operating parameters but retains the communication settings needed to reach the module; confirm the address and serial parameters afterward.

Dimensions and illustrations

WB-MS v.2 overall dimensions
Gesamtabmessungen
Revision 117112.