ไฮไลท์
ชุดวัดอุณหภูมิและความชื้น
มี Modbus RS485 Output
ตั้ง Address 1-247
Baudrate : 4800, 9600,19200,38400,115200
ข้อมูล
น้ำหนัก
บาร์โค้ด
ลงสินค้า
อัพเดทล่าสุด
รายละเอียดสินค้า
 

Description

Technical parameter

  • Power supply : 7-36VDC
  • Maximum power consumption : 0.4W
  • Display : OLED 0.96 inch
  • Temperature Range : -40°C - 80°C (เซ็นเซอร์อุณหภูมิสามารถวัดค่าได้ -40 °C -125 °C )
  • Humidity Range : 0% RH - 100% RH
  • Accuracy humidity : ± 3%RH (5% RH - 95% RH, 25°C)
  • Accuracy temperature : ± 0.5°C (25°C)
  • Transmitter circuit operating temperature : -20°C - 60°C, 0% RH - 80% RH
  • Long-term stability Humidity : ≤1% RH / y
  • Long-term stability Temperature : ≤0.1C / y
  • Response time humidity : ≤6S (1m / s)
  • Response time temperature : ≤18S (1m / s)
  • Communication interface : RS485

 

Interface Description

          Before you wiring and use, please read this article in detail, Improper use may result in irreversible damage to the product.

 

Line Color

Description

Power

Red

7 - 36 VDC )

Black

GND

Communication

Yellow

RS485+ (A)

White

RS485- (B)

 

Communication protocol

Parameter

Description

Code

8-bit binary

Data bit

bit

Parity bit

None, Odd, Even (Default None)

Stop bit

1, 2 (Default 1)

Error check

CRC

Baud rate

4800,9600,19200,38400,115200 default is 9600

 

Register Address

Register Address

Plc Configuration Address

Content

Operation

0000H

40001

humidity

Read-Only

0001H

40002

temperature

Read-Only

0005H

40006

Device ID (1-247)

Read/Write

0006H

40007

Baud rate

Read/Write

0007H

40008

Data bit

Read-Only

0008H

40009

Parity bit

Read/Write

0009H

40010

Stop bit

Read/Write

000BH

40012

Humidity Offset

Read/Write

000CH

40013

Temperature Offset

Read/Write

 

Communication example

          Read Device Address 0x01 Temperature and Humidity

Inquiry Frame

Address Code

Function Code

Start Address

Data Length

CRC

0x01

0x03

0x00 0x00

0x00 0x02

0xCA 0x0B

 

 Answer Frames

Address Code

Function Code

Effective byte

Humidity

temperature

CRC

0x01

0x03

0x04

0x02 0x92

0xFF 0x9B

0x5A 0x3D

 

How to calculate Temperature and Humidity


          Temperature : FF9BH (Hexadecimal) = -101 = -10.1°C

          Humidity : 292H (Hexadecimal) =658=> humidity = 65.8%RH




How to set up THD-031(dip switch) Sensor


How to Connect


Example code

#include <ModbusMaster.h> //https://www.arduinolibraries.infoModbusMaster/libraries/modbus-master
#include <SoftwareSerial.h> //https://github.com/PaulStoffregen/SoftwareSerial
#define TXD 4 // your software serial TXD pin
#define RXD 3 // your software serial RXD pin
#define slaveID 1

SoftwareSerial mySerial(RXD, TXD);

ModbusMaster node;

void setup() {
Serial.begin(9600); // config baudrate modbus
mySerial.begin(9600);

}

void loop() {
get_th031();

}

int get_modbusRTU_sensor(int addr , uint16_t REG) {
int result;
node.begin(addr, mySerial);
//result = node.readInputRegisters (REG, 2); ///< Modbus function 0x04 Read Input Registers
result = node.readHoldingRegisters (REG, 2);
if (result == node.ku8MBSuccess) {
return node.getResponseBuffer(0);
} else {
//Serial.print("Connec modbus fail. REG >>> "); mySerial.println(REG, HEX); // Debug
return -270;
}
}

/************************TH-031**************************/
void get_th031() {
#define HUMIDITY_REG 0
#define TEMPERATURE_REG 1
float Temperature, Humidity;
Humidity = get_modbusRTU_sensor(slaveID, HUMIDITY_REG) / 10;
delay(1000);
Temperature = get_modbusRTU_sensor(slaveID, TEMPERATURE_REG) / 10;
delay(1000);
Serial.print("Temperature = ");
Serial.print(Temperature, 1);
Serial.print("C,");
Serial.print("Humidity = ");
Serial.print(Humidity, 1);
Serial.println("%RH");
}
เงื่อนไขอื่นๆ
Tags

วิธีการชำระเงิน

บมจ. ธนาคารกสิกรไทย สาขาสุทธิสาร ออมทรัพย์
ธนาคารไทยพาณิชย์ จำกัด (มหาชน) สาขาบิ๊กซี สะพานควาย ออมทรัพย์
รายการสั่งซื้อของฉัน
เข้าสู่ระบบด้วย
เข้าสู่ระบบ
สมัครสมาชิก

ยังไม่มีบัญชีเทพ สร้างบัญชีใหม่ ไม่มีค่าใช้จ่าย
สมัครสมาชิก (ฟรี)
รายการสั่งซื้อของฉัน
ข้อมูลร้านค้านี้
ร้านSumtech
Sumtech
Wecome to Summation Technology Co., Ltd. เราให้บริการด้านการวัดและควบคุมในอุตสาหกรรมการผลิต, อุตสาหกรรมการเกษตร แบบครบวงจร หัวใจหลักในการดำเนินธุรกิจของเรา คือ มุ่งมั่นในการพัฒนา สรรหา และประยุกต์เทคโนโลยีต่างๆ ให้เหมาะสมกับการใช้งาน และทันสมัยเพื่อเพิ่มประสิทธิภาพและลดต้นทุนต่างๆ ในการผลิตของลูกค้า ให้การบริการแบบครบวงจร
เบอร์โทร : 02-270-0500
อีเมล : sumtech2009@gmail.com
ส่งข้อความติดต่อร้าน
เกี่ยวกับร้านค้านี้
สินค้าที่ดูล่าสุด
ดูสินค้าทั้งหมดในร้าน
สินค้าที่ดูล่าสุด
บันทึกเป็นร้านโปรด
Join เป็นสมาชิกร้าน
แชร์หน้านี้
แชร์หน้านี้

TOP เลื่อนขึ้นบนสุด
พูดคุย-สอบถาม