Changes for page TrackerD - LoRaWAN Tracker User Manual(Remove WiFi)
Last modified by Xiaoling on 2023/12/27 09:15
From version 153.1
edited by Edwin Chen
on 2022/11/24 09:16
on 2022/11/24 09:16
Change comment:
There is no comment for this version
To version 182.1
edited by Bei Jinggeng
on 2022/12/13 10:38
on 2022/12/13 10:38
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 22 added, 0 removed)
- image-20221128102938-1.png
- image-20221128103040-2.png
- image-20221128110503-3.png
- image-20221128111443-4.png
- image-20221128111850-5.png
- image-20221128111951-6.png
- image-20221128112035-7.png
- image-20221207120501-1.png
- image-20221207120524-2.png
- image-20221207120530-3.png
- image-20221207120536-4.png
- image-20221207120601-5.png
- image-20221207133836-6.png
- image-20221207133911-7.png
- image-20221207134028-8.png
- image-20221213100007-1.png
- image-20221213100626-2.png
- image-20221213100808-3.png
- image-20221213101040-4.png
- image-20221213102311-5.png
- image-20221213102334-6.png
- image-20221213102718-7.png
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Bei - 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 == ... ... @@ -31,12 +31,9 @@ 31 31 ((( 32 32 The LoRa wireless technology used in TrackerD allows the user to send data and reach extremely long ranges at low data-rates. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional tracking services. 33 33 ))) 34 -))) 35 35 36 36 ((( 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 - 39 - 40 40 ))) 41 41 42 42 [[image:1664499921684-770.png||_mstalt="298194"]] ... ... @@ -421,7 +421,7 @@ 421 421 === 2.4.4 Uplink FPORT~=4, History GNSS Positioning === 422 422 423 423 424 -Set [[PNACKMD=1>>||anchor="H3.2.1 0A0A0AutoSendNone-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.422 +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. 425 425 426 426 427 427 (% style="color:red" %)**Note for this mode:** ... ... @@ -546,7 +546,7 @@ 546 546 547 547 total 273 entries,by default, 548 548 549 -User can set [[PNACKMD=1>>||anchor="H3.2.1 0A0A0AutoSendNone-ACKmessages"]], to enable Datalog feature.547 +User can set [[PNACKMD=1>>||anchor="H3.2.11A0AutoSendNone-ACKmessages"]], to enable Datalog feature. 550 550 551 551 Example use case. 552 552 ... ... @@ -590,7 +590,6 @@ 590 590 * **[[TDC>>||anchor="H3.2.1SetTransmitInterval"]]** defines the uplink interval when TrackerD is stactic. 591 591 * **[[PT>>||anchor="H3.2.16GetorSetThresholdformotiondetectFF08Sincefirmware1.4.3FF09"]]** defines the threldhold to detect a motion. 592 592 593 - 594 594 == 2.10 LED Status == 595 595 596 596 ... ... @@ -668,7 +668,6 @@ 668 668 [[image:1664503047675-651.png||_mstalt="295386"]] 669 669 670 670 671 - 672 672 == 3.2 Command Set == 673 673 674 674 === 3.2.1 Set Transmit Interval === ... ... @@ -858,8 +858,8 @@ 858 858 (% style="color:#037691" %)**0xAD 00 46** (%%) ~/~/ Set AT+PDOP=7 (0x46 / 10 =7) 859 859 860 860 857 +=== 3.2.10 Disable/Enable the confirmation mode === 861 861 862 -=== 3.2.10 Disable/Enable the confirmation mode === 863 863 864 864 * (% style="color:blue" %)**AT Command:** 865 865 ... ... @@ -942,11 +942,11 @@ 942 942 943 943 (% style="color:blue" %)**AT Command:** 944 944 945 -(% style="color:#037691" %)**AT+SHOWID=XX **(%%) ~/~/(Disable (0), Enable (1), default:0) 941 +(% style="color:#037691" %)**AT+SHOWID=XX **(%%) ~/~/ (Disable (0), Enable (1), default:0) 946 946 \\Example: AT+SHOWID=1 ~-~-> Enable Information printing. 947 947 948 948 949 -=== 3.2.15 Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) === 945 +=== 3.2.15 Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) === 950 950 951 951 952 952 The Channels Mode in the LORAWAN LMIC library is from 0 ~~ 7. When CHE = 8, 72 channels will be accessible to the network. ... ... @@ -953,16 +953,17 @@ 953 953 954 954 (% style="color:blue" %)**AT Command:** 955 955 956 -(% style="color:#037691" %)**AT+CHE=1**(%%) 952 +(% style="color:#037691" %)**AT+CHE=1 **(%%) ~/~/ set one channels mode 957 957 958 958 959 959 (% style="color:blue" %)**Downlink Payload:0X24** 960 960 961 -Example: 0x24 01 ~/~/ Same as AT+CHE=1 957 +Example: 0x24 01 ~/~/ Same as AT+CHE=1 962 962 963 963 964 -=== 3.2.16 Get or Set Threshold for motion detect(Since firmware 1.4.3) === 960 +=== 3.2.16 Get or Set Threshold for motion detect(Since firmware 1.4.3) === 965 965 962 + 966 966 User can set the motion detect thredhold for transportation mode. The smaller the value, the more sensitivity to trigger a motion event. 967 967 968 968 (% style="color:blue" %)**AT Command:** ... ... @@ -973,7 +973,7 @@ 973 973 974 974 AT+PT=14 ~-~-> Set to detect car motion. 975 975 976 - AT+PT=41 973 + AT+PT=41 ~-~-> set to detect walk motion. 977 977 978 978 979 979 (% style="color:blue" %)**Downlink Payload:0xB4**(%%) ... ... @@ -980,7 +980,6 @@ 980 980 0xB4 14 ~/~/ Same as AT+PT=14 981 981 982 982 983 - 984 984 = 4. Setting for Different Scenarios = 985 985 986 986 ... ... @@ -1032,16 +1032,15 @@ 1032 1032 US915.bin @ 0x10000(Select the bin file of the frequency band you need) 1033 1033 1034 1034 1035 -[[image:image-202211 18105220-2.png||_mstalt="426608"]]1031 +[[image:image-20221207120501-1.png]] 1036 1036 1037 1037 1038 1038 1039 1039 After upgrade finish, it will show finish as below: 1040 1040 1041 -[[image:image-2022111 8105402-4.png||_mstalt="427986"]]1037 +[[image:image-20221207133911-7.png]] 1042 1042 1043 1043 1044 - 1045 1045 = 6. Developer Guide = 1046 1046 1047 1047 == 6.1 Compile Source Code == ... ... @@ -1063,13 +1063,60 @@ 1063 1063 [[image:1664503715811-892.png||_mstalt="295698"]] 1064 1064 1065 1065 1061 +=== 6.1.2 Build the development environment === 1062 + 1063 +~1. Download and install arduino IDE 1064 + 1065 +[[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]] 1066 + 1067 + 1068 +2. Download the ESP32 development package in the arduino IDE 1069 + 1070 +[[image:image-20221213100007-1.png]] 1071 + 1072 +Input: [[https:~~/~~/dl.espressif.com/dl/package_esp32_index.json>>https://dl.espressif.com/dl/package_esp32_index.json]] 1073 + 1074 +[[image:image-20221213100626-2.png]] 1075 + 1076 +Restart the IDE after the addition is complete, then: 1077 + 1078 +[[image:image-20221213100808-3.png||height="679" width="649"]] 1079 + 1080 +[[image:image-20221213101040-4.png]] 1081 + 1082 +**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03. 1083 +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)** 1084 + 1085 +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: 1086 + 1087 +Methods as below: 1088 +~1. Download: [[https:~~/~~/github.com/dragino/TrackerD/releases/tag/v1.4.4>>https://github.com/dragino/TrackerD/releases/tag/v1.4.4]] 1089 + 1090 +2. Find the arduino installation path, hardware → create a new espressif folder → create a new esp32 folder, unzip the compressed package here. 1091 + 1066 1066 (% 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. 1067 1067 1094 +[[image:image-20221213102311-5.png||height="582" width="711"]] 1095 + 1096 +3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion) 1097 + 1098 +[[image:image-20221213102334-6.png]] 1099 + 1100 +**Note: This step requires a python environment** 1101 + 1102 +Either way, in the end: 1103 +The final effect is to open the arduino and you can see the esp32 1104 + 1105 +[[image:image-20221213102718-7.png||height="1053" width="803"]] 1106 + 1107 + 1108 + 1068 1068 [[image:image-20221024105643-1.png||_mstalt="428129"]] 1069 1069 1070 1070 **~ Figure1** 1071 1071 1072 1072 1114 + 1073 1073 [[image:image-20221024105643-2.png||_mstalt="428493"]] 1074 1074 1075 1075 **Figure2** ... ... @@ -1217,7 +1217,7 @@ 1217 1217 1218 1218 1219 1219 ((( 1220 -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 1262 +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 1221 1221 ))) 1222 1222 1223 1223 ... ... @@ -1231,54 +1231,65 @@ 1231 1231 1232 1232 == 8.3 Problem after Upgrading Firmware == 1233 1233 1234 -=== 8.3.1 Continue Restart after upgrading === 1276 +=== 8.3.1 "rst: (0x3 SW_RESET)" and Continue Restart after upgrading === 1235 1235 1236 1236 1237 -((( 1238 -If it is V1.4.0 and the previous version, new partitions need to be loaded when upgrading. The new version of the software is stored in the partition package. The upgrade method is shown in the figure 1239 -))) 1279 +**Error Output** 1240 1240 1241 1241 1242 -[[image:image-2022111 8105249-3.png||_mstalt="430664"]]1282 +[[image:image-20221122100004-4.png||_mstalt="424606"]] 1243 1243 1244 1244 1245 -=== 8.3.2 TrackerD's led light is always GREEN on after upgrading === 1285 +((( 1286 +Some partition is missed during upgrade, please upgrade below four files as example: 1246 1246 1288 +[[image:image-20221207120524-2.png]] 1289 +))) 1247 1247 1291 + 1292 +=== 8.3.2 TrackerD's led light is always GREEN on after upgrading === 1293 + 1294 + 1248 1248 It is because the partitions are different when upgrading versions above 1.4.1, and a new partition file needs to be added. Please refer to the operation steps in chapter 8.3.1 1249 1249 1250 1250 1251 -=== 8.3.3 "flash read err" after upgrade firmware === 1298 +=== 8.3.3 "flash read err" after upgrade firmware === 1252 1252 1300 + 1253 1253 Error shows below, user might erase the entire flash include u-boot partition which cause this issue. 1254 1254 1303 + 1255 1255 [[image:image-20221122100004-1.png||_mstalt="423514" height="497" width="534"]] 1256 1256 1257 1257 1258 1258 User need to upgrade again with below four files to solve this issue. 1259 1259 1260 - [[image:image-20221 122100004-2.png||_mstalt="423878" height="619" width="389"]]1309 + [[image:image-20221207120530-3.png]] 1261 1261 1262 1262 **Figure 2** 1263 1263 1264 1264 1265 -=== 8.3. 3"Device Key become ff ff ff ff ff ff ff ff " after upgrade firmware ===1314 +=== 8.3.4 "Device Key become ff ff ff ff ff ff ff ff " after upgrade firmware === 1266 1266 1316 + 1267 1267 User might erase the entire flash include keys and default settings which cause this issue. 1268 1268 1269 -After the upgrade is completed, enter AT+CFG as shown in the figure below. 1319 +After the upgrade is completed, enter **AT+CFG** as shown in the figure below. 1270 1270 1321 + 1271 1271 [[image:image-20221122100004-3.png||_mstalt="424242"]] 1272 1272 1273 -Please **AT+FDR** which will reset all settings to factory settings. , and then input the following keys by the information on the label. 1274 1274 1325 +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. 1326 + 1275 1275 After AT+FDR. please set 1276 1276 1277 -* AT+PDOP=7 1278 -* AT+FTIME=180000 1329 +* (% _mstmutation="1" style="color:blue" %)**AT+PDOP=7** 1279 1279 1280 - Example:1331 +* (% _mstmutation="1" style="color:blue" %)**AT+FTIME=180000** 1281 1281 1333 +**Example:** 1334 + 1282 1282 AT+PDOP=7.00 1283 1283 1284 1284 AT+FTIME=180 ... ... @@ -1296,13 +1296,6 @@ 1296 1296 AT+APPSKEY=dacce2299ecd97a73ee3f80b5a46a559 ( no need for OTAA) 1297 1297 1298 1298 1299 - 1300 -=== 8.3.4 If there is a situation in Figure 1, and a new partition file needs to be added. Please refer to the operation steps in chapter 8.3.1 === 1301 - 1302 - 1303 -[[image:image-20221122100004-4.png||_mstalt="424606"]] 1304 - 1305 - 1306 1306 == 8.4 When positioning, it will restart or the PDOP setting is unsuccessful == 1307 1307 1308 1308 ... ... @@ -1325,6 +1325,44 @@ 1325 1325 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 1326 1326 1327 1327 1374 +== 8.6 When upgrading the firmware, the data is not completely erased, and the information does not return to normal after multiple resets == 1375 + 1376 + 1377 +When upgrading, use the erase button to upgrade 1378 + 1379 +[[image:image-20221207120536-4.png]] 1380 + 1381 + 1382 +The parameters are displayed abnormally and cannot be fixed using AT+FDR 1383 + 1384 +[[image:image-20221128103040-2.png||height="431" width="525"]] 1385 + 1386 + 1387 +Please upgrade these four files,link(The boot_app0 file is in the version folder you need) 1388 + 1389 +[[image:image-20221207134028-8.png]] 1390 + 1391 + 1392 +Reboot information after upgrade 1393 + 1394 +[[image:image-20221128111443-4.png||height="432" width="546"]] 1395 + 1396 + 1397 +Use AT+FDR command to reset and then use AT+CFG to check whether the configuration is back to normal 1398 + 1399 +[[image:image-20221128111850-5.png]] 1400 + 1401 + 1402 +After the parameters return to normal, upgrade to the version you need again 1403 + 1404 +[[image:image-20221207120601-5.png]] 1405 + 1406 + 1407 +At this point, the parameters return to normal after running AT+FDR again 1408 + 1409 +[[image:image-20221128112035-7.png]] 1410 + 1411 + 1328 1328 = 9. Order Info = 1329 1329 1330 1330 ... ... @@ -1376,3 +1376,4 @@ 1376 1376 * **[[Source Code>>https://github.com/dragino/TrackerD]] ** 1377 1377 1378 1378 * [[**Hardware Source**>>https://www.dropbox.com/sh/orwoy6cecb89m4e/AAD37sRuUrvKsHgAJxuVTkB5a?dl=0]] 1463 +)))
- image-20221128102938-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +41.3 KB - Content
- image-20221128103040-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +19.2 KB - Content
- image-20221128110503-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +45.6 KB - Content
- image-20221128111443-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +15.6 KB - Content
- image-20221128111850-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +14.5 KB - Content
- image-20221128111951-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +45.4 KB - Content
- image-20221128112035-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +14.7 KB - Content
- 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