Changes for page TrackerD - LoRaWAN Tracker User Manual(Remove WiFi)
Last modified by Xiaoling on 2023/12/27 09:15
From version 158.1
edited by Bei Jinggeng
on 2022/11/28 11:05
on 2022/11/28 11:05
Change comment:
Uploaded new attachment "image-20221128110503-3.png", version {1}
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 23 added, 0 removed)
- 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
- image-20230213110119-1.png
- image-20230213110214-2.png
- image-20230213110506-3.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 == ... ... @@ -330,6 +330,7 @@ 330 330 * Latitude: 02863D68 ⇒ //if (0x//02863D68//& 0x80000000 = 0 )~:// //value = 02863D68 /1000000 = 42.351976// 331 331 * Longitude: FAC29BAF ⇒ //if (0x//FAC29BAF// & 0x80000000 = 1 )~:// //value = (0x//FAC29BAF// – 0x 100000000)/1000000 =//-87.9094//57// 332 332 334 + 333 333 (% style="color:red" %)**Important note:** 334 334 335 335 1. When power is low (<2.84v), GPS won't be able to get location info and GPS feature will be disabled and the location field will be filled with 0x0FFFFFFF, 0x0FFFFFFF. ... ... @@ -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.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:** ... ... @@ -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.562 +User can set [[PNACKMD=1>>||anchor="H3.2.11A0AutoSendNone-ACKmessages"]], to enable Datalog feature. 561 561 562 562 Example use case. 563 563 ... ... @@ -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 === 756 +=== 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) 964 +(% 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) === 968 +=== 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**(%%) 975 +(% 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 980 +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) === 983 +=== 3.2.16 Get or Set Threshold for motion detect(Since firmware 1.4.3) === 983 983 985 + 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 996 + 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"]]1054 +[[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"]]1060 +[[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 1084 +=== 6.1.2 Build the development environment === 1085 + 1086 + 1087 +**~1. Download and install arduino IDE** 1088 + 1089 +[[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]] 1090 + 1091 + 1092 +**2. Download the ESP32 development package in the arduino IDE** 1093 + 1094 +[[image:image-20221213100007-1.png]] 1095 + 1096 + 1097 +Input: [[https:~~/~~/dl.espressif.com/dl/package_esp32_index.json>>https://dl.espressif.com/dl/package_esp32_index.json]] 1098 + 1099 +[[image:image-20221213100626-2.png]] 1100 + 1101 + 1102 +Restart the IDE after the addition is complete, then: 1103 + 1104 +[[image:image-20221213100808-3.png||height="679" width="649"]] 1105 + 1106 + 1107 +[[image:image-20221213101040-4.png]] 1108 + 1109 + 1110 +(% style="color:red" %)**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03. 1111 +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)** 1112 + 1113 +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: 1114 + 1115 +(% style="color:blue" %)**Methods as below:** 1116 + 1117 +~1. Download: [[https:~~/~~/github.com/dragino/TrackerD/releases/tag/v1.4.4>>https://github.com/dragino/TrackerD/releases/tag/v1.4.4]] 1118 + 1119 +2. Find the arduino installation path, hardware → create a new espressif folder → create a new esp32 folder, unzip the compressed package here. 1120 + 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 1123 +[[image:image-20221213102311-5.png||height="582" width="711"]] 1124 + 1125 + 1126 +**3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion)** 1127 + 1128 +[[image:image-20221213102334-6.png]] 1129 + 1130 +(% style="color:red" %)**Note: This step requires a python environment** 1131 + 1132 + 1133 +Either way, in the end: 1134 + 1135 +The final effect is to open the arduino and you can see the esp32 1136 + 1137 +[[image:image-20221213110952-8.png||height="866" width="711"]] 1138 + 1139 + 1140 + 1086 1086 [[image:image-20221024105643-1.png||_mstalt="428129"]] 1087 1087 1088 1088 **~ Figure1** 1089 1089 1090 1090 1146 + 1091 1091 [[image:image-20221024105643-2.png||_mstalt="428493"]] 1092 1092 1093 1093 **Figure2** ... ... @@ -1231,6 +1231,12 @@ 1231 1231 [[image:image-20221116111844-5.png||_mstalt="430144" height="551" width="708"]] 1232 1232 1233 1233 1290 +== 7.5 Are there example python example for BLE Indoor Positioning? == 1291 + 1292 + 1293 +[[Operating instructions for BLE indoor positioning>>doc:.Example of BLE indoor positioning python.WebHome]] 1294 + 1295 + 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-20221 122100004-2.png||_mstalt="423878" height="619" width="389"]]1328 +[[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"]]1349 + [[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 1414 +== 8.6 When upgrading the firmware, the data is not completely erased, and the information does not return to normal after multiple resets == 1415 + 1416 + 1417 +When upgrading, use the erase button to upgrade 1418 + 1419 +[[image:image-20221207120536-4.png]] 1420 + 1421 + 1422 +The parameters are displayed abnormally and cannot be fixed using AT+FDR 1423 + 1424 +[[image:image-20221128103040-2.png||height="431" width="525"]] 1425 + 1426 + 1427 +Please upgrade these four files,link(The boot_app0 file is in the version folder you need) 1428 + 1429 +[[image:image-20221207134028-8.png]] 1430 + 1431 + 1432 +Reboot information after upgrade 1433 + 1434 +[[image:image-20221128111443-4.png||height="432" width="546"]] 1435 + 1436 + 1437 +Use **AT+FDR** command to reset and then use **AT+CFG** to check whether the configuration is back to normal 1438 + 1439 +[[image:image-20221128111850-5.png]] 1440 + 1441 + 1442 +After the parameters return to normal, upgrade to the version you need again 1443 + 1444 +[[image:image-20221207120601-5.png]] 1445 + 1446 + 1447 +At this point, the parameters return to normal after running AT+FDR again 1448 + 1449 +[[image:image-20221128112035-7.png]] 1450 + 1451 + 1452 +== 8.7 If you encounter the following problems, please upgrade to the latest version == 1453 + 1454 + 1455 +~1. Press and hold the red button (more than 5 seconds), and the device and server do not respond. 1456 + 1457 +2. Send some commands through the serial port to prompt an error (Example:AT+SMOD=1,0,1) 1458 + 1459 + 1352 1352 = 9. Order Info = 1353 1353 1354 1354 ... ... @@ -1406,4 +1406,9 @@ 1406 1406 * **[[Source Code>>https://github.com/dragino/TrackerD]] ** 1407 1407 1408 1408 * [[**Hardware Source**>>https://www.dropbox.com/sh/orwoy6cecb89m4e/AAD37sRuUrvKsHgAJxuVTkB5a?dl=0]] 1517 + 1518 + 1519 + 1520 + 1521 + 1409 1409 )))
- 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
- 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