ماژول های دما و رطوبت

کالاهای تجدید موجودی

Rating: 4.4/5 (7 votes)

ماژول SHT20 با ارتباط سریال RS485 و پروتکل Mod Bus

( 3011020024 )
مشاهده کالاهای شاخه ماژول های دما و رطوبت

904,000ریال


Temperature and humidity transmitter SHT20 sensor industrial grade high precision temperature and humidity monitoring Modbus RS485
product manual:

       The product adopts industrial grade chip and high-precision imported SHT20 temperature and humidity sensor to ensure excellent reliability, high precision and interchangeability. RS485 hardware interface (with lightning protection design), the protocol layer is compatible with the standard industrial Modbus-Rtu protocol. This product integrates MODBUS protocol with common protocol. Users can choose communication protocol by themselves. The common protocol has automatic upload function ( connecting RS485 will automatically output temperature and humidity through serial port adjustment tool ).

MODBUS PROTOCAL
Modbus Function Code:
0x03:Read keep register

0x04: Read input register

0x06:Write a single keep register

0x10:Write more keep registers


1

 

Modbus Frame format:

Master send format:

 

3

The responseformat of slave:

 

4

MODBUSCOMMAND

Master read temperature command frame(0x04):

 

-1

The response data from slave:

 

-2

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 ℃;

 

Master read humidity command frame(0x04)

-3

The response data from slave:

 

-4

Humidity value = 0x222, converted to a decimal 546, actual humidity value = 546/10 = 54.6 %;

Continuous read temperature and humidity command frame(0x04):

 

-5

The response data from slave:

-6

 

Read keep register(0x03):

Readdevice address from the slave:

 

-7

The response data from slave:

 

-8

Modify the contents of the registers(0x06):

Modify the slave address register:

 

-9

Modify the slave address:0x08 = 8

 

The response data from slave(And send the same):

 

-11

Continuously change keep registers(0x10):

-12

Slave address :0x20 = 32

Baud rate :0x2580 = 9600

The response data from slave:

-13

 

 

 

General Protocal

The default baud rates9600 (the user can set), 8 bits of data, one stop, no check

RS485

 

CMD

instructions

READ

Report triggered a temperature and humidity

(27.4℃,67.7% 温度27.4℃湿度67.7%)

AUTO

Start the temperature and humidity automatically report function(Same as above)

STOP

Stop the temperature and humidity automatically report function

BR:XXXX

Set the baud rate

9600~19200

(BR:9600)

TC:XX.X

Set the temperature calibration(-10.0~10.0)

(TC:02.0温度修正值为2.0℃)

HC:XX.X

Set the humidityration(-10.0~10.0)

(HC:-05.1 湿度修正值为 -5.1%)

HZ:XXX

Set the temperature and humidity reporting rate(0.5,1,2,5,10)

(HZ:2 reporting rate 2Hz)

PARAM

Read the system current Settings

 

نظرات (1)

نظر جدید
ضمن تشکر، نظر شما پس از بررسی و تایید نمایش داده خواهد شد.

گزارش
از گزارش شما متشکریم!

گزارش
نظرات غیر منطقی را گزارش دهید!
* فیلد های ضروری
  یا لغو
ویرایش نظر
  یا لغو