Changes for page TrackerD - LoRaWAN Tracker User Manual(Remove WiFi)
Last modified by Xiaoling on 2023/12/27 09:15
From version 155.1
edited by Edwin Chen
on 2022/11/24 09:22
on 2022/11/24 09:22
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, 29 added, 0 removed)
- image-20221128102938-1.png
- image-20221128103040-2.png
- image-20221128110503-3.png
- image-20221128111443-4.png
- image-20221128111850-5.png
- 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
- image-20230213110119-1.png
- image-20230213110214-2.png
- image-20230213110506-3.png
- image-20230302145315-1.png
- image-20230307135914-1.png
- image-20230307135932-2.png
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Bei - 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 == ... ... @@ -31,15 +31,12 @@ 31 31 ((( 32 32 The LoRa wireless technology used in TrackerD allows the user to send data and reach extremely long ranges at low data-rates. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional tracking services. 33 33 ))) 34 -))) 35 35 36 36 ((( 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 - 39 - 40 40 ))) 41 41 42 -[[image: 1664499921684-770.png||_mstalt="298194"]]40 +[[image:image-20230213110119-1.png||height="382" width="834"]] 43 43 44 44 45 45 (% 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"]]134 +[[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;" %)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 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" %)4bit253 +|=(% 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,9 +280,9 @@ 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:2 60px" %)284 -|=(% 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 Bit285 -|=(% 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"]] 286 286 287 287 === 2.4.2 Uplink FPORT~=2, Realtime GNSS Positioning + Temperature & Humidity === 288 288 ... ... @@ -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:2 50px" %)311 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width: 80px" %)1bit|(% style="width:50px" %)14bits312 -|=(% 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:"]] 313 313 314 314 ==== (% style="color:blue" %)**FLAG:**(%%) ==== 315 315 316 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:12 0px" %)317 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:30px" %)2bits|(% style="width: 30px" %)1bit318 -|=(% 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:"]] 319 319 320 320 **Example:** Payload: 0x02863D68 FAC29BAF 4B45 60 0202 011A 321 321 ... ... @@ -360,6 +360,9 @@ 360 360 * 3.40v ~~ 3.69v: 20% ~~ 40% 361 361 * < 3.39v: 0~~20% 362 362 361 +(% style="display:none" %) (%%) 362 + 363 + 363 363 ==== (% style="color:blue" %)**MOD:**(%%) ==== 364 364 365 365 **Example: ** (0x60>>6) & 0x3f =1 ... ... @@ -421,7 +421,7 @@ 421 421 === 2.4.4 Uplink FPORT~=4, History GNSS Positioning === 422 422 423 423 424 -Set [[PNACKMD=1>>||anchor="H3.2.1 0A0A0AutoSendNone-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.425 +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. 425 425 426 426 427 427 (% style="color:red" %)**Note for this mode:** ... ... @@ -476,9 +476,32 @@ 476 476 * (% style="color:#037691" %)**Measured Power: ** (%%) The Measured Power from the strongest iBeacon. 477 477 * (% style="color:#037691" %)**RSSI: ** (%%) The RSSI from the strongest iBeacon. 478 478 479 - ===2.4.6 Uplink FPORT~=8, WiFi Positioning with StrongestWiFiSSID(Sincefirmware 1.4.1) ===480 +(% style="display:none" %) (%%) 480 480 481 481 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 + 482 482 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. 483 483 484 484 ... ... @@ -498,9 +498,12 @@ 498 498 * (% style="color:#037691" %)**SSID: **(%%)WiFi name. 499 499 * (% style="color:#037691" %)**RSSI: **(%%)The RSSI from the strongest WiFi. 500 500 501 - ===2.4.7 Add PayloadformatinTTNV3===525 +(% style="display:none" %) (%%) 502 502 503 503 528 +=== 2.4.8 Add Payload format in TTN V3 === 529 + 530 + 504 504 In TTN V3, user can add a custom payload so it shows friendly. 505 505 506 506 In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder** ... ... @@ -541,12 +541,30 @@ 541 541 [[image:1664502715371-321.png||_mstalt="292162"]] 542 542 543 543 544 -== 2.7 Datalog Feature ==571 +== 2.7 Integrate with Node-red == 545 545 573 +~1. Install node-red, please refer to the installation method in the link: 546 546 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 + 547 547 total 273 entries,by default, 548 548 549 -User can set [[PNACKMD=1>>||anchor="H3.2.1 0A0A0AutoSendNone-ACKmessages"]], to enable Datalog feature.594 +User can set [[PNACKMD=1>>||anchor="H3.2.11A0AutoSendNone-ACKmessages"]], to enable Datalog feature. 550 550 551 551 Example use case. 552 552 ... ... @@ -556,7 +556,7 @@ 556 556 [[image:image-20221009234629-1.png||_mstalt="431145" height="390" width="577"]] 557 557 558 558 559 -== 2. 8604 +== 2.9 Alarm Mode == 560 560 561 561 562 562 ((( ... ... @@ -581,7 +581,7 @@ 581 581 ))) 582 582 583 583 584 -== 2. 9629 +== 2.10 Transport Mode == 585 585 586 586 587 587 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. ... ... @@ -590,9 +590,12 @@ 590 590 * **[[TDC>>||anchor="H3.2.1SetTransmitInterval"]]** defines the uplink interval when TrackerD is stactic. 591 591 * **[[PT>>||anchor="H3.2.16GetorSetThresholdformotiondetectFF08Sincefirmware1.4.3FF09"]]** defines the threldhold to detect a motion. 592 592 593 - ==2.10 LED Status==638 +(% style="display:none" %) (%%) 594 594 595 595 641 +== 2.11 LED Status == 642 + 643 + 596 596 (% border="1.5" style="background-color:#ffffcc; width:500px" %) 597 597 |=(% style="width: 150px;" %)**Event**|=(% style="width: 200px;" %)**Action**|=(% style="width: 150px;" %)**AT+LON to control on/off** 598 598 |(% 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 ... ... @@ -607,9 +607,12 @@ 607 607 |(% style="width:157px" %)**Get Downlink**|(% style="width:271px" %)(% style="color:green" %)**GREEN**(%%) led on 1 second|(% style="width:202px" %)Yes 608 608 |(% style="width:157px" %)**Movement Detect**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)led on 500ms|(% style="width:202px" %)N/A 609 609 610 - ==2.11 Button Function==658 +(% style="display:none" %) (%%) 611 611 612 612 661 +== 2.12 Button Function == 662 + 663 + 613 613 (% style="color:blue" %)**RESET button:** 614 614 615 615 [[image:1664502835802-546.png||_mstalt="295061"]] ... ... @@ -619,8 +619,9 @@ 619 619 620 620 (% style="color:red" %)**RED button:** 621 621 622 -[[image: 1664502854406-763.png||_mstalt="295568"]]673 +[[image:image-20230213110506-3.png]](% style="display:none" %) 623 623 675 +(% style="display:none" %) (%%) 624 624 625 625 (% border="1" style="background-color:#ffffcc; width:510px" %) 626 626 |=(% style="width: 100px;" %)**Function**|=(% style="width: 205px;" %)**Action**|=(% style="width: 205px;" %)**Description** ... ... @@ -628,9 +628,12 @@ 628 628 |(% 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 629 629 |(% 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. 630 630 631 - ==2.12 USB PortFunction==683 +(% style="display:none" %) (%%) 632 632 633 633 686 +== 2.13 USB Port Function == 687 + 688 + 634 634 The USB interface of TrackerD has below functions: 635 635 636 636 * Power on the device ... ... @@ -638,6 +638,9 @@ 638 638 * [[Configure Device>>||anchor="H3.ConfigureTrackerDviaATcommandorLoRaWANdownlink"]] 639 639 * [[Upgrade Firmware>>||anchor="H5.UploadFirmware"]] 640 640 696 +(% style="display:none" %) (%%) 697 + 698 + 641 641 = 3. Configure TrackerD via AT command or LoRaWAN downlink = 642 642 643 643 ... ... @@ -666,8 +666,8 @@ 666 666 667 667 [[image:1664503047675-651.png||_mstalt="295386"]] 668 668 727 +(% style="display:none" %) (%%) 669 669 670 - 671 671 == 3.2 Command Set == 672 672 673 673 === 3.2.1 Set Transmit Interval === ... ... @@ -733,7 +733,7 @@ 733 733 (% style="color:#037691" %)**0x02 01** (%%) ~/~/ Exit Alarm Mode 734 734 735 735 736 -=== 3.2.5 Disable/Enable LED flash === 794 +=== 3.2.5 Disable/Enable LED flash and buzzer === 737 737 738 738 739 739 Disable/Enable LED for position, downlink and uplink ... ... @@ -857,8 +857,8 @@ 857 857 (% style="color:#037691" %)**0xAD 00 46** (%%) ~/~/ Set AT+PDOP=7 (0x46 / 10 =7) 858 858 859 859 918 +=== 3.2.10 Disable/Enable the confirmation mode === 860 860 861 -=== 3.2.10 Disable/Enable the confirmation mode === 862 862 863 863 * (% style="color:blue" %)**AT Command:** 864 864 ... ... @@ -941,11 +941,11 @@ 941 941 942 942 (% style="color:blue" %)**AT Command:** 943 943 944 -(% style="color:#037691" %)**AT+SHOWID=XX **(%%) ~/~/(Disable (0), Enable (1), default:0) 1002 +(% style="color:#037691" %)**AT+SHOWID=XX **(%%) ~/~/ (Disable (0), Enable (1), default:0) 945 945 \\Example: AT+SHOWID=1 ~-~-> Enable Information printing. 946 946 947 947 948 -=== 3.2.15 Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) === 1006 +=== 3.2.15 Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) === 949 949 950 950 951 951 The Channels Mode in the LORAWAN LMIC library is from 0 ~~ 7. When CHE = 8, 72 channels will be accessible to the network. ... ... @@ -952,16 +952,17 @@ 952 952 953 953 (% style="color:blue" %)**AT Command:** 954 954 955 -(% style="color:#037691" %)**AT+CHE=1**(%%) 1013 +(% style="color:#037691" %)**AT+CHE=1 **(%%) ~/~/ set one channels mode 956 956 957 957 958 958 (% style="color:blue" %)**Downlink Payload:0X24** 959 959 960 -Example: 0x24 01 ~/~/ Same as AT+CHE=1 1018 +Example: 0x24 01 ~/~/ Same as AT+CHE=1 961 961 962 962 963 -=== 3.2.16 Get or Set Threshold for motion detect(Since firmware 1.4.3) === 1021 +=== 3.2.16 Get or Set Threshold for motion detect(Since firmware 1.4.3) === 964 964 1023 + 965 965 User can set the motion detect thredhold for transportation mode. The smaller the value, the more sensitivity to trigger a motion event. 966 966 967 967 (% style="color:blue" %)**AT Command:** ... ... @@ -972,7 +972,7 @@ 972 972 973 973 AT+PT=14 ~-~-> Set to detect car motion. 974 974 975 - AT+PT=41 1034 + AT+PT=41 ~-~-> set to detect walk motion. 976 976 977 977 978 978 (% style="color:blue" %)**Downlink Payload:0xB4**(%%) ... ... @@ -979,7 +979,6 @@ 979 979 0xB4 14 ~/~/ Same as AT+PT=14 980 980 981 981 982 - 983 983 = 4. Setting for Different Scenarios = 984 984 985 985 ... ... @@ -1031,16 +1031,15 @@ 1031 1031 US915.bin @ 0x10000(Select the bin file of the frequency band you need) 1032 1032 1033 1033 1034 -[[image:image-202211 18105220-2.png||_mstalt="426608"]]1092 +[[image:image-20221207120501-1.png]] 1035 1035 1036 1036 1037 1037 1038 1038 After upgrade finish, it will show finish as below: 1039 1039 1040 -[[image:image-2022111 8105402-4.png||_mstalt="427986"]]1098 +[[image:image-20221207133911-7.png]] 1041 1041 1042 1042 1043 - 1044 1044 = 6. Developer Guide = 1045 1045 1046 1046 == 6.1 Compile Source Code == ... ... @@ -1062,13 +1062,70 @@ 1062 1062 [[image:1664503715811-892.png||_mstalt="295698"]] 1063 1063 1064 1064 1122 +=== 6.1.2 Build the development environment === 1123 + 1124 + 1125 +**~1. Download and install arduino IDE** 1126 + 1127 +[[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]] 1128 + 1129 + 1130 +**2. Download the ESP32 development package in the arduino IDE** 1131 + 1132 +[[image:image-20221213100007-1.png]] 1133 + 1134 + 1135 +Input: [[https:~~/~~/dl.espressif.com/dl/package_esp32_index.json>>https://dl.espressif.com/dl/package_esp32_index.json]] 1136 + 1137 +[[image:image-20221213100626-2.png]] 1138 + 1139 + 1140 +Restart the IDE after the addition is complete, then: 1141 + 1142 +[[image:image-20221213100808-3.png||height="679" width="649"]] 1143 + 1144 + 1145 +[[image:image-20221213101040-4.png]] 1146 + 1147 + 1148 +(% style="color:red" %)**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03. 1149 +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)** 1150 + 1151 + 1152 +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: 1153 + 1154 +(% style="color:blue" %)**Methods as below:** 1155 + 1156 +~1. Download: [[https:~~/~~/github.com/dragino/TrackerD/releases/tag/v1.4.4>>https://github.com/dragino/TrackerD/releases/tag/v1.4.4]] 1157 + 1158 +2. Find the arduino installation path, hardware → create a new espressif folder → create a new esp32 folder, unzip the compressed package here. 1159 + 1065 1065 (% 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. 1066 1066 1162 +[[image:image-20221213102311-5.png||height="582" width="711"]] 1163 + 1164 + 1165 +**3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion)** 1166 + 1167 +[[image:image-20221213102334-6.png]] 1168 + 1169 +(% style="color:red" %)**Note: This step requires a python environment** 1170 + 1171 + 1172 +Either way, in the end: 1173 + 1174 +The final effect is to open the arduino and you can see the esp32 1175 + 1176 +[[image:image-20221213110952-8.png||height="866" width="711"]] 1177 + 1178 + 1179 + 1067 1067 [[image:image-20221024105643-1.png||_mstalt="428129"]] 1068 1068 1069 1069 **~ Figure1** 1070 1070 1071 1071 1185 + 1072 1072 [[image:image-20221024105643-2.png||_mstalt="428493"]] 1073 1073 1074 1074 **Figure2** ... ... @@ -1128,6 +1128,9 @@ 1128 1128 |(% style="width:118px" %)A8|(% style="width:67px" %)Yellow|(% style="width:123px" %)MTMS/GPIO14 1129 1129 |(% style="width:118px" %)B8|(% style="width:67px" %)Grey|(% style="width:123px" %)MTDO/GPIO15 1130 1130 1245 +(% style="display:none" %) (%%) 1246 + 1247 + 1131 1131 == 7.3 Notes on using different serial port tools for TrackerD == 1132 1132 1133 1133 === 7.3.1 Serial port utility === ... ... @@ -1210,6 +1210,12 @@ 1210 1210 [[image:image-20221116111844-5.png||_mstalt="430144" height="551" width="708"]] 1211 1211 1212 1212 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 + 1213 1213 = 8 Trouble Shooting = 1214 1214 1215 1215 == 8.1 TDC is changed to 4294947296 and cause no uplink. == ... ... @@ -1216,7 +1216,7 @@ 1216 1216 1217 1217 1218 1218 ((( 1219 -Before firmware v1.4.0: When the Transport Mode is enabled (**AT+INTWK=1**), the **TDC** needs to be greater than **MTDC**, otherwise, TDC setting will because 4294947296 after wakre up from motion. This bug is fixed in firmware v1.4.1 1342 +Before firmware v1.4.0: When the Transport Mode is enabled ((% style="color:blue" %)**AT+INTWK=1**(%%)), the **TDC** needs to be greater than **MTDC**, otherwise, TDC setting will because 4294947296 after wakre up from motion. This bug is fixed in firmware v1.4.1 1220 1220 ))) 1221 1221 1222 1222 ... ... @@ -1230,58 +1230,65 @@ 1230 1230 1231 1231 == 8.3 Problem after Upgrading Firmware == 1232 1232 1233 -=== 8.3.1 "rst: (0x3 SW_RESET)" and Continue Restart after upgrading === 1356 +=== 8.3.1 "rst: (0x3 SW_RESET)" and Continue Restart after upgrading === 1234 1234 1235 -Error Output 1236 1236 1359 +**Error Output** 1360 + 1361 + 1237 1237 [[image:image-20221122100004-4.png||_mstalt="424606"]] 1238 1238 1364 + 1239 1239 ((( 1240 1240 Some partition is missed during upgrade, please upgrade below four files as example: 1241 1241 1242 -[[image:image-20221 122100004-2.png||_mstalt="423878" height="619" width="389"]]1368 +[[image:image-20221207120524-2.png]] 1243 1243 ))) 1244 1244 1245 1245 1372 +=== 8.3.2 TrackerD's led light is always GREEN on after upgrading === 1246 1246 1247 1247 1248 -=== 8.3.2 TrackerD's led light is always GREEN on after upgrading === 1249 - 1250 - 1251 1251 It is because the partitions are different when upgrading versions above 1.4.1, and a new partition file needs to be added. Please refer to the operation steps in chapter 8.3.1 1252 1252 1253 1253 1254 -=== 8.3.3 "flash read err" after upgrade firmware === 1378 +=== 8.3.3 "flash read err" after upgrade firmware === 1255 1255 1380 + 1256 1256 Error shows below, user might erase the entire flash include u-boot partition which cause this issue. 1257 1257 1383 + 1258 1258 [[image:image-20221122100004-1.png||_mstalt="423514" height="497" width="534"]] 1259 1259 1260 1260 1261 1261 User need to upgrade again with below four files to solve this issue. 1262 1262 1263 - [[image:image-20221 122100004-2.png||_mstalt="423878" height="619" width="389"]]1389 + [[image:image-20221207120530-3.png]] 1264 1264 1265 1265 **Figure 2** 1266 1266 1267 1267 1268 -=== 8.3. 3"Device Key become ff ff ff ff ff ff ff ff " after upgrade firmware ===1394 +=== 8.3.4 "Device Key become ff ff ff ff ff ff ff ff " after upgrade firmware === 1269 1269 1396 + 1270 1270 User might erase the entire flash include keys and default settings which cause this issue. 1271 1271 1272 -After the upgrade is completed, enter AT+CFG as shown in the figure below. 1399 +After the upgrade is completed, enter **AT+CFG** as shown in the figure below. 1273 1273 1401 + 1274 1274 [[image:image-20221122100004-3.png||_mstalt="424242"]] 1275 1275 1276 -Please **AT+FDR** which will reset all settings to factory settings. , and then input the following keys by the information on the label. 1277 1277 1405 +Please (% style="color:blue" %)**AT+FDR**(%%) which will reset all settings to factory settings. , and then input the following keys by the information on the label. 1406 + 1278 1278 After AT+FDR. please set 1279 1279 1280 -* AT+PDOP=7 1281 -* AT+FTIME=180000 1409 +* (% _mstmutation="1" style="color:blue" %)**AT+PDOP=7** 1282 1282 1283 - Example:1411 +* (% _mstmutation="1" style="color:blue" %)**AT+FTIME=180000** 1284 1284 1413 +**Example:** 1414 + 1285 1285 AT+PDOP=7.00 1286 1286 1287 1287 AT+FTIME=180 ... ... @@ -1299,7 +1299,6 @@ 1299 1299 AT+APPSKEY=dacce2299ecd97a73ee3f80b5a46a559 ( no need for OTAA) 1300 1300 1301 1301 1302 - 1303 1303 == 8.4 When positioning, it will restart or the PDOP setting is unsuccessful == 1304 1304 1305 1305 ... ... @@ -1322,6 +1322,52 @@ 1322 1322 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 1323 1323 1324 1324 1454 +== 8.6 When upgrading the firmware, the data is not completely erased, and the information does not return to normal after multiple resets == 1455 + 1456 + 1457 +When upgrading, use the erase button to upgrade 1458 + 1459 +[[image:image-20221207120536-4.png]] 1460 + 1461 + 1462 +The parameters are displayed abnormally and cannot be fixed using AT+FDR 1463 + 1464 +[[image:image-20221128103040-2.png||height="431" width="525"]] 1465 + 1466 + 1467 +Please upgrade these four files,link(The boot_app0 file is in the version folder you need) 1468 + 1469 +[[image:image-20221207134028-8.png]] 1470 + 1471 + 1472 +Reboot information after upgrade 1473 + 1474 +[[image:image-20221128111443-4.png||height="432" width="546"]] 1475 + 1476 + 1477 +Use **AT+FDR** command to reset and then use **AT+CFG** to check whether the configuration is back to normal 1478 + 1479 +[[image:image-20221128111850-5.png]] 1480 + 1481 + 1482 +After the parameters return to normal, upgrade to the version you need again 1483 + 1484 +[[image:image-20221207120601-5.png]] 1485 + 1486 + 1487 +At this point, the parameters return to normal after running AT+FDR again 1488 + 1489 +[[image:image-20221128112035-7.png]] 1490 + 1491 + 1492 +== 8.7 If you encounter the following problems, please upgrade to the latest version == 1493 + 1494 + 1495 +~1. Press and hold the red button (more than 5 seconds), and the device and server do not respond. 1496 + 1497 +2. Send some commands through the serial port to prompt an error (Example:AT+SMOD=1,0,1) 1498 + 1499 + 1325 1325 = 9. Order Info = 1326 1326 1327 1327 ... ... @@ -1343,6 +1343,9 @@ 1343 1343 1344 1344 * (% style="color:red" %)**US915**(%%): Default frequency band US915 1345 1345 1521 +(% style="display:none" %) (%%) 1522 + 1523 + 1346 1346 = 10. Packing Info = 1347 1347 1348 1348 ... ... @@ -1358,6 +1358,9 @@ 1358 1358 1359 1359 * Weight: 50g 1360 1360 1539 +(% style="display:none" %) (%%) 1540 + 1541 + 1361 1361 = 11. Support = 1362 1362 1363 1363 ... ... @@ -1365,6 +1365,9 @@ 1365 1365 1366 1366 * 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]]. 1367 1367 1549 +(% style="display:none" %) (%%) 1550 + 1551 + 1368 1368 = 12. Reference = 1369 1369 1370 1370 ... ... @@ -1373,3 +1373,6 @@ 1373 1373 * **[[Source Code>>https://github.com/dragino/TrackerD]] ** 1374 1374 1375 1375 * [[**Hardware Source**>>https://www.dropbox.com/sh/orwoy6cecb89m4e/AAD37sRuUrvKsHgAJxuVTkB5a?dl=0]] 1560 + 1561 + 1562 +)))
- image-20221128102938-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +41.3 KB - Content
- image-20221128103040-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +19.2 KB - Content
- image-20221128110503-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +45.6 KB - Content
- image-20221128111443-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +15.6 KB - Content
- image-20221128111850-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +14.5 KB - Content
- image-20221128111951-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +45.4 KB - Content
- image-20221128112035-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +14.7 KB - Content
- image-20221207120501-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +44.5 KB - Content
- image-20221207120524-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +44.5 KB - Content
- image-20221207120530-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +44.5 KB - Content
- image-20221207120536-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +44.5 KB - Content
- image-20221207120601-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +44.5 KB - Content
- image-20221207133836-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +52.1 KB - Content
- image-20221207133911-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +46.3 KB - Content
- image-20221207134028-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +49.3 KB - Content
- 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
- 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