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

From version 186.3
edited by Xiaoling
on 2022/12/16 10:39
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  
... ... @@ -368,6 +368,7 @@
368 368  
369 369  
370 370  
377 +
371 371  ==== (% style="color:blue" %)**MOD:**(%%) ====
372 372  
373 373  **Example: ** (0x60>>6) & 0x3f =1
... ... @@ -429,7 +429,7 @@
429 429  === 2.4.4  Uplink FPORT~=4, History GNSS Positioning ===
430 430  
431 431  
432 -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.
433 433  
434 434  
435 435  (% style="color:red" %)**Note for this mode:**
... ... @@ -486,6 +486,7 @@
486 486  
487 487  
488 488  
496 +
489 489  === 2.4.6  Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) ===
490 490  
491 491  
... ... @@ -510,6 +510,7 @@
510 510  
511 511  
512 512  
521 +
513 513  === 2.4.7  Add Payload format in TTN V3 ===
514 514  
515 515  
... ... @@ -558,7 +558,7 @@
558 558  
559 559  total 273 entries,by default,
560 560  
561 -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.
562 562  
563 563  Example use case.
564 564  
... ... @@ -604,6 +604,7 @@
604 604  
605 605  
606 606  
616 +
607 607  == 2.10 LED Status ==
608 608  
609 609  
... ... @@ -622,7 +622,6 @@
622 622  |(% style="width:157px" %)**Movement Detect**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)led on 500ms|(% style="width:202px" %)N/A
623 623  
624 624  
625 -
626 626  == 2.11 Button Function ==
627 627  
628 628  
... ... @@ -645,7 +645,6 @@
645 645  |(% 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.
646 646  
647 647  
648 -
649 649  == 2.12 USB Port Function ==
650 650  
651 651  
... ... @@ -658,6 +658,7 @@
658 658  
659 659  
660 660  
669 +
661 661  = 3. Configure TrackerD via AT command or LoRaWAN downlink =
662 662  
663 663  
... ... @@ -687,6 +687,7 @@
687 687  [[image:1664503047675-651.png||_mstalt="295386"]]
688 688  
689 689  
699 +
690 690  == 3.2 Command Set ==
691 691  
692 692  === 3.2.1 Set Transmit Interval ===
... ... @@ -876,9 +876,9 @@
876 876  (% style="color:#037691" %)**0xAD 00 46**    (%%) ~/~/  Set AT+PDOP=7  (0x46 / 10 =7)
877 877  
878 878  
889 +
879 879  === 3.2.10 Disable/Enable the confirmation mode ===
880 880  
881 -
882 882  * (% style="color:blue" %)**AT Command:**
883 883  
884 884  (% style="color:#037691" %)**AT+CFM=xx**
... ... @@ -960,11 +960,11 @@
960 960  
961 961  (% style="color:blue" %)**AT Command:**
962 962  
963 -(% 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)
964 964  \\Example: AT+SHOWID=1 ~-~-> Enable Information printing.
965 965  
966 966  
967 -=== 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) ===
968 968  
969 969  
970 970  The Channels Mode in the LORAWAN LMIC library is from 0 ~~ 7. When CHE = 8, 72 channels will be accessible to the network.
... ... @@ -971,17 +971,16 @@
971 971  
972 972  (% style="color:blue" %)**AT Command:**
973 973  
974 -(% style="color:#037691" %)**AT+CHE=1      **(%%) ~/~/ set one channels mode
984 +(% style="color:#037691" %)**AT+CHE=1**(%%) ~/~/ set one channels mode
975 975  
976 976  
977 977  (% style="color:blue" %)**Downlink Payload:0X24**
978 978  
979 -Example: 0x24 01  ~/~/ Same as AT+CHE=1
989 +Example: 0x24 01 ~/~/ Same as AT+CHE=1
980 980  
981 981  
982 -=== 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) ===
983 983  
984 -
985 985  User can set the motion detect thredhold for transportation mode. The smaller the value, the more sensitivity to trigger a motion event.
986 986  
987 987  (% style="color:blue" %)**AT Command:**
... ... @@ -992,7 +992,7 @@
992 992  
993 993   AT+PT=14    ~-~->    Set to detect car motion.
994 994  
995 - AT+PT=41  ~-~->    set to detect walk motion.
1004 + AT+PT=41   ~-~->    set to detect walk motion.
996 996  
997 997  
998 998  (% style="color:blue" %)**Downlink Payload:0xB4**(%%)
... ... @@ -999,6 +999,7 @@
999 999  0xB4 14          ~/~/  Same as AT+PT=14
1000 1000  
1001 1001  
1011 +
1002 1002  = 4. Setting for Different Scenarios =
1003 1003  
1004 1004  
... ... @@ -1050,15 +1050,16 @@
1050 1050  US915.bin @ 0x10000(Select the bin file of the frequency band you need)
1051 1051  
1052 1052  
1053 -[[image:image-20221207120501-1.png]]
1063 +[[image:image-20221118105220-2.png||_mstalt="426608"]]
1054 1054  
1055 1055  
1056 1056  
1057 1057  After upgrade finish, it will show finish as below:
1058 1058  
1059 -[[image:image-20221207133911-7.png]]
1069 +[[image:image-20221118105402-4.png||_mstalt="427986"]]
1060 1060  
1061 1061  
1072 +
1062 1062  = 6. Developer Guide =
1063 1063  
1064 1064  == 6.1 Compile Source Code ==
... ... @@ -1080,69 +1080,13 @@
1080 1080  [[image:1664503715811-892.png||_mstalt="295698"]]
1081 1081  
1082 1082  
1083 -=== 6.1.2  Build the development environment ===
1084 -
1085 -
1086 -**~1. Download and install arduino IDE**
1087 -
1088 -[[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]]
1089 -
1090 -
1091 -**2. Download the ESP32 development package in the arduino IDE**
1092 -
1093 -[[image:image-20221213100007-1.png]]
1094 -
1095 -
1096 -Input: [[https:~~/~~/dl.espressif.com/dl/package_esp32_index.json>>https://dl.espressif.com/dl/package_esp32_index.json]]
1097 -
1098 -[[image:image-20221213100626-2.png]]
1099 -
1100 -
1101 -Restart the IDE after the addition is complete, then:
1102 -
1103 -[[image:image-20221213100808-3.png||height="679" width="649"]]
1104 -
1105 -
1106 -[[image:image-20221213101040-4.png]]
1107 -
1108 -
1109 -(% style="color:red" %)**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03.
1110 -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)**
1111 -
1112 -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:
1113 -
1114 -(% style="color:blue" %)**Methods as below:**
1115 -
1116 -~1. Download: [[https:~~/~~/github.com/dragino/TrackerD/releases/tag/v1.4.4>>https://github.com/dragino/TrackerD/releases/tag/v1.4.4]]
1117 -
1118 -2. Find the arduino installation path, hardware → create a new espressif folder → create a new esp32 folder, unzip the compressed package here.
1119 -
1120 1120  (% 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.
1121 1121  
1122 -[[image:image-20221213102311-5.png||height="582" width="711"]]
1123 -
1124 -
1125 -**3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion)**
1126 -
1127 -[[image:image-20221213102334-6.png]]
1128 -
1129 -(% style="color:red" %)**Note: This step requires a python environment**
1130 -
1131 -
1132 -Either way, in the end:
1133 -
1134 -The final effect is to open the arduino and you can see the esp32
1135 -
1136 -[[image:image-20221213110952-8.png||height="866" width="711"]]
1137 -
1138 -
1139 -
1140 1140  [[image:image-20221024105643-1.png||_mstalt="428129"]]
1141 1141  
1142 1142  **~ Figure1**
1143 1143  
1144 1144  
1145 -
1146 1146  [[image:image-20221024105643-2.png||_mstalt="428493"]]
1147 1147  
1148 1148   **Figure2**
... ... @@ -1203,7 +1203,6 @@
1203 1203  |(% style="width:118px" %)B8|(% style="width:67px" %)Grey|(% style="width:123px" %)MTDO/GPIO15
1204 1204  
1205 1205  
1206 -
1207 1207  == 7.3 Notes on using different serial port tools for TrackerD ==
1208 1208  
1209 1209  === 7.3.1  Serial port utility ===
... ... @@ -1292,7 +1292,7 @@
1292 1292  
1293 1293  
1294 1294  (((
1295 -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
1296 1296  )))
1297 1297  
1298 1298  
... ... @@ -1308,17 +1308,14 @@
1308 1308  
1309 1309  === 8.3.1 "rst: (0x3 SW_RESET)" and Continue Restart after upgrading ===
1310 1310  
1265 +Error Output
1311 1311  
1312 -**Error Output**
1313 -
1314 -
1315 1315  [[image:image-20221122100004-4.png||_mstalt="424606"]]
1316 1316  
1317 -
1318 1318  (((
1319 1319  Some partition is missed during upgrade, please upgrade below four files as example:
1320 1320  
1321 -[[image:image-20221207120524-2.png]]
1272 +[[image:image-20221122100004-2.png||_mstalt="423878" height="619" width="389"]]
1322 1322  )))
1323 1323  
1324 1324  
... ... @@ -1330,40 +1330,35 @@
1330 1330  
1331 1331  === 8.3.3 "flash read err" after upgrade firmware ===
1332 1332  
1333 -
1334 1334  Error shows below, user might erase the entire flash include u-boot partition which cause this issue.
1335 1335  
1336 -
1337 1337  [[image:image-20221122100004-1.png||_mstalt="423514" height="497" width="534"]]
1338 1338  
1339 1339  
1340 1340  User need to upgrade again with below four files to solve this issue.
1341 1341  
1342 - [[image:image-20221207120530-3.png]]
1291 + [[image:image-20221122100004-2.png||_mstalt="423878" height="619" width="389"]]
1343 1343  
1344 1344   **Figure 2**
1345 1345  
1346 1346  
1347 -=== 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 ===
1348 1348  
1349 -
1350 1350  User might erase the entire flash include keys and default settings which cause this issue.
1351 1351  
1352 -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.
1353 1353  
1354 -
1355 1355  [[image:image-20221122100004-3.png||_mstalt="424242"]]
1356 1356  
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.
1357 1357  
1358 -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.
1359 -
1360 1360  After AT+FDR. please set
1361 1361  
1362 -* (% _mstmutation="1" style="color:blue" %)**AT+PDOP=7**
1308 +* AT+PDOP=7
1363 1363  
1364 -* (% _mstmutation="1" style="color:blue" %)**AT+FTIME=180000**
1310 +* AT+FTIME=180000
1365 1365  
1366 -**Example:**
1312 +Example:
1367 1367  
1368 1368  AT+PDOP=7.00
1369 1369  
... ... @@ -1404,52 +1404,6 @@
1404 1404  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
1405 1405  
1406 1406  
1407 -== 8.6  When upgrading the firmware, the data is not completely erased, and the information does not return to normal after multiple resets ==
1408 -
1409 -
1410 -When upgrading, use the erase button to upgrade
1411 -
1412 -[[image:image-20221207120536-4.png]]
1413 -
1414 -
1415 -The parameters are displayed abnormally and cannot be fixed using AT+FDR
1416 -
1417 -[[image:image-20221128103040-2.png||height="431" width="525"]]
1418 -
1419 -
1420 -Please upgrade these four files,link(The boot_app0 file is in the version folder you need)
1421 -
1422 -[[image:image-20221207134028-8.png]]
1423 -
1424 -
1425 -Reboot information after upgrade
1426 -
1427 -[[image:image-20221128111443-4.png||height="432" width="546"]]
1428 -
1429 -
1430 -Use AT+FDR command to reset and then use AT+CFG to check whether the configuration is back to normal
1431 -
1432 -[[image:image-20221128111850-5.png]]
1433 -
1434 -
1435 -After the parameters return to normal, upgrade to the version you need again
1436 -
1437 -[[image:image-20221207120601-5.png]]
1438 -
1439 -
1440 -At this point, the parameters return to normal after running AT+FDR again
1441 -
1442 -[[image:image-20221128112035-7.png]]
1443 -
1444 -
1445 -== 8.7  If you encounter the following problems, please upgrade to the latest version ==
1446 -
1447 -
1448 -~1. Press and hold the red button (more than 5 seconds), and the device and server do not respond.
1449 -
1450 -2. Send some commands through the serial port to prompt an error (Example:AT+SMOD=1,0,1)
1451 -
1452 -
1453 1453  = 9.  Order Info =
1454 1454  
1455 1455  
... ... @@ -1473,6 +1473,7 @@
1473 1473  
1474 1474  
1475 1475  
1376 +
1476 1476  = 10.  Packing Info =
1477 1477  
1478 1478  
... ... @@ -1490,6 +1490,7 @@
1490 1490  
1491 1491  
1492 1492  
1394 +
1493 1493  = 11. Support =
1494 1494  
1495 1495  
... ... @@ -1499,6 +1499,7 @@
1499 1499  
1500 1500  
1501 1501  
1404 +
1502 1502  = 12.  Reference =
1503 1503  
1504 1504  
... ... @@ -1507,4 +1507,3 @@
1507 1507  * **[[Source Code>>https://github.com/dragino/TrackerD]] **
1508 1508  
1509 1509  * [[**Hardware Source**>>https://www.dropbox.com/sh/orwoy6cecb89m4e/AAD37sRuUrvKsHgAJxuVTkB5a?dl=0]]
1510 -)))
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