Changes for page TrackerD - LoRaWAN Tracker User Manual(Remove WiFi)
Last modified by Xiaoling on 2023/12/27 09:15
From version 184.2
edited by Xiaoling
on 2022/12/13 14:34
on 2022/12/13 14:34
Change comment:
There is no comment for this version
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 (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 4 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Bei - 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,9 @@ 366 366 * 3.40v ~~ 3.69v: 20% ~~ 40% 367 367 * < 3.39v: 0~~20% 368 368 365 +(% style="display:none" %) (%%) 366 + 367 + 369 369 ==== (% style="color:blue" %)**MOD:**(%%) ==== 370 370 371 371 **Example: ** (0x60>>6) & 0x3f =1 ... ... @@ -482,11 +482,30 @@ 482 482 * (% style="color:#037691" %)**Measured Power: ** (%%) The Measured Power from the strongest iBeacon. 483 483 * (% style="color:#037691" %)**RSSI: ** (%%) The RSSI from the strongest iBeacon. 484 484 484 +(% style="display:none" %) (%%) 485 485 486 +=== 2.4.6 Uplink FPORT~=7, Alarm information status(Since firmware 1.4.4) === 486 486 487 - ===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. 488 488 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 489 489 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 + 490 490 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. 491 491 492 492 ... ... @@ -506,9 +506,10 @@ 506 506 * (% style="color:#037691" %)**SSID: **(%%)WiFi name. 507 507 * (% style="color:#037691" %)**RSSI: **(%%)The RSSI from the strongest WiFi. 508 508 527 +(% style="display:none" %) (%%) 509 509 510 510 511 -=== 2.4. 7Add Payload format in TTN V3 ===530 +=== 2.4.8 Add Payload format in TTN V3 === 512 512 513 513 514 514 In TTN V3, user can add a custom payload so it shows friendly. ... ... @@ -600,6 +600,7 @@ 600 600 * **[[TDC>>||anchor="H3.2.1SetTransmitInterval"]]** defines the uplink interval when TrackerD is stactic. 601 601 * **[[PT>>||anchor="H3.2.16GetorSetThresholdformotiondetectFF08Sincefirmware1.4.3FF09"]]** defines the threldhold to detect a motion. 602 602 622 +(% style="display:none" %) (%%) 603 603 604 604 605 605 == 2.10 LED Status == ... ... @@ -619,6 +619,7 @@ 619 619 |(% style="width:157px" %)**Get Downlink**|(% style="width:271px" %)(% style="color:green" %)**GREEN**(%%) led on 1 second|(% style="width:202px" %)Yes 620 620 |(% style="width:157px" %)**Movement Detect**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)led on 500ms|(% style="width:202px" %)N/A 621 621 642 +(% style="display:none" %) (%%) 622 622 623 623 624 624 == 2.11 Button Function == ... ... @@ -633,8 +633,9 @@ 633 633 634 634 (% style="color:red" %)**RED button:** 635 635 636 -[[image: 1664502854406-763.png||_mstalt="295568"]]657 +[[image:image-20230213110506-3.png]](% style="display:none" %) 637 637 659 +(% style="display:none" %) (%%) 638 638 639 639 (% border="1" style="background-color:#ffffcc; width:510px" %) 640 640 |=(% style="width: 100px;" %)**Function**|=(% style="width: 205px;" %)**Action**|=(% style="width: 205px;" %)**Description** ... ... @@ -642,6 +642,7 @@ 642 642 |(% 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 643 643 |(% 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. 644 644 667 +(% style="display:none" %) (%%) 645 645 646 646 647 647 == 2.12 USB Port Function == ... ... @@ -654,6 +654,7 @@ 654 654 * [[Configure Device>>||anchor="H3.ConfigureTrackerDviaATcommandorLoRaWANdownlink"]] 655 655 * [[Upgrade Firmware>>||anchor="H5.UploadFirmware"]] 656 656 680 +(% style="display:none" %) (%%) 657 657 658 658 659 659 = 3. Configure TrackerD via AT command or LoRaWAN downlink = ... ... @@ -684,6 +684,7 @@ 684 684 685 685 [[image:1664503047675-651.png||_mstalt="295386"]] 686 686 711 +(% style="display:none" %) (%%) 687 687 688 688 == 3.2 Command Set == 689 689 ... ... @@ -750,7 +750,7 @@ 750 750 (% style="color:#037691" %)**0x02 01** (%%) ~/~/ Exit Alarm Mode 751 751 752 752 753 -=== 3.2.5 Disable/Enable LED flash === 778 +=== 3.2.5 Disable/Enable LED flash and buzzer === 754 754 755 755 756 756 Disable/Enable LED for position, downlink and uplink ... ... @@ -1078,33 +1078,40 @@ 1078 1078 [[image:1664503715811-892.png||_mstalt="295698"]] 1079 1079 1080 1080 1081 -=== 6.1.2 Build the development environment === 1106 +=== 6.1.2 Build the development environment === 1082 1082 1083 -~1. Download and install arduino IDE 1084 1084 1109 +**~1. Download and install arduino IDE** 1110 + 1085 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 1086 1087 1087 1088 -2. Download the ESP32 development package in the arduino IDE 1114 +**2. Download the ESP32 development package in the arduino IDE** 1089 1089 1090 1090 [[image:image-20221213100007-1.png]] 1091 1091 1118 + 1092 1092 Input: [[https:~~/~~/dl.espressif.com/dl/package_esp32_index.json>>https://dl.espressif.com/dl/package_esp32_index.json]] 1093 1093 1094 1094 [[image:image-20221213100626-2.png]] 1095 1095 1123 + 1096 1096 Restart the IDE after the addition is complete, then: 1097 1097 1098 1098 [[image:image-20221213100808-3.png||height="679" width="649"]] 1099 1099 1128 + 1100 1100 [[image:image-20221213101040-4.png]] 1101 1101 1102 -**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03. 1131 + 1132 +(% style="color:red" %)**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03. 1103 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 1104 1135 + 1105 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 1106 1107 -Methods as below: 1138 +(% style="color:blue" %)**Methods as below:** 1139 + 1108 1108 ~1. Download: [[https:~~/~~/github.com/dragino/TrackerD/releases/tag/v1.4.4>>https://github.com/dragino/TrackerD/releases/tag/v1.4.4]] 1109 1109 1110 1110 2. Find the arduino installation path, hardware → create a new espressif folder → create a new esp32 folder, unzip the compressed package here. ... ... @@ -1113,13 +1113,16 @@ 1113 1113 1114 1114 [[image:image-20221213102311-5.png||height="582" width="711"]] 1115 1115 1116 -3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion) 1117 1117 1149 +**3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion)** 1150 + 1118 1118 [[image:image-20221213102334-6.png]] 1119 1119 1120 -**Note: This step requires a python environment** 1153 +(% style="color:red" %)**Note: This step requires a python environment** 1121 1121 1155 + 1122 1122 Either way, in the end: 1157 + 1123 1123 The final effect is to open the arduino and you can see the esp32 1124 1124 1125 1125 [[image:image-20221213110952-8.png||height="866" width="711"]] ... ... @@ -1191,6 +1191,7 @@ 1191 1191 |(% style="width:118px" %)A8|(% style="width:67px" %)Yellow|(% style="width:123px" %)MTMS/GPIO14 1192 1192 |(% style="width:118px" %)B8|(% style="width:67px" %)Grey|(% style="width:123px" %)MTDO/GPIO15 1193 1193 1229 +(% style="display:none" %) (%%) 1194 1194 1195 1195 1196 1196 == 7.3 Notes on using different serial port tools for TrackerD == ... ... @@ -1275,6 +1275,12 @@ 1275 1275 [[image:image-20221116111844-5.png||_mstalt="430144" height="551" width="708"]] 1276 1276 1277 1277 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 + 1278 1278 = 8 Trouble Shooting = 1279 1279 1280 1280 == 8.1 TDC is changed to 4294947296 and cause no uplink. == ... ... @@ -1416,7 +1416,7 @@ 1416 1416 [[image:image-20221128111443-4.png||height="432" width="546"]] 1417 1417 1418 1418 1419 -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 1420 1420 1421 1421 [[image:image-20221128111850-5.png]] 1422 1422 ... ... @@ -1431,6 +1431,14 @@ 1431 1431 [[image:image-20221128112035-7.png]] 1432 1432 1433 1433 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 + 1434 1434 = 9. Order Info = 1435 1435 1436 1436 ... ... @@ -1452,6 +1452,7 @@ 1452 1452 1453 1453 * (% style="color:red" %)**US915**(%%): Default frequency band US915 1454 1454 1505 +(% style="display:none" %) (%%) 1455 1455 1456 1456 1457 1457 = 10. Packing Info = ... ... @@ -1469,6 +1469,7 @@ 1469 1469 1470 1470 * Weight: 50g 1471 1471 1523 +(% style="display:none" %) (%%) 1472 1472 1473 1473 1474 1474 = 11. Support = ... ... @@ -1478,6 +1478,7 @@ 1478 1478 1479 1479 * 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]]. 1480 1480 1533 +(% style="display:none" %) (%%) 1481 1481 1482 1482 1483 1483 = 12. Reference = ... ... @@ -1488,4 +1488,6 @@ 1488 1488 * **[[Source Code>>https://github.com/dragino/TrackerD]] ** 1489 1489 1490 1490 * [[**Hardware Source**>>https://www.dropbox.com/sh/orwoy6cecb89m4e/AAD37sRuUrvKsHgAJxuVTkB5a?dl=0]] 1544 + 1545 + 1491 1491 )))
- 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