Changes for page TrackerD - LoRaWAN Tracker User Manual(Remove WiFi)
Last modified by Xiaoling on 2023/12/27 09:15
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 198.1
edited by Bei Jinggeng
on 2023/03/07 14:31
on 2023/03/07 14:31
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 6 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.** ... ... @@ -131,7 +131,7 @@ 131 131 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. 132 132 133 133 134 -[[image: 1664501652064-326.png||_mstalt="293306"]]134 +[[image:image-20230213110214-2.png||height="388" width="847"]] 135 135 136 136 137 137 ... ... @@ -203,7 +203,7 @@ 203 203 204 204 205 205 (% border="1.5" style="background-color:#ffffcc; color:green; width:440px" %) 206 -|=(% 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;" %)1206 +|=(% 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 207 207 |=(% 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 208 208 209 209 [[image:1665301570342-765.png||_mstalt="294580"]] ... ... @@ -250,7 +250,7 @@ 250 250 (% style="color:#037691" %)**SMOD Field (total 1 byte)**(%%):0x40 251 251 252 252 (% border="1.5" style="background-color:#ffffcc; color:green; width:270px" %) 253 -|=(% scope="row" style="width: 60px;" %)**Size(bit)**|(% style="width:50px" %) 2bits|(% style="width:80px" %)2bit|(% style="width:80px" %)4bit253 +|=(% scope="row" style="width: 60px;" %)**Size(bit)**|(% style="width:50px" %)1bits|(% style="width:80px" %)2bit|(% style="width:80px" %)4bit 254 254 |=(% style="width: 75px;" %)**Value**|(% style="width:64px" %)SMOD|(% style="width:104px" %)GPS_Settings|(% style="width:103px" %)BLE_Settings 255 255 256 256 (% style="color:blue" %)** SMOD:** ... ... @@ -278,9 +278,9 @@ 278 278 279 279 (% style="color:#037691" %)**Status Field (total 1 byte)**(%%): 0x02 280 280 281 -(% border="1.5" style="background-color:#ffffcc; color:green; width:2 60px" %)282 -|=(% 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 Bit283 -|=(% 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"]]281 +(% border="1.5" style="background-color:#ffffcc; color:green; width:412.222px" %) 282 +|=(% 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 283 +|=(% 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"]] 284 284 285 285 === 2.4.2 Uplink FPORT~=2, Realtime GNSS Positioning + Temperature & Humidity === 286 286 ... ... @@ -305,15 +305,15 @@ 305 305 306 306 ==== (% style="color:blue" %)**Alarm & BAT:**(%%) ==== 307 307 308 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:2 50px" %)309 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width: 80px" %)1bit|(% style="width:50px" %)14bits310 -|=(% style="width: 72px;" %)**Value**|(% style="width:67px" %)reserve|(% style="width: 118px" %)Alarm Indicate|(% style="width:63px" %)[[BAT>>||anchor="HBAT:"]]308 +(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:279.222px" %) 309 +|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width:69px" %)1 bit|(% style="width:63px" %)14 bits 310 +|=(% style="width: 72px;" %)**Value**|(% style="width:67px" %)reserve|(% style="width:69px" %)Alarm Indicate|(% style="width:63px" %)[[BAT>>||anchor="HBAT:"]] 311 311 312 312 ==== (% style="color:blue" %)**FLAG:**(%%) ==== 313 313 314 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:12 0px" %)315 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:30px" %)2bits|(% style="width: 30px" %)1bit316 -|=(% style="width: 79px;" %)**Value**|(% style="width:55px" %)[[MOD>>||anchor="H3.2.7SetPositioningMode"]]|(% style="width: 47px" %)[[LON>>||anchor="HLON:"]]314 +(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:183.222px" %) 315 +|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:30px" %)2 bits|(% style="width:52px" %)1 bit 316 +|=(% style="width: 79px;" %)**Value**|(% style="width:55px" %)[[MOD>>||anchor="H3.2.7SetPositioningMode"]]|(% style="width:52px" %)[[LON>>||anchor="HLON:"]] 317 317 318 318 **Example:** Payload: 0x02863D68 FAC29BAF 4B45 60 0202 011A 319 319 ... ... @@ -358,6 +358,9 @@ 358 358 * 3.40v ~~ 3.69v: 20% ~~ 40% 359 359 * < 3.39v: 0~~20% 360 360 361 +(% style="display:none" %) (%%) 362 + 363 + 361 361 ==== (% style="color:blue" %)**MOD:**(%%) ==== 362 362 363 363 **Example: ** (0x60>>6) & 0x3f =1 ... ... @@ -474,9 +474,32 @@ 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 477 - ===2.4.6 Uplink FPORT~=8, WiFi Positioning with StrongestWiFiSSID(Sincefirmware 1.4.1) ===480 +(% style="display:none" %) (%%) 478 478 479 479 483 +=== 2.4.6 Uplink FPORT~=7, Alarm information status(Since firmware 1.4.4) === 484 + 485 + 486 +The upward link device is configured to FPORT = 7. Once Trackerd alarm, it will upload the news to the server. 487 + 488 +(% border="1.5" cellspacing="3" style="background-color:#ffffcc; color:green; width:450px" %) 489 +|**Size(bytes)**|2|1 490 +|**Value**|[[Alarm & BAT>>path:#HAlarm26BAT:]]|Mod+lon 491 + 492 + [[image:image-20230302145315-1.png]] 493 + 494 +alarm=(bytes[0] & 0x40) ~/~/ Alarm status 495 + 496 +batV=~(~(~(bytes[0] & 0x3f) <<8) | bytes[1])/1000; ~/~/ Battery,units:V 497 + 498 +mod = bytes[2] & 0xC0; 499 + 500 +Lon=(bytes[2] & 0x20) 501 + 502 + 503 +=== 2.4.7 Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) === 504 + 505 + 480 480 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. 481 481 482 482 ... ... @@ -496,9 +496,12 @@ 496 496 * (% style="color:#037691" %)**SSID: **(%%)WiFi name. 497 497 * (% style="color:#037691" %)**RSSI: **(%%)The RSSI from the strongest WiFi. 498 498 499 - ===2.4.7 Add PayloadformatinTTNV3===525 +(% style="display:none" %) (%%) 500 500 501 501 528 +=== 2.4.8 Add Payload format in TTN V3 === 529 + 530 + 502 502 In TTN V3, user can add a custom payload so it shows friendly. 503 503 504 504 In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder** ... ... @@ -539,9 +539,27 @@ 539 539 [[image:1664502715371-321.png||_mstalt="292162"]] 540 540 541 541 542 -== 2.7 Datalog Feature ==571 +== 2.7 Integrate with Node-red == 543 543 573 +~1. Install node-red, please refer to the installation method in the link: 544 544 575 + [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H1.A0Installation>>http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H1.A0Installation]] 576 +2. Import the created flow template, please refer to the import method in the link: 577 + 578 + [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H3.A0Importsampleflow>>http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H3.A0Importsampleflow]] 579 + The address of the flow template: 580 + 581 + [[dragino-end-node-decoder/TrackerD.json at main · dragino/dragino-end-node-decoder · GitHub>>url:https://github.com/dragino/dragino-end-node-decoder/blob/main/Node-RED/TrackerD.json]] 582 + 583 +Note: If you are using NODE-RED for the first time, please search and install the two plug-ins in the figure below in node-red to fully use the flow template 584 + 585 +[[image:image-20230307135914-1.png||height="527" width="1045"]] 586 + 587 +[[image:image-20230307135932-2.png||height="527" width="1044"]] 588 + 589 +== 2.8 Datalog Feature == 590 + 591 + 545 545 total 273 entries,by default, 546 546 547 547 User can set [[PNACKMD=1>>||anchor="H3.2.11A0AutoSendNone-ACKmessages"]], to enable Datalog feature. ... ... @@ -554,7 +554,7 @@ 554 554 [[image:image-20221009234629-1.png||_mstalt="431145" height="390" width="577"]] 555 555 556 556 557 -== 2. 8604 +== 2.9 Alarm Mode == 558 558 559 559 560 560 ((( ... ... @@ -579,7 +579,7 @@ 579 579 ))) 580 580 581 581 582 -== 2. 9629 +== 2.10 Transport Mode == 583 583 584 584 585 585 In Transport Mode, TrackerD will check if there is motion. If there is no motion, device will send uplinks every 20 minutes. If there is motion, device will send uplink every 5 minutes. ... ... @@ -588,9 +588,12 @@ 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 591 - ==2.10 LED Status==638 +(% style="display:none" %) (%%) 592 592 593 593 641 +== 2.11 LED Status == 642 + 643 + 594 594 (% border="1.5" style="background-color:#ffffcc; width:500px" %) 595 595 |=(% style="width: 150px;" %)**Event**|=(% style="width: 200px;" %)**Action**|=(% style="width: 150px;" %)**AT+LON to control on/off** 596 596 |(% style="width:157px" %)**Power On**|(% style="width:271px" %)(% style="color:blue" %)**BLUE, **(% style="color:red" %)**RED , **(% style="color:green" %)**Green** flash once|(% style="width:202px" %)N/A ... ... @@ -605,9 +605,12 @@ 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 608 - ==2.11 Button Function==658 +(% style="display:none" %) (%%) 609 609 610 610 661 +== 2.12 Button Function == 662 + 663 + 611 611 (% style="color:blue" %)**RESET button:** 612 612 613 613 [[image:1664502835802-546.png||_mstalt="295061"]] ... ... @@ -617,8 +617,9 @@ 617 617 618 618 (% style="color:red" %)**RED button:** 619 619 620 -[[image: 1664502854406-763.png||_mstalt="295568"]]673 +[[image:image-20230213110506-3.png]](% style="display:none" %) 621 621 675 +(% style="display:none" %) (%%) 622 622 623 623 (% border="1" style="background-color:#ffffcc; width:510px" %) 624 624 |=(% style="width: 100px;" %)**Function**|=(% style="width: 205px;" %)**Action**|=(% style="width: 205px;" %)**Description** ... ... @@ -626,9 +626,12 @@ 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 629 - ==2.12 USB PortFunction==683 +(% style="display:none" %) (%%) 630 630 631 631 686 +== 2.13 USB Port Function == 687 + 688 + 632 632 The USB interface of TrackerD has below functions: 633 633 634 634 * Power on the device ... ... @@ -636,6 +636,9 @@ 636 636 * [[Configure Device>>||anchor="H3.ConfigureTrackerDviaATcommandorLoRaWANdownlink"]] 637 637 * [[Upgrade Firmware>>||anchor="H5.UploadFirmware"]] 638 638 696 +(% style="display:none" %) (%%) 697 + 698 + 639 639 = 3. Configure TrackerD via AT command or LoRaWAN downlink = 640 640 641 641 ... ... @@ -664,6 +664,7 @@ 664 664 665 665 [[image:1664503047675-651.png||_mstalt="295386"]] 666 666 727 +(% style="display:none" %) (%%) 667 667 668 668 == 3.2 Command Set == 669 669 ... ... @@ -730,7 +730,7 @@ 730 730 (% style="color:#037691" %)**0x02 01** (%%) ~/~/ Exit Alarm Mode 731 731 732 732 733 -=== 3.2.5 Disable/Enable LED flash === 794 +=== 3.2.5 Disable/Enable LED flash and buzzer === 734 734 735 735 736 736 Disable/Enable LED for position, downlink and uplink ... ... @@ -1058,7 +1058,7 @@ 1058 1058 [[image:1664503715811-892.png||_mstalt="295698"]] 1059 1059 1060 1060 1061 -=== 6.1.2 Build the development environment === 1122 +=== 6.1.2 Build the development environment === 1062 1062 1063 1063 1064 1064 **~1. Download and install arduino IDE** ... ... @@ -1087,6 +1087,7 @@ 1087 1087 (% style="color:red" %)**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03. 1088 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 1089 1151 + 1090 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 1091 1092 1092 (% style="color:blue" %)**Methods as below:** ... ... @@ -1100,7 +1100,7 @@ 1100 1100 [[image:image-20221213102311-5.png||height="582" width="711"]] 1101 1101 1102 1102 1103 -3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion) 1165 +**3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion)** 1104 1104 1105 1105 [[image:image-20221213102334-6.png]] 1106 1106 ... ... @@ -1180,6 +1180,7 @@ 1180 1180 |(% style="width:118px" %)A8|(% style="width:67px" %)Yellow|(% style="width:123px" %)MTMS/GPIO14 1181 1181 |(% style="width:118px" %)B8|(% style="width:67px" %)Grey|(% style="width:123px" %)MTDO/GPIO15 1182 1182 1245 +(% style="display:none" %) (%%) 1183 1183 1184 1184 1185 1185 == 7.3 Notes on using different serial port tools for TrackerD == ... ... @@ -1264,6 +1264,12 @@ 1264 1264 [[image:image-20221116111844-5.png||_mstalt="430144" height="551" width="708"]] 1265 1265 1266 1266 1330 +== 7.5 Are there example python example for BLE Indoor Positioning? == 1331 + 1332 + 1333 +[[Operating instructions for BLE indoor positioning>>doc:.Example of BLE indoor positioning python.WebHome]] 1334 + 1335 + 1267 1267 = 8 Trouble Shooting = 1268 1268 1269 1269 == 8.1 TDC is changed to 4294947296 and cause no uplink. == ... ... @@ -1405,7 +1405,7 @@ 1405 1405 [[image:image-20221128111443-4.png||height="432" width="546"]] 1406 1406 1407 1407 1408 -Use AT+FDR command to reset and then use AT+CFG to check whether the configuration is back to normal 1477 +Use **AT+FDR** command to reset and then use **AT+CFG** to check whether the configuration is back to normal 1409 1409 1410 1410 [[image:image-20221128111850-5.png]] 1411 1411 ... ... @@ -1449,6 +1449,7 @@ 1449 1449 1450 1450 * (% style="color:red" %)**US915**(%%): Default frequency band US915 1451 1451 1521 +(% style="display:none" %) (%%) 1452 1452 1453 1453 1454 1454 = 10. Packing Info = ... ... @@ -1466,6 +1466,7 @@ 1466 1466 1467 1467 * Weight: 50g 1468 1468 1539 +(% style="display:none" %) (%%) 1469 1469 1470 1470 1471 1471 = 11. Support = ... ... @@ -1475,6 +1475,7 @@ 1475 1475 1476 1476 * 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]]. 1477 1477 1549 +(% style="display:none" %) (%%) 1478 1478 1479 1479 1480 1480 = 12. Reference = ... ... @@ -1485,4 +1485,6 @@ 1485 1485 * **[[Source Code>>https://github.com/dragino/TrackerD]] ** 1486 1486 1487 1487 * [[**Hardware Source**>>https://www.dropbox.com/sh/orwoy6cecb89m4e/AAD37sRuUrvKsHgAJxuVTkB5a?dl=0]] 1560 + 1561 + 1488 1488 )))
- 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
- image-20230307135914-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +131.8 KB - Content
- image-20230307135932-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +109.7 KB - Content