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

From version 184.2
edited by Xiaoling
on 2022/12/13 14:34
Change comment: There is no comment for this version
To version 198.2
edited by Xiaoling
on 2023/03/07 16:39
Change comment: There is no comment for this version

Summary

Details

Page properties
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.**
... ... @@ -137,7 +137,7 @@
137 137  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. 
138 138  
139 139  
140 -[[image:1664501652064-326.png||_mstalt="293306"]]
140 +[[image:image-20230213110214-2.png||height="388" width="847"]]
141 141  
142 142  
143 143  
... ... @@ -209,7 +209,7 @@
209 209  
210 210  
211 211  (% border="1.5" style="background-color:#ffffcc; color:green; width:440px" %)
212 -|=(% 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
212 +|=(% 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
213 213  |=(% 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
214 214  
215 215  [[image:1665301570342-765.png||_mstalt="294580"]]
... ... @@ -256,7 +256,7 @@
256 256  (% style="color:#037691" %)**SMOD Field (total 1 byte)**(%%):0x40
257 257  
258 258  (% border="1.5" style="background-color:#ffffcc; color:green; width:270px" %)
259 -|=(% scope="row" style="width: 60px;" %)**Size(bit)**|(% style="width:50px" %)2bits|(% style="width:80px" %)2bit|(% style="width:80px" %)4bit
259 +|=(% scope="row" style="width: 60px;" %)**Size(bit)**|(% style="width:50px" %)1bits|(% style="width:80px" %)2bit|(% style="width:80px" %)4bit
260 260  |=(% style="width: 75px;" %)**Value**|(% style="width:64px" %)SMOD|(% style="width:104px" %)GPS_Settings|(% style="width:103px" %)BLE_Settings
261 261  
262 262  (% style="color:blue" %)** SMOD:**
... ... @@ -284,9 +284,9 @@
284 284  
285 285  (% style="color:#037691" %)**Status Field (total 1 byte)**(%%):  0x02
286 286  
287 -(% border="1.5" style="background-color:#ffffcc; color:green; width:260px" %)
288 -|=(% 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
289 -|=(% 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"]]
287 +(% border="1.5" style="background-color:#ffffcc; color:green; width:412.222px" %)
288 +|=(% 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
289 +|=(% 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"]]
290 290  
291 291  
292 292  
... ... @@ -313,15 +313,15 @@
313 313  
314 314  ==== (% style="color:blue" %)**Alarm & BAT:**(%%) ====
315 315  
316 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:250px" %)
317 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width:80px" %)1bit|(% style="width:50px" %)14bits
318 -|=(% style="width: 72px;" %)**Value**|(% style="width:67px" %)reserve|(% style="width:118px" %)Alarm Indicate|(% style="width:63px" %)[[BAT>>||anchor="HBAT:"]] 
316 +(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:279.222px" %)
317 +|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width:69px" %)1 bit|(% style="width:63px" %)14 bits
318 +|=(% style="width: 72px;" %)**Value**|(% style="width:67px" %)reserve|(% style="width:69px" %)Alarm Indicate|(% style="width:63px" %)[[BAT>>||anchor="HBAT:"]] 
319 319  
320 320  ==== (% style="color:blue" %)**FLAG:**(%%) ====
321 321  
322 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:120px" %)
323 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:30px" %)2bits|(% style="width:30px" %)1bit
324 -|=(% style="width: 79px;" %)**Value**|(% style="width:55px" %)[[MOD>>||anchor="H3.2.7SetPositioningMode"]]|(% style="width:47px" %)[[LON>>||anchor="HLON:"]]
322 +(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:183.222px" %)
323 +|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:30px" %)2 bits|(% style="width:52px" %)1 bit
324 +|=(% style="width: 79px;" %)**Value**|(% style="width:55px" %)[[MOD>>||anchor="H3.2.7SetPositioningMode"]]|(% style="width:52px" %)[[LON>>||anchor="HLON:"]]
325 325  
326 326  **Example:** Payload: 0x02863D68 FAC29BAF 4B45 60 0202 011A 
327 327  
... ... @@ -366,6 +366,9 @@
366 366  * 3.40v ~~ 3.69v:  20% ~~ 40%
367 367  * < 3.39v:  0~~20%
368 368  
369 +(% style="display:none" %) (%%)
370 +
371 +
369 369  ==== (% style="color:blue" %)**MOD:**(%%) ====
370 370  
371 371  **Example: ** (0x60>>6) & 0x3f =1
... ... @@ -482,11 +482,32 @@
482 482  * (% style="color:#037691" %)**Measured Power: ** (%%) The Measured Power from the strongest iBeacon.
483 483  * (% style="color:#037691" %)**RSSI:  ** (%%) The RSSI from the strongest iBeacon.
484 484  
488 +(% style="display:none" %) (%%)
485 485  
486 486  
487 -=== 2.4.6  Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) ===
491 +=== 2.4.6  Uplink FPORT~=7, Alarm information status(Since firmware 1.4.4) ===
488 488  
489 489  
494 +The upward link device is configured to FPORT = 7. Once Trackerd alarm, it will upload the news to the server.
495 +
496 +(% border="1.5" cellspacing="3" style="background-color:#ffffcc; color:green; width:450px" %)
497 +|**Size(bytes)**|2|1
498 +|**Value**|[[Alarm & BAT>>path:#HAlarm26BAT:]]|Mod+lon
499 +
500 + [[image:image-20230302145315-1.png]]
501 +
502 +alarm=(bytes[0] & 0x40)  ~/~/ Alarm status
503 +
504 +batV=~(~(~(bytes[0] & 0x3f) <<8) | bytes[1])/1000;  ~/~/ Battery,units:V
505 +
506 +mod = bytes[2] & 0xC0;
507 +
508 +Lon=(bytes[2] & 0x20)
509 +
510 +
511 +=== 2.4.7  Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) ===
512 +
513 +
490 490  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.
491 491  
492 492  
... ... @@ -506,9 +506,10 @@
506 506  * (% style="color:#037691" %)**SSID:      **(%%)WiFi name.
507 507  * (% style="color:#037691" %)**RSSI:      **(%%)The RSSI from the strongest WiFi.
508 508  
533 +(% style="display:none" %) (%%)
509 509  
510 510  
511 -=== 2.4.7  Add Payload format in TTN V3 ===
536 +=== 2.4.8  Add Payload format in TTN V3 ===
512 512  
513 513  
514 514  In TTN V3, user can add a custom payload so it shows friendly.
... ... @@ -551,9 +551,30 @@
551 551  [[image:1664502715371-321.png||_mstalt="292162"]]
552 552  
553 553  
554 -== 2.7  Datalog Feature ==
579 +== 2.7  Integrate with Node-red ==
555 555  
556 556  
582 +~1. Install node-red, please refer to the installation method in the link:
583 +
584 + [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H1.A0Installation>>http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H1.A0Installation]]
585 +2. Import the created flow template, please refer to the import method in the link:
586 +
587 + [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H3.A0Importsampleflow>>http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H3.A0Importsampleflow]]
588 + The address of the flow template:
589 +
590 + [[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]]
591 +
592 +(% style="color:red" %)**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.**
593 +
594 +[[image:image-20230307135914-1.png||height="527" width="1045"]]
595 +
596 +
597 +[[image:image-20230307135932-2.png||height="527" width="1044"]]
598 +
599 +
600 +== 2.8  Datalog Feature ==
601 +
602 +
557 557  total 273 entries,by default,
558 558  
559 559  User can set [[PNACKMD=1>>||anchor="H3.2.11A0AutoSendNone-ACKmessages"]], to enable Datalog feature.
... ... @@ -566,7 +566,7 @@
566 566  [[image:image-20221009234629-1.png||_mstalt="431145" height="390" width="577"]]
567 567  
568 568  
569 -== 2.8 Alarm Mode ==
615 +== 2. Alarm Mode ==
570 570  
571 571  
572 572  (((
... ... @@ -591,7 +591,7 @@
591 591  )))
592 592  
593 593  
594 -== 2.9 Transport Mode ==
640 +== 2.10  Transport Mode ==
595 595  
596 596  
597 597  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.
... ... @@ -600,9 +600,10 @@
600 600  * **[[TDC>>||anchor="H3.2.1SetTransmitInterval"]]** defines the uplink interval when TrackerD is stactic.
601 601  * **[[PT>>||anchor="H3.2.16GetorSetThresholdformotiondetectFF08Sincefirmware1.4.3FF09"]]** defines the threldhold to detect a motion.
602 602  
649 +(% style="display:none" %) (%%)
603 603  
604 604  
605 -== 2.10 LED Status ==
652 +== 2.1 LED Status ==
606 606  
607 607  
608 608  (% border="1.5" style="background-color:#ffffcc; width:500px" %)
... ... @@ -619,9 +619,10 @@
619 619  |(% style="width:157px" %)**Get Downlink**|(% style="width:271px" %)(% style="color:green" %)**GREEN**(%%) led on 1 second|(% style="width:202px" %)Yes
620 620  |(% style="width:157px" %)**Movement Detect**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)led on 500ms|(% style="width:202px" %)N/A
621 621  
669 +(% style="display:none" %) (%%)
622 622  
623 623  
624 -== 2.11 Button Function ==
672 +== 2.1 Button Function ==
625 625  
626 626  
627 627  (% style="color:blue" %)**RESET button:**
... ... @@ -633,8 +633,9 @@
633 633  
634 634  (% style="color:red" %)**RED button:**
635 635  
636 -[[image:1664502854406-763.png||_mstalt="295568"]]
684 +[[image:image-20230213110506-3.png]](% style="display:none" %)
637 637  
686 +(% style="display:none" %) (%%)
638 638  
639 639  (% border="1" style="background-color:#ffffcc; width:510px" %)
640 640  |=(% style="width: 100px;" %)**Function**|=(% style="width: 205px;" %)**Action**|=(% style="width: 205px;" %)**Description**
... ... @@ -642,9 +642,10 @@
642 642  |(% 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
643 643  |(% 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.
644 644  
694 +(% style="display:none" %) (%%)
645 645  
646 646  
647 -== 2.12 USB Port Function ==
697 +== 2.1 USB Port Function ==
648 648  
649 649  
650 650  The USB interface of TrackerD has below functions:
... ... @@ -654,6 +654,7 @@
654 654  * [[Configure Device>>||anchor="H3.ConfigureTrackerDviaATcommandorLoRaWANdownlink"]]
655 655  * [[Upgrade Firmware>>||anchor="H5.UploadFirmware"]]
656 656  
707 +(% style="display:none" %) (%%)
657 657  
658 658  
659 659  = 3. Configure TrackerD via AT command or LoRaWAN downlink =
... ... @@ -684,6 +684,7 @@
684 684  
685 685  [[image:1664503047675-651.png||_mstalt="295386"]]
686 686  
738 +(% style="display:none" %) (%%)
687 687  
688 688  == 3.2 Command Set ==
689 689  
... ... @@ -750,7 +750,7 @@
750 750  (% style="color:#037691" %)**0x02 01**    (%%) ~/~/  Exit Alarm Mode
751 751  
752 752  
753 -=== 3.2.5 Disable/Enable LED flash ===
805 +=== 3.2.5 Disable/Enable LED flash and buzzer ===
754 754  
755 755  
756 756  Disable/Enable LED for position, downlink and uplink
... ... @@ -1078,33 +1078,40 @@
1078 1078  [[image:1664503715811-892.png||_mstalt="295698"]]
1079 1079  
1080 1080  
1081 -=== 6.1.2 Build the development environment ===
1133 +=== 6.1.2  Build the development environment ===
1082 1082  
1083 -~1. Download and install arduino IDE
1084 1084  
1136 +**~1. Download and install arduino IDE**
1137 +
1085 1085  [[https:~~/~~/www.arduino.cn/thread-5838-1-1.html>>url:https://links.jianshu.com/go?to=https%3A%2F%2Fwww.arduino.cn%2Fthread-5838-1-1.html]]
1086 1086  
1087 1087  
1088 -2. Download the ESP32 development package in the arduino IDE
1141 +**2. Download the ESP32 development package in the arduino IDE**
1089 1089  
1090 1090  [[image:image-20221213100007-1.png]]
1091 1091  
1145 +
1092 1092  Input: [[https:~~/~~/dl.espressif.com/dl/package_esp32_index.json>>https://dl.espressif.com/dl/package_esp32_index.json]]
1093 1093  
1094 1094  [[image:image-20221213100626-2.png]]
1095 1095  
1150 +
1096 1096  Restart the IDE after the addition is complete, then:
1097 1097  
1098 1098  [[image:image-20221213100808-3.png||height="679" width="649"]]
1099 1099  
1155 +
1100 1100  [[image:image-20221213101040-4.png]]
1101 1101  
1102 -**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03.
1158 +
1159 +(% style="color:red" %)**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03.
1103 1103  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)**
1104 1104  
1162 +
1105 1105  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:
1106 1106  
1107 -Methods as below:
1165 +(% style="color:blue" %)**Methods as below:**
1166 +
1108 1108  ~1. Download: [[https:~~/~~/github.com/dragino/TrackerD/releases/tag/v1.4.4>>https://github.com/dragino/TrackerD/releases/tag/v1.4.4]]
1109 1109  
1110 1110  2. Find the arduino installation path, hardware → create a new espressif folder → create a new esp32 folder, unzip the compressed package here.
... ... @@ -1113,13 +1113,16 @@
1113 1113  
1114 1114  [[image:image-20221213102311-5.png||height="582" width="711"]]
1115 1115  
1116 -3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion)
1117 1117  
1176 +**3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion)**
1177 +
1118 1118  [[image:image-20221213102334-6.png]]
1119 1119  
1120 -**Note: This step requires a python environment**
1180 +(% style="color:red" %)**Note: This step requires a python environment**
1121 1121  
1182 +
1122 1122  Either way, in the end:
1184 +
1123 1123  The final effect is to open the arduino and you can see the esp32
1124 1124  
1125 1125  [[image:image-20221213110952-8.png||height="866" width="711"]]
... ... @@ -1191,6 +1191,7 @@
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  
1256 +(% style="display:none" %) (%%)
1194 1194  
1195 1195  
1196 1196  == 7.3 Notes on using different serial port tools for TrackerD ==
... ... @@ -1275,6 +1275,12 @@
1275 1275  [[image:image-20221116111844-5.png||_mstalt="430144" height="551" width="708"]]
1276 1276  
1277 1277  
1341 +== 7.5 Are there example python example for BLE Indoor Positioning? ==
1342 +
1343 +
1344 +[[Operating instructions for BLE indoor positioning>>doc:.Example of BLE indoor positioning python.WebHome]]
1345 +
1346 +
1278 1278  = 8  Trouble Shooting =
1279 1279  
1280 1280  == 8.1  TDC is changed to 4294947296 and cause no uplink. ==
... ... @@ -1416,7 +1416,7 @@
1416 1416  [[image:image-20221128111443-4.png||height="432" width="546"]]
1417 1417  
1418 1418  
1419 -Use AT+FDR command to reset and then use AT+CFG to check whether the configuration is back to normal
1488 +Use **AT+FDR** command to reset and then use **AT+CFG** to check whether the configuration is back to normal
1420 1420  
1421 1421  [[image:image-20221128111850-5.png]]
1422 1422  
... ... @@ -1431,6 +1431,14 @@
1431 1431  [[image:image-20221128112035-7.png]]
1432 1432  
1433 1433  
1503 +== 8.7  If you encounter the following problems, please upgrade to the latest version ==
1504 +
1505 +
1506 +~1. Press and hold the red button (more than 5 seconds), and the device and server do not respond.
1507 +
1508 +2. Send some commands through the serial port to prompt an error (Example:AT+SMOD=1,0,1)
1509 +
1510 +
1434 1434  = 9.  Order Info =
1435 1435  
1436 1436  
... ... @@ -1452,6 +1452,7 @@
1452 1452  
1453 1453  * (% style="color:red" %)**US915**(%%): Default frequency band US915
1454 1454  
1532 +(% style="display:none" %) (%%)
1455 1455  
1456 1456  
1457 1457  = 10.  Packing Info =
... ... @@ -1469,6 +1469,7 @@
1469 1469  
1470 1470  * Weight: 50g
1471 1471  
1550 +(% style="display:none" %) (%%)
1472 1472  
1473 1473  
1474 1474  = 11. Support =
... ... @@ -1478,6 +1478,7 @@
1478 1478  
1479 1479  * 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]].
1480 1480  
1560 +(% style="display:none" %) (%%)
1481 1481  
1482 1482  
1483 1483  = 12.  Reference =
... ... @@ -1488,4 +1488,6 @@
1488 1488  * **[[Source Code>>https://github.com/dragino/TrackerD]] **
1489 1489  
1490 1490  * [[**Hardware Source**>>https://www.dropbox.com/sh/orwoy6cecb89m4e/AAD37sRuUrvKsHgAJxuVTkB5a?dl=0]]
1571 +
1572 +
1491 1491  )))
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