
Functional Overview
A three element air quality sensor with light, temperature, and humidity, supportmodbusCommunication protocol
Selection suggestions
Widely applicable to families, Office building? hotel, hospital, school, station, museum, Convention and Exhibition Center, Factory, Agriculture, etc, Communication protocol
| Baud rate | ModbusRTU |
| Default | 1200, 2400, 4800, 9600 (Can be modified through software) , 19200, 38400 Default communication format |
| Equipment address | 9600, n, 8, 1 |
| Equipment size | 0-255 |
| Weight | 38*φ89mm |
| Working temperature | 110g |
| Working humidity | -10°C~60°C |
| Installation method | 5~65% RH |
| Ceiling installation | Detailed instruction explanation |
Temperature, humidity, and illuminance reading
Sent by the upper computer
Fields:
| meaning | remarks | Equipment address |
| 01 | Address range | Instructions: 0-255 |
| 03 | 03 Function code | 03Starting address |
| 00 00 | Read the starting position of the register | Query quantity |
| 00 03 | The number of registers to be read in the area | front |
| 05 CB | CRC 16 | Byte data 6 Checksum CRC 16 Sensor return |
Fields:
| meaning | remarks | Equipment address |
| 01 | Instructions | |
| 03 | 03 Return all bytes of status information | |
| 06 | Humidity data. | |
| 03 05 | Convert to | Base system10Representing humidity773Temperature data77.3% |
| 01 11 | Convert to | Base system10Representing temperature273Illuminance27.3°C |
| 00 AB | convert to | convert to10Base system171Representative171LuxLX |
| FD 00 | CRC 16 | front 9 Byte data CRC 16 Checksum |
Baud rate modification
send out: 01 43 00 00 00 67 (Baud rate) 05 EF
return: 01 43 67 00 00 00 00 30 FB
43For function codes, The third byte67Representative9600The baud rate has been successfully modified
4800 Hexadecimal isCF; 9600 Hexadecimal is67;
19200 Hexadecimal is34; 57600 Hexadecimal is10;
115200 The hexadecimal value is08;
Address modification
send out: 01 42 00 00 00 05 (New address) B9 C6
return: 05 42 05 00 00 00 00 27 58
42For function codes, The third byte05The representative device address is05Change success
Leave a Reply