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

From version 184.2
edited by Xiaoling
on 2022/12/13 14:34
Change comment: There is no comment for this version
To version 155.3
edited by Xiaoling
on 2022/11/24 17:07
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -12,7 +12,6 @@
12 12  
13 13  
14 14  
15 -
16 16  = 1.  Introduction =
17 17  
18 18  == 1.1  What is TrackerD ==
... ... @@ -57,11 +57,13 @@
57 57  * EEPROM: 520 KB
58 58  * Clock Speed: 32Mhz
59 59  
59 +
60 60  (% style="color:blue" %)**Common DC Characteristics:**
61 61  
62 62  * Supply Voltage: 5V via USB port or Internal li-on battery
63 63  * Operating Temperature: -40 ~~ 60°C
64 64  
65 +
65 65  (% style="color:blue" %)**LoRa Spec:**
66 66  
67 67  * Frequency Range,
... ... @@ -83,10 +83,12 @@
83 83  * Packet engine up to 256 bytes with CRC.
84 84  * LoRaWAN 1.0.3 Specification
85 85  
87 +
86 86  (% style="color:blue" %)**Battery:**
87 87  
88 88  * 1000mA Li-on Battery power (for model TrackerD)
89 89  
92 +
90 90  (% style="color:blue" %)**Power Consumption**
91 91  
92 92  * Sleeping Mode: 200uA
... ... @@ -95,6 +95,7 @@
95 95  
96 96  
97 97  
101 +
98 98  == 1.3  Features ==
99 99  
100 100  
... ... @@ -115,6 +115,8 @@
115 115  
116 116  
117 117  
122 +
123 +
118 118  == 1.4  Applications ==
119 119  
120 120  
... ... @@ -123,6 +123,7 @@
123 123  
124 124  
125 125  
132 +
126 126  = 2.  Use TrackerD =
127 127  
128 128  == 2.1 How it works? ==
... ... @@ -289,7 +289,6 @@
289 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"]]
290 290  
291 291  
292 -
293 293  === 2.4.2 Uplink FPORT~=2, Realtime GNSS Positioning + Temperature & Humidity ===
294 294  
295 295  
... ... @@ -366,6 +366,9 @@
366 366  * 3.40v ~~ 3.69v:  20% ~~ 40%
367 367  * < 3.39v:  0~~20%
368 368  
375 +
376 +
377 +
369 369  ==== (% style="color:blue" %)**MOD:**(%%) ====
370 370  
371 371  **Example: ** (0x60>>6) & 0x3f =1
... ... @@ -427,7 +427,7 @@
427 427  === 2.4.4  Uplink FPORT~=4, History GNSS Positioning ===
428 428  
429 429  
430 -Set [[PNACKMD=1>>||anchor="H3.2.11A0AutoSendNone-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.
439 +Set [[PNACKMD=1>>||anchor="H3.2.11A0A0AutoSendNone-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.
431 431  
432 432  
433 433  (% style="color:red" %)**Note for this mode:**
... ... @@ -484,6 +484,7 @@
484 484  
485 485  
486 486  
496 +
487 487  === 2.4.6  Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) ===
488 488  
489 489  
... ... @@ -508,6 +508,7 @@
508 508  
509 509  
510 510  
521 +
511 511  === 2.4.7  Add Payload format in TTN V3 ===
512 512  
513 513  
... ... @@ -556,7 +556,7 @@
556 556  
557 557  total 273 entries,by default,
558 558  
559 -User can set [[PNACKMD=1>>||anchor="H3.2.11A0AutoSendNone-ACKmessages"]], to enable Datalog feature.
570 +User can set [[PNACKMD=1>>||anchor="H3.2.11A0A0AutoSendNone-ACKmessages"]], to enable Datalog feature.
560 560  
561 561  Example use case.
562 562  
... ... @@ -602,6 +602,7 @@
602 602  
603 603  
604 604  
616 +
605 605  == 2.10 LED Status ==
606 606  
607 607  
... ... @@ -620,7 +620,6 @@
620 620  |(% style="width:157px" %)**Movement Detect**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)led on 500ms|(% style="width:202px" %)N/A
621 621  
622 622  
623 -
624 624  == 2.11 Button Function ==
625 625  
626 626  
... ... @@ -643,7 +643,6 @@
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  
645 645  
646 -
647 647  == 2.12 USB Port Function ==
648 648  
649 649  
... ... @@ -656,6 +656,7 @@
656 656  
657 657  
658 658  
669 +
659 659  = 3. Configure TrackerD via AT command or LoRaWAN downlink =
660 660  
661 661  
... ... @@ -685,6 +685,7 @@
685 685  [[image:1664503047675-651.png||_mstalt="295386"]]
686 686  
687 687  
699 +
688 688  == 3.2 Command Set ==
689 689  
690 690  === 3.2.1 Set Transmit Interval ===
... ... @@ -874,9 +874,9 @@
874 874  (% style="color:#037691" %)**0xAD 00 46**    (%%) ~/~/  Set AT+PDOP=7  (0x46 / 10 =7)
875 875  
876 876  
889 +
877 877  === 3.2.10 Disable/Enable the confirmation mode ===
878 878  
879 -
880 880  * (% style="color:blue" %)**AT Command:**
881 881  
882 882  (% style="color:#037691" %)**AT+CFM=xx**
... ... @@ -958,11 +958,11 @@
958 958  
959 959  (% style="color:blue" %)**AT Command:**
960 960  
961 -(% style="color:#037691" %)**AT+SHOWID=XX         **(%%) ~/~/  (Disable (0), Enable (1), default:0)
973 +(% style="color:#037691" %)**AT+SHOWID=XX         **(%%) ~/~/(Disable (0), Enable (1), default:0)
962 962  \\Example: AT+SHOWID=1 ~-~-> Enable Information printing.
963 963  
964 964  
965 -=== 3.2.15  Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) ===
977 +=== 3.2.15 Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) ===
966 966  
967 967  
968 968  The Channels Mode in the LORAWAN LMIC library is from 0 ~~ 7. When CHE = 8, 72 channels will be accessible to the network.
... ... @@ -969,17 +969,16 @@
969 969  
970 970  (% style="color:blue" %)**AT Command:**
971 971  
972 -(% style="color:#037691" %)**AT+CHE=1      **(%%) ~/~/ set one channels mode
984 +(% style="color:#037691" %)**AT+CHE=1**(%%) ~/~/ set one channels mode
973 973  
974 974  
975 975  (% style="color:blue" %)**Downlink Payload:0X24**
976 976  
977 -Example: 0x24 01  ~/~/ Same as AT+CHE=1
989 +Example: 0x24 01 ~/~/ Same as AT+CHE=1
978 978  
979 979  
980 -=== 3.2.16  Get or Set Threshold for motion detect(Since firmware 1.4.3) ===
992 +=== 3.2.16 Get or Set Threshold for motion detect(Since firmware 1.4.3) ===
981 981  
982 -
983 983  User can set the motion detect thredhold for transportation mode. The smaller the value, the more sensitivity to trigger a motion event.
984 984  
985 985  (% style="color:blue" %)**AT Command:**
... ... @@ -990,7 +990,7 @@
990 990  
991 991   AT+PT=14    ~-~->    Set to detect car motion.
992 992  
993 - AT+PT=41  ~-~->    set to detect walk motion.
1004 + AT+PT=41   ~-~->    set to detect walk motion.
994 994  
995 995  
996 996  (% style="color:blue" %)**Downlink Payload:0xB4**(%%)
... ... @@ -997,6 +997,7 @@
997 997  0xB4 14          ~/~/  Same as AT+PT=14
998 998  
999 999  
1011 +
1000 1000  = 4. Setting for Different Scenarios =
1001 1001  
1002 1002  
... ... @@ -1048,15 +1048,16 @@
1048 1048  US915.bin @ 0x10000(Select the bin file of the frequency band you need)
1049 1049  
1050 1050  
1051 -[[image:image-20221207120501-1.png]]
1063 +[[image:image-20221118105220-2.png||_mstalt="426608"]]
1052 1052  
1053 1053  
1054 1054  
1055 1055  After upgrade finish, it will show finish as below:
1056 1056  
1057 -[[image:image-20221207133911-7.png]]
1069 +[[image:image-20221118105402-4.png||_mstalt="427986"]]
1058 1058  
1059 1059  
1072 +
1060 1060  = 6. Developer Guide =
1061 1061  
1062 1062  == 6.1 Compile Source Code ==
... ... @@ -1078,60 +1078,13 @@
1078 1078  [[image:1664503715811-892.png||_mstalt="295698"]]
1079 1079  
1080 1080  
1081 -=== 6.1.2 Build the development environment ===
1082 -
1083 -~1. Download and install arduino IDE
1084 -
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 -
1087 -
1088 -2. Download the ESP32 development package in the arduino IDE
1089 -
1090 -[[image:image-20221213100007-1.png]]
1091 -
1092 -Input: [[https:~~/~~/dl.espressif.com/dl/package_esp32_index.json>>https://dl.espressif.com/dl/package_esp32_index.json]]
1093 -
1094 -[[image:image-20221213100626-2.png]]
1095 -
1096 -Restart the IDE after the addition is complete, then:
1097 -
1098 -[[image:image-20221213100808-3.png||height="679" width="649"]]
1099 -
1100 -[[image:image-20221213101040-4.png]]
1101 -
1102 -**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03.
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 -
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 -
1107 -Methods as below:
1108 -~1. Download: [[https:~~/~~/github.com/dragino/TrackerD/releases/tag/v1.4.4>>https://github.com/dragino/TrackerD/releases/tag/v1.4.4]]
1109 -
1110 -2. Find the arduino installation path, hardware → create a new espressif folder → create a new esp32 folder, unzip the compressed package here.
1111 -
1112 1112  (% id="cke_bm_4554S" style="display:none" %) (%%)Find the path of SP32 installation, find the file as shown in Figure 1, and change the SPI pin to the shown in Figure 2.
1113 1113  
1114 -[[image:image-20221213102311-5.png||height="582" width="711"]]
1115 -
1116 -3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion)
1117 -
1118 -[[image:image-20221213102334-6.png]]
1119 -
1120 -**Note: This step requires a python environment**
1121 -
1122 -Either way, in the end:
1123 -The final effect is to open the arduino and you can see the esp32
1124 -
1125 -[[image:image-20221213110952-8.png||height="866" width="711"]]
1126 -
1127 -
1128 -
1129 1129  [[image:image-20221024105643-1.png||_mstalt="428129"]]
1130 1130  
1131 1131  **~ Figure1**
1132 1132  
1133 1133  
1134 -
1135 1135  [[image:image-20221024105643-2.png||_mstalt="428493"]]
1136 1136  
1137 1137   **Figure2**
... ... @@ -1192,7 +1192,6 @@
1192 1192  |(% style="width:118px" %)B8|(% style="width:67px" %)Grey|(% style="width:123px" %)MTDO/GPIO15
1193 1193  
1194 1194  
1195 -
1196 1196  == 7.3 Notes on using different serial port tools for TrackerD ==
1197 1197  
1198 1198  === 7.3.1  Serial port utility ===
... ... @@ -1281,7 +1281,7 @@
1281 1281  
1282 1282  
1283 1283  (((
1284 -Before firmware v1.4.0: When the Transport Mode is enabled ((% style="color:blue" %)**AT+INTWK=1**(%%)), the **TDC** needs to be greater than **MTDC**, otherwise, TDC setting will because 4294947296 after wakre up from motion. This bug is fixed in firmware v1.4.1
1249 +Before firmware v1.4.0: When the Transport Mode is enabled (**AT+INTWK=1**), the **TDC** needs to be greater than **MTDC**, otherwise, TDC setting will because 4294947296 after wakre up from motion. This bug is fixed in firmware v1.4.1
1285 1285  )))
1286 1286  
1287 1287  
... ... @@ -1297,17 +1297,14 @@
1297 1297  
1298 1298  === 8.3.1 "rst: (0x3 SW_RESET)" and Continue Restart after upgrading ===
1299 1299  
1265 +Error Output
1300 1300  
1301 -**Error Output**
1302 -
1303 -
1304 1304  [[image:image-20221122100004-4.png||_mstalt="424606"]]
1305 1305  
1306 -
1307 1307  (((
1308 1308  Some partition is missed during upgrade, please upgrade below four files as example:
1309 1309  
1310 -[[image:image-20221207120524-2.png]]
1272 +[[image:image-20221122100004-2.png||_mstalt="423878" height="619" width="389"]]
1311 1311  )))
1312 1312  
1313 1313  
... ... @@ -1319,40 +1319,35 @@
1319 1319  
1320 1320  === 8.3.3 "flash read err" after upgrade firmware ===
1321 1321  
1322 -
1323 1323  Error shows below, user might erase the entire flash include u-boot partition which cause this issue.
1324 1324  
1325 -
1326 1326  [[image:image-20221122100004-1.png||_mstalt="423514" height="497" width="534"]]
1327 1327  
1328 1328  
1329 1329  User need to upgrade again with below four files to solve this issue.
1330 1330  
1331 - [[image:image-20221207120530-3.png]]
1291 + [[image:image-20221122100004-2.png||_mstalt="423878" height="619" width="389"]]
1332 1332  
1333 1333   **Figure 2**
1334 1334  
1335 1335  
1336 -=== 8.3. "Device Key become ff ff ff ff ff ff ff ff " after upgrade firmware ===
1296 +=== 8.3.3 "Device Key become ff ff ff ff ff ff ff ff " after upgrade firmware ===
1337 1337  
1338 -
1339 1339  User might erase the entire flash include keys and default settings which cause this issue.
1340 1340  
1341 -After the upgrade is completed, enter **AT+CFG** as shown in the figure below.
1300 +After the upgrade is completed, enter AT+CFG as shown in the figure below.
1342 1342  
1343 -
1344 1344  [[image:image-20221122100004-3.png||_mstalt="424242"]]
1345 1345  
1304 +Please **(% style="color:blue" %)AT+FDR**(%%) which will reset all settings to factory settings. , and then input the following keys by the information on the label.
1346 1346  
1347 -Please (% style="color:blue" %)**AT+FDR**(%%) which will reset all settings to factory settings. , and then input the following keys by the information on the label.
1348 -
1349 1349  After AT+FDR. please set
1350 1350  
1351 -* (% _mstmutation="1" style="color:blue" %)**AT+PDOP=7**
1308 +* AT+PDOP=7
1352 1352  
1353 -* (% _mstmutation="1" style="color:blue" %)**AT+FTIME=180000**
1310 +* AT+FTIME=180000
1354 1354  
1355 -**Example:**
1312 +Example:
1356 1356  
1357 1357  AT+PDOP=7.00
1358 1358  
... ... @@ -1393,44 +1393,6 @@
1393 1393  Please refer to this [[link>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/TrackerD/#H3.2.9SetPDOPvalueforGPSfixaccuracy]] on how to set up PDOP
1394 1394  
1395 1395  
1396 -== 8.6  When upgrading the firmware, the data is not completely erased, and the information does not return to normal after multiple resets ==
1397 -
1398 -
1399 -When upgrading, use the erase button to upgrade
1400 -
1401 -[[image:image-20221207120536-4.png]]
1402 -
1403 -
1404 -The parameters are displayed abnormally and cannot be fixed using AT+FDR
1405 -
1406 -[[image:image-20221128103040-2.png||height="431" width="525"]]
1407 -
1408 -
1409 -Please upgrade these four files,link(The boot_app0 file is in the version folder you need)
1410 -
1411 -[[image:image-20221207134028-8.png]]
1412 -
1413 -
1414 -Reboot information after upgrade
1415 -
1416 -[[image:image-20221128111443-4.png||height="432" width="546"]]
1417 -
1418 -
1419 -Use AT+FDR command to reset and then use AT+CFG to check whether the configuration is back to normal
1420 -
1421 -[[image:image-20221128111850-5.png]]
1422 -
1423 -
1424 -After the parameters return to normal, upgrade to the version you need again
1425 -
1426 -[[image:image-20221207120601-5.png]]
1427 -
1428 -
1429 -At this point, the parameters return to normal after running AT+FDR again
1430 -
1431 -[[image:image-20221128112035-7.png]]
1432 -
1433 -
1434 1434  = 9.  Order Info =
1435 1435  
1436 1436  
... ... @@ -1454,6 +1454,7 @@
1454 1454  
1455 1455  
1456 1456  
1376 +
1457 1457  = 10.  Packing Info =
1458 1458  
1459 1459  
... ... @@ -1471,6 +1471,7 @@
1471 1471  
1472 1472  
1473 1473  
1394 +
1474 1474  = 11. Support =
1475 1475  
1476 1476  
... ... @@ -1480,6 +1480,7 @@
1480 1480  
1481 1481  
1482 1482  
1404 +
1483 1483  = 12.  Reference =
1484 1484  
1485 1485  
... ... @@ -1488,4 +1488,3 @@
1488 1488  * **[[Source Code>>https://github.com/dragino/TrackerD]] **
1489 1489  
1490 1490  * [[**Hardware Source**>>https://www.dropbox.com/sh/orwoy6cecb89m4e/AAD37sRuUrvKsHgAJxuVTkB5a?dl=0]]
1491 -)))
image-20221128102938-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -41.3 KB
Content
image-20221128103040-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -19.2 KB
Content
image-20221128110503-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -45.6 KB
Content
image-20221128111443-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -15.6 KB
Content
image-20221128111850-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -14.5 KB
Content
image-20221128111951-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -45.4 KB
Content
image-20221128112035-7.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -14.7 KB
Content
image-20221207120501-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -44.5 KB
Content
image-20221207120524-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -44.5 KB
Content
image-20221207120530-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -44.5 KB
Content
image-20221207120536-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -44.5 KB
Content
image-20221207120601-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -44.5 KB
Content
image-20221207133836-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -52.1 KB
Content
image-20221207133911-7.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -46.3 KB
Content
image-20221207134028-8.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -49.3 KB
Content
image-20221213100007-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -32.7 KB
Content
image-20221213100626-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -35.7 KB
Content
image-20221213100808-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -91.3 KB
Content
image-20221213101040-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -26.3 KB
Content
image-20221213102311-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -49.7 KB
Content
image-20221213102334-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -52.5 KB
Content
image-20221213102718-7.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -116.5 KB
Content
image-20221213110952-8.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -152.8 KB
Content