Last modified by Xiaoling on 2025/04/27 16:48

From version 74.2
edited by Xiaoling
on 2022/10/11 09:44
Change comment: There is no comment for this version
To version 59.2
edited by Edwin Chen
on 2022/10/08 17:55
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Edwin
Content
... ... @@ -1,3 +1,5 @@
1 +== ==
2 +
1 1  (% style="text-align:center" %)
2 2  [[image:1664505654417-133.png]]
3 3  
... ... @@ -183,10 +183,8 @@
183 183  (% style="color:blue" %)**Step 3:**(%%) TrackerD will auto join to the LoRaWAN network. After join success, TrackerD will start to upload message to IoT server.
184 184  
185 185  
188 +== 2.3 Positioning Mode(SMOD) ==
186 186  
187 -== 2.3  Positioning Mode(SMOD) ==
188 -
189 -
190 190  Users can set TrackerD to different Positioning Mode for different applications. Below mod are supported.
191 191  
192 192  * (% style="color:#037691" %)**GPS ONLY(Factory Settings):    **(%%)only get and uplink GPS location info.
... ... @@ -196,31 +196,26 @@
196 196  Users can switch modes by [[changing SMOD>>||anchor="H3.2.7SetPositioningMode"]].
197 197  
198 198  
199 +== 2.3 Uplink Payload ==
199 199  
200 -== 2.4  Uplink Payload ==
201 201  
202 +=== 2.3.1 Uplink FPORT~=5, Device Status ===
202 202  
203 -=== 2.4.1 Uplink FPORT~=5, Device Status ===
204 +Uplink the device configures with FPORT=5. Once LGT92 Joined the network, it will uplink this message to the server. After first uplink, LHT52 will uplink Device Status every 12 hours.
204 204  
206 +|=(% style="width: 150px;" %)**Size (bytes)**|=(% style="width: 233px;" %)**1**|=(% style="width: 150px;" %)**2**|=(% style="width: 164px;" %)**1**|=(% style="width: 215px;" %)**1**|=(% style="width: 94px;" %)2|=(% style="width: 516px;" %)**2**|=(% style="width: 516px;" %)1
207 +|(% style="width:150px" %)**Value**|(% style="width:233px" %)Sensor Model|(% style="width:150px" %)Firmware Version|(% style="width:164px" %)Frequency Band|(% style="width:215px" %)Sub-band|(% style="width:94px" %)BAT|(% style="width:516px" %)SMOD|(% style="width:516px" %)Status
205 205  
206 -Uplink the device configures with FPORT=5. Once TrackerD Joined the network, it will uplink this message to the server. After the first uplink, TrackerD will uplink Device Status every 12 hours.
209 +[[image:image-20221006181357-2.png]]
207 207  
211 +Example Payload (FPort=5):  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT52%20-%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20User%20Manual/WebHome/image-20220621105116-11.png?rev=1.1||alt="image-20220621105116-11.png"]]
208 208  
209 -(% border="1.5" style="background-color:#ffffcc; color:green; width:520px" %)
210 -|=(% scope="row" style="width: 108px;" %)**Size(bytes)**|=(% style="width: 82px;" %)**1**|=(% style="width: 83px;" %)**2**|=(% style="width: 94px;" %)**1**|=(% style="width: 84px;" %)**1**|=(% style="width: 44px;" %)2|=(% style="width: 63px;" %)**2**|=(% style="width: 60px;" %)1
211 -|=(% style="width: 108px;" %)**Value**|(% style="width:82px" %)Sensor Model|(% style="width:83px" %)Firmware Version|(% style="width:94px" %)Frequency Band|(% style="width:84px" %)Sub-band|(% style="width:44px" %)BAT|(% style="width:63px" %)SMOD|(% style="width:60px" %)Status
213 +**Sensor Model**: For TrackerD, this value is 0x13.
212 212  
213 -[[image:1665301570342-765.png]]
215 +**Firmware Version**: 0x0100, Means: v1.0.0 version.
214 214  
217 +**Frequency Band**:
215 215  
216 -(% style="color:#037691" %)**Example of Device Status:**(%%) 13014001FF0FA24002
217 -
218 -(% style="color:#037691" %)**Sensor Model:** (%%) For TrackerD,this value is 0x13
219 -
220 -(% style="color:#037691" %)**Firmware Version: **(%%) 0x0140,Means:v1.4.0 version
221 -
222 -(% style="color:#037691" %)**Frequency Band**:
223 -
224 224  *0x01: EU868
225 225  
226 226  *0x02: US915
... ... @@ -241,61 +241,21 @@
241 241  
242 242  *0x0a: AS923-3
243 243  
244 -Sub- Band:value 0x00~~0x08(only forAU915,US915,Others are 0xFF)
239 +**Sub-Band**: value 0x00 ~~ 0x08(only for CN470, AU915,US915. Others are0x00)
245 245  
246 -(% style="color:#037691" %)**BAT:**(%%) shows the battery voltage for TrackerD.
241 +**BAT**: shows the battery voltage for TrackerD.
247 247  
243 +Ex1: 0x0B3A = 2874mV
248 248  
249 -(% style="color:#037691" %)**Ex1:**(%%) 0x0FA2 = 4002mV
250 -
251 251  Use can also get the Device Status uplink through the downlink command:
252 252  
253 -TrackerD Model:0x40
254 254  
255 -(% border="1.5" style="background-color:#ffffcc; color:green; width:314px" %)
256 -|(% style="width:75px" %)**Size(bit)**|(% style="width:64px" %)2bits|(% style="width:88px" %)2bit|(% style="width:84px" %)4bit
257 -|(% style="width:75px" %)**Value**|(% style="width:64px" %)SMOD|(% style="width:88px" %)GPS_MOD|(% style="width:84px" %)BLE_MOD
248 +=== 2.3.2 Uplink FPORT~=2, Realtime GNSS Positioning + Temperature & Humidity ===
258 258  
259 -(% style="color:blue" %)**SMOD:**
260 260  
261 -(% style="color:red" %)**1 :** (%%) GPS ONLY
251 +(User can use AT+SMOD=1,0 to enable uploading on-board Temperature and humidity value, and total payload will be 15 bytes, please note 15 bytes won't work on DR0 on US915/AU915 frequency band. )
262 262  
263 -(% style="color:red" %)**2 :** (%%) BLE ONLY
264 264  
265 -(% style="color:red" %)**3 :**  (%%) GPS/BLE Hybrid
266 -
267 -
268 -(% style="color:blue" %)**GPS MOD:**
269 -
270 -(% style="color:red" %)**0 : ** (%%) Enable uploading on-board Temperature and humidity values
271 -
272 -(% style="color:red" %)**1 :** (%%) Disable uploading on-board Temperature and humidity values
273 -
274 -
275 -(% style="color:blue" %)**BLE MOD:**
276 -
277 -(% style="color:red" %)**1: ** (%%) BLE Positioning with Strongest iBeacon
278 -
279 -TrackerD Status:  0x02
280 -
281 -(% border="1.5" style="background-color:#ffffcc; color:green; width:345px" %)
282 -|(% style="width:77px" %)**Size(bit)**|(% style="width:91px" %)1bits|(% style="width:48px" %)1bit|(% style="width:126px" %)1bit
283 -|(% style="width:77px" %)**Value**|(% style="width:91px" %)PNACKMD|(% style="width:48px" %)LON|(% style="width:126px" %)Transport** **Mode
284 -
285 -(% style="color:red" %)**0 : **(%%) Transport Mode
286 -
287 -(% style="color:red" %)**1 :  **(%%) AT+LON
288 -
289 -(% style="color:red" %)**2 : **(%%) Datalog Enable/Disable
290 -
291 -
292 -
293 -=== 2.4.2 Uplink FPORT~=2, Realtime GNSS Positioning + Temperature & Humidity ===
294 -
295 -
296 -User can use **AT+SMOD=1,0** to enable uploading on-board Temperature and humidity values, and the total payload will be 15 bytes, please note that 15 bytes won't work on DR0 on US915/AU915 frequency band.
297 -
298 -
299 299  (% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:480px" %)
300 300  |=(% scope="row" style="width: 50px;" %)(((
301 301  **Size(bytes)**
... ... @@ -308,7 +308,7 @@
308 308  [[Alarm & BAT>>||anchor="HAlarm26BAT:"]]
309 309  )))|(% style="width:73px" %)[[FLAG>>||anchor="HFLAG:"]]|(% style="width:40px" %)[[Hum>>||anchor="HHum:"]]|(% style="width:87px" %)[[Tem>>||anchor="HTem:"]]
310 310  
311 -[[image:1665301636888-168.png]]
266 +[[image:1664501958445-288.png]]
312 312  
313 313  
314 314  ==== (% style="color:blue" %)**Alarm & BAT:**(%%) ====
... ... @@ -320,8 +320,8 @@
320 320  ==== (% style="color:blue" %)**FLAG:**(%%) ====
321 321  
322 322  (% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:250px" %)
323 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)2bits|(% style="width:50px" %)1bit
324 -|=(% style="width: 79px;" %)**Value**|(% style="width:55px" %)[[MOD>>||anchor="H3.2.7SetPositioningMode"]]|(% style="width:47px" %)[[LON>>||anchor="HLON:"]]
278 +|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)2bits|(% style="width:50px" %)1bit|(% style="width:100px" %)5 bits
279 +|=(% style="width: 79px;" %)**Value**|(% style="width:55px" %)[[MOD>>||anchor="H3.2.7SetPositioningMode"]]|(% style="width:47px" %)[[LON>>||anchor="HLON:"]]|(% style="width:140px" %)Firmware version 
325 325  
326 326  **Example:** Payload: 0x02863D68 FAC29BAF 4B45 60 0202 011A 
327 327  
... ... @@ -335,14 +335,15 @@
335 335  
336 336  1.  When power is low (<2.84v), GPS won't be able to get location info and GPS feature will be disabled and the location field will be filled with 0x0FFFFFFF, 0x0FFFFFFF.
337 337  
338 -2.  In this mode, the total payload will be 15 bytes, while US915/AU915 DR0 accepts only 11 bytes payload. In this case, the payload on server will be ignore and shows as below:
293 +2.  When enable 9-axis motion sensor, the total payload will be 15 bytes, while US915/AU915 DR0 accepts only 11 bytes payload. In this case, the payload on server will be ignore and shows as below:
339 339  
340 340  
341 341  [[image:1664502116362-706.png]]
342 342  
343 343  
344 -3.  While GPS can't get location info after timeout(FTIME Parameter), the latitude and longitude will be filled with all 0x00:
345 345  
300 +4.  While GPS can't get location info after timeout(FTIME Parameter), the latitude and longitude will be filled with all 0x00:
301 +
346 346  [[image:1664502166010-515.png]]
347 347  
348 348  
... ... @@ -357,7 +357,7 @@
357 357  Example:  0x0CDD & 0x3FFF ⇒ 3293 (mV).
358 358  
359 359  (((
360 -The battery info shows the battery voltage, User can use the below mapping to indicate the battery in percentage: \
316 +The battery info shows the current voltage, for (% style="color:blue" %)**TrackerD**(%%) version which powered by li-on battery. User can use below mapping to indicate the battery in percentage: \
361 361  )))
362 362  
363 363  * > 4.0v :  80% ~~ 100%
... ... @@ -389,10 +389,8 @@
389 389  011A =if (0x011A & 0x8000 = 1 ):  value =( 0x011A - 0x10000)/10(dec) ⇒ -//28.2 degree//
390 390  
391 391  
348 +=== 2.3.3  Uplink FPORT~=3, Realtime GNSS Positioning (Default Mode) ===
392 392  
393 -=== 2.4.3  Uplink FPORT~=3, Realtime GNSS Positioning (Default Mode) ===
394 -
395 -
396 396  The default uplink payload includes totally 11 bytes. The payload is the first 11 bytes of Uplink FPORT=2, real-time GNSS positioning, (remove the temp and humidity)
397 397  
398 398  
... ... @@ -404,37 +404,17 @@
404 404  [[Alarm & BAT>>||anchor="HAlarm26BAT:"]]
405 405  )))|(% style="width:73px" %)[[FLAG>>||anchor="HFLAG:"]]
406 406  
407 -(% class="wikigeneratedid" %)
408 -[[image:1665301687277-443.png]]
409 409  
410 410  
363 +=== 2.3.  Uplink FPORT~= , History GNSS Positioning ===
411 411  
412 -=== 2.4.4  Uplink FPORT~=4, History GNSS Positioning ===
413 413  
414 414  
415 -Set [[PNACKMD=1>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H4.13AutoSendNone-ACKmessages]], and TrackerD will wait for ACK for every uplink, when there is no LoRaWAN network, TrackerD 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.
367 +=== 2.3.4 BLE positioning Payload(Fport2) ===
416 416  
417 417  
418 -(% style="color:red" %)**Note for this mode:**
370 +Different MODE has different payload:  (% style="color:blue" %)**MODE=2**
419 419  
420 -* a) TrackerD will do an ACK check for data records sending to make sure every data arrive server.
421 -* b) TrackerD will send data in (% style="color:blue" %)**CONFIRMED Mode**(%%) when PNACKMD=1, but TrackerD 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 TrackerD gets an ACK, TrackerD will consider there is a network connection and resend all NONE-ACK Messages.
422 -
423 -The payload is 15 bytes, as below.
424 -
425 -(% border="1.5" style="background-color:#ffffcc; color:green; width:520px" %)
426 -|=(% scope="row" %)(((
427 -**Size(bytes)**
428 -)))|4|4|2|1|1|1|1|1
429 -|=**Value**|Latitude|Longitude|Year|Month|Day|Hous|Min|Sen
430 -
431 -[[image:image-20221009160309-2.png]]
432 -
433 -
434 -
435 -=== 2.4.5  Uplink FPORT~=6, BLE Positioning with Strongest iBeacon ===
436 -
437 -
438 438  (% border="1.5" cellspacing="3" style="background-color:#ffffcc; color:green; width:450px" %)
439 439  |=(% scope="row" style="width: 60px;" %)(((
440 440  **Size(bytes)**
... ... @@ -462,7 +462,7 @@
462 462  * (% style="color:#037691" %)**Measured Power: ** (%%) The Measured Power from the strongest iBeacon.
463 463  * (% style="color:#037691" %)**RSSI:  ** (%%) The RSSI from the strongest iBeacon.
464 464  
465 -=== 2.4. Add Payload format in TTN V3 ===
399 +=== 2.3.5 Add Payload format in TTN V3 ===
466 466  
467 467  
468 468  In TTN V3, use can add a custom payload so it shows friendly.
... ... @@ -482,7 +482,7 @@
482 482  
483 483  
484 484  
485 -== 2.5 Integrate with Datacake ==
419 +== 2.4 Integrate with Datacake ==
486 486  
487 487  
488 488  (((
... ... @@ -498,7 +498,7 @@
498 498  
499 499  
500 500  
501 -== 2.6 Integrate with Tago ==
435 +== 2.5 Integrate with Tago ==
502 502  
503 503  
504 504  (((
... ... @@ -514,24 +514,12 @@
514 514  
515 515  
516 516  
517 -== 2. Datalog Feature ==
451 +== 2.6 Datalog Feature ==
518 518  
519 519  
520 -total 273 entries,by default disable
454 +== 2.6 Alarm Mode ==
521 521  
522 522  
523 -Example use case.
524 -
525 -[[image:image-20221009234703-2.png||height="328" width="899"]]
526 -
527 -
528 -[[image:image-20221009234629-1.png||height="390" width="577"]]
529 -
530 -
531 -
532 -== 2.8 Alarm Mode ==
533 -
534 -
535 535  (((
536 536  User can push the (% style="color:red" %)**RED button**(%%) by more than 5 seconds to enter Alarm Mode.
537 537  )))
... ... @@ -555,16 +555,15 @@
555 555  
556 556  
557 557  
558 -== 2.9 Transport Mode ==
480 +== 2.7 Transport Mode ==
559 559  
560 560  
561 561  In Transport Mode, TrackerD will check if there is motion. If there is no motion, device will send uplinks every 20 minutes. If there is motion, device will send uplink every 5 minutes.
562 562  
563 563  
486 +== 2.8 LED Status ==
564 564  
565 -== 2.10 LED Status ==
566 566  
567 -
568 568  (% border="1.5" style="background-color:#ffffcc; color:green; width:500px" %)
569 569  |=(% style="width: 150px;" %)**Event**|=(% style="width: 200px;" %)**Action**|=(% style="width: 150px;" %)**AT+LON to control on/off**
570 570  |(% style="width:157px" %)**Power On**|(% style="width:271px" %)(% style="color:blue" %)**BLUE, **(% style="color:red" %)**RED , **(% style="color:green" %)**Green** flash once|(% style="width:202px" %)N/A
... ... @@ -579,7 +579,7 @@
579 579  |(% style="width:157px" %)**Get Downlink**|(% style="width:271px" %)(% style="color:green" %)**GREEN**(%%) led on 1 second|(% style="width:202px" %)Yes
580 580  |(% style="width:157px" %)**Movement Detect**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)led on 500ms|(% style="width:202px" %)N/A
581 581  
582 -== 2.11 Button Function ==
503 +== 2.9 Button Function ==
583 583  
584 584  
585 585  (% style="color:blue" %)**RESET button:**
... ... @@ -600,7 +600,7 @@
600 600  |(% style="width:135px" %)Exit Alarm Mode|(% style="width:220px" %)Fast press the (% style="color:red" %)**RED** (%%)button 10 times|(% style="width:265px" %)Exit Alarm Mode
601 601  |(% style="width:135px" %)Enter Deep Sleep Mode|(% style="width:220px" %)Press and hold the button for 10 seconds, then quickly press the device 3 times to enter deep sleep|(% style="width:265px" %)This is the mode ship out from factory. CPU will be complete in sleep mode and no LoRa activity, only use before deploy.
602 602  
603 -== 2.12 USB Port Function ==
524 +== 2.10 USB Port Function ==
604 604  
605 605  
606 606  The USB interface of TrackerD has below functions:
... ... @@ -757,25 +757,9 @@
757 757  
758 758  * (% style="color:blue" %)**AT Command:**
759 759  
760 -(% style="color:#037691" %)**AT+SMOD=aa,bb**
681 +(% style="color:#037691" %)**AT+SMOD=xx. **
761 761  
762 -(% style="color:#037691" %)** aa:**
763 763  
764 -* (% style="color:#037691" %)**1: GPS ONLY(Factory Settings):    **(%%)only get and uplink GPS location info.
765 -* (% style="color:#037691" %)**2: BLE ONLY:              **(%%)Only obtain iBeacon info via BLE and uplink. Design for Indoor tracking.
766 -* (% style="color:#037691" %)**3: GPS/BLE Hybrid:   **(%%)Combination for Indoor and Outdoor tracking.Devices will try to search BLE iBeacon first. If device can't find the iBeacon, it will use GPS for positioning
767 -
768 -(% style="color:#037691" %)**bb:**
769 -
770 -(% style="color:#037691" %)** if aa = 1: **
771 -
772 -* (% style="color:#037691" %)**0 :  **(%%)GPS+ BAT+ State+Tem&Hum
773 -* (% style="color:#037691" %)**1 :**(%%)  GPS +BAT State
774 -
775 -(% style="color:#037691" %)** if aa = 2: **
776 -
777 -* (% style="color:#037691" %)**3 :  **(%%)(iBeacon)UUID+ Major + Minor+Power+Rssi+BAT+State
778 -
779 779   **Example:**
780 780  
781 781   AT+ SMOD =1,0  **~-~-> ** GPS+ BAT+ State+Tem&Hum
... ... @@ -782,7 +782,7 @@
782 782  
783 783   AT+ SMOD =1,1    **~-~->**  GPS +BAT State
784 784  
785 - AT+ SMOD =2,3    **~-~->**  (iBeacon)UUID+ Major + Minor+Power+Rssi+BAT+State
690 + AT+ SMOD =2,3    **~-~->**  (iBeacon)UUID+ Major + Minor+Power+Rssi+BAT+State
786 786  
787 787  
788 788  * (% style="color:blue" %)**Downlink Payload (prefix 0xA5):**
... ... @@ -813,7 +813,7 @@
813 813  
814 814  
815 815  
816 -=== 3.2.9 Set PDOP value for GPS fix accuracy ===
721 +=== 3.3.9 Set PDOP value for GPS fix accuracy ===
817 817  
818 818  
819 819  PDOP(Position Dilution of Precision) filter, TrackerD will only accept GPS data with a lower PDOP value than pre-configure PDOP value. If device can't get a valid GPS packet within FTIME timeout, it will use the GPS data with lowest PDOP value to server.
... ... @@ -899,7 +899,7 @@
899 899  
900 900  (% style="color:blue" %)**Step5:** (%%) Select the firmware file (.bin format), com port and proper SPI configure. Clink Start. Bin file location:
901 901  
902 -[[https:~~/~~/github.com/dragino/TrackerD/releases>>https://github.com/dragino/TrackerD/releases]]
807 +[[https:~~/~~/www.dropbox.com/sh/733s8xlwahhqg1d/AABxDz80lBVX_to8zNuUQWFja?dl=0>>url:https://www.dropbox.com/sh/733s8xlwahhqg1d/AABxDz80lBVX_to8zNuUQWFja?dl=0]]
903 903  
904 904  
905 905  Users need to use below files:
... ... @@ -936,7 +936,6 @@
936 936  [[image:1664503635019-941.png]]
937 937  
938 938  
939 -
940 940  * (% style="color:#037691" %)**Go to tools ~-~-> Boards ~-~-> Boards Manager**,(%%) **find the esp32 information and install it.**
941 941  
942 942  [[image:1664503715811-892.png]]
1665301570342-765.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -31.6 KB
Content
1665301636888-168.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -36.6 KB
Content
1665301687277-443.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -22.6 KB
Content
1665301786397-168.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -22.6 KB
Content
image-20221009160220-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -46.4 KB
Content
image-20221009160309-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -57.2 KB
Content
image-20221009234629-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -222.9 KB
Content
image-20221009234703-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -136.4 KB
Content