{"id":8559,"date":"2019-10-22T20:13:28","date_gmt":"2019-10-22T17:13:28","guid":{"rendered":"https:\/\/etqan.sa\/product\/sht-20-temperature-humidity-sensor-modbus-rs485-high-precision\/"},"modified":"2022-09-20T20:45:30","modified_gmt":"2022-09-20T17:45:30","slug":"sht-20-temperature-humidity-sensor-modbus-rs485-high-precision","status":"publish","type":"product","link":"https:\/\/qariya.net\/en\/product\/sht-20-temperature-humidity-sensor-modbus-rs485-high-precision\/","title":{"rendered":"SHT-20 Temperature Humidity Sensor"},"content":{"rendered":"<h1>SHT-20 Temperature &amp; Humidity Sensor Modbus RS485 High Precision<\/h1>\n<div dir=\"ltr\">\n<div><\/div>\n<div><strong>Description:<\/strong><br \/>\nProduct adopts industrial-grade chip, high-precision SHT20 temperature and humidity sensors, ensure the products with good reliability, high precision and interchangeability.<br \/>\nAdopt RS485 hardware interface (with the lightning protection design), the protocol layer compatible with standard industrial Modbus Rtu protocol.<br \/>\nThis 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).<\/div>\n<div>Product Highlights:<br \/>\nIndustrial products, high progress SHT20 temperature and humidity sensor, the RS485 communication;<br \/>\nStandard MODBUS protocol with ordinary at an organic whole, the user can choose communication protocol;<br \/>\nBaud rate can decide for themselves;<br \/>\nGeneral agreement with automatic upload function, upload speed can decide for themselves.<\/div>\n<div><\/div>\n<div><strong>Product Parameters:<\/strong><br \/>\nWork voltage: DC4-30 v (highest do not exceed 33 v) .<br \/>\nMost powerful: 0.2 W .<br \/>\nWork environment: Temperature 20 \u2103 &#8211; 60 \u2103, Humidity 0-100.<br \/>\nControl precision: Temperature\u00b10.3\u2103, Humidity \u00b13%RH.<br \/>\nOutput interface: RS485 communication (standard MODBUS protocol and custom ordinary), see note agreement device.<br \/>\nDevice address: 1-247 can be set, the default is 1.<br \/>\nBaud rate: 9600(the user can set), 8bits, one stop, no check;<br \/>\nShape size:60*30*18(mm)<\/p>\n<div id=\"J_SubWrap\" class=\"sub-wrap\">\n<div id=\"description\" class=\"J_DetailSection tshop-psm ke-post\">\n<div id=\"J_DivItemDesc\" class=\"content\">\n<p>MODBUS\u00a0protocol<\/p>\n<h2><strong>Function code used by the product:<\/strong><\/h2>\n<p><strong>0x03:\u00a0read holding register<\/strong><\/p>\n<p><strong>0x04:\u00a0\u00a0Read input register<\/strong><\/p>\n<p><strong>0x06:\u00a0Write a single holding register<\/strong><\/p>\n<p><strong>0x10:\u00a0Write multiple holding registers<\/strong><\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"121\">\n<p align=\"center\">Register type<\/p>\n<\/td>\n<td valign=\"top\" width=\"113\">\n<p align=\"center\">Register address<\/p>\n<\/td>\n<td valign=\"top\" width=\"189\">\n<p align=\"center\">Data content<\/p>\n<\/td>\n<td valign=\"top\" width=\"142\">\n<p align=\"center\">Number of bytes<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\" valign=\"top\" width=\"121\">\n<p align=\"center\">Input register<\/p>\n<\/td>\n<td valign=\"top\" width=\"113\">\n<p align=\"center\">0x0001<\/p>\n<\/td>\n<td valign=\"top\" width=\"189\">\n<p align=\"center\">Temperature value<\/p>\n<\/td>\n<td valign=\"top\" width=\"142\">\n<p align=\"center\">2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"113\">\n<p align=\"center\">0x0002<\/p>\n<\/td>\n<td valign=\"top\" width=\"189\">\n<p align=\"center\">Humidity value<\/p>\n<\/td>\n<td valign=\"top\" width=\"142\">\n<p align=\"center\">2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"4\" valign=\"top\" width=\"121\">\n<p align=\"center\">Holding register<\/p>\n<\/td>\n<td valign=\"top\" width=\"113\">\n<p align=\"center\">0x0101<\/p>\n<\/td>\n<td valign=\"top\" width=\"189\">\n<p align=\"center\">Device address<\/p>\n<p align=\"center\">(\u00a01~247\u00a0)<\/p>\n<\/td>\n<td valign=\"top\" width=\"142\">\n<p align=\"center\">2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"113\">\n<p align=\"center\">0x0102<\/p>\n<\/td>\n<td valign=\"top\" width=\"189\">\n<p align=\"center\">Baud rate<\/p>\n<p align=\"center\">0:9600<\/p>\n<p align=\"center\">1:14400<\/p>\n<p align=\"center\">2:19200<\/p>\n<\/td>\n<td valign=\"top\" width=\"142\">\n<p align=\"center\">2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"113\">\n<p align=\"center\">0x0103<\/p>\n<\/td>\n<td valign=\"top\" width=\"189\">\n<p align=\"center\">Temperature correction value\u00a0(\/10)<\/p>\n<p align=\"center\">-10.0~10.0<\/p>\n<\/td>\n<td valign=\"top\" width=\"142\">\n<p align=\"center\">2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"113\">\n<p align=\"center\">0x0104<\/p>\n<\/td>\n<td valign=\"top\" width=\"189\">\n<p align=\"center\">Humidity correction value\u00a0(\/10)<\/p>\n<p align=\"center\">-10.0~10.0<\/p>\n<\/td>\n<td valign=\"top\" width=\"142\">\n<p align=\"center\">2<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>Modbus\u00a0communication format\u00a0:<\/h2>\n<p><b>The host sends a data frame:<\/b><\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">Slave address<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">function code<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">Register address<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Register address<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Number of registers<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Number of registers<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"83\"><\/td>\n<td valign=\"top\" width=\"66\"><\/td>\n<td valign=\"top\" width=\"64\"><\/td>\n<td valign=\"top\" width=\"71\"><\/td>\n<td valign=\"top\" width=\"71\"><\/td>\n<td valign=\"top\" width=\"71\"><\/td>\n<td valign=\"top\" width=\"71\"><\/td>\n<td valign=\"top\" width=\"71\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><b>Slave response data frame:<\/b><\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"73\">\n<p align=\"center\">Slave address<\/p>\n<\/td>\n<td valign=\"top\" width=\"60\">\n<p align=\"center\">Response function code<\/p>\n<\/td>\n<td valign=\"top\" width=\"55\">\n<p align=\"center\">Number of bytes<\/p>\n<\/td>\n<td valign=\"top\" width=\"58\">\n<p align=\"center\">Register1\u00a0data<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">Register1\u00a0data<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">RegisterN\u00a0data<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">RegisterN\u00a0data<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"73\"><\/td>\n<td valign=\"top\" width=\"60\"><\/td>\n<td valign=\"top\" width=\"55\"><\/td>\n<td valign=\"top\" width=\"58\"><\/td>\n<td valign=\"top\" width=\"64\"><\/td>\n<td valign=\"top\" width=\"64\"><\/td>\n<td valign=\"top\" width=\"64\"><\/td>\n<td valign=\"top\" width=\"66\"><\/td>\n<td valign=\"top\" width=\"66\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>MODBUS\u00a0command frame<\/p>\n<h3><strong>The host reads the temperature command frame\u00a0(0x04)\u00a0:<\/strong><\/h3>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">Slave address<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">function code<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">Register address<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Register address<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Number of registers<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Number of registers<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">0x04<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">0x00<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x00<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x60<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x0a<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Slave response data frame:<\/strong><\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">Slave address<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">function code<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">Number of bytes<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">temperature<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">temperature<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">0x04<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">0x02<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x31<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x79<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x74<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Temperature value\u00a0= 0x131,\u00a0converted to decimal\u00a0305\u00a0, actual temperature value\u00a0= 305 \/ 10 = 30.5\u00a0\u00b0C<\/strong><\/p>\n<p><strong>NOTE: Symbol temperature is\u00a016\u00a0hexadecimal, temperature\u00a0= 0xFF33,\u00a0converted to decimal\u00a0-205\u00a0actual temperature\u00a0= -20.5deg.] C;<\/strong><\/p>\n<h3><strong>The host reads the humidity command frame\u00a0(0x04)\u00a0:<\/strong><\/h3>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">Slave address<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">function code<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">Register address<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Register address<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Number of registers<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Number of registers<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">0x04<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">0x00<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x02<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x00<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0xC1<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0xCA<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Slave response data frame:<\/strong><\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">Slave address<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">function code<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">Number of bytes<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">humidity<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">humidity<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">0x04<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">0x02<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">0x02<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x22<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0xD1<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0xBA<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Humidity value\u00a0= 0x222,\u00a0converted to decimal\u00a0546\u00a0, actual humidity value\u00a0= 546 \/ 10 = 54.6%\u00a0;<\/strong><\/p>\n<h3><strong>Continuous reading of the temperature and humidity command frame\u00a0(0x04)\u00a0:<\/strong><\/h3>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">Slave address<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">function code<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">Register address<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Register address<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Number of registers<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Number of registers<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">0x04<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">0x00<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x00<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x02<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x20<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x0B<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Slave response data frame:<\/strong><\/p>\n<table border=\"1\" width=\"632\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">Slave address<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">function code<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">Number of bytes<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">temperature<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">temperature<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">humidity<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">humidity<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">0x04<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">0x04<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x31<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x02<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x22<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x2A<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0xCE<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><strong>Read the contents of the holding register\u00a0(0x03)\u00a0:<\/strong><\/h3>\n<p><strong>Take the slave address as an example:<\/strong><\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">Slave address<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">function code<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">Register address<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Register address<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Number of registers<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Number of registers<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">0x03<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x00<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0xD4<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x0F<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Slave response frame:<\/strong><\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">Slave address<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">function code<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">Number of bytes<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">Slave address<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Slave address<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">0x03<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">0x02<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">0x00<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x30<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x18<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><strong>Modify the contents of the holding register\u00a0(0x06)\u00a0:<\/strong><\/h3>\n<p><strong>To modify the slave address as an example:<\/strong><\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">Slave address<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">function code<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">Register address<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Register address<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Register value<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Register value<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">0x06<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x00<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x08<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0xD4<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x0F<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Modify slave address\u00a0: 0x08 = 8<\/strong><\/p>\n<p><strong>Slave response frame\u00a0(\u00a0same as send\u00a0)\u00a0:<\/strong><\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">Slave address<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">function code<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">Register address<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Register address<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Register value<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Register value<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">0x06<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x00<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x08<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0xD4<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x0F<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><strong>Continuously modify the holding register\u00a0(0x10)\u00a0:<\/strong><\/h3>\n<table border=\"1\" width=\"657\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"49\">\n<p align=\"center\">Slave address<\/p>\n<\/td>\n<td valign=\"top\" width=\"53\">\n<p align=\"center\">function code<\/p>\n<\/td>\n<td valign=\"top\" width=\"49\">\n<p align=\"center\">initial address<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"49\">\n<p align=\"center\">initial address<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"49\">\n<p align=\"center\">Number of registers<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"53\">\n<p align=\"center\">Number of registers<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"51\">Number of bytes<\/td>\n<td valign=\"top\" width=\"51\">\n<p align=\"center\">Register1\u00a0high byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"48\">\n<p align=\"center\">Register1\u00a0low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"52\">\n<p align=\"center\">Register2\u00a0high byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"52\">\n<p align=\"center\">Register2\u00a0low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"52\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"51\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"49\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"53\">\n<p align=\"center\">0x06<\/p>\n<\/td>\n<td valign=\"top\" width=\"49\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"49\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"49\">\n<p align=\"center\">0x00<\/p>\n<\/td>\n<td valign=\"top\" width=\"53\">\n<p align=\"center\">0x02<\/p>\n<\/td>\n<td valign=\"top\" width=\"51\">\n<p align=\"center\">0x04<\/p>\n<\/td>\n<td valign=\"top\" width=\"51\">\n<p align=\"center\">0x00<\/p>\n<\/td>\n<td valign=\"top\" width=\"48\">\n<p align=\"center\">0x20<\/p>\n<\/td>\n<td valign=\"top\" width=\"52\">\n<p align=\"center\">0x25<\/p>\n<\/td>\n<td valign=\"top\" width=\"52\">\n<p align=\"center\">0x80<\/p>\n<\/td>\n<td valign=\"top\" width=\"52\">\n<p align=\"center\">0x25<\/p>\n<\/td>\n<td valign=\"top\" width=\"51\">\n<p align=\"center\">0x09<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Modify slave address\u00a0: 0x20 = 32<\/strong><\/p>\n<p><strong>Baud rate\u00a0: 0x2580 = 9600<\/strong><\/p>\n<p><strong>Slave response frame:<\/strong><\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">Slave address<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">function code<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">Register address<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Register address<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Number of registers<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">Number of registers<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">High byte<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">CRC<\/p>\n<p align=\"center\">Low byte<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"83\">\n<p align=\"center\">0x01<\/p>\n<\/td>\n<td valign=\"top\" width=\"66\">\n<p align=\"center\">0x06<\/p>\n<\/td>\n<td valign=\"top\" width=\"64\">\n<p align=\"center\">0x00<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x11<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x00<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x04<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0xD4<\/p>\n<\/td>\n<td valign=\"top\" width=\"71\">\n<p align=\"center\">0x0F<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Normal version agreement<\/strong><\/p>\n<p><strong>The baud rate defaults to\u00a09600\u00a0(user can set it by itself),\u00a08\u00a0-bit data,\u00a01\u00a0bit stop, no parity\u00a0<\/strong><\/p>\n<p><strong>RS485 communication<\/strong><\/p>\n<p>&nbsp;<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"284\">\n<p align=\"center\">Serial command<\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p align=\"center\">Description<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"284\">\n<p align=\"center\">READ<\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p align=\"center\"><strong>Trigger a temperature and humidity report<\/strong><\/p>\n<p align=\"center\"><strong>(27.4\u00a0\u00b0C\u00a0, 67.7%\u00a0temperature27.4\u00a0\u00b0C humidity\u00a067.7%)<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"284\">\n<p align=\"center\">AUTO<\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p align=\"center\"><strong>Start the automatic temperature and humidity reporting function<\/strong><\/p>\n<p align=\"center\"><strong>(\u00a0ibid.\u00a0)<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"284\">\n<p align=\"center\"><strong>STOP<\/strong><\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p align=\"center\"><strong>Stop temperature and humidity automatic reporting<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"284\">\n<p align=\"center\"><strong>BR: XXXX<\/strong><\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p align=\"center\"><strong>Set baud rate<\/strong><\/p>\n<p align=\"center\"><strong>9600~19200<\/strong><\/p>\n<p align=\"center\">(BR: 9600\u00a0baud rate is9600)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"284\">\n<p align=\"center\"><strong>TC: XX.X<\/strong><\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p align=\"center\"><strong>Set temperature calibration<\/strong><\/p>\n<p align=\"center\"><strong>(-10.0~10.0)<\/strong><\/p>\n<p align=\"center\"><strong>(TC: 02.0\u00a0temperature correction value is\u00a02.0\u00b0C\u00a0)<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"284\">\n<p align=\"center\"><strong>HC: XX.X<\/strong><\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p align=\"center\"><strong>Set humidity calibration<\/strong><\/p>\n<p align=\"center\"><strong>(-10.0~10.0)<\/strong><\/p>\n<p align=\"center\"><strong>(HC:-05.1\u00a0humidity correction value is-5.1%)<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"284\">\n<p align=\"center\"><strong>HZ: XXX<\/strong><\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p align=\"center\"><strong>Set the temperature and humidity reporting rate<\/strong><\/p>\n<p align=\"center\"><strong>(0.5,1,2,5,10)<\/strong><\/p>\n<p align=\"center\">(HZ: 2\u00a0automatic reporting rate\u00a02Hz)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"284\">\n<p align=\"center\"><strong>PARAM<\/strong><\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p align=\"center\"><strong>Read system current settings<\/strong><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><strong>PARAM\u00a0instruction\u00a0:<\/strong><\/p>\n<p><strong>TC: 0.0, HC: 0.0, BR: 9600, HZ: 1\u00a0\u00a0 -&gt;\u00a0Temperature correction value\u00a00.0\u00a0Humidity correction value\u00a00.0\u00a0Baud rate\u00a09600Reporting rate\u00a01 Hz<\/strong><\/p>\n<p><strong>SLAVE_ADD: 1\u00a0\u00a0\u00a0 -&gt;\u00a0MODBUS\u00a0slave address\u00a00x01<\/strong><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"J_AsyncDCMain\" class=\"J_AsyncDC tb-custom-area tb-shop\" data-type=\"main\">\n<div id=\"shop22165372520\" class=\"J_TModule\" data-widgetid=\"22165372520\" data-componentid=\"5003\" data-spm=\"110.0.5003-22165372520\" data-title=\"\u81ea\u5b9a\u4e49\u5185\u5bb9\u533a\"><\/div>\n<div id=\"shop21166257456\" class=\"J_TModule\" data-widgetid=\"21166257456\" data-componentid=\"5003\" data-spm=\"110.0.5003-21166257456\" data-title=\"\u81ea\u5b9a\u4e49\u5185\u5bb9\u533a\">\n<div class=\"skin-box tb-module tshop-pbsm tshop-pbsm-shop-self-defined\">\n<p>&nbsp;<\/p>\n<div class=\"skin-box-bd clear-fix\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>SHT-20 Temperature &amp; Humidity Sensor Modbus RS485 High Precision 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 [&hellip;]\n","protected":false},"featured_media":8554,"template":"","meta":[],"product_cat":[210,166],"product_tag":[],"_links":{"self":[{"href":"https:\/\/qariya.net\/en\/wp-json\/wp\/v2\/product\/8559"}],"collection":[{"href":"https:\/\/qariya.net\/en\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/qariya.net\/en\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qariya.net\/en\/wp-json\/wp\/v2\/media\/8554"}],"wp:attachment":[{"href":"https:\/\/qariya.net\/en\/wp-json\/wp\/v2\/media?parent=8559"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/qariya.net\/en\/wp-json\/wp\/v2\/product_cat?post=8559"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/qariya.net\/en\/wp-json\/wp\/v2\/product_tag?post=8559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}