background image

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

1.3 Specification ................................................................................................................................................................... 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.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 .................................................................................................................................................... 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

Содержание LHT65N

Страница 1: ...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 Con gure LHT65N via AT comm...

Страница 2: ...B to connect PC to upgrade rmware 45 6 6 Using USB TYPE C to connect to the computer using the AT command 50 6 7 How to use USB TYPE C to connect PC to upgrade rmware 52 7 Order Info 56 8 Packing Info...

Страница 3: ...d 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 Speci cation Page 3 56 last modi ed by Bei Ji...

Страница 4: ...3 1 E2 Extension Cable 3 2 E3 Temperature Probe 4 Con gure LHT65N via AT command or LoRaWAN downlink 4 1 Set Transmit Interval Time 4 2 Set External Sensor Mode 4 3 Enable Disable uplink Temperature...

Страница 5: ...eature It will record the data when there is no network coverage and users can retrieve the sensor value later to ensure no miss for every sensor reading The actual battery life depends on how often t...

Страница 6: ...temperature and humidity and start to transmit sensor data to the LoRaWAN server The default period for each uplink is 20 minutes 2 2 How to Activate LHT65N The LHT65N has two working modes Deep Sleep...

Страница 7: ...servers is of a similar procedure Assume the LPS8N is already set to connect to TTN V3 network So it provides network coverage for LHT65N Next we need to add the LHT65N device in TTN V3 2 3 1 Step 1 C...

Страница 8: ...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 modi ed by Bei J...

Страница 9: ...User Manual for LoRaWAN End Nodes LHT65N LoRaWAN Temperature Humidity Sensor Manual Page 9 56 last modi ed by Bei Jinggeng on 2022 07 06 13 48...

Страница 10: ...User Manual for LoRaWAN End Nodes LHT65N LoRaWAN Temperature Humidity Sensor Manual Note LHT65N use same payload as LHT65 Page 10 56 last modi ed by Bei Jinggeng on 2022 07 06 13 48...

Страница 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 modi ed by Bei Jinggeng on 2022 07 06 13 48...

Страница 12: ...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 2 4 Uplink Payload The uplink payload includes totally...

Страница 13: ...d on external sensor type If 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...

Страница 14: ...anual 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 0xF5...

Страница 15: ...x025C 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 External temperature 0xF54F...

Страница 16: ...BAT 2 65v Built in Humidity Status Ext Byte Poll Message Flag 1 This message is a poll message reply 0 means this is a normal uplink Sync time OK 1 Set timeok 0 N A After time SYNC request is sent LHT...

Страница 17: ...the collected voltage is greater than the maximum range the maximum range will be used as the output 1 The minimum range is about 0 1V Each chip has internal calibration so this value is close to 0 1V...

Страница 18: ...N 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 modi ed by Bei Jingge...

Страница 19: ...User Manual for LoRaWAN End Nodes LHT65N LoRaWAN Temperature Humidity Sensor Manual Page 19 56 last modi ed by Bei Jinggeng on 2022 07 06 13 48...

Страница 20: ...aWAN There are two methods 1 IoT Server sends a downlink LoRaWAN command to poll the value for specifying time range 2 Set PNACKMD 1 LHT65N will wait for ACK for every uplink when there is no LoRaWAN...

Страница 21: ...N will use the internal time and wait for next time request AT SYNCTDC to set the time request period default is 10 days Note LoRaWAN Server need to support LoRaWAN v1 0 3 MAC v1 0 3 or higher to supp...

Страница 22: ...r data Built In Temperature Built in Humidity Poll message ag Ext Unix Time Stamp Poll message ag Ext Poll Message Flag 1 This message is a poll message reply Poll Message Flag is set to 1 Each data e...

Страница 23: ...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 03 LHT65N will uplink this payloa...

Страница 24: ...the device is in alarm mode it checks the built in sensor temperature for a short time if the temperature exceeds the precon gured range it sends an uplink immediately Note alarm mode adds a little po...

Страница 25: ...gh 003C 2 8 LED Indicator The LHT65 has a triple color LED which for easy showing di erent stage While user press ACT button the LED will work as per LED status with ACT button In a normal working sta...

Страница 26: ...ng breakout cable for LHT65N Features Use for AT Command works for both LHT52 LHT65N Update rmware for LHT65N works for both LHT52 LHT65N Supports ADC mode to monitor external ADC Supports Interrupt m...

Страница 27: ...or di erent platforms IoT LoRaWAN Server There are two kinds of commands to con gure LHT65N they are General Commands These commands are to con gure 1 General system settings like uplink interval 2 Lo...

Страница 28: ...ds Example 2 Downlink Payload 0100003C Set Transmit Interval TDC 60 seconds 4 2 Set External Sensor Mode Feature Change External Sensor Mode AT Command AT EXT Downlink Command 0xA2 Total bytes 2 5 byt...

Страница 29: ...0 AT PID 0 0xA801 AT PID 1 4 4 Set Password Feature Set device password max 9 digits AT Command AT PWORD Downlink Command No downlink command for this feature 4 5 Quit AT Command Feature Quit AT Comma...

Страница 30: ...Downlink Command There is no downlink command to set to Sleep mode 4 7 Set system time Feature Set system time unix format See here for format detail AT Command Downlink Command 0x306007806000 Set tim...

Страница 31: ...OD 0 4 9 Set Time Sync Interval Feature De ne System time sync interval SYNCTDC default value 10 days AT Command Downlink Command 0x29 0A Same as AT SYNCTDC 0x0A 4 10 Print data entries base on page F...

Страница 32: ...RaWAN 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...

Страница 33: ...s 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...

Страница 34: ...f battery is commonly used in IoT devices for long term running such as water meters The discharge curve is not linear so can t simply use percentage to show the battery level Below is the battery per...

Страница 35: ...agino com downloads downloads LoRa_End_Node Battery_Analyze DRAGINO_Battery_Life_Guide pdf A full detail test report for LHT65N on di erent frequency can be found at https www dropbox com sh r2i3zlhsy...

Страница 36: ...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 to active it Timeout to input AT Command is 5 min after...

Страница 37: ...Y Get or Set the Network Session Key AT APPSKEY Get or Set the Application Session Key AT APPEUI Get or Set the Application EUI AT ADR Get or Set the Adaptive Data Rate setting 0 o 1 on AT TXP Get or...

Страница 38: ...rint last received data in raw format AT VER Get current image version and Frequency Band AT CFM Get or Set the con rmation mode 0 1 AT CFS Get con rmation status of the last AT SEND 0 1 AT SNR Get th...

Страница 39: ...min AT RPL Get or set response level AT TIMESTAMP Get or Set UNIX timestamp in second AT LEAPSEC Get or Set Leap Second AT SYNCMOD Get or Set time synchronization method AT SYNCTDC Get or set time sy...

Страница 40: ...User Manual for LoRaWAN End Nodes LHT65N LoRaWAN Temperature Humidity Sensor Manual Downlink commands TTN Page 40 56 last modi ed by Bei Jinggeng on 2022 07 06 13 48...

Страница 41: ...User Manual for LoRaWAN End Nodes LHT65N LoRaWAN Temperature Humidity Sensor Manual Helium Page 41 56 last modi ed by Bei Jinggeng on 2022 07 06 13 48...

Страница 42: ...or 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 modi ed by Bei Jinggeng on 202...

Страница 43: ...N 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 modi...

Страница 44: ...9600 to access to access serial console for 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 us...

Страница 45: ...User Manual for LoRaWAN End Nodes LHT65N LoRaWAN Temperature Humidity Sensor Manual 6 5 How to use TTL USB to connect PC to upgrade rmware Page 45 56 last modi ed by Bei Jinggeng on 2022 07 06 13 48...

Страница 46: ...or LoRaWAN End Nodes LHT65N LoRaWAN Temperature Humidity Sensor Manual Step1 Install TremoProgrammer rst Step2 wiring method First connect the four lines Page 46 56 last modi ed by Bei Jinggeng on 202...

Страница 47: ...nsor Manual Then use DuPont cable to short circuit port3 and port1 and then release them so that the device enters bootlaod mode Step3 Select the device port to be connected baud rate and bin le to be...

Страница 48: ...T65N LoRaWAN Temperature Humidity Sensor Manual Click the start button to start the rmware upgrade When this interface appears it indicates that the download has been completed Page 48 56 last modi ed...

Страница 49: ...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 modi ed by...

Страница 50: ...anual 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 modi ed by Bei Jinggeng on 2022 07 06...

Страница 51: ...al console for 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 agai...

Страница 52: ...oRaWAN Temperature Humidity Sensor Manual 6 7 How to use USB TYPE C to connect PC to upgrade rmware Step1 Install TremoProgrammer rst Step2 wiring method First connect the four lines Page 52 56 last m...

Страница 53: ...WAN Temperature Humidity Sensor Manual Press and hold the start key to restart and enter bootlaod mode Step3 Select the device port to be connected baud rate and bin le to be downloaded Page 53 56 las...

Страница 54: ...T65N LoRaWAN Temperature Humidity Sensor Manual Click the start button to start the rmware upgrade When this interface appears it indicates that the download has been completed Page 54 56 last modi ed...

Страница 55: ...User Manual for LoRaWAN End Nodes LHT65N LoRaWAN Temperature Humidity Sensor Manual Finally restart reset device again Page 55 56 last modi ed by Bei Jinggeng on 2022 07 06 13 48...

Страница 56: ...rnal Temperature Probe 8 Packing Info Package Includes LHT65N Temperature Humidity Sensor x 1 Optional external sensor Dimension and weight Device Size 10 x 10 x 3 5 cm Device Weight 120 5g 9 Referenc...

Страница 57: ...requency energy and if not installed and used in accordance with the instructions may cause harmful interference to radio communications However there is no guarantee that interference will not occur...

Страница 58: ...reilestconf orme aux CNR d Industrie Canada applicables aux appareils radio exempts de licence L exploitationestautoris e aux deux conditions suivantes 1 l appareil ne doit pas produire de brouillage...

Отзывы: