Changes for page TrackerD - LoRaWAN Tracker User Manual(Remove WiFi)
Last modified by Xiaoling on 2023/12/27 09:15
From version 156.1
edited by Bei Jinggeng
on 2022/11/28 10:29
on 2022/11/28 10:29
Change comment:
Uploaded new attachment "image-20221128102938-1.png", version {1}
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 22 added, 0 removed)
- 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
- image-20221213110952-8.png
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +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 == ... ... @@ -365,8 +365,6 @@ 365 365 * 3.40v ~~ 3.69v: 20% ~~ 40% 366 366 * < 3.39v: 0~~20% 367 367 368 - 369 - 370 370 ==== (% style="color:blue" %)**MOD:**(%%) ==== 371 371 372 372 **Example: ** (0x60>>6) & 0x3f =1 ... ... @@ -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.11A0A 0AutoSendNone-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.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. 432 432 433 433 434 434 (% style="color:red" %)**Note for this mode:** ... ... @@ -557,7 +557,7 @@ 557 557 558 558 total 273 entries,by default, 559 559 560 -User can set [[PNACKMD=1>>||anchor="H3.2.11A0A 0AutoSendNone-ACKmessages"]], to enable Datalog feature.559 +User can set [[PNACKMD=1>>||anchor="H3.2.11A0AutoSendNone-ACKmessages"]], to enable Datalog feature. 561 561 562 562 Example use case. 563 563 ... ... @@ -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) 961 +(% 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) === 965 +=== 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**(%%) 972 +(% 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 977 +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) === 980 +=== 3.2.16 Get or Set Threshold for motion detect(Since firmware 1.4.3) === 983 983 982 + 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 993 + 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-202211 18105220-2.png||_mstalt="426608"]]1051 +[[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-2022111 8105402-4.png||_mstalt="427986"]]1057 +[[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,60 @@ 1081 1081 [[image:1664503715811-892.png||_mstalt="295698"]] 1082 1082 1083 1083 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 + 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 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 + 1086 1086 [[image:image-20221024105643-1.png||_mstalt="428129"]] 1087 1087 1088 1088 **~ Figure1** 1089 1089 1090 1090 1134 + 1091 1091 [[image:image-20221024105643-2.png||_mstalt="428493"]] 1092 1092 1093 1093 **Figure2** ... ... @@ -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-20221 122100004-2.png||_mstalt="423878" height="619" width="389"]]1310 +[[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-20221 122100004-2.png||_mstalt="423878" height="619" width="389"]]1331 + [[image:image-20221207120530-3.png]] 1288 1288 1289 1289 **Figure 2** 1290 1290 ... ... @@ -1349,6 +1349,44 @@ 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 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 + 1352 1352 = 9. Order Info = 1353 1353 1354 1354
- 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
- image-20221213110952-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +152.8 KB - Content