Show last authors
1 (% style="text-align:center" %)
2 [[image:image-20241205103955-1.jpeg||height="513" width="513"]]
3
4
5
6
7
8
9 **Table of Contents:**
10
11 {{toc/}}
12
13
14
15
16
17 = 1. Introduction =
18
19 == 1.1 What is T68DL LoRaWAN Temperature Sensor ==
20
21
22 (((
23 The Dragino (% style="color:blue" %)**T68DL Temperature sensor**(%%) is a Long Range LoRaWAN Sensor.
24 )))
25
26 (((
27 The T68DL allows users to send data and reach extremely long ranges. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, building automation, and so on.
28 )))
29
30 (((
31 T68DL has a (% style="color:blue" %)**built-in 2400mAh non-chargeable battery**(%%) which can be used for up to 10 years*.
32 )))
33
34 (((
35 T68FL is full compatible with LoRaWAN v1.0.3 Class A protocol, it can work with a standard LoRaWAN gateway.
36 )))
37
38 (((
39 T68DL supports (% style="color:blue" %)**Datalog Feature**(%%). 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.
40 )))
41
42 (((
43 *The actual battery life depends on how often to send data, please see the battery analyzer chapter.
44 )))
45
46
47 == 1.2 Features ==
48
49
50 * LoRaWAN v1.0.3 Class A protocol
51 * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915
52 * AT Commands to change parameters
53 * Remote configure parameters via LoRaWAN Downlink
54 * Firmware can be upgraded via OTA
55 * Built-in 2400mAh battery for up to 10 years of use.
56 * Built-in Temperature sensor
57 * Tri-color LED to indicate working status
58 * Datalog feature (Max 3328 records)
59
60 == 1.3 Specification ==
61
62
63 (% style="color:#037691" %)**Built-in Temperature Sensor:**
64
65 * Resolution: 0.01 °C
66 * Accuracy Tolerance : Typ ±0.3 °C
67 * Long Term Drift: < 0.02 °C/yr
68 * Operating Range: -40 ~~ 85 °C
69
70 = 2. Connect T68DL to IoT Server =
71
72 == 2.1 How does T68DL work? ==
73
74
75 (((
76 T68DL is configured as LoRaWAN OTAA Class A mode by default. Each T68DL is shipped with a worldwide unique set of OTAA keys. To use T68DL in a LoRaWAN network, first, we need to put the OTAA keys in LoRaWAN Network Server and then activate T68DL.
77 )))
78
79 (((
80 If T68DL is under the coverage of this LoRaWAN network. T68DL can join the LoRaWAN network automatically. After successfully joining, T68DL will start to measure environment temperature, and start to transmit sensor data to the LoRaWAN server. The default period for each uplink is 20 minutes.
81 )))
82
83
84 == 2.2 How to Activate T68DL? ==
85
86
87 (((
88 The T68DL has two working modes:
89 )))
90
91 * (((
92 (% style="color:blue" %)**Deep Sleep Mode**(%%): T68DL doesn't have any LoRaWAN activities. This mode is used for storage and shipping to save battery life.
93 )))
94 * (((
95 (% style="color:blue" %)**Working Mode**(%%): In this mode, T68DL works as LoRaWAN Sensor mode to Join LoRaWAN network and send out the sensor data to the server. Between each sampling/tx/rx periodically, T68DL will be in STOP mode (IDLE mode), in STOP mode, T68DLhas the same power consumption as Deep Sleep mode. 
96 )))
97
98 (((
99 The T68DL is set in deep sleep mode by default; The ACT button on the front is to switch to different modes:
100 )))
101
102 [[image:image-20241120092829-3.png||height="387" width="387"]]
103
104 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
105 |=(% style="width: 167px;background-color:#4F81BD;color:white" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 226px;background-color:#4F81BD;color:white" %)**Action**
106 |(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT between 1s < time < 3s|(% style="background-color:#f2f2f2; width:117px" %)Test uplink status|(% style="background-color:#f2f2f2; width:225px" %)(((
107 If T68DL is already Joined to rhe LoRaWAN network, T68DL will send an uplink packet, (% style="color:blue" %)**Blue led** (%%)will blink once.
108 )))
109 |(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT for more than 3s|(% style="background-color:#f2f2f2; width:117px" %)Active Device|(% style="background-color:#f2f2f2; width:225px" %)(((
110 (% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, T68DL  will enter working mode and start to JOIN LoRaWAN network.
111 (% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network.
112 )))
113 |(% style="background-color:#f2f2f2; width:167px" %)Fast press ACT 5 times.|(% style="background-color:#f2f2f2; width:117px" %)Deactivate Device|(% style="background-color:#f2f2f2; width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means T68DL is in Deep Sleep Mode.
114
115 == 2.3 Quick guide to connect to LoRaWAN server (OTAA) ==
116
117
118 (% class="wikigeneratedid" %)
119 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.
120
121 (% class="wikigeneratedid" %)
122 [[image:image-20241127085835-1.png]]
123
124
125 (((
126 Assume the LPS8v2 is already set to connect to [[TTN V3 network>>url:https://eu1.cloud.thethings.network]], So it provides network coverage for T68DL. Next we need to add the T68DL device in TTN V3:
127 )))
128
129
130 (% style="color:blue" %)**Step 1: **(%%)Create a device in TTN V3 with the OTAA keys from T68DL.
131
132 (((
133 Each T68DL is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
134 )))
135
136 [[image:image-20230426083319-1.png||_mstalt="431106" height="258" width="556"]]
137
138 User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot:
139
140 **Create the application.**
141
142 [[image:image-20241025090511-1.png]]
143
144
145 [[image:image-20241025090534-2.png]]
146
147 **Add devices to the created Application.**
148
149 [[image:image-20241025090607-3.png]]
150
151 [[image:image-20241025090624-4.png]]
152
153
154 **Enter end device specifics manually.**
155
156 [[image:image-20241025090709-5.png]]
157
158 [[image:image-20241025090805-6.png]]
159
160 (% style="color:blue" %)**Step 2: **(%%)Add decoder
161
162 In TTN, user can add a custom payload so it shows friendly reading.
163
164 Click this link to get the decoder: [[T68DL decoder>>url:https://github.com/dragino/dragino-end-node-decoder/tree/main/LWL04-LB]].
165
166 Below is TTN screen shot:
167
168 [[image:image-20241025101057-9.png||height="570" width="1202"]]
169
170
171 (% style="color:blue" %)**Step 3: **(%%)[[**Power on**>>||anchor="H2.2HowtoActivateT68DL3F"]] T68DL and it will auto join to the TTN V3 network. After join success, it will start to upload message to TTN V3 and user can see in the panel.
172
173 [[image:image-20241024114317-1.png||height="432" width="1204"]]
174
175
176 == 2.4 Uplink Payload ==
177
178
179 === 2.4.1 Device Status, FPORT~=5 ===
180
181
182 Users can use the downlink command(**0x26 01**) to ask T68DL to send device configure detail, include device configure status. T68DL will uplink a payload via FPort=5 to server.
183
184 The Payload format is as below.
185
186 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
187 |(% colspan="6" style="background-color:#4f81bd; color:white" %)**Device Status (FPORT=5)**
188 |(% style="width:103px" %)**Size (bytes)**|(% style="width:72px" %)**1**|**2**|(% style="width:91px" %)**1**|(% style="width:86px" %)**1**|(% style="width:44px" %)**2**
189 |(% style="width:103px" %)Value|(% style="width:72px" %)Sensor Model|Firmware Version|(% style="width:91px" %)Frequency Band|(% style="width:86px" %)Sub-band|(% style="width:44px" %)BAT
190
191 Example parse in TTNv3:
192
193 [[image:image-20241025101800-10.png||height="275" width="1199"]]
194
195 (% style="color:#037691" %)**Sensor Model**(%%): For T68DL, this value is 0x34
196
197 (% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version
198
199 (% style="color:#037691" %)**Frequency Band**:
200
201 0x01: EU868
202
203 0x02: US915
204
205 0x03: IN865
206
207 0x04: AU915
208
209 0x05: KZ865
210
211 0x06: RU864
212
213 0x07: AS923
214
215 0x08: AS923-1
216
217 0x09: AS923-2
218
219 0x0a: AS923-3
220
221 0x0b: CN470
222
223 0x0c: EU433
224
225 0x0d: KR920
226
227 0x0e: MA869
228
229
230 (% style="color:#037691" %)**Sub-Band**:
231
232 AU915 and US915:value 0x00 ~~ 0x08
233
234 CN470: value 0x0B ~~ 0x0C
235
236 Other Bands: Always 0x00
237
238
239 (% style="color:#037691" %)**Battery Info**:
240
241 Check the battery voltage.
242
243 Ex1: 0x0CD5 = 3285mV
244
245 Ex2: 0x0B49 = 2889mV
246
247
248 === 2.4.2 Real-Time Temperature data, Uplink FPORT~=2 ===
249
250 (((
251
252
253 T68DL will send this uplink **after** Device Status once join the LoRaWAN network successfully. And T68DL will:
254
255 periodically send this uplink every 20 minutes, this interval [[can be changed>>||anchor="H4.1SetTransmitIntervalTime"]].
256
257 Uplink Payload totals 9 bytes.
258 )))
259
260 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
261 |=(% style="width: 60px;background-color:#4F81BD;color:white" %)(((
262 **Size(bytes)**
263 )))|=(% style="width: 30px;background-color:#4F81BD;color:white" %)(((
264 **2**
265 )))|=(% style="width: 170px;background-color:#4F81BD;color:white" %)(((
266 **2**
267 )))|=(% style="width: 150px;background-color:#4F81BD;color:white" %)(((
268 **1**
269 )))|=(% style="width: 100px;background-color:#4F81BD;color:white" %)(((
270 **4**
271 )))
272 |(% style="width:97px" %)(((
273 Value
274 )))|(% style="width:39px" %)(((
275 BAT
276 )))|(% style="width:100px" %)(((
277 (((
278 Built-In Temperature(TMP116)
279 )))
280 )))|(% style="width:47px" %)(((
281 TEMPH_flag & TEMPL_flag
282 )))|(% style="width:51px" %)(((
283 Data_time
284 )))
285
286 * (% style="color:blue" %)**Battery**
287
288 Check the battery voltage.
289
290 Example: 0x0CBF(H)= 3263(D) mV
291
292
293 * (% style="color:blue" %)**Built-In Temperature (TMP116)**
294
295 **Example**:
296
297 If payload is: 0x0AFE:  (0AFE & 8000 == 0), temp = 0AFEH/10 = 28.14 degree
298
299 If payload is: 0xFF3F :  (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
300
301 (FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
302
303
304 * (% style="color:blue" %)**TEMPH_flag & TEMPL_flag**
305
306 **Example**:
307
308 TEMPH_flag:
309
310 If payload is: 0x02:  (0x02 & 0x01 == 0), TEMPH_flag = False
311
312 If payload is: 0x01:  (0x01 & 0x01 == 1). TEMPH_flag = True
313
314
315 TEMPL_flag:
316
317 If payload is: 0x01:  (0x01 & 0x02 == 0), TEMPL_flag = False
318
319 If payload is: 0x02:  (0x02 & 0x02 == 1). TEMPL_flag = True
320
321
322
323 * (% style="color:blue" %)**Data_time**
324
325 Unit TimeStamp Example: 671F024A(H) = 1730085450(D)
326
327 Put the decimal value into this link([[https:~~/~~/www.epochconverter.com)>>url:https://www.epochconverter.com/]])to get the time.
328
329
330 Example parse in TTNv3:
331
332 [[image:image-20241025103329-11.png||height="357" width="1381"]]
333
334
335 == 2.5 Show data on Datacake ==
336
337
338 (((
339 Datacake IoT platform provides a human-friendly interface to show the sensor data, once we have sensor data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are the steps:
340 )))
341
342 (% style="color:blue" %)**Step 1:**(%%) **Link TTNv3 to Datacake. **[[https:~~/~~/docs.datacake.de/lorawan/lns/thethingsindustries#create-integration-on-tti>>url:https://docs.datacake.de/lorawan/lns/thethingsindustries#create-integration-on-tti]]
343
344 (% style="color:blue" %)**Step 2:**(%%)** Add T68DL to Datacake.** Go to TTN V3 Console ~-~-> Applications ~-~-> Integrations ~-~-> Add Integrations.
345
346 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LWL04--LoRaWAN_Water_Leak_Sensor_User_Manual/WebHome/image-20240910150951-1.png?width=694&height=561&rev=1.1||alt="image-20240910150951-1.png"]]
347
348 [[image:image-20241028112746-1.png||height="522" width="693"]]
349
350 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LWL04--LoRaWAN_Water_Leak_Sensor_User_Manual/WebHome/image-20240910151137-3.png?width=611&height=679&rev=1.1||alt="image-20240910151137-3.png"]]
351
352 [[image:image-20241028113010-2.png||height="477" width="564"]]
353
354
355 (% style="color:blue" %)**Step 3:**(%%)** Configure T68DL in Datacake.**
356
357 [[image:image-20241028113331-3.png||height="305" width="801"]]
358
359
360 [[image:image-20241028113428-4.png||height="373" width="803"]]
361
362 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LWL03A%20%E2%80%93%20LoRaWAN%20None-Position%20Rope%20Type%20Water%20Leak%20Controller%20User%20Manual/WebHome/image-20221102092921-5.png?rev=1.1||alt="image-20221102092921-5.png" height="414" width="780"]]
363
364
365 == 2.6 Datalog Feature ==
366
367
368 (((
369 Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, T68DL will store the reading for future retrieving purposes. There are two ways for IoT servers to get datalog from T68DL.
370 )))
371
372
373 === 2.6.1 Ways to get datalog via LoRaWAN ===
374
375
376 There are two methods:
377
378 (% style="color:blue" %)**Method 1:** (%%)IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specified time range.
379
380
381 (% style="color:blue" %)**Method 2: **(%%)Set [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]], T68DL will wait for ACK for every uplink, when there is no LoRaWAN network, T68DL will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery.
382
383
384 (% style="color:red" %)**Note for method 2:**
385
386 * a) T68DL will do an ACK check for data records sending to make sure every data arrive server.
387 * b) T68DL will send data in **CONFIRMED Mode** when PNACKMD=1, but T68DL won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if T68DL gets a ACK, T68DL will consider there is a network connection and resend all NONE-ACK Message.
388
389 Below is the typical case for the auto-update datalog feature (Set PNACKMD=1)
390
391 [[image:image-20241127092254-2.png||height="411" width="1181"]]
392
393 === 2.6.2 Unix TimeStamp ===
394
395
396 T68DL uses Unix TimeStamp format based on
397
398 [[image:image-20220523001219-11.png||_mstalt="450450" height="97" width="627"]]
399
400
401 User can get this time from link:  [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] :
402
403 Below is the converter example
404
405 [[image:image-20220523001219-12.png||_mstalt="450827" height="298" width="720"]]
406
407
408 So, we can use AT+TIMESTAMP=1730085450 or downlink 30671F024A to set the current time 2024 – October ~-~- 28 Monday 3:17:30
409
410
411 === 2.6.3 Set Device Time ===
412
413
414 (((
415 (% style="color:blue" %)**There are two ways to set device's time:**
416 )))
417
418 (((
419
420
421 **1.  Through LoRaWAN MAC Command (Default settings)**
422 )))
423
424 (((
425 User need to set SYNCMOD=1 to enable sync time via MAC command.
426 )))
427
428 (((
429 Once T68DL Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to T68DL. If  T68DL fails to get the time from the server, T68DL will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days).
430 )))
431
432 (((
433 (% style="color:red" %)**Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn't support. If server doesn't support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1.**
434 )))
435
436
437 (((
438 **2. Manually Set Time**
439 )))
440
441 (((
442 User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server.
443 )))
444
445
446 === 2.6.4 Poll sensor value ===
447
448
449 User can poll sensor value based on timestamps from the server. Below is the downlink command.
450
451 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:428px" %)
452 |(% style="background-color:#4f81bd; color:white; width:59px" %)**1byte**|(% style="background-color:#4f81bd; color:white; width:128px" %)**4bytes**|(% style="background-color:#4f81bd; color:white; width:124px" %)**4bytes**|(% style="background-color:#4f81bd; color:white; width:117px" %)**1byte**
453 |(% style="width:58px" %)31|(% style="width:128px" %)Timestamp start|(% style="width:123px" %)Timestamp end|(% style="width:116px" %)Uplink Interval
454
455 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.
456
457 For example, downlink command (% _mstmutation="1" %)**31  67180C82  671836B2  05**(%%)
458
459 Is to check 2024/10/22 20:35:14 to 2024/10/22 23:35:14's data
460
461 Uplink Internal =5s, means T68DL will send one packet every 5s. range 5~~255s.
462
463
464 === 2.6.5 Datalog Uplink payload ===
465
466
467 The Datalog poll reply uplink will use below payload format.
468
469 **Retrieval data payload:**
470
471 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
472 |=(% style="width: 60px;background-color:#4F81BD;color:white" %)(((
473 **Size(bytes)**
474 )))|=(% style="width: 90px;background-color:#4F81BD;color:white" %)4|=(% style="width: 90px;background-color:#4F81BD;color:white" %)**2**|=(% style="width: 120px;background-color:#4F81BD;color:white" %)**1**|=(% style="width: 150px;background-color:#4F81BD;color:white" %)**4**
475 |(% style="width:97px" %)Value|(% style="width:123px" %)Reserved|(% style="width:108px" %)TMP116_Temp|(% style="width:159px" %)ACK message flag |(% style="width:80px" %)[[Unix Time Stamp>>||anchor="H2.6.2UnixTimeStamp"]]
476
477 **ACK message flag:**
478
479 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
480 |(% style="background-color:#4f81bd; color:white; width:60px" %)**Bits**|(% style="background-color:#4f81bd; color:white; width:150px" %)**7**|(% style="background-color:#4f81bd; color:white; width:150px" %)**6**|(% style="background-color:#4f81bd; color:white; width:150px" %)**[5:0]**
481 |(% style="width:96px" %)Status|(% style="width:124px" %)No ACK Message|(% style="width:146px" %)Poll Message Flag|(% style="width:109px" %)Reserved
482
483 (% style="color:blue" %)**No ACK Message**(%%):  1: This message means this payload is fromn Uplink Message which doesn't get ACK from the server before ( for [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]] feature)
484
485 (% style="color:blue" %)**Poll Message Flag**(%%): 1: This message is a poll message reply.
486
487 * Poll Message Flag is set to 1.
488
489 * Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands.
490
491 For example, in US915 band, the max payload for different DR is:
492
493 (% style="color:blue" %)**a) DR0:** (%%)max is 11 bytes so one entry of data
494
495 (% style="color:blue" %)**b) DR1:**(%%) max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)
496
497 (% style="color:blue" %)**c) DR2:**(%%) total payload includes 11 entries of data
498
499 (% style="color:blue" %)**d) DR3: **(%%)total payload includes 22 entries of data.
500
501 If devise doesn't have any data in the polling time. Device will uplink 11 bytes of 0   
502
503
504 **Example:**
505
506 If T68DL has below data inside Flash:
507
508 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
509 |=(% style="width: 88px; background-color:#4F81BD;color:white" %)Flash Add|=(% style="width: 172px; background-color:#4F81BD;color:white" %)**Unix Time**|=(% style="width: 105px; background-color:#4F81BD;color:white" %)**BAT voltage**|=(% style="width: 145px; background-color:#4F81BD;color:white" %)**Value**
510 |(% style="width:89px" %)(((
511 8031460
512 )))|(% style="width:133px" %)(((
513 2024/10/22 20:35:14
514 )))|(% style="width:103px" %)(((
515 2913
516 )))|(% style="width:131px" %)(((
517 tmp116_temp:28.80
518 )))
519 |(% style="width:89px" %)(((
520 8031470
521 )))|(% style="width:133px" %)(((
522 2024/10/22 20:55:14
523 )))|(% style="width:103px" %)(((
524 2912
525 )))|(% style="width:131px" %)(((
526 tmp116_temp:28.82
527 )))
528 |(% style="width:89px" %)(((
529 8031480
530 )))|(% style="width:133px" %)(((
531 2024/10/22 21:15:14
532 )))|(% style="width:103px" %)(((
533 2911
534 )))|(% style="width:131px" %)(((
535 tmp116_temp:28.85
536 )))
537 |(% style="width:89px" %)(((
538 8031490
539 )))|(% style="width:133px" %)(((
540 2024/10/22 21:35:14
541 )))|(% style="width:103px" %)(((
542 2921
543 )))|(% style="width:131px" %)(((
544 tmp116_temp:28.10
545 )))
546 |(% style="width:89px" %)(((
547 80314A0
548 )))|(% style="width:133px" %)(((
549 2024/10/22 21:55:14
550 )))|(% style="width:103px" %)(((
551 2923
552 )))|(% style="width:131px" %)(((
553 tmp116_temp:28.06
554 )))
555 |(% style="width:89px" %)(((
556 80314B0
557 )))|(% style="width:133px" %)(((
558 2024/10/22 22:15:14
559 )))|(% style="width:103px" %)(((
560 2924
561 )))|(% style="width:131px" %)(((
562 tmp116_temp:28.13
563 )))
564 |(% style="width:89px" %)(((
565 80314C0
566 )))|(% style="width:133px" %)(((
567 2024/10/22 22:35:14
568 )))|(% style="width:103px" %)(((
569 2925
570 )))|(% style="width:131px" %)(((
571 tmp116_temp:28.09
572 )))
573 |(% style="width:89px" %)(((
574 80314D0
575 )))|(% style="width:133px" %)(((
576 2024/10/22 22:55:14
577 )))|(% style="width:103px" %)(((
578 2924
579 )))|(% style="width:131px" %)(((
580 tmp116_temp:28.12
581 )))
582 |(% style="width:89px" %)(((
583 80314E0
584 )))|(% style="width:133px" %)(((
585 2024/10/22 23:15:14
586 )))|(% style="width:103px" %)(((
587 2924
588 )))|(% style="width:131px" %)(((
589 tmp116_temp:28.13
590 )))
591 |(% style="width:89px" %)(((
592 80314F0
593 )))|(% style="width:133px" %)(((
594 2024/10/22 23:35:14
595 )))|(% style="width:103px" %)(((
596 2924
597 )))|(% style="width:131px" %)(((
598 tmp116_temp:27.98
599 )))
600
601 If user sends below downlink command: (% style="background-color:yellow" %)31 67180C82 671836B2 05
602
603 Where : Start time: 67180C82 = time 24/10/24 20:35:14
604
605 Stop time:  671836B2 = time 24/10/24 23:35:14
606
607
608 **T68DL will uplink this payload.**
609
610 [[image:image-20241025162743-14.png]]
611
612
613 __**FFFFFFFF 0B4040 67180C82**__
614
615 __**FFFFFFFF0B424067181132FFFFFFFF0B4540671815E2FFFFFFFF0AFA4067181A92FFFFFFFF0AF64067181F42FFFFFFFF0AFD40671823F2FFFFFFFF0AF940671828A2FFFFFFFF0AFC4067182D52FFFFFFFF0AFD4067183202FFFFFFFF0AEE40671836B2**__
616
617 Where the first 11 bytes is for the first entry:
618
619 __**FFFFFFFF 0B40 40 67180C82**__
620
621 Bytes not used, so reserved: FFFFFFFF
622
623 Temp=0x0B40/100=28.8℃
624
625 PNACK status flag: ((bytes[6]>>7)&0x01) ? "True":"False" =(0x40>>7)&0x01=0
626
627 Unix time is 0x67180C82=1729629314s=24/10/22 20:35:14
628
629
630 == 2.7 Alarm Mode & Feature "Multi sampling, one uplink" ==
631
632
633 (((
634 when the device is in alarm mode, it checks the built-in sensor temperature for a short time. if the temperature exceeds the preconfigured range, it sends an uplink immediately.
635 )))
636
637 (((
638 (% style="color:red" %)**Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.**
639
640
641 === 2.7.1 Threshold alarm with built-in temperature sensor (TMP116) ===
642
643
644 (% style="color:blue" %)**AT+WMOD=1,60,-10,20**
645
646 Explain:
647
648 * (% style="color:#037691" %)**parameter1: **(%%)Set Working Mode to **Mode 1,Threshold Alarm(Out of range alarm)**
649 * (% style="color:#037691" %)**parameter2:**(%%) Sampling Interval is **60**s.
650 * (% style="color:#037691" %)**parameter3 & parameter4: **(%%)Temperature alarm range is **-10** to 20°C(Set the temperature range value with a coefficient of 100)
651
652 (% style="color:#4f81bd" %)**Downlink Command:**
653
654 **Example: **A5013CFC1807D0
655
656 MOD=01
657
658 CITEMP=3C(S) =60(S)
659
660 TEMPlow=FC18 = -1000/100=-10(°C)
661
662 TEMPhigh=07D0=2000/100=20(°C)
663
664
665 === 2.7.2 Fluctuation alarm for TMP116 ===
666
667
668 Acquisition time: minimum 1s.
669
670 (% style="color:blue" %)**AT+WMOD=2,60,5**
671
672 Explain:
673
674 * (% style="color:#037691" %)**parameter1: **(%%)Set Working Mode to **Mode 2,Fluctuation alarm**
675 * (% style="color:#037691" %)**parameter2:**(%%) Sampling Interval is **60**s.
676 * (% style="color:#037691" %)**parameter3: **(%%)The temperature fluctuation is +-5 °C
677
678 (% style="color:#4f81bd" %)**Downlink Command**
679
680 **Example: **A5023C05
681
682 MOD=02
683
684 CITEMP=3C(S)=60(S)
685
686 temperature fluctuation=05(°C)
687
688
689 === 2.7.3 Sampling multiple times and uplink together ===
690
691
692 Internal TMP116 temperature alarm(Acquisition time: fixed at one minute)
693
694 (% style="color:blue" %)**AT+WMOD=3,60,20,-16,32,1**
695
696 Explain:
697
698 * (% style="color:#037691" %)**parameter1: **(%%)Set Working Mode to **Mode 3,Sampling multiple times and uplink together**
699 * (% style="color:#037691" %)**parameter2: **(%%)Sampling Interval is **60**s.(This parameter has no effect on internal sensors)
700 * (% style="color:#037691" %)**parameter3: **(%%)When there is **20** sampling dats, Device will send these data via one uplink. (max value is 60, means max 60 sampling in one uplink)
701 * (% style="color:#037691" %)**parameter4 & parameter5: **(%%)Temperature alarm range is **-16** to **32**°C,
702 * (% style="color:#037691" %)**parameter6:**(%%) 1 to enable temperature alarm, **0** to disable the temperature alarm. If alarm is enabled, a data will be sent immediately  if temperate exceeds the Alarm range.
703
704 (% style="color:#4f81bd" %)**Downlink Command:**
705
706 **Example: **A50301003C14FFF0002001
707
708 MOD=03
709
710 CITEMP=003C(S)=60(S)
711
712 Total number of acquisitions=14
713
714 TEMPlow=FFF0=-16(°C)
715
716 TEMPhigh=0020=20(°C)
717
718 ARTEMP=01
719
720
721 **Uplink payload( Fport=3)**
722
723 **Example: 0BEA**01**0992**//0A41//**09C4**
724
725 BatV=0BEA
726
727 TEMP=DS18B20
728
729 Temp1=0992  ~/~/ 24.50°C
730
731 Temp2=0A41  ~/~/ 26.25°C
732
733 Temp3=09C4  ~/~/ 25.00°C
734
735 (% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length.**
736 )))
737
738
739 = 3. Configure T68DL via AT command or LoRaWAN downlink =
740
741
742 (((
743 Use can configure T68DL via AT Command or LoRaWAN Downlink.
744 )))
745
746 * (((
747 AT Command Connection:
748
749 [[image:image-20241029110142-1.jpeg||height="395" width="579"]]
750 )))
751
752 * (((
753 LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]
754 )))
755
756 (((
757 There are two kinds of commands to configure T68DL, they are:
758 )))
759
760 * (((
761 (% style="color:#4f81bd" %)**General Commands**.
762 )))
763
764 (((
765 These commands are to configure:
766 )))
767
768 1. (((
769 General system settings like: uplink interval.
770 )))
771 1. (((
772 LoRaWAN protocol & radio-related commands.
773 )))
774
775 (((
776 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>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
777 )))
778
779 * (((
780 (% style="color:#4f81bd" %)**Commands special design for T68DL**
781 )))
782
783 (((
784 These commands are only valid for T68DL, as below:
785 )))
786
787
788 == 3.1 Set Transmit Interval Time ==
789
790
791 Feature: Change LoRaWAN End Node Transmit Interval.
792
793
794 (% style="color:#4f81bd" %)**AT Command: AT+TDC**
795
796 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:501px" %)
797 |(% style="background-color:#4f81bd; color:white; width:155px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:166px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:180px" %)**Response**
798 |(% style="width:155px" %)AT+TDC=?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s
799 |(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds
800
801 (% style="color:#4f81bd" %)**Downlink Command: 0x01**
802
803 Format: Command Code (0x01) followed by 3 bytes time value.
804
805 If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01.
806
807 * **Example 1**: Downlink Payload: 0100001E  ~/~/ Set Transmit Interval (TDC) = 30 seconds
808
809 * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
810
811 == 3.2 Set Password ==
812
813
814 Feature: Set device password, max 9 digits
815
816 (% style="color:#4f81bd" %)**AT Command: AT+PWORD**
817
818 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:372px" %)
819 |(% style="background-color:#4f81bd; color:white; width:155px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:128px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:89px" %)**Response**
820 |(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)(((
821 123456
822
823 OK
824 )))
825 |(% style="width:155px" %)AT+PWORD=999999|(% style="width:124px" %)Set password|(% style="width:86px" %)OK
826
827 (% style="color:#4f81bd" %)**Downlink Command:**
828
829 No downlink command for this feature.
830
831
832 == 3.3 Quit AT Command ==
833
834
835 Feature: Quit AT Command mode, so user needs to input password again before use AT Commands.
836
837 (% style="color:#4f81bd" %)**AT Command: AT+DISAT**
838
839 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:433px" %)
840 |(% style="background-color:#4f81bd; color:white; width:155px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:191px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:87px" %)**Response**
841 |(% style="width:155px" %)AT+DISAT|(% style="width:191px" %)Quit AT Commands mode|(% style="width:86px" %)OK
842
843 (% style="color:#4f81bd" %)**Downlink Command:**
844
845 No downlink command for this feature.
846
847
848 == 3.4 Set to sleep mode ==
849
850
851 Feature: Set device to sleep mode
852
853 * **AT+Sleep=0**  : Normal working mode, device will sleep and use lower power when there is no LoRa message
854 * **AT+Sleep=1** :  Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
855
856 (% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
857
858 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:513px" %)
859 |(% style="background-color:#4f81bd; color:white; width:155px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:140px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:218px" %)**Response**
860 |(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)(((
861 Clear all stored sensor data…
862
863 OK
864 )))
865
866 (% style="color:#4f81bd" %)**Downlink Command:**
867
868 * There is no downlink command to set to Sleep mode.
869
870 == 3.5 Set system time ==
871
872
873 Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]]
874
875 (% style="color:#4f81bd" %)**AT Command:**
876
877 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:506px" %)
878 |(% style="background-color:#4f81bd; color:white; width:188px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:318px" %)**Function**
879 |(% style="width:154px" %)AT+TIMESTAMP=1611104352|(% style="width:285px" %)(((
880 OK
881
882 Set System time to 2021-01-20 00:59:12
883 )))
884
885 (% style="color:#4f81bd" %)**Downlink Command:**
886
887 0x306007806000  ~/~/  Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352
888
889
890 == 3.6 Set Time Sync Mode ==
891
892
893 (((
894 Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command.
895 )))
896
897 (((
898 SYNCMOD is set to 1 by default. If user want to set a different time from LoRaWAN server, user need to set this to 0.
899 )))
900
901 (% style="color:#4f81bd" %)**AT Command:**
902
903 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:475px" %)
904 |(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:317px" %)**Function**
905 |(% style="width:156px" %)AT+SYNCMOD=1|(% style="width:315px" %)Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq)
906
907 (% style="color:#4f81bd" %)**Downlink Command:**
908
909 0x28 01  ~/~/  Same As AT+SYNCMOD=1
910 0x28 00  ~/~/  Same As AT+SYNCMOD=0
911
912
913 == 3.7 Set Time Sync Interval ==
914
915
916 Feature: Define System time sync interval. SYNCTDC default value: 10 days.
917
918 (% style="color:#4f81bd" %)**AT Command:**
919
920 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:472px" %)
921 |(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:314px" %)**Function**
922 |(% style="width:156px" %)AT+SYNCTDC=0x0A |(% style="width:311px" %)Set SYNCTDC to 10 (0x0A), so the sync time is 10 days.
923
924 (% style="color:#4f81bd" %)**Downlink Command:**
925
926 **0x29 0A**  ~/~/ Same as AT+SYNCTDC=0x0A
927
928
929 == 3.8 Get data ==
930
931
932 Feature: Get the current sensor data.
933
934 (% style="color:#4f81bd" %)**AT Command:**
935
936 * **AT+GETSENSORVALUE=0**      ~/~/ The serial port gets the reading of the current sensor
937 * **AT+GETSENSORVALUE=1**      ~/~/ The serial port gets the current sensor reading and uploads it.
938
939 == 3.11 Print data entries base on page ==
940
941
942 Feature: Print the sector data from start page to stop page (max is 416 pages).
943
944 (% style="color:#4f81bd" %)**AT Command: AT+PDTA**
945
946 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
947 |(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function**
948 |(% style="width:156px" %)(((
949 AT+PDTA=1,1
950 Print page 1 to 1
951 )))|(% style="width:311px" %)(((
952 Stop Tx events when read sensor data
953
954 8031000 1970/1/1 00:04:53 2 tmp116_temp:31.18
955
956 8031010 2024/10/21 02:23:09 2 tmp116_temp:31.24
957
958 8031020 2024/10/21 02:25:04 1 tmp116_temp:31.23
959
960 8031030 2024/10/21 02:25:28 2 tmp116_temp:31.24
961
962 8031040 2024/10/21 02:40:35 2 tmp116_temp:31.28
963
964 8031050 2024/10/21 03:00:29 2 tmp116_temp:31.65
965
966 8031060 2024/10/21 03:15:40 2 tmp116_temp:0.00
967
968 8031070 2024/10/21 03:17:22 2 tmp116_temp:0.00
969
970 Start Tx events
971
972
973 OK
974 )))
975
976 (% style="color:#4f81bd" %)**Downlink Command:**
977
978 No downlink commands for feature
979
980
981 == 3.12 Print last few data entries ==
982
983
984 Feature: Print the last few data entries
985
986 (% style="color:#4f81bd" %)**AT Command: AT+PLDTA**
987
988 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
989 |(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function**
990 |(% style="width:156px" %)(((
991 AT+PLDTA=5
992 Print last 5 entries
993 )))|(% style="width:311px" %)(((
994 Stop Tx events when read sensor data
995
996 0001 2024/10/25 02:29:19 3273 tmp116_temp:28.16
997
998 0002 2024/10/25 02:31:19 3258 tmp116_temp:28.21
999
1000 0003 2024/10/25 02:33:19 3255 tmp116_temp:28.26
1001
1002 0004 2024/10/25 02:35:19 3266 tmp116_temp:28.40
1003
1004 0005 1970/1/1 00:00:13 3255 tmp116_temp:25.74
1005
1006 Start Tx events
1007
1008 OK
1009 )))
1010
1011 (% style="color:#4f81bd" %)**Downlink Command:**
1012
1013 No downlink commands for feature
1014
1015
1016 == 3.13 Clear Flash Record ==
1017
1018
1019 Feature: Clear flash storage for data log feature.
1020
1021 (% style="color:#4f81bd" %)**AT Command: AT+CLRDTA**
1022
1023 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:503px" %)
1024 |(% style="background-color:#4f81bd; color:white; width:157px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:137px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:209px" %)**Response**
1025 |(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)(((
1026 Clear all stored sensor data…
1027
1028 OK
1029 )))
1030
1031 (% style="color:#4f81bd" %)**Downlink Command: 0xA3**
1032
1033 * Example: 0xA301  ~/~/  Same as AT+CLRDTA
1034
1035 == 3.14 Auto Send None-ACK messages ==
1036
1037
1038 Feature: T68DL will wait for ACK for each uplink, If T68DL doesn't get ACK from the IoT server, it will consider the message doesn't arrive server and store it. T68DL keeps sending messages in normal periodically. Once T68DL gets ACK from a server, it will consider the network is ok and start to send the not-arrive message.
1039
1040 (% style="color:#4f81bd" %)**AT Command: AT+PNACKMD**
1041
1042 The default factory setting is 0
1043
1044 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:367px" %)
1045 |=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 121px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 88px;background-color:#4F81BD;color:white" %)**Response**
1046 |(% style="width:158px" %)AT+PNACKMD=1|(% style="width:118px" %)Poll None-ACK message|(% style="width:87px" %)OK
1047
1048 (% style="color:#4f81bd" %)**Downlink Command: 0x34**
1049
1050 * Example: 0x3401  ~/~/  Same as AT+PNACKMD=1
1051
1052 == 3.15 high datarate function ==
1053
1054
1055 Feature:  Enable or disable high datarate
1056
1057 (% style="color:#4f81bd" %)**AT Command: AT+HDR**
1058
1059 The default factory setting is 0
1060
1061 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:367px" %)
1062 |=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 121px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 88px;background-color:#4F81BD;color:white" %)**Response**
1063 |(% style="width:158px" %)AT+HDR=1|(% style="width:118px" %)Enable high datarate|(% style="width:87px" %)OK
1064
1065 (% style="color:#4f81bd" %)**Downlink Command: 0xA1**
1066
1067 * Example: 0xA101  ~/~/  Same as AT+HDR=1
1068 * Example: 0xA100  ~/~/  Same as AT+HDR=0
1069
1070 == 3.16 Revised WMOD Command for Internal Sensor TMP116 Temperature Alarms ==
1071
1072
1073 Feature: Set internal and external temperature sensor alarms.
1074
1075 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:500px" %)
1076 |=(% style="width: 250px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 200px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 50px;background-color:#4F81BD;color:white" %)**Response**
1077 |(% style="width:268px" %)AT+WMOD=parameter1,parameter2,parameter3,parameter4|(% style="width:255px" %)Set internal and external temperature sensor alarms|(% style="width:181px" %)OK
1078
1079 (% style="color:#037691" %)**AT+WMOD=parameter1,parameter2,parameter3,parameter4**
1080
1081 (% style="color:#037691" %)**Parameter 1**(%%):  Alarm mode:
1082
1083 0): Cancel
1084
1085 1): Threshold alarm
1086
1087 2): Fluctuation alarm
1088
1089 3): Sampling multiple times and uplink together
1090
1091
1092 (% style="color:#037691" %)** Parameter 2**(%%):  Sampling time. Unit: seconds, up to 255 seconds.
1093
1094 (% style="color:red" %)**Note: When the collection time is less than 60 seconds and always exceeds the set alarm threshold, the sending interval will not be the collection time, but will be sent every 60 seconds.**
1095
1096
1097 (% style="color:#037691" %) **Parameter 3 and parameter 4:**
1098
1099 **1):  If Alarm Mode is set to 1:** Parameter 3 and parameter 4 are valid, as before, they represent low temperature and high temperature.
1100
1101 Such as AT+WMOD=1,60,45,105, it means high and low temperature alarm.
1102
1103
1104 **2):  If Alarm Mode is set to 2:** Parameter 3 is valid, which represents the difference between the currently collected temperature and the last uploaded temperature.
1105
1106 Such as AT+WMOD=2,10,2,it means that it is a fluctuation alarm.
1107
1108 If the difference between the current collected temperature and the last Uplin is ±2 degrees, the alarm will be issued.
1109
1110
1111 **3): If Alarm Mode is set to 3:**
1112
1113 * (% style="color:#037691" %)**parameter1: **(%%)Set Working Mode to **Mode 3**
1114 * (% style="color:#037691" %)**parameter2: **(%%)Sampling Interval is **60**s.
1115 * (% style="color:#037691" %)**parameter3: **(%%)When there is **20** sampling dats, Device will send these data via one uplink. (max value is 60, means max 60 sampling in one uplink)
1116 * (% style="color:#037691" %)**parameter4 & parameter5: **(%%)Temperature alarm range is **-16** to **32**°C,
1117 * (% style="color:#037691" %)**parameter6:**(%%) 1 to enable temperature alarm, **0** to disable the temperature alarm. If alarm is enabled, a data will be sent immediately  if temperate exceeds the Alarm range.
1118
1119 (% style="color:#4f81bd" %)**Downlink Command: 0xA5**
1120
1121 0xA5 00 ~-~- AT+WMOD=0.
1122
1123 0xA5 01 0A 11 94 29 04 ~-~- AT+WMOD=1,10,45,105  (AT+WMOD = second byte, third byte, fourth and fifth bytes divided by 100, sixth and seventh bytes divided by 100 )
1124
1125 0XA5 01 0A F9 C0 29 04 ~-~-AT+WMOD=1,10,-16,105(Need to convert -16 to -1600 for calculation,-1600(DEC)=FFFFFFFFFFFFF9C0(HEX)  FFFFFFFFFFFFF9C0(HEX) +10000(HEX)=F9C0(HEX))
1126
1127 0xA5 02 0A 02 ~-~- AT+WMOD=2,10,2  (AT+WMOD = second byte, third byte, fourth byte)
1128
1129 0xA5 03  00 3C 14 FF F0 00 20 01~-~-AT+WMOD=3,60,20,-16,32,1
1130
1131 0xA5 FF ~-~- After the device receives it, upload the current alarm configuration (FPORT=8). Such as 01 0A 11 94 29 04 or 02 0A 02.
1132
1133
1134 = 4. Battery =
1135
1136 == 4.1 Battery Type ==
1137
1138
1139 (((
1140 T68DL is equipped with a 2400mAH Li-MnO2 (CR17450) battery . The battery is an un-rechargeable battery with low discharge rate targeting for up to 8~~10 years use.
1141 )))
1142
1143 The minimum Working Voltage for the T68DL is about 2.5v. When battery is lower than 2.6v, it is time to change the battery.
1144 [[image:image-20241028180829-4.png||height="430" width="397"]]
1145
1146
1147 == 4.2 Power Consumption Analyze ==
1148
1149
1150 Dragino battery powered products are all run in Low Power mode. User can check the guideline from this link to calculate the estimate battery life:
1151
1152 [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
1153
1154
1155 = 5. OTA Firmware update =
1156
1157
1158 **User can change firmware T68DL to:**
1159
1160 * Change Frequency band/ region.
1161 * Update with new features.
1162 * Fix bugs.
1163
1164 **Firmware and changelog can be downloaded from :** [[**Firmware download link**>>https://www.dropbox.com/scl/fo/ztlw35a9xbkomu71u31im/AHWC467h4jcFvS5-q1p7wkk/LoRaWAN%20End%20Node/T68DL?rlkey=ojjcsw927eaow01dgooldq3nu&subfolder_nav_tracking=1&dl=0]]
1165
1166 **Methods to Update Firmware:**
1167
1168 * (Recommanded way) OTA firmware update via wireless: **[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]**
1169 * Update through UART TTL interface: **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.7A0A0UARTConnectionforLWL04motherboard]]**.
1170
1171 = 6. FAQ =
1172
1173 == 6.1 Why can't I see the datalog information ==
1174
1175
1176 ~1. The time is not aligned, and the correct query command is not used.
1177
1178 2. Decoder error, did not parse the datalog data, the data was filtered.
1179
1180
1181 = 7. Order Info =
1182
1183
1184 Part Number: (% style="color:#4f81bd" %)** T68DL-XX**
1185
1186 (% style="color:#4f81bd" %)**XX **(%%): The default frequency band
1187
1188 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
1189 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**AU915**(%%): LoRaWAN AU915 band
1190 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**EU433**(%%): LoRaWAN EU433 band
1191 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**EU868**(%%): LoRaWAN EU868 band
1192 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**KR920**(%%): LoRaWAN KR920 band
1193 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**US915**(%%): LoRaWAN US915 band
1194 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
1195 * (% style="color:#4f81bd" %)** **(% _mstmutation="1" style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
1196
1197 = 8. Packing Info =
1198
1199
1200 **Package Includes**:
1201
1202 * T68DL Temperature Sensor x 1
1203
1204 = 9. Support =
1205
1206 * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
1207
1208 * 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.cc>>mailto:Support@dragino.cc]].
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0