> For the complete documentation index, see [llms.txt](https://docs.yudash.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yudash.com/integration-guides/industrial-instruments/process-control/temp+humidity-xy-md02.md).

# Temp+Humidity XY-MD02

SHT20/SHT30 series of temperature and humidity sensors are widely used in process and environment monitoring. In this tutorial, we explain a popular instrument which has SHT20 sensor (or similar model) and provides Modbus/RS485 output.&#x20;

{% hint style="info" %}
YuDash IoT devices also support SHT sensors through I2C interface for direct reading of sensors without Modbus
{% endhint %}

<table><thead><tr><th width="327"></th><th>Description</th></tr></thead><tbody><tr><td>Instrument Type</td><td>Temperature and Humidity sensor</td></tr><tr><td>Model Number</td><td>XY-MD02</td></tr><tr><td>Brand</td><td>Generic / China</td></tr><tr><td>Protocol</td><td>RS485/Modbus </td></tr><tr><td><strong>Modbus Setting</strong></td><td></td></tr><tr><td>Default Baud Rate </td><td>9600 8N1 (configurable by Modbus)</td></tr><tr><td>Slave</td><td>1 (default slave ID)</td></tr><tr><td>Data Type</td><td>Integer (10X or proces value)</td></tr></tbody></table>

## Communication Wiring

<figure><img src="/files/YaEAn11GKHYHWxFCJs7a" alt=""><figcaption></figcaption></figure>

## Modbus Configuration in YuDash

<figure><img src="/files/agtHsYFV0UJOYyFmwrGR" alt=""><figcaption></figcaption></figure>

## Modscan Settings for XY-MD02

<figure><img src="/files/a0dObs4I7R4MhpM2KePd" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.yudash.com/integration-guides/industrial-instruments/process-control/temp+humidity-xy-md02.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
