UbiBot UB-LTH-N1 Wifi Temperature Sensor User Guide

UB-LTH-N1 Wifi Temperature Sensor

Product Information

Product Name: UB-LTH-N1

Power Supply: DC 4.5~30V

Max Current: 95mA@5V

Measuring Range: Temperature: -40~80°C

Accuracy: RS485 Modbus RTU Protocol

Resolution: 0xCF

Dimension: Not specified

Protection Level: Waterproof and
moisture-proof

Connector: Not specified

Cable Length: Not specified

Communication Protocol: RS485 Modbus RTU
Protocol

RS485 Address: 0xCF

Baud Rate: 1200 bit/s, 2400 bit/s, 4800 bit/s,
9600 bit/s (default), 19200 bit/s

Product Usage Instructions

Wiring Instruction

Follow the wiring diagram provided in the user manual to connect
the sensor to the power supply and communication interface.

Communication Protocols

Communication Basic Parameters:

  • Coding System: RS485 Modbus RTU Protocol
  • Data Bit: 8 bits
  • Parity Checking Bit: None
  • Stop Bit: 1 bit
  • Error Checking: CRC check
  • Baud Rate: Select from 1200, 2400, 4800, 9600 (default), or
    19200 bit/s

Data Frame Format:

  • Address code: 0xCF
  • Function code: Support function code 0x03 (read only) and 0x06
    (read/write)
  • Data area: N bytes, 16-bit data, high byte comes first
  • Error check: 16-bit CRC code

Register Address Definitions

Register Address Description
0x0000 Humidity (Unsigned integer data, divided by 10)
0x0001 Temperature (Signed integer data, divided by 10)
0x07D0 Baud Rate (0:2400, 1:4800, 2:9600)

Frequently Asked Questions (FAQ)

Q: What is the suitable application scenario for this
sensor?

A: The sensor is suitable for measuring humidity on the surface
of plants or objects in greenhouses, laboratories, and artificial
climate chambers.

Q: What is the communication protocol used by the sensor?

A: The sensor uses RS485 Modbus RTU Protocol for
communication.

Q: How do I set the baud rate for communication with the
sensor?

A: You can set the baud rate to one of the following options:
1200 bit/s, 2400 bit/s, 4800 bit/s, 9600 bit/s (default), or 19200
bit/s.

“`

Product Introduction
The temperature sensor consists of a high-precision thermistor and a transmitter that accurately measures the temperature over the entire range. The humidity sensor is based on the dielectric constant measurement principle, which simulates the shape of the blade and the characteristics of the blade surface. Humidity can be measured accurately by the change of dielectric constant on the blade surface. With good sensitivity, it can detect trace moisture residues on the leaf surface. The leaf surface temperature and humidity transmitter adopts waterproof design, low power consumption, and can be continuously monitored for a long time.

Use Case Scenarios The sensor is suitable for measuring humidity on the surface of plants or objects in greenhouses, laboratories and artificial climate chambers.

Features 1. Mimics the characteristics of leaf surfaces for fast and accurate temperature and humidity
measurements. 2. Denser leaf vein pattern (15 lines/cm) allows detection of smaller droplets for more sensitive
measurements. 3. Epoxy resin encapsulation, waterproof and moisture-proof, longer life.

Product Specifications
Model Power Supply Max Current Measuring Range
Accuracy
Resolution Dimension Protection level Connector Cable Length Communication Protocol RS485 Address Baud Rate

Specifications UB-LTH-N1 DC 4.5~30V
95mA@5V Temperature: -40~80
Humidity: 0~100% Temperature: ±0.5 (@25)
Humidity: ±3% (@0~50%) Temperature: 0.1 Humidity: 0.1%RH 65*15*138.5mm IP67 Audio 3m
RS485 Modbus RTU Protocol 0xCF
1200 bit/s,2400 bit/s, 4800 bit/s, 9600 bit/s (default), 19200 bit/s

Wiring Instruction

Communication protocols

1. Communication basic parameters

Coding System Data Bit
Parity Checking Bit Stop Bit
Error Checking Baud Rate

Communication Basic Parameter 8­bit binary 8 bits none 1 bit CRC Check
1200 bit/s, 2400 bit/s, 4800 bit/s, 9600 bit/s (default), 19200 bit/s

2. Data Frame Format

The Modbus-RTU communication protocol is used in the following format:

Initial structure 4 bytes in time.

Address code: 1 byte, default 0xCF.

Function code: 1 byte, support function code 0x03 (read only) and 0x06 (read/write).

Data area: N bytes, 16-bit data, high byte comes first.

Error check: 16-bit CRC code.

End structure 4 bytes of time.

Request

Slave Address

Function Code Register Address No. of Registers

CRC LSB

CRC MSB

1 byte

1 byte

2 bytes

2 bytes

1 byte

1 byte

Response

Slave Address Function Code No. of Bytes Content 1 Content 1

Content n

CRC

1 byte

1 byte

1 byte

2 bytes

2 bytes

2 bytes

2 bytes

3. Register Address

Address 0x0000 0x0001 0x07D0 0x07D1

Content Humidity Temperature Address Baud Rate

Register Address

Register Length Function Code

1

03

1

03

1

03/06

1

03/06

Description of definitions Unsigned integer data, divided by 10
Signed integer data, divided by 10 1255
0:2400, 1:4800, 2:9600

Documents / Resources

UbiBot UB-LTH-N1 Wifi Temperature Sensor [pdf] User Guide
WS1, WS1 Pro, UB-LTH-N1, UB-LTH-N1 Wifi Temperature Sensor, UB-LTH-N1, Wifi Temperature Sensor, Temperature Sensor, Sensor

References

Leave a comment

Your email address will not be published. Required fields are marked *