The XY-MD02 is a UART device in the LabWired part catalog. Its catalog type is xy-md02. It connects to the MCU over UART. The catalog gives a supply range of 5–30 V. It has 4 pins. A registered peripheral model runs in the engine: the firmware talks to it over the real bus and gets device-accurate responses.
From the catalog: XY-MD02 Modbus RTU slave modelled from the manufacturer manual: input registers 0x0001/0x0002 (temperature, humidity), holding registers 0x0101..0x0104 (address, baud, temperature and humidity correction), functions 03/04/06/10, CRC-16, 3.5-character framing, standard exceptions 01-03. No text protocol (READ, AUTO, BR:, TC:), no parity.
| Category | UART devices |
|---|---|
| Catalog type | xy-md02 |
| Interface | UART |
| Supply range | 5–30 V |
| Pins | 4 |
Simulated device model
Built from the datasheet. Implemented from the part’s register documentation and exercised by automated tests. Nothing physical was ever placed next to it.
| Pin | Electrical type | Function |
|---|---|---|
B | Passive | — |
A | Passive | — |
GND | Power input | Supply |
VCC | Power input | Supply |
No manufacturer datasheet is indexed for this part yet, so none is linked here.