Last modified by Xiaoling on 2023/12/27 09:15

From version 187.1
edited by Edwin Chen
on 2022/12/21 10:06
Change comment: There is no comment for this version
To version 197.1
edited by Bei Jinggeng
on 2023/03/07 14:00
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Bei
Content
... ... @@ -37,7 +37,7 @@
37 37  TrackerD is equipped with a (% style="color:blue" %)**1000mAh Li-on rechargeable battery**(%%). Each TrackerD has a worldwide unique OTAA keys to join the LoRaWAN network.
38 38  )))
39 39  
40 -[[image:1664499921684-770.png||_mstalt="298194"]]
40 +[[image:image-20230213110119-1.png||height="382" width="834"]]
41 41  
42 42  
43 43  (% style="color:red" %)**Note: LoRaWAN server can be a general LoRaWAN server other than TTN.**
... ... @@ -134,7 +134,7 @@
134 134  Here is an example for how to join the [[TTNv3 LoRaWAN Network>>url:https://eu1.cloud.thethings.network]]. Below is the network structure, we use LPS8N as LoRaWAN gateway in this example. 
135 135  
136 136  
137 -[[image:1664501652064-326.png||_mstalt="293306"]]
137 +[[image:image-20230213110214-2.png||height="388" width="847"]]
138 138  
139 139  
140 140  
... ... @@ -206,7 +206,7 @@
206 206  
207 207  
208 208  (% border="1.5" style="background-color:#ffffcc; color:green; width:440px" %)
209 -|=(% style="width: 60px;" %)**Size(bytes)**|=(% style="width: 70px;" %)**1**|=(% style="width: 70px;" %)**2**|=(% style="width: 70px;" %)**1**|=(% style="width: 50px;" %)**1**|=(% style="width: 30px;" %)2|=(% style="width: 40px;" %)**2**|=(% style="width: 40px;" %)1
209 +|=(% style="width: 60px;" %)**Size(bytes)**|=(% style="width: 70px;" %)**1**|=(% style="width: 70px;" %)**2**|=(% style="width: 70px;" %)**1**|=(% style="width: 50px;" %)**1**|=(% style="width: 30px;" %)2|=(% style="width: 40px;" %)1|=(% style="width: 40px;" %)1
210 210  |=(% 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
211 211  
212 212  [[image:1665301570342-765.png||_mstalt="294580"]]
... ... @@ -253,7 +253,7 @@
253 253  (% style="color:#037691" %)**SMOD Field (total 1 byte)**(%%):0x40
254 254  
255 255  (% border="1.5" style="background-color:#ffffcc; color:green; width:270px" %)
256 -|=(% scope="row" style="width: 60px;" %)**Size(bit)**|(% style="width:50px" %)2bits|(% style="width:80px" %)2bit|(% style="width:80px" %)4bit
256 +|=(% scope="row" style="width: 60px;" %)**Size(bit)**|(% style="width:50px" %)1bits|(% style="width:80px" %)2bit|(% style="width:80px" %)4bit
257 257  |=(% style="width: 75px;" %)**Value**|(% style="width:64px" %)SMOD|(% style="width:104px" %)GPS_Settings|(% style="width:103px" %)BLE_Settings
258 258  
259 259  (% style="color:blue" %)** SMOD:**
... ... @@ -281,9 +281,9 @@
281 281  
282 282  (% style="color:#037691" %)**Status Field (total 1 byte)**(%%):  0x02
283 283  
284 -(% border="1.5" style="background-color:#ffffcc; color:green; width:260px" %)
285 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)5 Bits|(% style="width:60px" %)1 Bit|(% style="width:20px" %)1 Bit|(% style="width:80px" %)1 Bit
286 -|=(% style="width: 77px;" %)**Value**|(% style="width:70px" %)Reserve|(% style="width:92px" %)[[PNACKMD>>||anchor="H2.4.4A0UplinkFPORT3D42CHistoryGNSSPositioning"]]|(% style="width:48px" %)[[LON>>||anchor="H3.2.5Disable2FEnableLEDflash"]]|(% style="width:126px" %)[[Transport Mode>>||anchor="H2.9TransportMode"]]
284 +(% border="1.5" style="background-color:#ffffcc; color:green; width:412.222px" %)
285 +|=(% scope="row" style="width: 75px;" %)**Size(bit)**|(% style="width:68px" %)5 Bits|(% style="width:87px" %)1 Bit|(% style="width:49px" %)1 Bit|(% style="width:126px" %)1 Bit
286 +|=(% style="width: 75px;" %)**Value**|(% style="width:68px" %)Reserve|(% style="width:87px" %)[[PNACKMD>>||anchor="H2.4.4A0UplinkFPORT3D42CHistoryGNSSPositioning"]]|(% style="width:49px" %)[[LON>>||anchor="H3.2.5Disable2FEnableLEDflash"]]|(% style="width:126px" %)[[Transport Mode>>||anchor="H2.9TransportMode"]]
287 287  
288 288  
289 289  === 2.4.2 Uplink FPORT~=2, Realtime GNSS Positioning + Temperature & Humidity ===
... ... @@ -309,15 +309,15 @@
309 309  
310 310  ==== (% style="color:blue" %)**Alarm & BAT:**(%%) ====
311 311  
312 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:250px" %)
313 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width:80px" %)1bit|(% style="width:50px" %)14bits
314 -|=(% style="width: 72px;" %)**Value**|(% style="width:67px" %)reserve|(% style="width:118px" %)Alarm Indicate|(% style="width:63px" %)[[BAT>>||anchor="HBAT:"]] 
312 +(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:279.222px" %)
313 +|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width:69px" %)1 bit|(% style="width:63px" %)14 bits
314 +|=(% style="width: 72px;" %)**Value**|(% style="width:67px" %)reserve|(% style="width:69px" %)Alarm Indicate|(% style="width:63px" %)[[BAT>>||anchor="HBAT:"]] 
315 315  
316 316  ==== (% style="color:blue" %)**FLAG:**(%%) ====
317 317  
318 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:120px" %)
319 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:30px" %)2bits|(% style="width:30px" %)1bit
320 -|=(% style="width: 79px;" %)**Value**|(% style="width:55px" %)[[MOD>>||anchor="H3.2.7SetPositioningMode"]]|(% style="width:47px" %)[[LON>>||anchor="HLON:"]]
318 +(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:183.222px" %)
319 +|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:30px" %)2 bits|(% style="width:52px" %)1 bit
320 +|=(% style="width: 79px;" %)**Value**|(% style="width:55px" %)[[MOD>>||anchor="H3.2.7SetPositioningMode"]]|(% style="width:52px" %)[[LON>>||anchor="HLON:"]]
321 321  
322 322  **Example:** Payload: 0x02863D68 FAC29BAF 4B45 60 0202 011A 
323 323  
... ... @@ -362,7 +362,9 @@
362 362  * 3.40v ~~ 3.69v:  20% ~~ 40%
363 363  * < 3.39v:  0~~20%
364 364  
365 +(% style="display:none" %) (%%)
365 365  
367 +
366 366  ==== (% style="color:blue" %)**MOD:**(%%) ====
367 367  
368 368  **Example: ** (0x60>>6) & 0x3f =1
... ... @@ -479,10 +479,32 @@
479 479  * (% style="color:#037691" %)**Measured Power: ** (%%) The Measured Power from the strongest iBeacon.
480 480  * (% style="color:#037691" %)**RSSI:  ** (%%) The RSSI from the strongest iBeacon.
481 481  
484 +(% style="display:none" %) (%%)
482 482  
483 -=== 2.4.6  Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) ===
484 484  
487 +=== 2.4.6  Uplink FPORT~=7, Alarm information status(Since firmware 1.4.4) ===
485 485  
489 +
490 +The upward link device is configured to FPORT = 7. Once Trackerd alarm, it will upload the news to the server.
491 +
492 +(% border="1.5" cellspacing="3" style="background-color:#ffffcc; color:green; width:450px" %)
493 +|**Size(bytes)**|2|1
494 +|**Value**|[[Alarm & BAT>>path:#HAlarm26BAT:]]|Mod+lon
495 +
496 + [[image:image-20230302145315-1.png]]
497 +
498 +alarm=(bytes[0] & 0x40)  ~/~/ Alarm status
499 +
500 +batV=~(~(~(bytes[0] & 0x3f) <<8) | bytes[1])/1000;  ~/~/ Battery,units:V
501 +
502 +mod = bytes[2] & 0xC0;
503 +
504 +Lon=(bytes[2] & 0x20)
505 +
506 +
507 +=== 2.4.7  Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) ===
508 +
509 +
486 486  TrackerD supports WiFi scans for indoor positioning. User can set [[**SMOD**>>||anchor="H3.2.7SetPositioningMode"]] to **WiFi** so TrackerD will scan WiFi and find the strongest WiFi info and uplink.
487 487  
488 488  
... ... @@ -502,10 +502,12 @@
502 502  * (% style="color:#037691" %)**SSID:      **(%%)WiFi name.
503 503  * (% style="color:#037691" %)**RSSI:      **(%%)The RSSI from the strongest WiFi.
504 504  
529 +(% style="display:none" %) (%%)
505 505  
506 -=== 2.4.7  Add Payload format in TTN V3 ===
507 507  
532 +=== 2.4.8  Add Payload format in TTN V3 ===
508 508  
534 +
509 509  In TTN V3, user can add a custom payload so it shows friendly.
510 510  
511 511  In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder**
... ... @@ -546,9 +546,30 @@
546 546  [[image:1664502715371-321.png||_mstalt="292162"]]
547 547  
548 548  
549 -== 2.7  Datalog Feature ==
575 +== 2.7  Integrate with Node-red ==
550 550  
577 +~1. Install node-red, please refer to the installation method in the link:
551 551  
579 + [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H1.A0Installation>>http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H1.A0Installation]]
580 +2. Import the created flow template, please refer to the import method in the link:
581 +
582 + [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H3.A0Importsampleflow>>http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H3.A0Importsampleflow]]
583 + The address of the flow template:
584 +
585 + [[dragino-end-node-decoder/TrackerD.json at main · dragino/dragino-end-node-decoder · GitHub>>url:https://github.com/dragino/dragino-end-node-decoder/blob/main/Node-RED/TrackerD.json]]
586 +
587 +Note: If you are using NODE-RED for the first time, please search and install the two plug-ins in the figure below in node-red to fully use the flow template
588 +
589 +[[image:image-20230307135914-1.png||height="527" width="1045"]]
590 +
591 +[[image:image-20230307135932-2.png||height="527" width="1044"]]
592 +
593 +(% class="wikigeneratedid" %)
594 +== ==
595 +
596 +== 2.8  Datalog Feature ==
597 +
598 +
552 552  total 273 entries,by default,
553 553  
554 554  User can set [[PNACKMD=1>>||anchor="H3.2.11A0AutoSendNone-ACKmessages"]], to enable Datalog feature.
... ... @@ -561,7 +561,7 @@
561 561  [[image:image-20221009234629-1.png||_mstalt="431145" height="390" width="577"]]
562 562  
563 563  
564 -== 2.8 Alarm Mode ==
611 +== 2. Alarm Mode ==
565 565  
566 566  
567 567  (((
... ... @@ -586,7 +586,7 @@
586 586  )))
587 587  
588 588  
589 -== 2.9 Transport Mode ==
636 +== 2.10  Transport Mode ==
590 590  
591 591  
592 592  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.
... ... @@ -595,10 +595,12 @@
595 595  * **[[TDC>>||anchor="H3.2.1SetTransmitInterval"]]** defines the uplink interval when TrackerD is stactic.
596 596  * **[[PT>>||anchor="H3.2.16GetorSetThresholdformotiondetectFF08Sincefirmware1.4.3FF09"]]** defines the threldhold to detect a motion.
597 597  
645 +(% style="display:none" %) (%%)
598 598  
599 -== 2.10 LED Status ==
600 600  
648 +== 2.11  LED Status ==
601 601  
650 +
602 602  (% border="1.5" style="background-color:#ffffcc; width:500px" %)
603 603  |=(% style="width: 150px;" %)**Event**|=(% style="width: 200px;" %)**Action**|=(% style="width: 150px;" %)**AT+LON to control on/off**
604 604  |(% 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
... ... @@ -613,10 +613,12 @@
613 613  |(% style="width:157px" %)**Get Downlink**|(% style="width:271px" %)(% style="color:green" %)**GREEN**(%%) led on 1 second|(% style="width:202px" %)Yes
614 614  |(% style="width:157px" %)**Movement Detect**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)led on 500ms|(% style="width:202px" %)N/A
615 615  
665 +(% style="display:none" %) (%%)
616 616  
617 -== 2.11 Button Function ==
618 618  
668 +== 2.12  Button Function ==
619 619  
670 +
620 620  (% style="color:blue" %)**RESET button:**
621 621  
622 622  [[image:1664502835802-546.png||_mstalt="295061"]]
... ... @@ -626,8 +626,9 @@
626 626  
627 627  (% style="color:red" %)**RED button:**
628 628  
629 -[[image:1664502854406-763.png||_mstalt="295568"]]
680 +[[image:image-20230213110506-3.png]](% style="display:none" %)
630 630  
682 +(% style="display:none" %) (%%)
631 631  
632 632  (% border="1" style="background-color:#ffffcc; width:510px" %)
633 633  |=(% style="width: 100px;" %)**Function**|=(% style="width: 205px;" %)**Action**|=(% style="width: 205px;" %)**Description**
... ... @@ -635,10 +635,12 @@
635 635  |(% 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
636 636  |(% 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.
637 637  
690 +(% style="display:none" %) (%%)
638 638  
639 -== 2.12 USB Port Function ==
640 640  
693 +== 2.13  USB Port Function ==
641 641  
695 +
642 642  The USB interface of TrackerD has below functions:
643 643  
644 644  * Power on the device
... ... @@ -646,7 +646,9 @@
646 646  * [[Configure Device>>||anchor="H3.ConfigureTrackerDviaATcommandorLoRaWANdownlink"]]
647 647  * [[Upgrade Firmware>>||anchor="H5.UploadFirmware"]]
648 648  
703 +(% style="display:none" %) (%%)
649 649  
705 +
650 650  = 3. Configure TrackerD via AT command or LoRaWAN downlink =
651 651  
652 652  
... ... @@ -675,6 +675,7 @@
675 675  
676 676  [[image:1664503047675-651.png||_mstalt="295386"]]
677 677  
734 +(% style="display:none" %) (%%)
678 678  
679 679  == 3.2 Command Set ==
680 680  
... ... @@ -741,7 +741,7 @@
741 741  (% style="color:#037691" %)**0x02 01**    (%%) ~/~/  Exit Alarm Mode
742 742  
743 743  
744 -=== 3.2.5 Disable/Enable LED flash ===
801 +=== 3.2.5 Disable/Enable LED flash and buzzer ===
745 745  
746 746  
747 747  Disable/Enable LED for position, downlink and uplink
... ... @@ -1098,6 +1098,7 @@
1098 1098  (% style="color:red" %)**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03.
1099 1099  Don't quit halfway.~~! If you quit halfway, there is a high probability that it will freeze, and you will need to download again next time. (If you click to continue downloading, an error will be reported after completion)**
1100 1100  
1158 +
1101 1101  Then enter a long waiting process. If you don't want to wait, you can go to the Internet to download directly, and then import:
1102 1102  
1103 1103  (% style="color:blue" %)**Methods as below:**
... ... @@ -1191,7 +1191,9 @@
1191 1191  |(% style="width:118px" %)A8|(% style="width:67px" %)Yellow|(% style="width:123px" %)MTMS/GPIO14
1192 1192  |(% style="width:118px" %)B8|(% style="width:67px" %)Grey|(% style="width:123px" %)MTDO/GPIO15
1193 1193  
1252 +(% style="display:none" %) (%%)
1194 1194  
1254 +
1195 1195  == 7.3 Notes on using different serial port tools for TrackerD ==
1196 1196  
1197 1197  === 7.3.1  Serial port utility ===
... ... @@ -1277,7 +1277,9 @@
1277 1277  == 7.5 Are there example python example for BLE Indoor Positioning? ==
1278 1278  
1279 1279  
1340 +[[Operating instructions for BLE indoor positioning>>doc:.Example of BLE indoor positioning python.WebHome]]
1280 1280  
1342 +
1281 1281  = 8  Trouble Shooting =
1282 1282  
1283 1283  == 8.1  TDC is changed to 4294947296 and cause no uplink. ==
... ... @@ -1419,7 +1419,7 @@
1419 1419  [[image:image-20221128111443-4.png||height="432" width="546"]]
1420 1420  
1421 1421  
1422 -Use AT+FDR command to reset and then use AT+CFG to check whether the configuration is back to normal
1484 +Use **AT+FDR** command to reset and then use **AT+CFG** to check whether the configuration is back to normal
1423 1423  
1424 1424  [[image:image-20221128111850-5.png]]
1425 1425  
... ... @@ -1463,7 +1463,9 @@
1463 1463  
1464 1464  * (% style="color:red" %)**US915**(%%): Default frequency band US915
1465 1465  
1528 +(% style="display:none" %) (%%)
1466 1466  
1530 +
1467 1467  = 10.  Packing Info =
1468 1468  
1469 1469  
... ... @@ -1479,7 +1479,9 @@
1479 1479  
1480 1480  * Weight: 50g
1481 1481  
1546 +(% style="display:none" %) (%%)
1482 1482  
1548 +
1483 1483  = 11. Support =
1484 1484  
1485 1485  
... ... @@ -1487,7 +1487,9 @@
1487 1487  
1488 1488  * 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.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]].
1489 1489  
1556 +(% style="display:none" %) (%%)
1490 1490  
1558 +
1491 1491  = 12.  Reference =
1492 1492  
1493 1493  
... ... @@ -1496,4 +1496,6 @@
1496 1496  * **[[Source Code>>https://github.com/dragino/TrackerD]] **
1497 1497  
1498 1498  * [[**Hardware Source**>>https://www.dropbox.com/sh/orwoy6cecb89m4e/AAD37sRuUrvKsHgAJxuVTkB5a?dl=0]]
1567 +
1568 +
1499 1499  )))
image-20230213110119-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +182.3 KB
Content
image-20230213110214-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +182.3 KB
Content
image-20230213110506-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +19.8 KB
Content
image-20230302145315-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +35.1 KB
Content
image-20230307135914-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +131.8 KB
Content
image-20230307135932-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +109.7 KB
Content