Product Description:
- Product adopts industrial-grade chip, high-precision SHT20 temperature and humidity sensors, ensure the products with good reliability, high precision and interchangeability.
Adopt RS485 hardware interface (with the lightning protection design), the protocol layer compatible with standard industrial Modbus Rtu protocol.
This product integrating MODBUS protocol with ordinary, users can choose communication protocols, common agreement with automatic upload function(Connect the RS485 serial interface mode tool by automatically output temperature and humidity).
MODBUS PROTOCAL
Modbus Function Code:
0x03:Read keep register
0x04: Read input register
0x06:Write a single keep register
0x10:Write more keep registers
Master send format:
The responseformat of slave:
The response data from slave:
Temperature value=0x131,converted to a decimal 305,the actual temperature value = 305 / 10 = 30.5°
Note: the temperature is signed hexadecimal number, temperature value = 0xFF33, converted to a decimal - 205, the actual temperature = -20.5 °;
The response data from slave:
Humidity value = 0x222, converted to a decimal 546, actual humidity value = 546/10 = 54.6 %;
The response data from slave:
Readdevice address from the slave:
The response data from slave:
Modify the slave address register:
Modify the slave address:0x08 = 8
The response data from slave(And send the same):
Slave address :0x20 = 32
Baud rate :0x2580 = 9600
The response data from