XY-MD02 Temp Humidity Sensor – Modbus RTU

The XY-MD02 utilizes an industrial-grade chip and high-precision SHT20 sensors for temperature and humidity. This guarantees the product’s reliability, precision, and interchangeability. It uses the RS485 hardware interface with lightning protection and is compatible with the standard industrial Modbus RTU protocol on the protocol layer. The product combines MODBUS and ordinary UART communication protocols, allowing you to choose between them. The UART communication features an automatic reporting function and can output temperature and humidity by connecting to the RS485 serial interface mode tool.
XY-MD02 Temperature Humidity Modbus RTU Sensor

Features, specifications, and protocol examples follow that can be used as the manual for this XY-MD02 sensor. The following links will help demonstrate the operation of this quality industrial temperature and humidity sensor.
Integrating an XY-MD02 Sensor with Modbus RTU into Click PLC
Integrating XY-MD02 Sensor Modbus RTU Click PLCVideo
Create a Click PLC program to read temperature and humidity from the sensor, along with related parameters such as unit number, baud rate, temperature offset, and humidity offset.

Setting the XY-MD02 Sensor for the Modbus RTU networkVideo
Using the XY-MD02 Sensor Serial UART communicationVideo

The XY-MD02 can be purchased from the following Amazon affiliate links.

XY-MD02 Features:

  • Support MODBUS RTU (RS485) protocol 
  • RS485 supports 1,000 meters of communication 
  • Standard DIN35 mounting rails – Fit easily into the panel
  • High-precision Industrial product – Easily adjust the temperature in degrees Celsius and humidity in RH percent. 
  • SHT20 temperature and humidity sensor 
  • Standard MODBUS and serial protocol, you can choose your communication 

XY-MD02 Temperature Humidity Modbus RTU Sensor

Specifications:

  • Product Name: Modbus RTU RS485 SHT20 Temperature Humidity Transmitter 
  • Product Number: XY-MD02 
  • Working Voltage: DC 5V~30V 

XY-MD02 Temperature Humidity Modbus RTU Sensor

  • Output signal: RS485 signal 
  • Communication protocol: Modbus RTU and serial ASCII protocol
  • Communication address: 1~247 (default 1) 
  • Temperature Range: -40 ~60 ℃ 
  • Temperature Precision: +/-0.5 ℃ 
  • Temperature Resolution: 0.1℃ 
  • Humidity Range: 0% RH~80% RH 
  • Humidity Precision: +/-3% RH 
  • Humidity Resolution: 0.1% RH 
  • Power: < 0.2 Watts 
  • Working Temperature: -40 ~85 ℃  
  • Working Humidity: 0% ~ 95% RH 
  • Size: 65*46*28.5 mm

XY-MD02 Default Communication Parameters:

  • Modbus RTU / Serial ASCII (UART – Universal Asynchronous Reciever-Transmitter)
    • 9600 baud
    • 8 data bits
    • 1 stop bit
    • no parity
    • Unit Address: 1

Modbus Protocol:
XY-MD02 Temperature Humidity Modbus RTU

XY-MD02 Modbus Addresses:
XY-MD02 Temperature Humidity Modbus RTU

XY-MD02 Modbus Communication Format:
XY-MD02 Temperature Humidity Modbus RTU

Sample Modbus Master Read Temperature / Humidity:
XY-MD02 Temperature Humidity Modbus RTU

Sample Modbus Master Read Temperature and Humidity:
XY-MD02 Temperature Humidity Modbus RTU

Sample Modbus Master Read Device Address:
XY-MD02 Temperature Humidity Modbus RTU

Sample Modbus Master Write Device Address:
XY-MD02 Temperature Humidity Modbus RTU

Sample Modbus Master Write Device Address and Baud Rate:
XY-MD02 Temperature Humidity Modbus RTU

This product features Modbus and serial UART communication protocols, allowing you to select your preferred method. It’s worth noting that the serial communication method will only support one sensor. Nonetheless, an automatic reporting function reads temperature and humidity at an interval that you can customize.

XY-MD02 – UART Serial Communication:

XY-MD02 Temperature Humidity Serial UART Communication