Dragino LHT65N User Manual

Dragino LHT65N User Manual

Lorawan temperature & humidity sensor

Advertisement

User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual

Table of Contents

1. Introduction .......................................................................................................................................................................... 5
1.1 What is LHT65N Temperature & Humidity Sensor .................................................................................................. 5
1.2 Features .......................................................................................................................................................................... 5
2. Connect LHT65N to IoT Server ....................................................................................................................................... 6
2.1 How does LHT65N work? ........................................................................................................................................... 6
2.2 How to Activate LHT65N? ........................................................................................................................................... 6
2.3 Example to join LoRaWAN network ........................................................................................................................... 7
2.3.1 Step 1: Create Device n TTN ................................................................................................................................ 7
2.4 Uplink Payload ............................................................................................................................................................. 12
2.4.1 Decoder in TTN V3 ............................................................................................................................................... 13
2.4.2 BAT-Battery Info .................................................................................................................................................... 13
2.4.3 Built-in Temperature ............................................................................................................................................. 14
2.4.4 Built-in Humidity ..................................................................................................................................................... 15
2.4.5 Ext # ........................................................................................................................................................................ 15
2.4.6 Ext value ................................................................................................................................................................. 15
2.5 Show data on Datacake ............................................................................................................................................. 17
2.6 Datalog Feature ........................................................................................................................................................... 20
2.6.1 Ways to get datalog via LoRaWAN .................................................................................................................... 20
2.6.2 Unix TimeStamp .................................................................................................................................................... 20
2.6.3 Set Device Time .................................................................................................................................................... 21
2.6.4 Poll sensor value ................................................................................................................................................... 21
2.6.5 Datalog Uplink payload ........................................................................................................................................ 22
2.7 Alarm Mode ................................................................................................................................................................. 24
2.8 LED Indicator ............................................................................................................................................................... 25
2.9 installation ..................................................................................................................................................................... 25
3. Sensors and Accessories ................................................................................................................................................ 26
3.1 E2 Extension Cable ..................................................................................................................................................... 26
3.2 E3 Temperature Probe ............................................................................................................................................... 26
4. Configure LHT65N via AT command or LoRaWAN downlink .................................................................................... 27
4.1 Set Transmit Interval Time ........................................................................................................................................ 27
4.2 Set External Sensor Mode ......................................................................................................................................... 28
4.3 Enable/Disable uplink Temperature probe ID ......................................................................................................... 28
4.4 Set Password .............................................................................................................................................................. 29
4.5 Quit AT Command ...................................................................................................................................................... 29
4.6 Set to sleep mode ....................................................................................................................................................... 30
4.7 Set system time ........................................................................................................................................................... 30
4.8 Set Time Sync Mode .................................................................................................................................................. 30
4.9 Set Time Sync Interval ............................................................................................................................................... 31
4.10 Print data entries base on page. ............................................................................................................................. 31
4.11 Print last few data entries. ....................................................................................................................................... 32
4.12 Clear Flash Record ................................................................................................................................................... 33
4.13 Auto Send None-ACK messages ........................................................................................................................... 33
5. Battery & How to replace ................................................................................................................................................ 34
5.1 Battery Type ................................................................................................................................................................ 34
5.2 Replace Battery ........................................................................................................................................................... 34
5.3 Battery Life Analyze .................................................................................................................................................... 35
6. FAQ .................................................................................................................................................................................... 35
6.1 How to use AT Command? ....................................................................................................................................... 35
6.2 Where to use AT commands and Downlink commands ........................................................................................ 39
6.3 How to change the uplink interval? ...................................................................................................................... 43
6.4 How to use TTL-USB to connect a PC to input AT commands? .......................................................................... 44
Page 1 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LHT65N and is the answer not in the manual?

Questions and answers

Summary of Contents for Dragino LHT65N

  • Page 1: Table Of Contents

    2.3 Example to join LoRaWAN network ........................... 7 2.3.1 Step 1: Create Device n TTN ..........................7 2.3.2 Step 2: Activate LHT65N by pressing the ACT button for more than 5 seconds........... 12 2.4 Uplink Payload ................................12 2.4.1 Decoder in TTN V3 ............................... 13 2.4.2 BAT-Battery Info ..............................
  • Page 2 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual 6.5 How to use TTL-USB to connect PC to upgrade firmware? .................. 45 6.6 Using USB-TYPE-C to connect to the computer using the AT command ............50 6.7 How to use ...
  • Page 3 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Table of Contents: • 1. Introduction • 1.1 What is LHT65N Temperature & Humidity Sensor • 1.2 Features • 1.3 Specification Page 3 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 4 2.3 Example to join LoRaWAN network • 2.3.1 Step 1: Create Device n TTN • 2.3.2 Step 2: Activate LHT65N by pressing the ACT button for more than 5 seconds. • 2.4 Uplink Payload • 2.4.1 Decoder in TTN V3 •...
  • Page 5: Introduction

    LHT65N has a built-in 2400mAh non-chargeable battery which can be used for up to 10 years*. LHT65N is full compatible with LoRaWAN v1.0.3 Class A protocol, it can work with a standard LoRaWAN gateway. Datalog Feature. It will record the data when there is no network coverage and users can LHT65N supports retrieve the sensor value later to ensure no miss for every sensor reading. ...
  • Page 6: Connect Lht65N To Iot Server

    (IDLE mode), in STOP mode, LHT65N has the same power consumption as Deep Sleep mode.   The LHT65N is set in deep sleep mode by default; The ACT button on the front is to switch to different modes: Page 6 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 7: Example To Join Lorawan Network

    Create a device in TTN V3 with the OTAA keys from LHT65N. Each LHT65N is shipped with a sticker with its device EUI, APP Key and APP EUI as below: Page 7 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 8 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot: Add APP EUI in the application. Page 8 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 9 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Page 9 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 10 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Note: LHT65N use same payload as LHT65. Page 10 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 11 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Input APP EUI,  APP KEY and DEV EUI: Page 11 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 12: Step 2: Activate Lht65N By Pressing The Act Button For More Than 5 Seconds

    2.3.2 Step 2: Activate LHT65N by pressing the ACT button for more than 5 seconds. Use ACT button to activate LHT65N 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.
  • Page 13: Decoder In Ttn V3

    EXT=0, there won’t be these four bytes.) 2.4.1 Decoder in TTN V3 When the uplink payload arrives TTNv3, it shows HEX format and not friendly to read. We can add LHT65N decoder in TTNv3 for friendly reading. Below is the position to put the decoder and LHT65N decoder can be download from here: https://www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0 ...
  • Page 14: Built-In Temperature

    User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Check the battery voltage for LHT65N. • BAT status=(0Xcba4>>14)&0xFF=11(B),very good • Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 2.4.3 Built-in Temperature • Temperature:  0x0ABB/100=27.47℃ • Temperature:  (0xF5C6-65536)/100=-26.18℃ Page 14 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 15: Built-In Humidity

    User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual 2.4.4 Built-in Humidity • Humidity:    0x025C/10=60.4% 2.4.5 Ext # Bytes for External Sensor: 2.4.6 Ext value 2.4.6.1 Ext=1, E3 Temperature Sensor • DS18B20 temp=0x0ADD/100=27.81℃ The last 2 bytes of data are meaningless •...
  • Page 16 • Unix Time Request:  1: Request server downlink Unix time, 0 : N/A. In this mode, LHT65N will set this bit to 1 every 10 days to request a time SYNC. (AT+SYNCMOD to set this) 2.4.6.3 Ext=6, ADC Sensor (use with E2 Cable)
  • Page 17: Show Data On Datacake

    User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual When the measured output voltage of the sensor is not within the range of 0.1V and 1.1V, the output voltage terminal of the sensor shall be divided The example in the following figure is to reduce the output voltage of the sensor by three times If it is necessary to reduce more times, calculate according to the formula in the figure and...
  • Page 18 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Add Datacake: Select default key as Access Key: In Datacake console (https://datacake.co/) , add LHT65 device. Page 18 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 19 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Page 19 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 20: Datalog Feature

    Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, LHT65N will store the reading for future retrieving purposes. There are two ways for IoT servers to get datalog from LHT65N.
  • Page 21: Set Device Time

    Once LHT65N Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to LHT65N. If LHT65N fails to get the time from the server, LHT65N will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days).
  • Page 22: Datalog Uplink Payload

    User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Timestamp start and Timestamp end use Unix TimeStamp format as mentioned above. Devices will reply with all data log during this time period, use the uplink interval.
  • Page 23 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual If user sends below downlink command:  3160065F9760066DA705    Where : Start time: 60065F97 = time 21/1/19 04:27:03           Stop time 60066DA7= time 21/1/19 05:27: 0 3   LHT65N will uplink this payload.
  • Page 24: Alarm Mode

    User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual 7FFF089801464160065F977FFF088E014B41600660097FFF0885014E41600660667FFF0875015141600662BE7FFF086B0155416 Where the first 11 bytes is for the first entry: 7FFF089801464160065F97 Ext sensor data=0x7FFF/100=327.67 Temp=0x0898/100=22.00 Hum=0x0146/10=32.6 poll message flag & Ext=0x41,means reply data,Ext=1 Unix time is 0x60065F97=1611030423s=21/1/19 04:27:03 2.7 Alarm Mode...
  • Page 25: Led Indicator

    User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual AT+ARTEMP=45,105:   Set the internal temperature sensor alarm range from 45 to 105. Downlink Command: AAXXXXXXXXXXXXXX Total bytes: 8 bytes Example:AA0100010001003C WMOD=01 CITEMP=0001 TEMPlow=0001 TEMPhigh=003C 2.8 LED Indicator The LHT65 has a triple color LED which for easy showing different stage .
  • Page 26: Sensors And Accessories

    User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual 3. Sensors and Accessories 3.1 E2 Extension Cable 1m long breakout cable for LHT65N. Features: • Use for AT Command, works for both LHT52/LHT65N • Update firmware for LHT65N, works for both LHT52/LHT65N •...
  • Page 27: Configure Lht65N Via At Command Or Lorawan Downlink

    User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual                Temperature sensor with 2 meters cable long • Resolution: 0.0625 °C • ±0.5°C accuracy from -10°C to +85°C • ±2°C accuracy from -55°C to +125°C •...
  • Page 28: Set External Sensor Mode

    User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Downlink Command: 0x01 Format: Command Code (0x01) followed by 3 bytes time value. If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01.
  • Page 29: Set Password

    User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual PID is default set to disable (0) AT Command: Downlink Command: • 0xA800     --> AT+PID=0 • 0xA801     --> AT+PID=1 4.4 Set Password Feature: Set device password, max 9 digits...
  • Page 30: Set To Sleep Mode

    User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Downlink Command: No downlink command for this feature. 4.6 Set to sleep mode Feature: Set device to sleep mode • AT+Sleep=0  : Normal working mode, device will sleep and use lower power when there is no LoRa message •...
  • Page 31: Set Time Sync Interval

    User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Downlink Command: 0x28 01 // Same As AT+SYNCMOD=1 0x28 00 // Same As AT+SYNCMOD=0 4.9 Set Time Sync Interval Feature: Define System time sync interval. SYNCTDC default value: 10 days.
  • Page 32: Print Last Few Data Entries

    User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Downlink Command: No downlink commands for feature 4.11 Print last few data entries. Feature: Print the last few data entries AT Command: AT+PLDTA Page 32 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 33: Clear Flash Record

    4.13 Auto Send None-ACK messages Feature: LHT65N will wait for ACK for each uplink, If LHT65N doesn't get ACK from the IoT server, it will consider the message doesn't arrive server and store it. LHT65N keeps sending messages in normal periodically. Once LHT65N gets ACK from a server, it will consider the network is ok and start to send the not-arrive message.
  • Page 34: Battery & How To Replace

    The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance. The minimum Working Voltage for the LHT65N is ~ 2.5v. When battery is lower than 2.6v, it is time to change the battery.
  • Page 35: Battery Life Analyze

    6. FAQ 6.1 How to use AT Command? LHT65N supports AT Command set.User can use a USB to TTL adapter plus the Program Cable to connect to LHT65 for using AT command, as below. Page 35 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 36 LHT65N. 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 can use AT+DISAT command to disable AT command before timeout.
  • Page 37 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual AT Command List is as below: AT+<CMD>? :                  Help on <CMD> AT+<CMD> :                   Run <CMD> AT+<CMD>=<value> :   Set the value AT+<CMD>=? :               Get the value AT+DEBUG:    Set more info output ATZ: ...
  • Page 38 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual AT+RX1DL:    Get or Set the delay between the end of the Tx and the Rx Window 1 in ms AT+RX2DL:    Get or Set the delay between the end of the Tx and the Rx Window 2 in ms AT+JN1DL: ...
  • Page 39: Where To Use At Commands And Downlink Commands

    User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual AT+SETCNT:   Set the count at present AT+RJTDC:     Get or set the ReJoin data transmission interval in min AT+RPL:         Get or set response level AT+TIMESTAMP:   Get or Set UNIX timestamp in second AT+LEAPSEC: ...
  • Page 40 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Downlink commands: TTN: Page 40 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 41 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Helium: Page 41 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 42 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Chirpstack:The downlink window will not be displayed until the network is accessed Page 42 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 43: How To Change The Uplink Interval

    User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Aws: 6.3 How to change the uplink interval? http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/  Page 43 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 44: How To Use Ttl-Usb To Connect A Pc To Input At Commands

    6.4 How to use TTL-USB to connect a PC to input AT commands? In PC, User needs to set serial tool(such as putty, SecureCRT) baud rate to 9600 to access to access serial console for LHT65N. The AT commands are disable by default and need to enter password (default:123456) active it.
  • Page 45: How To Use Ttl-Usb To Connect Pc To Upgrade Firmware

    User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual 6.5 How to use TTL-USB to connect PC to upgrade firmware? Page 45 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 46 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Step1: Install TremoProgrammer  first. Step2 : wiring method. First connect the four lines; Page 46 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 47 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Then use DuPont cable to short circuit port3 and port1, and then release them, so that the device enters bootlaod mode. Select the device port to be connected, baud rate and bin file to be downloaded.
  • Page 48 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Click the start button to start the firmware upgrade. When this interface appears, it indicates that the download has been completed. Page 48 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 49 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Finally, unplug the DuPont cable on port4, and then use the DuPont cable to short circuit port3 and port1 to reset the device. Page 49 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 50: Using Usb-Type-C To Connect To The Computer Using The At Command

    User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual 6.6 Using USB-TYPE-C to connect to the computer using the AT command Page 50 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 51 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual In PC, User needs to set serial tool(such as putty, SecureCRT) baud rate to 9600 to access to access serial console for LHT65N. The AT commands are disable by default and need to enter password (default:123456) active it.
  • Page 52: How To Use  Usb-Type-C To Connect Pc To Upgrade Firmware

    User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual 6.7 How to use  USB-TYPE-C to connect PC to upgrade firmware? Step1: Install TremoProgrammer  first. Step2 : wiring method. First connect the four lines; Page 52 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 53 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Press and hold the start key to restart and enter  bootlaod mode. Select the device port to be connected, baud rate and bin file to be downloaded.
  • Page 54 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Click the start button to start the firmware upgrade. When this interface appears, it indicates that the download has been completed. Page 54 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 55 User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual Finally,restart reset device again Page 55 / 56 - last modified by Bei Jinggeng on 2022/07/06 13:48...
  • Page 56: Order Info

    User Manual for LoRaWAN End Nodes - LHT65N LoRaWAN Temperature & Humidity Sensor Manual 7. Order Info  LHT65N-XX-YY Part Number: XX : The default frequency band  AS923: LoRaWAN AS923 band •  AU915: LoRaWAN AU915 band •  EU433: LoRaWAN EU433 band •  EU868: LoRaWAN EU868 band •...
  • Page 57 FCC WARNING This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. Any changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment.
  • Page 58 IC Caution: RSS-Gen Issue 5 2021"&"CNR-Gen 5 2021: - English: This device complies with Industry Canada licence-exempt RSS standard(s). Operation is subject to the following two conditions: (1) This device may not cause interference, and (2) This device must accept any interference, including interference that may cause undesired operation of the device.

This manual is also suitable for:

Lht65n-e3

Table of Contents

Save PDF