1. Introduction
The Taidacent SHT30 Modbus Temperature and Humidity Sensor is an industrial-grade device designed for precise environmental monitoring. It utilizes the universal RS485 bus with MODBUS-RTU protocol, allowing for seamless integration with various instruments and systems such as PLCs and DCS for monitoring temperature and humidity. The sensor incorporates a high-precision sensing core and related components to ensure high reliability and excellent long-term stability. Customization options for other output methods like RS232, CAN, 4-20mA, DC0~5V/10V, ZIGBEE, Lora, WIFI, GPRS, and NB-IOT may be available.
2. Specifications
| Parameter | Value |
|---|---|
| Model Number | Tdrs485sht30probe |
| Chip | SHT30 |
| Cable Length | 1m |
| Temperature Measurement Range | -30°C ~ 80°C |
| Temperature Measurement Accuracy | ±0.5°C @25°C |
| Humidity Measurement Range | 0 ~ 100%RH |
| Humidity Measurement Accuracy | ±3%RH @25°C |
| Communication Interface | RS485 |
| Default Baud Rate | 9600 8 N 1 |
| Power Supply | DC6 ~ 24V 1A |
| Operating Environment Temperature | -40°C ~ 80°C |
| Operating Environment Humidity | 5%RH ~ 90%RH |
3. Package Contents
The package typically includes:
- 1 x Taidacent SHT30 Modbus Temperature and Humidity Probe
- 1 x Standard 1-meter connection wire
- 1 x Sensor bracket (may be integrated or separate)
4. Setup & Installation
Follow these steps to set up and install your SHT30 sensor:
- Wiring: Connect the sensor to your RS485 network and power supply according to the following color codes:
- RD: PWR+ (Power Positive)
- GN: PWR- (Power Negative)
- YE: RS485 A+
- BU: RS485 B-
- Network Connection: For multiple sensors, connect them in a daisy-chain configuration to the RS485 bus. Ensure proper termination resistors are used if required by your RS485 network specifications.
- Power On: Apply DC6~24V power to the sensor.
- Verification: Observe the sensor's behavior. If connected to a display unit, verify that temperature and humidity readings are displayed correctly.
5. Operation (Modbus RTU Communication Protocol)
The SHT30 sensor communicates using the Modbus RTU protocol. Below are details for reading and modifying parameters.
5.1. Read Data (Function 03)
The default baud rate of the device is 9600. To read the baud rate ID of the current device, the command is: 01 03 00 00 00 01 84 0A.
Query Frame (Hexadecimal)
| Function Code | Start Address | Data Length | Check Code |
|---|---|---|---|
| 03 | 00 00 | 00 01 | 84 0A |
For a correct query, the device will respond with data, e.g., 01 03 02 00 00 79 0A. The response format is:
Response Format
| Function Code | Data Length | Data | Check Code |
|---|---|---|---|
| 03 | 02 | 00 00 | 79 0A |
Data Description: Data in the command is hexadecimal. For example, if the value is 0079, converted to decimal it is 121. Assuming a data magnification of 100, the true value is 121/100 = 1.21. For negative values, the data is uploaded as a two's complement. If the received value is greater than 32768, it's a negative value. Subtract 65535 from the value and divide by 100. E.g., F001 (hex) is (65535-65535)/100 = -25.36.
5.2. Data Address Table
| Register Address | Register Description | Data Type | Value Range |
|---|---|---|---|
| 40001 | temperature register | Read Only | 0~65535 |
| 40002 | humidity register | Read Only | 0~65535 |
| 40003 | model code | Read/Write | 0~65535 |
| 40004 | total number of measuring points | Read/Write | 1~20 |
| 40005 | device address | Read/Write | 1~249 |
| 40006 | baud rate | Read/Write | 0~6 |
| 40007 | communication mode | Read/Write | 0~4 |
| 40008 | protocol type | Read/Write | 1~10 |
5.3. Read or Modify Device Address
If the current device address is unknown and only one device is on the bus, you can query it using the command 00 03 00 00 00 02 C4 0B.
Query Frame (Unknown Address)
| Device Address | Function Code | Start Address | Data Length | Check Code |
|---|---|---|---|---|
| 00 | 03 | 00 00 | 00 02 | C4 0B |
FA (250) is the general address for unknown devices. 00 00 is the device model register. For a correct query, the device will respond, e.g., 01 03 02 00 01 79 0A. The format is:
Response Format (Unknown Address Query)
| Function Code | Data Length | Model Code | Check Code |
|---|---|---|---|
| 03 | 02 | 55 5C | 3A 79 |
The first byte (e.g., 01) represents the actual device address. 55 5C (decimal 21820) indicates the main model. The next two bytes (e.g., 00 01) indicate the state quantity.
5.4. Changing the Device Address
To change the device address from 1 to 2, the command is: 01 06 00 00 00 02 E3 14.
Change Device Address Command
| Device Address | Function Code | Register Address | Target Address | Check Code |
|---|---|---|---|---|
| 01 | 06 | 00 00 | 00 02 | E3 14 |
Upon successful change, the device will return 02 06 00 00 00 02 E3 14. The new address takes effect immediately.
5.5. Read and Modify Baud Rate
Read Baud Rate
| Function Code | Start Address | Data Length | Baud Rate Code | Check Code |
|---|---|---|---|---|
| 03 | 00 66 | 00 01 | 00 00 | F8 45 |
According to the baud rate table (refer to the Data Address Table, register 40006), 04 corresponds to 9600. If the current device's baud rate is 9600, the response will contain 04.
Change Baud Rate
To change the baud rate from 9600 to 38400 (code 3 to 5), the command is: 01 06 00 66 00 05 F8 45.
| Device Address | Function Code | Register Address | Target Baud Rate | Check Code |
|---|---|---|---|---|
| 01 | 06 | 00 66 | 00 05 | F8 45 |
The new baud rate takes effect immediately, and the device will temporarily lose communication. The baud rate of your query software must be updated accordingly.
5.6. Read and Modify Correction Value
To correct display errors, you can adjust the correction value. The correction difference can be modified within a range (e.g., -100 to 100, or 65535-65535 for negative values). The correction value register starts from 006B.
Read Correction Value
| Function Code | Start Address | Data Length | Check Code |
|---|---|---|---|
| 03 | 00 6B | 00 01 | F8 D6 |
For a correct query, the device will respond, e.g., 01 03 02 00 00 B9 AF. The format is:
Response Format (Correction Value)
| Function Code | Data Length | Correction Value | Check Code |
|---|---|---|---|
| 03 | 02 | 00 00 | B9 AF |
The first byte (e.g., 01) represents the device address, and 00 00 is the first state quantity correction value register.
Change Correction Value
To add 1 to the real value (e.g., 100 to the current value), the command is: 01 06 00 6B 00 64 F8 D9.
| Device Address | Function Code | Register Address | Target Address | Check Code |
|---|---|---|---|---|
| 01 | 06 | 00 6B | 00 64 | F8 D9 |
Upon successful operation, the device will return 01 06 00 6B 00 64 F8 D9. The parameters take effect immediately.
6. Maintenance
- Cleaning: Periodically clean the sensor probe to prevent dust or debris buildup, which can affect accuracy. Use a soft, dry cloth. Avoid harsh chemicals.
- Environmental Protection: Ensure the sensor is installed in an environment within its specified operating ranges for temperature and humidity to maximize its lifespan.
- Cable Integrity: Regularly inspect the sensor cable for any signs of damage, wear, or corrosion. Replace damaged cables promptly.
- Calibration: While the sensor is designed for long-term stability, periodic calibration checks against a known reference may be performed to ensure continued accuracy in critical applications. Refer to the correction value section in the operation guide for adjustments.
7. Troubleshooting
- No Readings/Incorrect Readings:
- Check power supply: Ensure the sensor is receiving stable DC6~24V power.
- Verify wiring: Double-check the RS485 A+/B- and PWR+/PWR- connections for correctness and secure contact.
- Modbus address conflict: Ensure each sensor on the bus has a unique Modbus address.
- Baud rate mismatch: Confirm that the communication device's baud rate matches the sensor's default (9600) or configured baud rate.
- Probe obstruction: Ensure the sensor probe is not physically obstructed or covered, which could lead to inaccurate readings.
- Correction value: If readings are consistently off by a small margin, check and adjust the correction value as described in the operation section.
- Communication Errors:
- RS485 termination: Verify that appropriate termination resistors are used at both ends of the RS485 bus, especially for longer cable runs or multiple devices.
- Cable length: Ensure the RS485 cable length is within recommended limits for your baud rate to avoid signal degradation.
- Grounding: Proper grounding of the RS485 network can help reduce noise and improve communication reliability.
8. User Tips
- Initial Testing: Before permanent installation, connect the sensor to a test setup to verify functionality and communication.
- Environmental Considerations: For optimal accuracy and longevity, avoid placing the sensor in direct sunlight, near heat sources, or in areas with extreme air currents unless specifically designed for such conditions.
- Modbus Software: Use reliable Modbus master software for configuration and data acquisition. Many free and commercial options are available.
- Documentation: Keep this manual and any specific Modbus register maps provided with your system handy for quick reference during setup and troubleshooting.
9. Frequently Asked Questions (FAQ)
- Q: What is the maximum cable length for RS485 communication?
- A: The maximum recommended cable length for RS485 can be up to 1200 meters (4000 feet) at lower baud rates (e.g., 9600 bps). Higher baud rates will reduce the maximum achievable distance.
- Q: Can I connect multiple sensors to one RS485 bus?
- A: Yes, RS485 is designed for multi-drop networks. You can connect up to 32 standard load devices (or more with repeaters) to a single bus, provided each sensor has a unique Modbus address.
- Q: How do I change the Modbus address or baud rate?
- A: Refer to Section 5, "Operation (Modbus RTU Communication Protocol)" in this manual for detailed instructions and commands to modify the device address and baud rate.
10. Support
For further assistance or technical support, please contact your vendor or the manufacturer directly. When contacting support, please provide your product model number (Tdrs485sht30probe) and a detailed description of the issue.