Changes for page TrackerD - LoRaWAN Tracker User Manual(Remove WiFi)
Last modified by Xiaoling on 2023/12/27 09:15
From version 180.1
edited by Bei Jinggeng
on 2022/12/13 10:27
on 2022/12/13 10:27
Change comment:
Uploaded new attachment "image-20221213102718-7.png", version {1}
To version 194.1
edited by Bei Jinggeng
on 2023/03/02 14:57
on 2023/03/02 14:57
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 5 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -37,7 +37,7 @@ 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 38 ))) 39 39 40 -[[image: 1664499921684-770.png||_mstalt="298194"]]40 +[[image:image-20230213110119-1.png||height="382" width="834"]] 41 41 42 42 43 43 (% style="color:red" %)**Note: LoRaWAN server can be a general LoRaWAN server other than TTN.** ... ... @@ -94,7 +94,6 @@ 94 94 * Tracking: max: 38mA 95 95 96 96 97 - 98 98 == 1.3 Features == 99 99 100 100 ... ... @@ -114,7 +114,6 @@ 114 114 * Datalog 115 115 116 116 117 - 118 118 == 1.4 Applications == 119 119 120 120 ... ... @@ -122,7 +122,6 @@ 122 122 * Human tracking 123 123 124 124 125 - 126 126 = 2. Use TrackerD = 127 127 128 128 == 2.1 How it works? == ... ... @@ -137,7 +137,7 @@ 137 137 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. 138 138 139 139 140 -[[image: 1664501652064-326.png||_mstalt="293306"]]137 +[[image:image-20230213110214-2.png||height="388" width="847"]] 141 141 142 142 143 143 ... ... @@ -209,7 +209,7 @@ 209 209 210 210 211 211 (% border="1.5" style="background-color:#ffffcc; color:green; width:440px" %) 212 -|=(% style="width: 60px;" %)**Size(bytes)**|=(% style="width: 70px;" %)**1**|=(% style="width: 70px;" %)**2**|=(% style="width: 70px;" %)**1**|=(% style="width: 50px;" %)**1**|=(% style="width: 30px;" %)2|=(% style="width: 40px;" %) **2**|=(% style="width: 40px;" %)1209 +|=(% style="width: 60px;" %)**Size(bytes)**|=(% style="width: 70px;" %)**1**|=(% style="width: 70px;" %)**2**|=(% style="width: 70px;" %)**1**|=(% style="width: 50px;" %)**1**|=(% style="width: 30px;" %)2|=(% style="width: 40px;" %)1|=(% style="width: 40px;" %)1 213 213 |=(% style="width: 108px;" %)**Value**|(% style="width:82px" %)Sensor Model|(% style="width:83px" %)Firmware Version|(% style="width:94px" %)Frequency Band|(% style="width:84px" %)Sub-band|(% style="width:44px" %)BAT|(% style="width:63px" %)SMOD|(% style="width:60px" %)Status 214 214 215 215 [[image:1665301570342-765.png||_mstalt="294580"]] ... ... @@ -256,7 +256,7 @@ 256 256 (% style="color:#037691" %)**SMOD Field (total 1 byte)**(%%):0x40 257 257 258 258 (% border="1.5" style="background-color:#ffffcc; color:green; width:270px" %) 259 -|=(% scope="row" style="width: 60px;" %)**Size(bit)**|(% style="width:50px" %) 2bits|(% style="width:80px" %)2bit|(% style="width:80px" %)4bit256 +|=(% scope="row" style="width: 60px;" %)**Size(bit)**|(% style="width:50px" %)1bits|(% style="width:80px" %)2bit|(% style="width:80px" %)4bit 260 260 |=(% style="width: 75px;" %)**Value**|(% style="width:64px" %)SMOD|(% style="width:104px" %)GPS_Settings|(% style="width:103px" %)BLE_Settings 261 261 262 262 (% style="color:blue" %)** SMOD:** ... ... @@ -284,12 +284,11 @@ 284 284 285 285 (% style="color:#037691" %)**Status Field (total 1 byte)**(%%): 0x02 286 286 287 -(% border="1.5" style="background-color:#ffffcc; color:green; width:2 60px" %)288 -|=(% scope="row" style="width: 5 0px;" %)**Size(bit)**|(% style="width:50px" %)5 Bits|(% style="width:60px" %)1 Bit|(% style="width:20px" %)1 Bit|(% style="width:80px" %)1 Bit289 -|=(% style="width: 7 7px;" %)**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 +(% border="1.5" style="background-color:#ffffcc; color:green; width:412.222px" %) 285 +|=(% scope="row" style="width: 75px;" %)**Size(bit)**|(% style="width:68px" %)5 Bits|(% style="width:87px" %)1 Bit|(% style="width:49px" %)1 Bit|(% style="width:126px" %)1 Bit 286 +|=(% style="width: 75px;" %)**Value**|(% style="width:68px" %)Reserve|(% style="width:87px" %)[[PNACKMD>>||anchor="H2.4.4A0UplinkFPORT3D42CHistoryGNSSPositioning"]]|(% style="width:49px" %)[[LON>>||anchor="H3.2.5Disable2FEnableLEDflash"]]|(% style="width:126px" %)[[Transport Mode>>||anchor="H2.9TransportMode"]] 290 290 291 291 292 - 293 293 === 2.4.2 Uplink FPORT~=2, Realtime GNSS Positioning + Temperature & Humidity === 294 294 295 295 ... ... @@ -313,15 +313,15 @@ 313 313 314 314 ==== (% style="color:blue" %)**Alarm & BAT:**(%%) ==== 315 315 316 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:2 50px" %)317 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width: 80px" %)1bit|(% style="width:50px" %)14bits318 -|=(% style="width: 72px;" %)**Value**|(% style="width:67px" %)reserve|(% style="width: 118px" %)Alarm Indicate|(% style="width:63px" %)[[BAT>>||anchor="HBAT:"]]312 +(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:279.222px" %) 313 +|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width:69px" %)1 bit|(% style="width:63px" %)14 bits 314 +|=(% style="width: 72px;" %)**Value**|(% style="width:67px" %)reserve|(% style="width:69px" %)Alarm Indicate|(% style="width:63px" %)[[BAT>>||anchor="HBAT:"]] 319 319 320 320 ==== (% style="color:blue" %)**FLAG:**(%%) ==== 321 321 322 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:12 0px" %)323 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:30px" %)2bits|(% style="width: 30px" %)1bit324 -|=(% style="width: 79px;" %)**Value**|(% style="width:55px" %)[[MOD>>||anchor="H3.2.7SetPositioningMode"]]|(% style="width: 47px" %)[[LON>>||anchor="HLON:"]]318 +(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:183.222px" %) 319 +|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:30px" %)2 bits|(% style="width:52px" %)1 bit 320 +|=(% style="width: 79px;" %)**Value**|(% style="width:55px" %)[[MOD>>||anchor="H3.2.7SetPositioningMode"]]|(% style="width:52px" %)[[LON>>||anchor="HLON:"]] 325 325 326 326 **Example:** Payload: 0x02863D68 FAC29BAF 4B45 60 0202 011A 327 327 ... ... @@ -366,6 +366,7 @@ 366 366 * 3.40v ~~ 3.69v: 20% ~~ 40% 367 367 * < 3.39v: 0~~20% 368 368 365 +(% style="display:none" %) (%%) 369 369 370 370 371 371 ==== (% style="color:blue" %)**MOD:**(%%) ==== ... ... @@ -484,11 +484,30 @@ 484 484 * (% style="color:#037691" %)**Measured Power: ** (%%) The Measured Power from the strongest iBeacon. 485 485 * (% style="color:#037691" %)**RSSI: ** (%%) The RSSI from the strongest iBeacon. 486 486 484 +(% style="display:none" %) (%%) 487 487 486 +=== 2.4.6 Uplink FPORT~=7, Alarm information status(Since firmware 1.4.4) === 488 488 489 - ===2.4.6 Uplink FPORT~=8,WiFiPositioningwithStrongestWiFi SSID(Sincefirmware1.4.1) ===488 +The upward link device is configured to FPORT = 7. Once Trackerd alarm, it will upload the news to the server. 490 490 490 +(% border="1.5" cellspacing="3" style="background-color:#ffffcc; color:green; width:450px" %) 491 +|**Size(bytes)**|2|1 492 +|**Value**|[[Alarm & BAT>>path:#HAlarm26BAT:]]|Mod+lon 491 491 494 + [[image:image-20230302145315-1.png]] 495 + 496 +alarm=(bytes[0] & 0x40) ~/~/Alarm status 497 + 498 +batV=~(~(~(bytes[0] & 0x3f) <<8) | bytes[1])/1000;~/~/Battery,units:V 499 + 500 +mod = bytes[2] & 0xC0; 501 + 502 +Lon=(bytes[2] & 0x20) 503 + 504 + 505 +=== 2.4.7 Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) === 506 + 507 + 492 492 TrackerD supports WiFi scans for indoor positioning. User can set [[**SMOD**>>||anchor="H3.2.7SetPositioningMode"]] to **WiFi** so TrackerD will scan WiFi and find the strongest WiFi info and uplink. 493 493 494 494 ... ... @@ -508,9 +508,10 @@ 508 508 * (% style="color:#037691" %)**SSID: **(%%)WiFi name. 509 509 * (% style="color:#037691" %)**RSSI: **(%%)The RSSI from the strongest WiFi. 510 510 527 +(% style="display:none" %) (%%) 511 511 512 512 513 -=== 2.4. 7Add Payload format in TTN V3 ===530 +=== 2.4.8 Add Payload format in TTN V3 === 514 514 515 515 516 516 In TTN V3, user can add a custom payload so it shows friendly. ... ... @@ -602,6 +602,7 @@ 602 602 * **[[TDC>>||anchor="H3.2.1SetTransmitInterval"]]** defines the uplink interval when TrackerD is stactic. 603 603 * **[[PT>>||anchor="H3.2.16GetorSetThresholdformotiondetectFF08Sincefirmware1.4.3FF09"]]** defines the threldhold to detect a motion. 604 604 622 +(% style="display:none" %) (%%) 605 605 606 606 607 607 == 2.10 LED Status == ... ... @@ -621,6 +621,7 @@ 621 621 |(% style="width:157px" %)**Get Downlink**|(% style="width:271px" %)(% style="color:green" %)**GREEN**(%%) led on 1 second|(% style="width:202px" %)Yes 622 622 |(% style="width:157px" %)**Movement Detect**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)led on 500ms|(% style="width:202px" %)N/A 623 623 642 +(% style="display:none" %) (%%) 624 624 625 625 626 626 == 2.11 Button Function == ... ... @@ -635,8 +635,9 @@ 635 635 636 636 (% style="color:red" %)**RED button:** 637 637 638 -[[image: 1664502854406-763.png||_mstalt="295568"]]657 +[[image:image-20230213110506-3.png]](% style="display:none" %) 639 639 659 +(% style="display:none" %) (%%) 640 640 641 641 (% border="1" style="background-color:#ffffcc; width:510px" %) 642 642 |=(% style="width: 100px;" %)**Function**|=(% style="width: 205px;" %)**Action**|=(% style="width: 205px;" %)**Description** ... ... @@ -644,6 +644,7 @@ 644 644 |(% 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 645 645 |(% 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. 646 646 667 +(% style="display:none" %) (%%) 647 647 648 648 649 649 == 2.12 USB Port Function == ... ... @@ -656,6 +656,7 @@ 656 656 * [[Configure Device>>||anchor="H3.ConfigureTrackerDviaATcommandorLoRaWANdownlink"]] 657 657 * [[Upgrade Firmware>>||anchor="H5.UploadFirmware"]] 658 658 680 +(% style="display:none" %) (%%) 659 659 660 660 661 661 = 3. Configure TrackerD via AT command or LoRaWAN downlink = ... ... @@ -686,6 +686,7 @@ 686 686 687 687 [[image:1664503047675-651.png||_mstalt="295386"]] 688 688 711 +(% style="display:none" %) (%%) 689 689 690 690 == 3.2 Command Set == 691 691 ... ... @@ -752,7 +752,7 @@ 752 752 (% style="color:#037691" %)**0x02 01** (%%) ~/~/ Exit Alarm Mode 753 753 754 754 755 -=== 3.2.5 Disable/Enable LED flash === 778 +=== 3.2.5 Disable/Enable LED flash and buzzer === 756 756 757 757 758 758 Disable/Enable LED for position, downlink and uplink ... ... @@ -1080,13 +1080,70 @@ 1080 1080 [[image:1664503715811-892.png||_mstalt="295698"]] 1081 1081 1082 1082 1106 +=== 6.1.2 Build the development environment === 1107 + 1108 + 1109 +**~1. Download and install arduino IDE** 1110 + 1111 +[[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]] 1112 + 1113 + 1114 +**2. Download the ESP32 development package in the arduino IDE** 1115 + 1116 +[[image:image-20221213100007-1.png]] 1117 + 1118 + 1119 +Input: [[https:~~/~~/dl.espressif.com/dl/package_esp32_index.json>>https://dl.espressif.com/dl/package_esp32_index.json]] 1120 + 1121 +[[image:image-20221213100626-2.png]] 1122 + 1123 + 1124 +Restart the IDE after the addition is complete, then: 1125 + 1126 +[[image:image-20221213100808-3.png||height="679" width="649"]] 1127 + 1128 + 1129 +[[image:image-20221213101040-4.png]] 1130 + 1131 + 1132 +(% style="color:red" %)**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03. 1133 +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)** 1134 + 1135 + 1136 +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: 1137 + 1138 +(% style="color:blue" %)**Methods as below:** 1139 + 1140 +~1. Download: [[https:~~/~~/github.com/dragino/TrackerD/releases/tag/v1.4.4>>https://github.com/dragino/TrackerD/releases/tag/v1.4.4]] 1141 + 1142 +2. Find the arduino installation path, hardware → create a new espressif folder → create a new esp32 folder, unzip the compressed package here. 1143 + 1083 1083 (% 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. 1084 1084 1146 +[[image:image-20221213102311-5.png||height="582" width="711"]] 1147 + 1148 + 1149 +**3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion)** 1150 + 1151 +[[image:image-20221213102334-6.png]] 1152 + 1153 +(% style="color:red" %)**Note: This step requires a python environment** 1154 + 1155 + 1156 +Either way, in the end: 1157 + 1158 +The final effect is to open the arduino and you can see the esp32 1159 + 1160 +[[image:image-20221213110952-8.png||height="866" width="711"]] 1161 + 1162 + 1163 + 1085 1085 [[image:image-20221024105643-1.png||_mstalt="428129"]] 1086 1086 1087 1087 **~ Figure1** 1088 1088 1089 1089 1169 + 1090 1090 [[image:image-20221024105643-2.png||_mstalt="428493"]] 1091 1091 1092 1092 **Figure2** ... ... @@ -1146,6 +1146,7 @@ 1146 1146 |(% style="width:118px" %)A8|(% style="width:67px" %)Yellow|(% style="width:123px" %)MTMS/GPIO14 1147 1147 |(% style="width:118px" %)B8|(% style="width:67px" %)Grey|(% style="width:123px" %)MTDO/GPIO15 1148 1148 1229 +(% style="display:none" %) (%%) 1149 1149 1150 1150 1151 1151 == 7.3 Notes on using different serial port tools for TrackerD == ... ... @@ -1230,6 +1230,12 @@ 1230 1230 [[image:image-20221116111844-5.png||_mstalt="430144" height="551" width="708"]] 1231 1231 1232 1232 1314 +== 7.5 Are there example python example for BLE Indoor Positioning? == 1315 + 1316 + 1317 +[[Operating instructions for BLE indoor positioning>>doc:.Example of BLE indoor positioning python.WebHome]] 1318 + 1319 + 1233 1233 = 8 Trouble Shooting = 1234 1234 1235 1235 == 8.1 TDC is changed to 4294947296 and cause no uplink. == ... ... @@ -1371,7 +1371,7 @@ 1371 1371 [[image:image-20221128111443-4.png||height="432" width="546"]] 1372 1372 1373 1373 1374 -Use AT+FDR command to reset and then use AT+CFG to check whether the configuration is back to normal 1461 +Use **AT+FDR** command to reset and then use **AT+CFG** to check whether the configuration is back to normal 1375 1375 1376 1376 [[image:image-20221128111850-5.png]] 1377 1377 ... ... @@ -1386,6 +1386,14 @@ 1386 1386 [[image:image-20221128112035-7.png]] 1387 1387 1388 1388 1476 +== 8.7 If you encounter the following problems, please upgrade to the latest version == 1477 + 1478 + 1479 +~1. Press and hold the red button (more than 5 seconds), and the device and server do not respond. 1480 + 1481 +2. Send some commands through the serial port to prompt an error (Example:AT+SMOD=1,0,1) 1482 + 1483 + 1389 1389 = 9. Order Info = 1390 1390 1391 1391 ... ... @@ -1407,6 +1407,7 @@ 1407 1407 1408 1408 * (% style="color:red" %)**US915**(%%): Default frequency band US915 1409 1409 1505 +(% style="display:none" %) (%%) 1410 1410 1411 1411 1412 1412 = 10. Packing Info = ... ... @@ -1424,6 +1424,7 @@ 1424 1424 1425 1425 * Weight: 50g 1426 1426 1523 +(% style="display:none" %) (%%) 1427 1427 1428 1428 1429 1429 = 11. Support = ... ... @@ -1433,6 +1433,7 @@ 1433 1433 1434 1434 * 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]]. 1435 1435 1533 +(% style="display:none" %) (%%) 1436 1436 1437 1437 1438 1438 = 12. Reference = ... ... @@ -1443,4 +1443,6 @@ 1443 1443 * **[[Source Code>>https://github.com/dragino/TrackerD]] ** 1444 1444 1445 1445 * [[**Hardware Source**>>https://www.dropbox.com/sh/orwoy6cecb89m4e/AAD37sRuUrvKsHgAJxuVTkB5a?dl=0]] 1544 + 1545 + 1446 1446 )))
- 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
- image-20230302145315-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +35.1 KB - Content