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

From version 162.1
edited by Bei Jinggeng
on 2022/11/28 11:20
Change comment: Uploaded new attachment "image-20221128112035-7.png", version {1}
To version 191.2
edited by Xiaoling
on 2023/02/13 11:07
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Bei
1 +XWiki.Xiaoling
Content
... ... @@ -12,6 +12,7 @@
12 12  
13 13  
14 14  
15 +
15 15  = 1.  Introduction =
16 16  
17 17  == 1.1  What is TrackerD ==
... ... @@ -36,7 +36,7 @@
36 36  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.
37 37  )))
38 38  
39 -[[image:1664499921684-770.png||_mstalt="298194"]]
40 +[[image:image-20230213110119-1.png||height="382" width="834"]]
40 40  
41 41  
42 42  (% style="color:red" %)**Note: LoRaWAN server can be a general LoRaWAN server other than TTN.**
... ... @@ -136,7 +136,7 @@
136 136  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. 
137 137  
138 138  
139 -[[image:1664501652064-326.png||_mstalt="293306"]]
140 +[[image:image-20230213110214-2.png||height="388" width="847"]]
140 140  
141 141  
142 142  
... ... @@ -365,6 +365,7 @@
365 365  * 3.40v ~~ 3.69v:  20% ~~ 40%
366 366  * < 3.39v:  0~~20%
367 367  
369 +(% style="display:none" %) (%%)
368 368  
369 369  
370 370  ==== (% style="color:blue" %)**MOD:**(%%) ====
... ... @@ -428,7 +428,7 @@
428 428  === 2.4.4  Uplink FPORT~=4, History GNSS Positioning ===
429 429  
430 430  
431 -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 +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.
432 432  
433 433  
434 434  (% style="color:red" %)**Note for this mode:**
... ... @@ -483,6 +483,7 @@
483 483  * (% style="color:#037691" %)**Measured Power: ** (%%) The Measured Power from the strongest iBeacon.
484 484  * (% style="color:#037691" %)**RSSI:  ** (%%) The RSSI from the strongest iBeacon.
485 485  
488 +(% style="display:none" %) (%%)
486 486  
487 487  
488 488  === 2.4.6  Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) ===
... ... @@ -507,6 +507,7 @@
507 507  * (% style="color:#037691" %)**SSID:      **(%%)WiFi name.
508 508  * (% style="color:#037691" %)**RSSI:      **(%%)The RSSI from the strongest WiFi.
509 509  
513 +(% style="display:none" %) (%%)
510 510  
511 511  
512 512  === 2.4.7  Add Payload format in TTN V3 ===
... ... @@ -557,7 +557,7 @@
557 557  
558 558  total 273 entries,by default,
559 559  
560 -User can set [[PNACKMD=1>>||anchor="H3.2.11A0A0AutoSendNone-ACKmessages"]], to enable Datalog feature.
564 +User can set [[PNACKMD=1>>||anchor="H3.2.11A0AutoSendNone-ACKmessages"]], to enable Datalog feature.
561 561  
562 562  Example use case.
563 563  
... ... @@ -601,6 +601,7 @@
601 601  * **[[TDC>>||anchor="H3.2.1SetTransmitInterval"]]** defines the uplink interval when TrackerD is stactic.
602 602  * **[[PT>>||anchor="H3.2.16GetorSetThresholdformotiondetectFF08Sincefirmware1.4.3FF09"]]** defines the threldhold to detect a motion.
603 603  
608 +(% style="display:none" %) (%%)
604 604  
605 605  
606 606  == 2.10 LED Status ==
... ... @@ -620,6 +620,7 @@
620 620  |(% style="width:157px" %)**Get Downlink**|(% style="width:271px" %)(% style="color:green" %)**GREEN**(%%) led on 1 second|(% style="width:202px" %)Yes
621 621  |(% style="width:157px" %)**Movement Detect**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)led on 500ms|(% style="width:202px" %)N/A
622 622  
628 +(% style="display:none" %) (%%)
623 623  
624 624  
625 625  == 2.11 Button Function ==
... ... @@ -634,8 +634,9 @@
634 634  
635 635  (% style="color:red" %)**RED button:**
636 636  
637 -[[image:1664502854406-763.png||_mstalt="295568"]]
643 +[[image:image-20230213110506-3.png]](% style="display:none" %)
638 638  
645 +(% style="display:none" %) (%%)
639 639  
640 640  (% border="1" style="background-color:#ffffcc; width:510px" %)
641 641  |=(% style="width: 100px;" %)**Function**|=(% style="width: 205px;" %)**Action**|=(% style="width: 205px;" %)**Description**
... ... @@ -643,6 +643,7 @@
643 643  |(% 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
644 644  |(% 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.
645 645  
653 +(% style="display:none" %) (%%)
646 646  
647 647  
648 648  == 2.12 USB Port Function ==
... ... @@ -655,6 +655,7 @@
655 655  * [[Configure Device>>||anchor="H3.ConfigureTrackerDviaATcommandorLoRaWANdownlink"]]
656 656  * [[Upgrade Firmware>>||anchor="H5.UploadFirmware"]]
657 657  
666 +(% style="display:none" %) (%%)
658 658  
659 659  
660 660  = 3. Configure TrackerD via AT command or LoRaWAN downlink =
... ... @@ -685,6 +685,7 @@
685 685  
686 686  [[image:1664503047675-651.png||_mstalt="295386"]]
687 687  
697 +(% style="display:none" %) (%%)
688 688  
689 689  == 3.2 Command Set ==
690 690  
... ... @@ -751,7 +751,7 @@
751 751  (% style="color:#037691" %)**0x02 01**    (%%) ~/~/  Exit Alarm Mode
752 752  
753 753  
754 -=== 3.2.5 Disable/Enable LED flash ===
764 +=== 3.2.5 Disable/Enable LED flash and buzzer ===
755 755  
756 756  
757 757  Disable/Enable LED for position, downlink and uplink
... ... @@ -875,7 +875,6 @@
875 875  (% style="color:#037691" %)**0xAD 00 46**    (%%) ~/~/  Set AT+PDOP=7  (0x46 / 10 =7)
876 876  
877 877  
878 -
879 879  === 3.2.10 Disable/Enable the confirmation mode ===
880 880  
881 881  
... ... @@ -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)
972 +(% 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) ===
976 +=== 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,16 +971,17 @@
971 971  
972 972  (% style="color:blue" %)**AT Command:**
973 973  
974 -(% style="color:#037691" %)**AT+CHE=1**(%%) ~/~/ set one channels mode
983 +(% 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
988 +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) ===
991 +=== 3.2.16  Get or Set Threshold for motion detect(Since firmware 1.4.3) ===
983 983  
993 +
984 984  User can set the motion detect thredhold for transportation mode. The smaller the value, the more sensitivity to trigger a motion event.
985 985  
986 986  (% style="color:blue" %)**AT Command:**
... ... @@ -991,7 +991,7 @@
991 991  
992 992   AT+PT=14    ~-~->    Set to detect car motion.
993 993  
994 - AT+PT=41   ~-~->    set to detect walk motion.
1004 + AT+PT=41  ~-~->    set to detect walk motion.
995 995  
996 996  
997 997  (% style="color:blue" %)**Downlink Payload:0xB4**(%%)
... ... @@ -998,7 +998,6 @@
998 998  0xB4 14          ~/~/  Same as AT+PT=14
999 999  
1000 1000  
1001 -
1002 1002  = 4. Setting for Different Scenarios =
1003 1003  
1004 1004  
... ... @@ -1050,16 +1050,15 @@
1050 1050  US915.bin @ 0x10000(Select the bin file of the frequency band you need)
1051 1051  
1052 1052  
1053 -[[image:image-20221118105220-2.png||_mstalt="426608"]]
1062 +[[image:image-20221207120501-1.png]]
1054 1054  
1055 1055  
1056 1056  
1057 1057  After upgrade finish, it will show finish as below:
1058 1058  
1059 -[[image:image-20221118105402-4.png||_mstalt="427986"]]
1068 +[[image:image-20221207133911-7.png]]
1060 1060  
1061 1061  
1062 -
1063 1063  = 6. Developer Guide =
1064 1064  
1065 1065  == 6.1 Compile Source Code ==
... ... @@ -1081,13 +1081,69 @@
1081 1081  [[image:1664503715811-892.png||_mstalt="295698"]]
1082 1082  
1083 1083  
1092 +=== 6.1.2  Build the development environment ===
1093 +
1094 +
1095 +**~1. Download and install arduino IDE**
1096 +
1097 +[[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]]
1098 +
1099 +
1100 +**2. Download the ESP32 development package in the arduino IDE**
1101 +
1102 +[[image:image-20221213100007-1.png]]
1103 +
1104 +
1105 +Input: [[https:~~/~~/dl.espressif.com/dl/package_esp32_index.json>>https://dl.espressif.com/dl/package_esp32_index.json]]
1106 +
1107 +[[image:image-20221213100626-2.png]]
1108 +
1109 +
1110 +Restart the IDE after the addition is complete, then:
1111 +
1112 +[[image:image-20221213100808-3.png||height="679" width="649"]]
1113 +
1114 +
1115 +[[image:image-20221213101040-4.png]]
1116 +
1117 +
1118 +(% style="color:red" %)**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03.
1119 +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)**
1120 +
1121 +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:
1122 +
1123 +(% style="color:blue" %)**Methods as below:**
1124 +
1125 +~1. Download: [[https:~~/~~/github.com/dragino/TrackerD/releases/tag/v1.4.4>>https://github.com/dragino/TrackerD/releases/tag/v1.4.4]]
1126 +
1127 +2. Find the arduino installation path, hardware → create a new espressif folder → create a new esp32 folder, unzip the compressed package here.
1128 +
1084 1084  (% 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.
1085 1085  
1131 +[[image:image-20221213102311-5.png||height="582" width="711"]]
1132 +
1133 +
1134 +**3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion)**
1135 +
1136 +[[image:image-20221213102334-6.png]]
1137 +
1138 +(% style="color:red" %)**Note: This step requires a python environment**
1139 +
1140 +
1141 +Either way, in the end:
1142 +
1143 +The final effect is to open the arduino and you can see the esp32
1144 +
1145 +[[image:image-20221213110952-8.png||height="866" width="711"]]
1146 +
1147 +
1148 +
1086 1086  [[image:image-20221024105643-1.png||_mstalt="428129"]]
1087 1087  
1088 1088  **~ Figure1**
1089 1089  
1090 1090  
1154 +
1091 1091  [[image:image-20221024105643-2.png||_mstalt="428493"]]
1092 1092  
1093 1093   **Figure2**
... ... @@ -1147,6 +1147,7 @@
1147 1147  |(% style="width:118px" %)A8|(% style="width:67px" %)Yellow|(% style="width:123px" %)MTMS/GPIO14
1148 1148  |(% style="width:118px" %)B8|(% style="width:67px" %)Grey|(% style="width:123px" %)MTDO/GPIO15
1149 1149  
1214 +(% style="display:none" %) (%%)
1150 1150  
1151 1151  
1152 1152  == 7.3 Notes on using different serial port tools for TrackerD ==
... ... @@ -1231,6 +1231,12 @@
1231 1231  [[image:image-20221116111844-5.png||_mstalt="430144" height="551" width="708"]]
1232 1232  
1233 1233  
1299 +== 7.5 Are there example python example for BLE Indoor Positioning? ==
1300 +
1301 +
1302 +[[Operating instructions for BLE indoor positioning>>doc:.Example of BLE indoor positioning python.WebHome]]
1303 +
1304 +
1234 1234  = 8  Trouble Shooting =
1235 1235  
1236 1236  == 8.1  TDC is changed to 4294947296 and cause no uplink. ==
... ... @@ -1263,7 +1263,7 @@
1263 1263  (((
1264 1264  Some partition is missed during upgrade, please upgrade below four files as example:
1265 1265  
1266 -[[image:image-20221122100004-2.png||_mstalt="423878" height="619" width="389"]]
1337 +[[image:image-20221207120524-2.png]]
1267 1267  )))
1268 1268  
1269 1269  
... ... @@ -1284,7 +1284,7 @@
1284 1284  
1285 1285  User need to upgrade again with below four files to solve this issue.
1286 1286  
1287 - [[image:image-20221122100004-2.png||_mstalt="423878" height="619" width="389"]]
1358 + [[image:image-20221207120530-3.png]]
1288 1288  
1289 1289   **Figure 2**
1290 1290  
... ... @@ -1349,6 +1349,52 @@
1349 1349  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
1350 1350  
1351 1351  
1423 +== 8.6  When upgrading the firmware, the data is not completely erased, and the information does not return to normal after multiple resets ==
1424 +
1425 +
1426 +When upgrading, use the erase button to upgrade
1427 +
1428 +[[image:image-20221207120536-4.png]]
1429 +
1430 +
1431 +The parameters are displayed abnormally and cannot be fixed using AT+FDR
1432 +
1433 +[[image:image-20221128103040-2.png||height="431" width="525"]]
1434 +
1435 +
1436 +Please upgrade these four files,link(The boot_app0 file is in the version folder you need)
1437 +
1438 +[[image:image-20221207134028-8.png]]
1439 +
1440 +
1441 +Reboot information after upgrade
1442 +
1443 +[[image:image-20221128111443-4.png||height="432" width="546"]]
1444 +
1445 +
1446 +Use **AT+FDR** command to reset and then use **AT+CFG** to check whether the configuration is back to normal
1447 +
1448 +[[image:image-20221128111850-5.png]]
1449 +
1450 +
1451 +After the parameters return to normal, upgrade to the version you need again
1452 +
1453 +[[image:image-20221207120601-5.png]]
1454 +
1455 +
1456 +At this point, the parameters return to normal after running AT+FDR again
1457 +
1458 +[[image:image-20221128112035-7.png]]
1459 +
1460 +
1461 +== 8.7  If you encounter the following problems, please upgrade to the latest version ==
1462 +
1463 +
1464 +~1. Press and hold the red button (more than 5 seconds), and the device and server do not respond.
1465 +
1466 +2. Send some commands through the serial port to prompt an error (Example:AT+SMOD=1,0,1)
1467 +
1468 +
1352 1352  = 9.  Order Info =
1353 1353  
1354 1354  
... ... @@ -1370,6 +1370,7 @@
1370 1370  
1371 1371  * (% style="color:red" %)**US915**(%%): Default frequency band US915
1372 1372  
1490 +(% style="display:none" %) (%%)
1373 1373  
1374 1374  
1375 1375  = 10.  Packing Info =
... ... @@ -1387,6 +1387,7 @@
1387 1387  
1388 1388  * Weight: 50g
1389 1389  
1508 +(% style="display:none" %) (%%)
1390 1390  
1391 1391  
1392 1392  = 11. Support =
... ... @@ -1396,6 +1396,7 @@
1396 1396  
1397 1397  * 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]].
1398 1398  
1518 +(% style="display:none" %) (%%)
1399 1399  
1400 1400  
1401 1401  = 12.  Reference =
... ... @@ -1406,4 +1406,8 @@
1406 1406  * **[[Source Code>>https://github.com/dragino/TrackerD]] **
1407 1407  
1408 1408  * [[**Hardware Source**>>https://www.dropbox.com/sh/orwoy6cecb89m4e/AAD37sRuUrvKsHgAJxuVTkB5a?dl=0]]
1529 +
1530 +
1531 +
1532 +
1409 1409  )))
image-20221207120501-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +44.5 KB
Content
image-20221207120524-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +44.5 KB
Content
image-20221207120530-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +44.5 KB
Content
image-20221207120536-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +44.5 KB
Content
image-20221207120601-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +44.5 KB
Content
image-20221207133836-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +52.1 KB
Content
image-20221207133911-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +46.3 KB
Content
image-20221207134028-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +49.3 KB
Content
image-20221213100007-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +32.7 KB
Content
image-20221213100626-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +35.7 KB
Content
image-20221213100808-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +91.3 KB
Content
image-20221213101040-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +26.3 KB
Content
image-20221213102311-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +49.7 KB
Content
image-20221213102334-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +52.5 KB
Content
image-20221213102718-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +116.5 KB
Content
image-20221213110952-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +152.8 KB
Content
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