<
From version < 31.1 >
edited by Edwin Chen
on 2022/05/22 23:33
To version < 37.1 >
edited by Edwin Chen
on 2022/05/22 23:56
>
Change comment: Uploaded new attachment "image-20220522235639-2.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -82,6 +82,88 @@
82 82  |**Pressing ACT for more than 3s**|Active Device|green led will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network. green led will solid turn on for 5 seconds after join in network.
83 83  |**Fast press ACT 5 times**|Deactivate Device|red led will solid on for 5 seconds. This means LHT65N is in Deep Sleep Mode.
84 84  
85 +== Example to join LoRaWAN network ==
86 +
87 +(% class="wikigeneratedid" %)
88 +This section shows an example of how to join the TTN V3 LoRaWAN IoT server. Use with other LoRaWAN IoT servers is of a similar procedure.
89 +
90 +(% class="wikigeneratedid" %)
91 +[[image:image-20220522232442-1.png||height="387" width="648"]]
92 +
93 +Assume the LPS8N is already set to connect to [[TTN V3 network>>url:https://eu1.cloud.thethings.network]], So it provides network coverage for LHT65N. Next we need to add the LHT65N device in TTN V3:
94 +
95 +
96 +=== **Step 1**: Create Device n TTN ===
97 +
98 +Create a device in TTN V3 with the OTAA keys from LHT65N.
99 +
100 +Each LHT65N is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
101 +
102 +[[image:image-20220522232812-2.png||height="219" width="279"]]
103 +
104 +User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot:
105 +
106 +Add APP EUI in the application.
107 +
108 +[[image:image-20220522232916-3.png]]
109 +
110 +
111 +[[image:image-20220522232932-4.png]]
112 +
113 +
114 +[[image:image-20220522232954-5.png]]
115 +
116 +Note: LHT65N use same payload as LHT65.
117 +
118 +[[image:image-20220522233026-6.png]]
119 +
120 +
121 +Input APP EUI,  APP KEY and DEV EUI:
122 +
123 +[[image:image-20220522233118-7.png]]
124 +
125 +
126 +=== Step 2: Activate LHT65N by pressing the ACT button for more than 5 seconds. ===
127 +
128 +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.
129 +
130 +[[image:image-20220522233300-8.png]]
131 +
132 +
133 +== Uplink Payload: ==
134 +
135 +The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and(% class="mark" %) every 20 minutes(%%) send one uplink by default.
136 +
137 +After each uplink, the (% class="mark" %)BLUE LED(%%) will blink once.
138 +
139 +
140 +(% style="width:572px" %)
141 +|(% style="width:106px" %)**Size(bytes)**|(% style="width:71px" %)**2**|(% style="width:128px" %)**2**|(% style="width:103px" %)**2**|(% style="width:72px" %)**1**|(% style="width:89px" %)**4**
142 +|(% style="width:106px" %)**Value**|(% style="width:71px" %)[[BAT>>path:#Battery]]|(% style="width:128px" %)(((
143 +[[Built-In>>path:#SHT20_Temperature]]
144 +
145 +[[Temperature>>path:#SHT20_Temperature]]
146 +)))|(% style="width:103px" %)(((
147 +[[Built-in>>path:#SHT20_Humidity]]
148 +
149 +[[Humidity>>path:#SHT20_Humidity]]
150 +)))|(% style="width:72px" %)[[Ext>>path:#Extension_Sensor]] #|(% style="width:89px" %)[[Ext value>>path:#Extension_sensor_value]]
151 +
152 +* The First 6 bytes: has fix meanings for every LHT65N.
153 +* The 7th byte (EXT #): defines the external sensor model.
154 +* The 8^^th^^ ~~ 11^^th^^ byte: the value for external sensor value. The definition is based on external sensor type. (If EXT=0, there won’t be these four bytes.)
155 +
156 +
157 +=== Decoder in TTN V3 ===
158 +
159 +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.
160 +
161 +Below is the position to put the decoder and LHT65N decoder can be download from here:
162 +
163 +
164 +[[image:image-20220522234118-10.png]]
165 +
166 +
85 85  == LED Indicator ==
86 86  
87 87  The LHT65N has a triple color LED which for easy shows different stage.
image-20220522234038-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +38.0 KB
Content
image-20220522234118-10.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +66.7 KB
Content
image-20220522235639-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +43.4 KB
Content
image-20220522235639-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +43.4 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0