Changes for page TrackerD -- LoRaWAN Tracker User Manual
Last modified by Xiaoling on 2025/04/27 16:48
From version 186.2
edited by Xiaoling
on 2022/12/16 10:34
on 2022/12/16 10:34
Change comment:
There is no comment for this version
To version 160.1
edited by Bei Jinggeng
on 2022/11/28 11:18
on 2022/11/28 11:18
Change comment:
Uploaded new attachment "image-20221128111850-5.png", version {1}
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 18 removed)
- 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. Xiaoling1 +XWiki.Bei - 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 == ... ... @@ -93,6 +93,8 @@ 93 93 * LoRa Transmit Mode: 125mA @ 20dBm 44mA @ 14dBm 94 94 * Tracking: max: 38mA 95 95 95 + 96 + 96 96 == 1.3 Features == 97 97 98 98 ... ... @@ -111,6 +111,8 @@ 111 111 * Tri-color LED, Alarm button 112 112 * Datalog 113 113 115 + 116 + 114 114 == 1.4 Applications == 115 115 116 116 ... ... @@ -117,6 +117,8 @@ 117 117 * Logistics and Supply Chain Management 118 118 * Human tracking 119 119 123 + 124 + 120 120 = 2. Use TrackerD = 121 121 122 122 == 2.1 How it works? == ... ... @@ -282,6 +282,8 @@ 282 282 |=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)5 Bits|(% style="width:60px" %)1 Bit|(% style="width:20px" %)1 Bit|(% style="width:80px" %)1 Bit 283 283 |=(% 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"]] 284 284 290 + 291 + 285 285 === 2.4.2 Uplink FPORT~=2, Realtime GNSS Positioning + Temperature & Humidity === 286 286 287 287 ... ... @@ -358,6 +358,8 @@ 358 358 * 3.40v ~~ 3.69v: 20% ~~ 40% 359 359 * < 3.39v: 0~~20% 360 360 368 + 369 + 361 361 ==== (% style="color:blue" %)**MOD:**(%%) ==== 362 362 363 363 **Example: ** (0x60>>6) & 0x3f =1 ... ... @@ -419,7 +419,7 @@ 419 419 === 2.4.4 Uplink FPORT~=4, History GNSS Positioning === 420 420 421 421 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. 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. 423 423 424 424 425 425 (% style="color:red" %)**Note for this mode:** ... ... @@ -474,6 +474,8 @@ 474 474 * (% style="color:#037691" %)**Measured Power: ** (%%) The Measured Power from the strongest iBeacon. 475 475 * (% style="color:#037691" %)**RSSI: ** (%%) The RSSI from the strongest iBeacon. 476 476 486 + 487 + 477 477 === 2.4.6 Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) === 478 478 479 479 ... ... @@ -496,6 +496,8 @@ 496 496 * (% style="color:#037691" %)**SSID: **(%%)WiFi name. 497 497 * (% style="color:#037691" %)**RSSI: **(%%)The RSSI from the strongest WiFi. 498 498 510 + 511 + 499 499 === 2.4.7 Add Payload format in TTN V3 === 500 500 501 501 ... ... @@ -544,7 +544,7 @@ 544 544 545 545 total 273 entries,by default, 546 546 547 -User can set [[PNACKMD=1>>||anchor="H3.2.11A0AutoSendNone-ACKmessages"]], to enable Datalog feature. 560 +User can set [[PNACKMD=1>>||anchor="H3.2.11A0A0AutoSendNone-ACKmessages"]], to enable Datalog feature. 548 548 549 549 Example use case. 550 550 ... ... @@ -588,6 +588,8 @@ 588 588 * **[[TDC>>||anchor="H3.2.1SetTransmitInterval"]]** defines the uplink interval when TrackerD is stactic. 589 589 * **[[PT>>||anchor="H3.2.16GetorSetThresholdformotiondetectFF08Sincefirmware1.4.3FF09"]]** defines the threldhold to detect a motion. 590 590 604 + 605 + 591 591 == 2.10 LED Status == 592 592 593 593 ... ... @@ -605,6 +605,8 @@ 605 605 |(% style="width:157px" %)**Get Downlink**|(% style="width:271px" %)(% style="color:green" %)**GREEN**(%%) led on 1 second|(% style="width:202px" %)Yes 606 606 |(% style="width:157px" %)**Movement Detect**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)led on 500ms|(% style="width:202px" %)N/A 607 607 623 + 624 + 608 608 == 2.11 Button Function == 609 609 610 610 ... ... @@ -626,6 +626,8 @@ 626 626 |(% 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 627 627 |(% 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. 628 628 646 + 647 + 629 629 == 2.12 USB Port Function == 630 630 631 631 ... ... @@ -636,6 +636,8 @@ 636 636 * [[Configure Device>>||anchor="H3.ConfigureTrackerDviaATcommandorLoRaWANdownlink"]] 637 637 * [[Upgrade Firmware>>||anchor="H5.UploadFirmware"]] 638 638 658 + 659 + 639 639 = 3. Configure TrackerD via AT command or LoRaWAN downlink = 640 640 641 641 ... ... @@ -854,6 +854,7 @@ 854 854 (% style="color:#037691" %)**0xAD 00 46** (%%) ~/~/ Set AT+PDOP=7 (0x46 / 10 =7) 855 855 856 856 878 + 857 857 === 3.2.10 Disable/Enable the confirmation mode === 858 858 859 859 ... ... @@ -938,11 +938,11 @@ 938 938 939 939 (% style="color:blue" %)**AT Command:** 940 940 941 -(% style="color:#037691" %)**AT+SHOWID=XX **(%%) ~/~/ 963 +(% style="color:#037691" %)**AT+SHOWID=XX **(%%) ~/~/(Disable (0), Enable (1), default:0) 942 942 \\Example: AT+SHOWID=1 ~-~-> Enable Information printing. 943 943 944 944 945 -=== 3.2.15 967 +=== 3.2.15 Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) === 946 946 947 947 948 948 The Channels Mode in the LORAWAN LMIC library is from 0 ~~ 7. When CHE = 8, 72 channels will be accessible to the network. ... ... @@ -949,17 +949,16 @@ 949 949 950 950 (% style="color:blue" %)**AT Command:** 951 951 952 -(% style="color:#037691" %)**AT+CHE=1 974 +(% style="color:#037691" %)**AT+CHE=1**(%%) ~/~/ set one channels mode 953 953 954 954 955 955 (% style="color:blue" %)**Downlink Payload:0X24** 956 956 957 -Example: 0x24 01 979 +Example: 0x24 01 ~/~/ Same as AT+CHE=1 958 958 959 959 960 -=== 3.2.16 982 +=== 3.2.16 Get or Set Threshold for motion detect(Since firmware 1.4.3) === 961 961 962 - 963 963 User can set the motion detect thredhold for transportation mode. The smaller the value, the more sensitivity to trigger a motion event. 964 964 965 965 (% style="color:blue" %)**AT Command:** ... ... @@ -970,7 +970,7 @@ 970 970 971 971 AT+PT=14 ~-~-> Set to detect car motion. 972 972 973 - AT+PT=41 994 + AT+PT=41 ~-~-> set to detect walk motion. 974 974 975 975 976 976 (% style="color:blue" %)**Downlink Payload:0xB4**(%%) ... ... @@ -977,6 +977,7 @@ 977 977 0xB4 14 ~/~/ Same as AT+PT=14 978 978 979 979 1001 + 980 980 = 4. Setting for Different Scenarios = 981 981 982 982 ... ... @@ -1028,15 +1028,16 @@ 1028 1028 US915.bin @ 0x10000(Select the bin file of the frequency band you need) 1029 1029 1030 1030 1031 -[[image:image-20221 207120501-1.png]]1053 +[[image:image-20221118105220-2.png||_mstalt="426608"]] 1032 1032 1033 1033 1034 1034 1035 1035 After upgrade finish, it will show finish as below: 1036 1036 1037 -[[image:image-20221 207133911-7.png]]1059 +[[image:image-20221118105402-4.png||_mstalt="427986"]] 1038 1038 1039 1039 1062 + 1040 1040 = 6. Developer Guide = 1041 1041 1042 1042 == 6.1 Compile Source Code == ... ... @@ -1058,69 +1058,13 @@ 1058 1058 [[image:1664503715811-892.png||_mstalt="295698"]] 1059 1059 1060 1060 1061 -=== 6.1.2 Build the development environment === 1062 - 1063 - 1064 -**~1. Download and install arduino IDE** 1065 - 1066 -[[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]] 1067 - 1068 - 1069 -**2. Download the ESP32 development package in the arduino IDE** 1070 - 1071 -[[image:image-20221213100007-1.png]] 1072 - 1073 - 1074 -Input: [[https:~~/~~/dl.espressif.com/dl/package_esp32_index.json>>https://dl.espressif.com/dl/package_esp32_index.json]] 1075 - 1076 -[[image:image-20221213100626-2.png]] 1077 - 1078 - 1079 -Restart the IDE after the addition is complete, then: 1080 - 1081 -[[image:image-20221213100808-3.png||height="679" width="649"]] 1082 - 1083 - 1084 -[[image:image-20221213101040-4.png]] 1085 - 1086 - 1087 -(% style="color:red" %)**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03. 1088 -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)** 1089 - 1090 -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: 1091 - 1092 -(% style="color:blue" %)**Methods as below:** 1093 - 1094 -~1. Download: [[https:~~/~~/github.com/dragino/TrackerD/releases/tag/v1.4.4>>https://github.com/dragino/TrackerD/releases/tag/v1.4.4]] 1095 - 1096 -2. Find the arduino installation path, hardware → create a new espressif folder → create a new esp32 folder, unzip the compressed package here. 1097 - 1098 1098 (% 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. 1099 1099 1100 -[[image:image-20221213102311-5.png||height="582" width="711"]] 1101 - 1102 - 1103 -3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion) 1104 - 1105 -[[image:image-20221213102334-6.png]] 1106 - 1107 -(% style="color:red" %)**Note: This step requires a python environment** 1108 - 1109 - 1110 -Either way, in the end: 1111 - 1112 -The final effect is to open the arduino and you can see the esp32 1113 - 1114 -[[image:image-20221213110952-8.png||height="866" width="711"]] 1115 - 1116 - 1117 - 1118 1118 [[image:image-20221024105643-1.png||_mstalt="428129"]] 1119 1119 1120 1120 **~ Figure1** 1121 1121 1122 1122 1123 - 1124 1124 [[image:image-20221024105643-2.png||_mstalt="428493"]] 1125 1125 1126 1126 **Figure2** ... ... @@ -1296,7 +1296,7 @@ 1296 1296 ((( 1297 1297 Some partition is missed during upgrade, please upgrade below four files as example: 1298 1298 1299 -[[image:image-20221 207120524-2.png]]1266 +[[image:image-20221122100004-2.png||_mstalt="423878" height="619" width="389"]] 1300 1300 ))) 1301 1301 1302 1302 ... ... @@ -1317,7 +1317,7 @@ 1317 1317 1318 1318 User need to upgrade again with below four files to solve this issue. 1319 1319 1320 - [[image:image-20221 207120530-3.png]]1287 + [[image:image-20221122100004-2.png||_mstalt="423878" height="619" width="389"]] 1321 1321 1322 1322 **Figure 2** 1323 1323 ... ... @@ -1382,52 +1382,6 @@ 1382 1382 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 1383 1383 1384 1384 1385 -== 8.6 When upgrading the firmware, the data is not completely erased, and the information does not return to normal after multiple resets == 1386 - 1387 - 1388 -When upgrading, use the erase button to upgrade 1389 - 1390 -[[image:image-20221207120536-4.png]] 1391 - 1392 - 1393 -The parameters are displayed abnormally and cannot be fixed using AT+FDR 1394 - 1395 -[[image:image-20221128103040-2.png||height="431" width="525"]] 1396 - 1397 - 1398 -Please upgrade these four files,link(The boot_app0 file is in the version folder you need) 1399 - 1400 -[[image:image-20221207134028-8.png]] 1401 - 1402 - 1403 -Reboot information after upgrade 1404 - 1405 -[[image:image-20221128111443-4.png||height="432" width="546"]] 1406 - 1407 - 1408 -Use AT+FDR command to reset and then use AT+CFG to check whether the configuration is back to normal 1409 - 1410 -[[image:image-20221128111850-5.png]] 1411 - 1412 - 1413 -After the parameters return to normal, upgrade to the version you need again 1414 - 1415 -[[image:image-20221207120601-5.png]] 1416 - 1417 - 1418 -At this point, the parameters return to normal after running AT+FDR again 1419 - 1420 -[[image:image-20221128112035-7.png]] 1421 - 1422 - 1423 -== 8.7 If you encounter the following problems, please upgrade to the latest version == 1424 - 1425 - 1426 -~1. Press and hold the red button (more than 5 seconds), and the device and server do not respond. 1427 - 1428 -2. Send some commands through the serial port to prompt an error (Example:AT+SMOD=1,0,1) 1429 - 1430 - 1431 1431 = 9. Order Info = 1432 1432 1433 1433
- 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