2.7 Alarm Mode ................................26 2.8 LED Indicator ................................29 2.9 Button ................................... 29 3. Configure LHT52 via AT command or LoRaWAN downlink ..................30 3.1 Downlink Command Set ............................30 3.2 Set Password ................................32 4. Battery & How to replace .............................. 33 4.1 ...
Page 3
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual Table of Contents: • 1. Introduction • 1.1 What is LHT52 Temperature & Humidity Sensor • 1.2 Features • 1.3 Specification • 1.4 Power Consumption •...
11. FCC Warning 1. Introduction 1.1 What is LHT52 Temperature & Humidity Sensor The Dragino LHT52 Temperature & Humidity sensor is a Long Range LoRaWAN Sensor. It includes a built-in Temperature & Humidity sensor and has a USB Type-C sensor connector to connect to external sensors such as external Temperature Sensor.
2.1 How it work? Each LHT52 is shipped with a worldwide unique set of LoRaWAN OTAA keys. To use LHT52 in a LoRaWAN network, user needs to input the OTAA keys in LoRaWAN network server. After this, if LHT52 is under this LoRaWAN network coverage, LHT52 can join the LoRaWAN network and start to transmit sensor data.
Page 6
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual 2. Insert 2 x AAA LR03 batteries.
Page 7
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual 3. Press the reset button to activate device. ...
1: Create a device in TTN V3 with the OTAA keys from LHT52. Each LHT52 is shipped with a sticker with the default DEV EUI as below: Enter these keys in the LoRaWAN Server portal. Below is TTN V3 screen shot: Add APP EUI in the application.
Page 9
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual Add APP KEY and DEV EUI...
Page 10
Default mode OTAA Step 2: Use ACT button to activate LHT52 and it will auto join to the TTN V3 network. After join success, it will start to upload sensor data to TTN V3 and user can see in the panel.
• Other control command: Use FPORT other than 2. 2.4.1 Uplink FPORT=5, Device Status Uplink the device configures with FPORT=5. Once LHT52 Joined the network, it will uplink this message to the server. After first uplink, LHT52 will uplink Device Status every 12 hours.
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual *0x05: KZ865 *0x06: RU864 *0x07: AS923 *0x08: AS923-1 *0x09: AS923-2 *0x0a: AS923-3 Sub-Band: value 0x00 ~ 0x08(only for CN470, AU915,US915. Others are0x00) BAT: shows the battery voltage for LHT52.
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual LHT52 will send this uplink after Device Status uplink once join LoRaWAN network successfully. And it will periodically send this uplink. Default interval is 20 minutes and can be changed.
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual • Each data entry is 11 bytes, to save airtime and battery, LHT52 will send max bytes according to the current DR and Frequency bands.
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual (FPort=4): 28 86 63 B2 00 00 00 9F Example Payload The External DS18B20 ID is 0x28 86 63 B2 00 00 00 9F 2.4.5 Decoder in TTN V3 In LoRaWAN protocol, the uplink payload is HEX format, user need to add a payload formatter/decoder in LoRaWAN Server to get human friendly string.
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual Please check the decoder from this link: https://github.com/dragino/dragino-end-node-decoder 2.5 Show data on Datacake Datacake IoT platform provides a human friendly interface to show the sensor data in charts, once we have sensor data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake.
Page 17
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual Log in to DATACAKE, copy the API under the account...
Page 18
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual...
Page 19
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual...
Page 20
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual...
Page 21
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual...
Page 22
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual...
Page 23
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual Copy and paste the TTN decoder here and save...
Page 24
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual Visual widgets please read the DATACAKE documentation...
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual 2.6 Datalog Feature When user want to retrieve sensor value, he can send a poll command from the IoT platform to ask sensor to send value in the required time slot.
For example, downlink command Is to check 2020/12/1 07:40:00 to 2020/12/1 08:40:00's data Uplink Internal =5s,means LHT52 will send one packet every 5s. range 5~255s. 2.6.3 Datalog Uplink payload Uplink FPORT=3, Datalog sensor value ...
Page 27
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual Modification via downlink,Take TTN_V3 as an example(downlink commands, please refer to the downlink command set for details) In order to ensure that the node is indeed modified by downlink, I reset the node to factory settings first.
Page 28
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual...
Or use a downlink directly: AA010002000F0032 (See command info) 2.8 LED Indicator The LHT52 has a triple color LED which for easy showing different stage. In a normal working state: GREEN, RED and BLUE are sequentially lit. • When the node is restarted, •...
These commands are to configure: • General system settings like: uplink interval. • LoRaWAN protocol & radio-related commands. They are the same for all Dragino Devices which supports DLWS-005 LoRaWAN Stack(Note**). These commands can be found on the wiki: End Device Downlink Command •...
Page 31
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual AT+WMOD=1 Turn on alarm mode Attention:Take effect 0xA501:open after ATZ 0XA500:close A5:fixed command AT+CITEMP=? View the current temperature detection Default 1(min) time interval...
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual 22:fixed command Upload node configuration or DS18B20 0X2301:Upload node configuration 0x2302:Upload DS18B20 ID 23:fixed command AT+DWELL=? Check the high-rate upload settings Default 1...
No downlink command for this feature. 4. Battery & How to replace 4.1 Battery Type and replace LHT52 uses 2 x AAA LR03(1.5v) batteries. If the batteries running low (shows 2.1v in the platform). User can buy generic AAA battery and replace it. Note: ...
Page 34
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual 2. Make sure the direction is correct when install the AAA batteries.
4.2 Power Consumption Analyze Dragino battery powered product are all runs in Low Power mode. We have an update battery calculator which base on the measurement of the real device. User can use this calculator to check the battery life and calculate the battery life if want to use different transmit interval.
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual 5. Sensors and Accessories 5.1 Temperature Probe (AS-01) External Temperature Probe base on DS18B20. (note: Default Package doesn't include AS-01)
• Cable Length: 2 meters 5.2 Program Converter (AS-02) AS-02 is an optional accessory, it is USB Type-C converter. AS-02 provide below feature: 1. Access AT console of LHT52 when used with USB-TTL adapter. See this link. 2. Update firmware to LHT52 when used with DAP-Link adapter. See this...
LoRaWAN Temperature & Humidity Sensor User Manual 6. FAQ 6.1 How to use AT Command to configure LHT52 LHT52 supports AT Command set. User can use a USB to TTL adapter plus the Program Cable to connect to LHT52 for using AT command, as below.
Page 39
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual Connection: • USB to TTL GND <--> Program Converter GND pin • USB to TTL RXD <--> Program Converter D+ pin • USB to TTL TXD <--> Program Converter A11 pin...
Page 40
In PC, User needs to set serial tool(such as putty, SecureCRT) baud rate to 115200 to access to access serial console for LHT52. The AT commands are disable by default and need to enter password (default:123456) to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again.
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual 6.2 AT Command and Downlink Sending ATZ will reboot the node Sending AT+FDR will restore the node to factory settings Get the node's AT command setting by sending AT+CFG ...
Page 42
User Manual for LoRaWAN End Nodes - LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual AT+NWKSKEY=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 AT+NWKID=00 00 00 13 AT+ADR=1 AT+DR=5 AT+TXP=1 AT+CHS=0...
LoRaWAN Temperature & Humidity Sensor User Manual 6.3 How to upgrade the firmware? LHT52 requires a program converter to upload images to LHT52, which is used to upload image to LHT52 for: • Support new features • For bug fix •...
However, your questions will be answered as soon as possible in the before-mentioned schedule. • Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to support@dragino.com. 10. Reference material •...
Need help?
Do you have a question about the LHT52 and is the answer not in the manual?
Questions and answers