Last modified by Xiaoling on 2023/12/27 09:15

From version 173.1
edited by Bei Jinggeng
on 2022/12/07 13:40
Change comment: There is no comment for this version
To version 194.1
edited by Bei Jinggeng
on 2023/03/02 14:57
Change comment: There is no comment for this version

Summary

Details

Page properties
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 ==
... ... @@ -36,7 +36,7 @@
36 36  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.
37 37  )))
38 38  
39 -[[image:1664499921684-770.png||_mstalt="298194"]]
40 +[[image:image-20230213110119-1.png||height="382" width="834"]]
40 40  
41 41  
42 42  (% style="color:red" %)**Note: LoRaWAN server can be a general LoRaWAN server other than TTN.**
... ... @@ -133,7 +133,7 @@
133 133  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. 
134 134  
135 135  
136 -[[image:1664501652064-326.png||_mstalt="293306"]]
137 +[[image:image-20230213110214-2.png||height="388" width="847"]]
137 137  
138 138  
139 139  
... ... @@ -205,7 +205,7 @@
205 205  
206 206  
207 207  (% border="1.5" style="background-color:#ffffcc; color:green; width:440px" %)
208 -|=(% 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;" %)1
209 +|=(% 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
209 209  |=(% 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
210 210  
211 211  [[image:1665301570342-765.png||_mstalt="294580"]]
... ... @@ -252,7 +252,7 @@
252 252  (% style="color:#037691" %)**SMOD Field (total 1 byte)**(%%):0x40
253 253  
254 254  (% border="1.5" style="background-color:#ffffcc; color:green; width:270px" %)
255 -|=(% scope="row" style="width: 60px;" %)**Size(bit)**|(% style="width:50px" %)2bits|(% style="width:80px" %)2bit|(% style="width:80px" %)4bit
256 +|=(% scope="row" style="width: 60px;" %)**Size(bit)**|(% style="width:50px" %)1bits|(% style="width:80px" %)2bit|(% style="width:80px" %)4bit
256 256  |=(% style="width: 75px;" %)**Value**|(% style="width:64px" %)SMOD|(% style="width:104px" %)GPS_Settings|(% style="width:103px" %)BLE_Settings
257 257  
258 258  (% style="color:blue" %)** SMOD:**
... ... @@ -280,10 +280,11 @@
280 280  
281 281  (% style="color:#037691" %)**Status Field (total 1 byte)**(%%):  0x02
282 282  
283 -(% border="1.5" style="background-color:#ffffcc; color:green; width:260px" %)
284 -|=(% 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
285 -|=(% 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 +(% 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"]]
286 286  
288 +
287 287  === 2.4.2 Uplink FPORT~=2, Realtime GNSS Positioning + Temperature & Humidity ===
288 288  
289 289  
... ... @@ -307,15 +307,15 @@
307 307  
308 308  ==== (% style="color:blue" %)**Alarm & BAT:**(%%) ====
309 309  
310 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:250px" %)
311 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width:80px" %)1bit|(% style="width:50px" %)14bits
312 -|=(% 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:"]] 
313 313  
314 314  ==== (% style="color:blue" %)**FLAG:**(%%) ====
315 315  
316 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:120px" %)
317 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:30px" %)2bits|(% style="width:30px" %)1bit
318 -|=(% 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:"]]
319 319  
320 320  **Example:** Payload: 0x02863D68 FAC29BAF 4B45 60 0202 011A 
321 321  
... ... @@ -360,7 +360,9 @@
360 360  * 3.40v ~~ 3.69v:  20% ~~ 40%
361 361  * < 3.39v:  0~~20%
362 362  
365 +(% style="display:none" %) (%%)
363 363  
367 +
364 364  ==== (% style="color:blue" %)**MOD:**(%%) ====
365 365  
366 366  **Example: ** (0x60>>6) & 0x3f =1
... ... @@ -477,10 +477,30 @@
477 477  * (% style="color:#037691" %)**Measured Power: ** (%%) The Measured Power from the strongest iBeacon.
478 478  * (% style="color:#037691" %)**RSSI:  ** (%%) The RSSI from the strongest iBeacon.
479 479  
484 +(% style="display:none" %) (%%)
480 480  
481 -=== 2.4.6  Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) ===
486 +=== 2.4.6  Uplink FPORT~=7, Alarm information status(Since firmware 1.4.4) ===
482 482  
488 +The upward link device is configured to FPORT = 7. Once Trackerd alarm, it will upload the news to the server.
483 483  
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
493 +
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 +
484 484  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.
485 485  
486 486  
... ... @@ -500,10 +500,12 @@
500 500  * (% style="color:#037691" %)**SSID:      **(%%)WiFi name.
501 501  * (% style="color:#037691" %)**RSSI:      **(%%)The RSSI from the strongest WiFi.
502 502  
527 +(% style="display:none" %) (%%)
503 503  
504 -=== 2.4.7  Add Payload format in TTN V3 ===
505 505  
530 +=== 2.4.8  Add Payload format in TTN V3 ===
506 506  
532 +
507 507  In TTN V3, user can add a custom payload so it shows friendly.
508 508  
509 509  In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder**
... ... @@ -593,7 +593,9 @@
593 593  * **[[TDC>>||anchor="H3.2.1SetTransmitInterval"]]** defines the uplink interval when TrackerD is stactic.
594 594  * **[[PT>>||anchor="H3.2.16GetorSetThresholdformotiondetectFF08Sincefirmware1.4.3FF09"]]** defines the threldhold to detect a motion.
595 595  
622 +(% style="display:none" %) (%%)
596 596  
624 +
597 597  == 2.10 LED Status ==
598 598  
599 599  
... ... @@ -611,7 +611,9 @@
611 611  |(% style="width:157px" %)**Get Downlink**|(% style="width:271px" %)(% style="color:green" %)**GREEN**(%%) led on 1 second|(% style="width:202px" %)Yes
612 612  |(% style="width:157px" %)**Movement Detect**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)led on 500ms|(% style="width:202px" %)N/A
613 613  
642 +(% style="display:none" %) (%%)
614 614  
644 +
615 615  == 2.11 Button Function ==
616 616  
617 617  
... ... @@ -624,8 +624,9 @@
624 624  
625 625  (% style="color:red" %)**RED button:**
626 626  
627 -[[image:1664502854406-763.png||_mstalt="295568"]]
657 +[[image:image-20230213110506-3.png]](% style="display:none" %)
628 628  
659 +(% style="display:none" %) (%%)
629 629  
630 630  (% border="1" style="background-color:#ffffcc; width:510px" %)
631 631  |=(% style="width: 100px;" %)**Function**|=(% style="width: 205px;" %)**Action**|=(% style="width: 205px;" %)**Description**
... ... @@ -633,7 +633,9 @@
633 633  |(% 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
634 634  |(% 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.
635 635  
667 +(% style="display:none" %) (%%)
636 636  
669 +
637 637  == 2.12 USB Port Function ==
638 638  
639 639  
... ... @@ -644,7 +644,9 @@
644 644  * [[Configure Device>>||anchor="H3.ConfigureTrackerDviaATcommandorLoRaWANdownlink"]]
645 645  * [[Upgrade Firmware>>||anchor="H5.UploadFirmware"]]
646 646  
680 +(% style="display:none" %) (%%)
647 647  
682 +
648 648  = 3. Configure TrackerD via AT command or LoRaWAN downlink =
649 649  
650 650  
... ... @@ -673,6 +673,7 @@
673 673  
674 674  [[image:1664503047675-651.png||_mstalt="295386"]]
675 675  
711 +(% style="display:none" %) (%%)
676 676  
677 677  == 3.2 Command Set ==
678 678  
... ... @@ -739,7 +739,7 @@
739 739  (% style="color:#037691" %)**0x02 01**    (%%) ~/~/  Exit Alarm Mode
740 740  
741 741  
742 -=== 3.2.5 Disable/Enable LED flash ===
778 +=== 3.2.5 Disable/Enable LED flash and buzzer ===
743 743  
744 744  
745 745  Disable/Enable LED for position, downlink and uplink
... ... @@ -863,7 +863,6 @@
863 863  (% style="color:#037691" %)**0xAD 00 46**    (%%) ~/~/  Set AT+PDOP=7  (0x46 / 10 =7)
864 864  
865 865  
866 -
867 867  === 3.2.10 Disable/Enable the confirmation mode ===
868 868  
869 869  
... ... @@ -1047,7 +1047,6 @@
1047 1047  [[image:image-20221207133911-7.png]]
1048 1048  
1049 1049  
1050 -
1051 1051  = 6. Developer Guide =
1052 1052  
1053 1053  == 6.1 Compile Source Code ==
... ... @@ -1069,13 +1069,70 @@
1069 1069  [[image:1664503715811-892.png||_mstalt="295698"]]
1070 1070  
1071 1071  
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 +
1072 1072  (% 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.
1073 1073  
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 +
1074 1074  [[image:image-20221024105643-1.png||_mstalt="428129"]]
1075 1075  
1076 1076  **~ Figure1**
1077 1077  
1078 1078  
1169 +
1079 1079  [[image:image-20221024105643-2.png||_mstalt="428493"]]
1080 1080  
1081 1081   **Figure2**
... ... @@ -1135,7 +1135,9 @@
1135 1135  |(% style="width:118px" %)A8|(% style="width:67px" %)Yellow|(% style="width:123px" %)MTMS/GPIO14
1136 1136  |(% style="width:118px" %)B8|(% style="width:67px" %)Grey|(% style="width:123px" %)MTDO/GPIO15
1137 1137  
1229 +(% style="display:none" %) (%%)
1138 1138  
1231 +
1139 1139  == 7.3 Notes on using different serial port tools for TrackerD ==
1140 1140  
1141 1141  === 7.3.1  Serial port utility ===
... ... @@ -1218,6 +1218,12 @@
1218 1218  [[image:image-20221116111844-5.png||_mstalt="430144" height="551" width="708"]]
1219 1219  
1220 1220  
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 +
1221 1221  = 8  Trouble Shooting =
1222 1222  
1223 1223  == 8.1  TDC is changed to 4294947296 and cause no uplink. ==
... ... @@ -1359,7 +1359,7 @@
1359 1359  [[image:image-20221128111443-4.png||height="432" width="546"]]
1360 1360  
1361 1361  
1362 -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
1363 1363  
1364 1364  [[image:image-20221128111850-5.png]]
1365 1365  
... ... @@ -1374,6 +1374,14 @@
1374 1374  [[image:image-20221128112035-7.png]]
1375 1375  
1376 1376  
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 +
1377 1377  = 9.  Order Info =
1378 1378  
1379 1379  
... ... @@ -1395,7 +1395,9 @@
1395 1395  
1396 1396  * (% style="color:red" %)**US915**(%%): Default frequency band US915
1397 1397  
1505 +(% style="display:none" %) (%%)
1398 1398  
1507 +
1399 1399  = 10.  Packing Info =
1400 1400  
1401 1401  
... ... @@ -1411,7 +1411,9 @@
1411 1411  
1412 1412  * Weight: 50g
1413 1413  
1523 +(% style="display:none" %) (%%)
1414 1414  
1525 +
1415 1415  = 11. Support =
1416 1416  
1417 1417  
... ... @@ -1419,7 +1419,9 @@
1419 1419  
1420 1420  * 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]].
1421 1421  
1533 +(% style="display:none" %) (%%)
1422 1422  
1535 +
1423 1423  = 12.  Reference =
1424 1424  
1425 1425  
... ... @@ -1428,4 +1428,6 @@
1428 1428  * **[[Source Code>>https://github.com/dragino/TrackerD]] **
1429 1429  
1430 1430  * [[**Hardware Source**>>https://www.dropbox.com/sh/orwoy6cecb89m4e/AAD37sRuUrvKsHgAJxuVTkB5a?dl=0]]
1544 +
1545 +
1431 1431  )))
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
image-20230302145315-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +35.1 KB
Content