Aideepen XY-MD03/XY-MD04

Rate this product if you’ve used it
Contents

Aideepen XY-MD03/XY-MD04 RS485 Modbus Temperature Humidity Sensor Probe User Manual

Models: XY-MD03, XY-MD04

1. Introduction

The Aideepen XY-MD03 and XY-MD04 are high-precision, waterproof temperature and humidity sensor probes designed for various industrial and household applications. These sensors utilize RS485 communication with the MODBUS_RTU protocol, offering reliable data collection in challenging environments. Featuring Swiss imported chips and robust anti-interference capabilities, they are ideal for monitoring conditions in greenhouses, warehouses, communication rooms, intelligent buildings, pharmacies, and laboratories.

XY-MD03 Temperature and Humidity Transmitter Overview
Figure 1: XY-MD03 Temperature and Humidity Transmitter Overview. Highlights include Swiss imported chips, waterproof probe, RS485 communication, anti-reverse connection protection, strong anti-interference, and Modbus protocol support.

2. Features

  • Small and exquisite design, easy to carry and store.
  • Anti-reverse connection protection for enhanced durability.
  • Strong anti-interference ability for stable operation.
  • Adopts copper particle sintering or PE material protective cover, ensuring waterproof and breathable properties.
  • Equipped with digital temperature and humidity sensors for high accuracy and debugging-free performance.
  • Low power consumption and high precision measurements.
  • Supports MODBUS_RTU communication protocol and custom common protocols.
  • Suitable for high-temperature environments such as ovens, saunas, and steam rooms (XY-MD03).
  • Suitable for high dust environments requiring high sensitivity (XY-MD04).
Double Waterproofing Feature
Figure 2: Illustration of the double waterproofing feature. The sheath is made of copper particle sintering or PE material protective sleeve, making it waterproof and breathable.

3. Specifications

ParameterValue
DC VoltageDC5-28V
Maximum Power Consumption≤0.05W
Humidity Measurement Accuracy±3% RH (60% RH/25°C)
Temperature Measurement Accuracy±0.3°C (25°C)
Working Range (XY-MD03)-40°C~+80°C, 0% RH~100% RH
Working Range (XY-MD04)-40°C~+120°C, 0% RH~100% RH
Communication ProtocolMODBUS_RTU
Output SignalRS485 signal
Temperature Resolution0.1°C
Humidity Resolution0.1% RH
Temperature and Humidity Refresh Time0.5S
Cable LengthApproximately 1M
Applicable EnvironmentNon-condensing environment of 0-99% RH
CertificationCE

3.1. Model Specific Dimensions

XY-MD03 and XY-MD04 Dimensions and Specifications
Figure 3: Comparison of XY-MD03 (PE probe) and XY-MD04 (Metal probe) dimensions and specifications.

XY-MD03 (PE Probe - Long)

  • Probe Diameter: 16mm
  • Probe Length: 70mm
  • Measurement Elements: Temperature and Humidity
  • Application Conditions: -40~80℃ / 0~100%RH
  • Measurement Accuracy: ±0.3℃ (25℃) / ±3%RH (60%RH, 25℃)
  • Waterproof and dust-proof, suitable for high humidity environments, outdoor, agricultural greenhouses.

XY-MD04 (Metal Waterproof Probe - Short)

  • Probe Diameter: 15mm
  • Probe Length: 55mm
  • Measurement Elements: Temperature and Humidity
  • Application Conditions: -40~120℃ / 0~100%RH
  • Measurement Accuracy: ±0.3℃ (25℃) / ±3%RH (60%RH, 25℃)
  • Suitable for high dust and applications requiring high sensitivity.

4. Setup

4.1. Wiring Instructions

Connect the sensor according to the following color-coded wiring diagram:

RS485 Modbus Sensor Wiring Diagram
Figure 4: Wiring Diagram for the RS485 Modbus Temperature and Humidity Sensor.
  • Red Line: Power supply positive
  • Black Line: Negative terminal of the power supply
  • Yellow Line: 485-A
  • White Line: 485-B

4.2. Physical Installation

The sensor probes are designed for durability in various environments. The XY-MD03 (PE probe) is waterproof and dust-proof, making it suitable for high humidity environments, outdoor use, and agricultural greenhouses. The XY-MD04 (metal probe) is designed for high dust environments and applications requiring high sensitivity.

Ensure the sensor is placed in a location representative of the area you wish to monitor, avoiding direct sunlight or heat sources that could affect readings. The device can be used in a non-condensing environment of 0-99% RH.

5. Operating Instructions (MODBUS Protocol)

The sensor communicates using the MODBUS_RTU protocol over RS485. Below are the function codes and examples for reading and writing data.

5.1. Function Codes Used by the Product

  • 0x03: Read holding register
  • 0x04: Read input register
  • 0x06: Write a single holding register
  • 0x10: Write multiple holding registers

5.2. Register Map

Register TypeRegister AddressPLC AddressData ContentNumber of Bytes
Input register0x000130002Temperature value2
0x000230003Humidity value2
Hold register0x0101 (257)40258Device address (1~247)2
0x0102 (258)40259Baud rate (9600, 14400, 19200, 38400, 56000, 11520 (stands for 115200))2
0x0103 (259)40260Temperature correction (/10) -10.0~10.02
0x0104 (260)40261Humidity correction (/10) -10.0~10.02

5.3. MODBUS Communication Format

Host Sends Data Frame:

Slave addressFunction codeRegister address high byteRegister address low byteRegister number high byteRegister number low byteCRC high byteCRC low byte
0x010x040x000x010x000x010x600x0A

Slave Response Data Frame:

Slave addressFunction codeNumber of bytesTemperature high byteTemperature low byteCRC high byteCRC low byte
0x010x040x000x010x310x790x74

If the temperature value is 0x0131, convert it to 305 in decimal notation, and the actual temperature is 305/10 = 30.5°C.

Note: Temperature is a signed hexadecimal number. For example, if the temperature value is 0xFF33, converted to decimal -205, the actual temperature = -20.5°C.

5.4. Reading Humidity

Host Reads Humidity Command Frame (0x04):

Slave addressFunction codeRegister address high byteRegister address low byteRegister number high byteRegister number low byteCRC high byteCRC low byte
0x010x040x000x020x000x010x900x0A

Slave Response Data Frame:

Slave addressFunction codeNumber of bytesHumidity high byteHumidity low byteCRC high byteCRC low byte
0x010x040x020x020x220xD10xBA

If the humidity value is 0x0222, convert to 546 in decimal notation, and the actual humidity value is 546/10 = 54.6%.

5.5. Continuously Reading Temperature and Humidity

Host Command Frame (0x04):

Slave addressFunction codeRegister address high byteRegister address low byteRegister number high byteRegister number low byteCRC high byteCRC low byte
0x010x040x000x010x000x020x200x0B

Slave Response Data Frame:

Slave addressFunction codeNumber of bytesTemperature high byteTemperature low byteHumidity high byteHumidity low byteCRC high byteCRC low byte
0x010x040x040x010x310x020x220x2A0xCE

5.6. Modifying Slave Address

Read Slave Address (Function 0x03):

Slave addressFunction codeRegister address high byteRegister address low byteRegister number high byteRegister number low byteCRC high byteCRC low byte
0x010x030x010x010x000x010xD40x36

Slave Response Frame:

Slave addressFunction codeNumber of bytesSlave address high byteSlave address low byteCRC high byteCRC low byte
0x010x030x020x000x010x300x18

This indicates the current slave address is 1 (0x0001).

Modify Slave Address (Function 0x06):

Slave addressFunction codeRegister address high byteRegister address low byteRegister number high byteRegister number low byteCRC high byteCRC low byte
0x010x060x010x010x000x080xD80x30

This example changes the slave IP address to 0x08 (decimal 8).

Slave Response Frame (same as send):

Slave addressFunction codeRegister address high byteRegister address low byteRegister number high byteRegister number low byteCRC high byteCRC low byte
0x010x060x010x010x000x080xD80x30

5.7. Modifying Baud Rate

Example: Change the slave IP address to 0x20 (decimal 32) and Baud rate to 0x2580 (9600).

Slave addressFunction codeStarting address high byteStarting address low byteRegister number high byteRegister number low byteNumber of bytesRegister 1 high byteRegister 1 low byteRegister 2 high byteRegister 2 low byteCRC high byteCRC low byte
0x010x100x010x000x000x020x040x000x200x250x800x250x09

Slave Response Frame:

Slave addressFunction codeRegister address high byteRegister address low byteRegister number high byteRegister number low byteCRC high byteCRC low byte
0x010x100x010x010x000x020x110xF4

6. Maintenance

To ensure the longevity and accuracy of your Aideepen sensor, follow these maintenance guidelines:

  • Cleaning: Periodically clean the probe surface to prevent accumulation of dust or debris, especially in high-dust environments. Use a soft, dry cloth. Avoid abrasive cleaners or solvents.
  • Connection Check: Regularly inspect the wiring connections for any signs of corrosion or damage. Ensure all connections are secure.
  • Environmental Considerations: While the probes are waterproof and dust-proof, prolonged exposure to extreme conditions beyond their specified operating range may affect performance.

7. Troubleshooting

  • No Readings or Incorrect Data:
    • Verify power supply (DC5-28V) and ensure correct polarity.
    • Check RS485 wiring (485-A and 485-B connections).
    • Confirm the slave address of the sensor matches the address used in your communication.
    • Ensure the baud rate, parity, and stop bits are correctly configured in your MODBUS master device to match the sensor's settings.
    • Inspect the cable for any physical damage.
  • Inaccurate Readings:
    • Ensure the sensor is placed in an appropriate environment, away from direct heat sources or strong air currents that could skew readings.
    • Check for any physical obstructions or buildup on the probe surface.
    • Consider applying temperature or humidity correction if a consistent offset is observed (refer to Register Map for correction registers).

8. User Tips

  • MODBUS Configuration: When setting up MODBUS communication, remember to configure the baud rate, data length, parity, and stop bits correctly. Common settings are 9600 baud, 8 data bits, no parity, and 1 stop bit, but always verify against your specific system requirements and the sensor's default or configured settings.
  • Initial Testing: Before permanent installation, perform a quick test to ensure the sensor is providing accurate readings and communicating correctly.
  • Environmental Suitability: Choose the correct model (XY-MD03 for high humidity, XY-MD04 for high dust) based on your application environment for optimal performance and longevity.

9. Frequently Asked Questions (FAQ)

Q: What are the typical MODBUS communication parameters (baud rate, data length, parity, stop bit)?
A: While the sensor supports various baud rates (9600, 14400, 19200, 38400, 56000, 115200), common MODBUS_RTU configurations often use 9600 baud, 8 data bits, no parity, and 1 stop bit. Always refer to the 'Register Map' in Section 5.2 for supported baud rates and ensure your master device matches the sensor's configuration.
Q: Can I use this sensor outdoors?
A: Yes, the XY-MD03 model with its PE protective cover is waterproof and dust-proof, making it suitable for outdoor use and high humidity environments like agricultural greenhouses.
Q: How do I change the slave address of the sensor?
A: The slave address can be changed by writing to the holding register 0x0101 (PLC address 40258) using function code 0x06 or 0x10. Refer to Section 5.6 for detailed instructions and examples.

10. Warranty and Support

For specific warranty information, technical support, or service inquiries, please contact the seller or manufacturer directly. Keep your purchase records for any warranty claims.

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.

Was this page helpful?