- NEW
The MB-AHT-2 is a temperature and relative humidity sensor with an RS-485 interface and Modbus RTU protocol. It is designed for the continuous monitoring of environmental conditions in rooms, warehouses and industrial facilities. It enables the recording of minimum and maximum values, software-based correction of readings and the adjustment of measurement averaging. Thanks to Modbus RTU communication, it can interface with building and industrial automation systems, including BMS and SCADA.
Intended use
The MB-AHT-2 is an electronic measuring transducer designed for the continuous monitoring of temperature and relative humidity. The device is equipped with an RS-485 interface, enabling the transmission of measurement data via the Modbus RTU protocol.
The transducer is designed for indoor industrial applications, including warehouses, production halls, technical rooms and facilities requiring constant monitoring of environmental conditions.
Thanks to RS-485 communication, the device can operate as one of many measurement points in a network supervised by a master automation system, such as a BMS or SCADA.
The MB-AHT-2 enables the reading of current, minimum and maximum temperature and humidity values, as well as monitoring of the sensor’s operating status. In addition, it offers software-based correction of readings and configurable averaging of measurements, allowing the presentation of data to be tailored to the needs of the installation.
Features
Temperature and relative humidity measurement – simultaneous monitoring of two environmental parameters using a single device.
Modbus RTU (RS-485) communication – integration with building and industrial automation systems.
10 Hz sampling rate – regular data readings from the sensor.
Configurable measurement averaging – the option to average between 1 and 30 samples to obtain more stable readings.
Recording of minimum and maximum values – access to the extreme temperature and humidity values since the last start-up.
Software-based reading correction – the ability to adjust temperature and humidity readings.
Sensor diagnostics – indication of measurement errors and additional operating states in the status register.
Modbus RTU parameter configuration – setting the device address, baud rate, parity and stop bit mode.
MB-AHT-1 compatibility mode – the ability to adapt the status reporting method to older master systems.
Protection against interference and ESD – design ensuring the sensor and device inputs are resistant to electrostatic discharge.
IP41-rated enclosure – designed for surface-mounted installation indoors.
Operation
The MB-AHT-2 transmitter continuously reads the readings from the built-in SHT40 temperature and humidity sensor and then makes the results available via Modbus RTU registers.
By default, the device transmits the current measurement sample without any additional averaging. If the installation requires more stable readings, the averaging function can be activated using a selected number of recent samples – from 2 to 30.
At the same time, the transducer records the minimum and maximum temperature and humidity values. This data is stored in volatile memory and is not retained when the power is switched off.
The device also provides diagnostic information, enabling the detection of, amongst other things, a sensor fault, a processor temperature overload or ongoing measurement data collection.
The transmitter is configured using the Modbus RTU protocol. Available settings include, amongst others, communication settings, reading correction and a compatibility mode with the earlier MB-AHT-1 model.
Applications
Where can the MB-AHT-2 transmitter be used?
Warehouses and storage rooms – monitoring storage conditions for materials and goods sensitive to temperature or humidity.
Production halls – monitoring of environmental parameters in selected areas of the plant.
Server rooms and technical rooms – transmission of temperature and humidity data to the monitoring system.
Electrical switchboards – monitoring of environmental conditions within switchboard rooms.
Ventilation and air-conditioning systems (HVAC) – providing measurement data to the system control systems.
BMS and SCADA systems – integration of multiple measurement points via an RS-485 bus.
The MB-AHT-2 temperature and humidity transmitter is powered by a voltage of 9–30 V DC. Communication with the device takes place via an RS-485 port using the Modbus RTU protocol.
The device is equipped with pluggable screw terminals for connecting the power supply and communication lines.

Terminal description
|
Terminal |
Function |
|
+24V |
Power supply 9–30 V DC – positive pole |
|
GND |
Power supply – negative pole |
|
A |
Communication line A of the bus RS-485 |
|
B |
RS-485 bus communication line B |
Connection to the RS-485 bus
The MB-AHT-2 can operate within a network of devices communicating via the Modbus RTU protocol. The transducers must be connected to a common RS-485 bus, ensuring that lines A and B are connected correctly.
Each device must be assigned a unique Modbus address.
If bus termination is required, install termination jumpers on the first and last devices on the bus.
Wiring recommendations
It is recommended to use shielded twisted-pair cables for communication connections.
When using Category 5 UTP cable with 24 AWG conductors, the following bus lengths are recommended for a configuration with up to 32 devices:
|
Supply voltage |
Recommended maximum bus length |
|
24 V DC |
400 m |
|
12 V DC |
200 m |
For this wiring method, it is recommended to use two pairs of wires for the power supply and one pair for communication. RS-485.
Important installation information
Disconnect the power supply before beginning any wiring.
The shield of the signal cable must be grounded at one end only.
Communication cables should not be routed in the immediate vicinity of high- or medium-voltage lines, nor near equipment that generates electromagnetic interference.
Ensure that the cable gland is tightened correctly so that the seal fits snugly around the cable.
Before closing the enclosure, check the settings of the termination jumpers and the jumpers used to restore factory default parameters.
Note! The MB-AHT-2 does not feature galvanic isolation between the power supply and the RS-485 interface. This must be taken into account when designing the system connections.
The MB-AHT-2 temperature and humidity transmitter is configured via an RS-485 interface using the Modbus RTU protocol.
The device allows for the configuration of communication parameters, adjustment of temperature and humidity readings, control over measurement averaging, and modification of how the sensor status is reported.
Factory communication parameters
|
Parameter |
Default value |
|
Operating mode |
Slave |
|
Modbus address |
1 |
|
Baud rate |
9600 bps |
|
Data bits |
8 |
|
Parity |
None |
|
Stop bits |
2 |
|
Transmission format |
9600 8N2 |
Modbus RTU communication configuration
|
Registry (dec) |
Parameter |
Available settings |
|
256 |
Modbus address |
1÷247 |
|
257 |
Transmission speed |
|
|
258 |
Parity |
None, Odd, Even |
|
259 |
Number of stop bits |
1 or 2 |
|
262 |
Stop bit setting mode |
Automatic or manual |
The values written to the registers correspond to the following configuration codes:
Register 257 – transmission speed (baud rate): 0 = 1200, 1 = 2400, 2 = 4800, 3 = 9600, 4 = 19200, 5 = 38400, 6 = 57600, 7 = 115200 bit/s.
Register 258 – parity: 0 = None, 1 = Odd, 2 = Even.
Register 259 – stop bits: 0 = 1 bit, 1 = 2 bits.
Register 262 – stop bit setting mode: 0 = automatic, 1 = manual.
Note! Manually changing the number of stop bits via register 259 is only possible if register 262 is set to 1.
Temperature and humidity reading correction
The MB-AHT-2 allows for software-based correction of measured values.
|
Register (dec) |
Parameter |
Correction range |
|
128 |
Humidity correction |
−20.0 to +20.0% RH |
|
129 |
Temperature correction |
−10.0 to +10.0 °C |
Correction allows for shifting the readings by a specified value. Settings are saved in the EEPROM memory and take effect immediately upon saving.
Humidity values, after correction, are limited to the range of 0–100% RH.
Measurement Averaging
The MB-AHT-2 transmitter allows for the adjustment of the number of samples used to calculate the average temperature and humidity readings.
This function is configured via register 130.
|
Register Value |
Function |
|
1 |
No averaging – single current sample (factory setting) |
|
2–30 |
Averaging of measurements based on the specified number of recent samples |
|
0 |
Invalid value – rejected by the device |
The transmitter must be connected to a 9–30 V DC power supply and an RS-485 communication bus. The host system must support the Modbus RTU protocol. Each device operating on a shared bus must be assigned a unique Modbus address. It is important to set the address before connecting all devices to the shared bus.
Averaging is useful in installations where minor, short-term fluctuations in readings should not trigger frequent responses from the host system. You can select an averaging range of 1 to 30 samples, allowing you to adjust reading stability to suit the requirements of your application.
Yes, but these values are stored only in volatile memory; the data is lost when the power is turned off.