Changes for page TrackerD - LoRaWAN Tracker User Manual(Remove WiFi)
Last modified by Xiaoling on 2023/12/27 09:15
From version 205.4
edited by Xiaoling
on 2023/04/13 10:47
on 2023/04/13 10:47
Change comment:
There is no comment for this version
To version 150.1
edited by Edwin Chen
on 2022/11/24 09:07
on 2022/11/24 09:07
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 32 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
- image-20230308115430-1.png
- image-20230308115616-2.png
- image-20230308115701-3.png
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Edwin - Content
-
... ... @@ -12,7 +12,6 @@ 12 12 13 13 14 14 15 - 16 16 = 1. Introduction = 17 17 18 18 == 1.1 What is TrackerD == ... ... @@ -32,12 +32,15 @@ 32 32 ((( 33 33 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. 34 34 ))) 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 + 38 38 ))) 39 39 40 -[[image: image-20230213110119-1.png||height="382" width="834"]]42 +[[image:1664499921684-770.png||_mstalt="298194"]] 41 41 42 42 43 43 (% style="color:red" %)**Note: LoRaWAN server can be a general LoRaWAN server other than TTN.** ... ... @@ -93,9 +93,6 @@ 93 93 * LoRa Transmit Mode: 125mA @ 20dBm 44mA @ 14dBm 94 94 * Tracking: max: 38mA 95 95 96 -(% style="display:none" %) (%%) 97 - 98 - 99 99 == 1.3 Features == 100 100 101 101 ... ... @@ -114,9 +114,6 @@ 114 114 * Tri-color LED, Alarm button 115 115 * Datalog 116 116 117 -(% style="display:none" %) (%%) 118 - 119 - 120 120 == 1.4 Applications == 121 121 122 122 ... ... @@ -123,9 +123,6 @@ 123 123 * Logistics and Supply Chain Management 124 124 * Human tracking 125 125 126 -(% style="display:none" %) (%%) 127 - 128 - 129 129 = 2. Use TrackerD = 130 130 131 131 == 2.1 How it works? == ... ... @@ -140,7 +140,7 @@ 140 140 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. 141 141 142 142 143 -[[image: image-20230213110214-2.png||height="388"width="847"]]136 +[[image:1664501652064-326.png||_mstalt="293306"]] 144 144 145 145 146 146 ... ... @@ -212,7 +212,7 @@ 212 212 213 213 214 214 (% border="1.5" style="background-color:#ffffcc; color:green; width:440px" %) 215 -|=(% 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;" %)1208 +|=(% 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 216 216 |=(% 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 217 217 218 218 [[image:1665301570342-765.png||_mstalt="294580"]] ... ... @@ -259,7 +259,7 @@ 259 259 (% style="color:#037691" %)**SMOD Field (total 1 byte)**(%%):0x40 260 260 261 261 (% border="1.5" style="background-color:#ffffcc; color:green; width:270px" %) 262 -|=(% scope="row" style="width: 60px;" %)**Size(bit)**|(% style="width:50px" %) 1bits|(% style="width:80px" %)2bit|(% style="width:80px" %)4bit255 +|=(% scope="row" style="width: 60px;" %)**Size(bit)**|(% style="width:50px" %)2bits|(% style="width:80px" %)2bit|(% style="width:80px" %)4bit 263 263 |=(% style="width: 75px;" %)**Value**|(% style="width:64px" %)SMOD|(% style="width:104px" %)GPS_Settings|(% style="width:103px" %)BLE_Settings 264 264 265 265 (% style="color:blue" %)** SMOD:** ... ... @@ -287,13 +287,10 @@ 287 287 288 288 (% style="color:#037691" %)**Status Field (total 1 byte)**(%%): 0x02 289 289 290 -(% border="1.5" style="background-color:#ffffcc; color:green; width: 412.222px" %)291 -|=(% 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 Bit292 -|=(% style="width: 7 5px;" %)**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"]]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"]] 293 293 294 -(% style="display:none" %) (%%) 295 - 296 - 297 297 === 2.4.2 Uplink FPORT~=2, Realtime GNSS Positioning + Temperature & Humidity === 298 298 299 299 ... ... @@ -317,17 +317,15 @@ 317 317 318 318 ==== (% style="color:blue" %)**Alarm & BAT:**(%%) ==== 319 319 320 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:2 79.222px" %)321 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width: 69px" %)163px" %)14322 -|=(% style="width: 72px;" %)**Value**|(% style="width:67px" %)reserve|(% style="width: 69px" %)Alarm Indicate|(% style="width:63px" %)[[BAT>>||anchor="HBAT:"]]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:"]] 323 323 324 -(% style="display:none" %) (%%) 325 - 326 326 ==== (% style="color:blue" %)**FLAG:**(%%) ==== 327 327 328 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:1 83.222px" %)329 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:30px" %)2 52px" %)1330 -|=(% style="width: 79px;" %)**Value**|(% style="width:55px" %)[[MOD>>||anchor="H3.2.7SetPositioningMode"]]|(% style="width: 52px" %)[[LON>>||anchor="HLON:"]]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:"]] 331 331 332 332 **Example:** Payload: 0x02863D68 FAC29BAF 4B45 60 0202 011A 333 333 ... ... @@ -372,9 +372,6 @@ 372 372 * 3.40v ~~ 3.69v: 20% ~~ 40% 373 373 * < 3.39v: 0~~20% 374 374 375 -(% style="display:none" %) (%%) 376 - 377 - 378 378 ==== (% style="color:blue" %)**MOD:**(%%) ==== 379 379 380 380 **Example: ** (0x60>>6) & 0x3f =1 ... ... @@ -436,7 +436,7 @@ 436 436 === 2.4.4 Uplink FPORT~=4, History GNSS Positioning === 437 437 438 438 439 -Set [[PNACKMD=1>>||anchor="H3.2.1 1A0AutoSendNone-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.424 +Set [[PNACKMD=1>>||anchor="H3.2.10A0A0AutoSendNone-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. 440 440 441 441 442 442 (% style="color:red" %)**Note for this mode:** ... ... @@ -491,32 +491,9 @@ 491 491 * (% style="color:#037691" %)**Measured Power: ** (%%) The Measured Power from the strongest iBeacon. 492 492 * (% style="color:#037691" %)**RSSI: ** (%%) The RSSI from the strongest iBeacon. 493 493 494 - (%style="display:none"%)(%%)479 +=== 2.4.6 Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) === 495 495 496 496 497 -=== 2.4.6 Uplink FPORT~=7, Alarm information status(Since firmware 1.4.4) === 498 - 499 - 500 -The upward link device is configured to FPORT = 7. Once Trackerd alarm, it will upload the news to the server. 501 - 502 -(% border="1.5" cellspacing="3" style="background-color:#ffffcc; color:green; width:450px" %) 503 -|**Size(bytes)**|2|1 504 -|**Value**|[[Alarm & BAT>>path:#HAlarm26BAT:]]|Mod+lon 505 - 506 - [[image:image-20230302145315-1.png]] 507 - 508 -**alarm**=(bytes[0] & 0x40) ~/~/ Alarm status 509 - 510 -**batV**=~(~(~(bytes[0] & 0x3f) <<8) | bytes[1])/1000; ~/~/ Battery,units:V 511 - 512 -**mod** = bytes[2] & 0xC0; 513 - 514 -**Lon**=(bytes[2] & 0x20) 515 - 516 - 517 -=== 2.4.7 Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) === 518 - 519 - 520 520 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. 521 521 522 522 ... ... @@ -536,12 +536,9 @@ 536 536 * (% style="color:#037691" %)**SSID: **(%%)WiFi name. 537 537 * (% style="color:#037691" %)**RSSI: **(%%)The RSSI from the strongest WiFi. 538 538 539 - (%style="display:none"%)(%%)501 +=== 2.4.7 Add Payload format in TTN V3 === 540 540 541 541 542 -=== 2.4.8 Add Payload format in TTN V3 === 543 - 544 - 545 545 In TTN V3, user can add a custom payload so it shows friendly. 546 546 547 547 In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder** ... ... @@ -582,53 +582,12 @@ 582 582 [[image:1664502715371-321.png||_mstalt="292162"]] 583 583 584 584 585 -== 2.7 Integrate with Node-red==544 +== 2.7 Datalog Feature == 586 586 587 587 588 -~1. Install node-red, please refer to the installation method in the link: 589 - 590 - [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H1.A0Installation>>http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H1.A0Installation]] 591 - 592 - 593 -2. Import the created flow template, please refer to the import method in the link: 594 - 595 - [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H3.A0Importsampleflow>>http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H3.A0Importsampleflow]] 596 - The address of the flow template: 597 - 598 - [[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]] 599 - 600 -(% style="color:red" %)**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.** 601 - 602 -[[image:image-20230307135914-1.png||height="527" width="1045"]] 603 - 604 - 605 -[[image:image-20230307135932-2.png||height="527" width="1044"]] 606 - 607 - 608 -3. Display the map 609 - Enter the link to the map: 610 - 611 - Change its suffix to ditu:http:~/~/119.91.62.30:1880/**ditu/** 612 - 613 -**~ **[[image:image-20230308115430-1.png||height="548" width="1041"]] 614 - 615 - 616 - Hit all input in input stream 617 - 618 - [[image:image-20230308115616-2.png||height="563" width="1070"]] 619 - 620 - 621 - View map again 622 - 623 -[[image:image-20230308115701-3.png||height="571" width="1085"]] 624 - 625 - 626 -== 2.8 Datalog Feature == 627 - 628 - 629 629 total 273 entries,by default, 630 630 631 -User can set [[PNACKMD=1>>||anchor="H3.2.1 1A0AutoSendNone-ACKmessages"]], to enable Datalog feature.549 +User can set [[PNACKMD=1>>||anchor="H3.2.10A0A0AutoSendNone-ACKmessages"]], to enable Datalog feature. 632 632 633 633 Example use case. 634 634 ... ... @@ -638,11 +638,11 @@ 638 638 [[image:image-20221009234629-1.png||_mstalt="431145" height="390" width="577"]] 639 639 640 640 641 -== 2. 9Alarm Mode ==559 +== 2.8 Alarm Mode == 642 642 643 643 644 644 ((( 645 -User can push the (% style="color:red" %)**RED button**(%%) by more than 5 seconds to enter Alarm Mode. Alarm Mode is used to send SOS info to IoT platform.563 +User can push the (% style="color:red" %)**RED button**(%%) by more than 5 seconds to enter Alarm Mode. 646 646 ))) 647 647 648 648 ... ... @@ -663,21 +663,19 @@ 663 663 ))) 664 664 665 665 666 -== 2. 10Transport Mode ==584 +== 2.9 Transport Mode == 667 667 668 668 669 -In Transport Mode, TrackerD will check if there is motion (threldhold defined by **[[PT)>>||anchor="H3.2.16GetorSetThresholdformotiondetectFF08Sincefirmware1.4.3FF09"]]**.If there is no motion, device will send uplinks every 20 minutes(Defined by **[[TDC)>>||anchor="H3.2.1SetTransmitInterval"]]**.If there is motion, device will send uplink every 5 minutes(defined by **[[MTDC)>>||anchor="H3.2.3SetTransportModePackettransmissioninterval"]]**.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. 670 670 671 - Whendeviceis setinTransport,itwilluplinkmore frequenctlyduringmoving.589 +[[MTDC>>||anchor="H3.2.3SetTransportModePackettransmissioninterval"]] defines the Uplink Interval during transportation. 672 672 673 -* **[[MTDC>>||anchor="H3.2.3SetTransportModePackettransmissioninterval"]]** defines the Uplink Interval during transportation. 674 -* **[[TDC>>||anchor="H3.2.1SetTransmitInterval"]]** defines the uplink interval when TrackerD is stactic. 675 -* **[[PT>>||anchor="H3.2.16GetorSetThresholdformotiondetectFF08Sincefirmware1.4.3FF09"]]** defines the threldhold to detect a motion. 591 +[[TDC>>||anchor="H3.2.1SetTransmitInterval"]] defines the uplink interval when TrackerD is stactic. 676 676 677 - (%style="display:none"%)(%%)593 +[[PT>>||anchor="H3.2.1SetTransmitInterval"]] defines the threldhold to detect a motion. 678 678 679 679 680 -== 2.1 1LED Status ==596 +== 2.10 LED Status == 681 681 682 682 683 683 (% border="1.5" style="background-color:#ffffcc; width:500px" %) ... ... @@ -694,12 +694,9 @@ 694 694 |(% style="width:157px" %)**Get Downlink**|(% style="width:271px" %)(% style="color:green" %)**GREEN**(%%) led on 1 second|(% style="width:202px" %)Yes 695 695 |(% style="width:157px" %)**Movement Detect**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)led on 500ms|(% style="width:202px" %)N/A 696 696 697 - (%style="display:none"%) (%%)613 +== 2.11 Button Function == 698 698 699 699 700 -== 2.12 Button Function == 701 - 702 - 703 703 (% style="color:blue" %)**RESET button:** 704 704 705 705 [[image:1664502835802-546.png||_mstalt="295061"]] ... ... @@ -709,9 +709,8 @@ 709 709 710 710 (% style="color:red" %)**RED button:** 711 711 712 -[[image: image-20230213110506-3.png]](%style="display:none"%)625 +[[image:1664502854406-763.png||_mstalt="295568"]] 713 713 714 -(% style="display:none" %) (%%) 715 715 716 716 (% border="1" style="background-color:#ffffcc; width:510px" %) 717 717 |=(% style="width: 100px;" %)**Function**|=(% style="width: 205px;" %)**Action**|=(% style="width: 205px;" %)**Description** ... ... @@ -719,12 +719,9 @@ 719 719 |(% 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 720 720 |(% 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. 721 721 722 - (%style="display:none"%) (%%)634 +== 2.12 USB Port Function == 723 723 724 724 725 -== 2.13 USB Port Function == 726 - 727 - 728 728 The USB interface of TrackerD has below functions: 729 729 730 730 * Power on the device ... ... @@ -732,19 +732,6 @@ 732 732 * [[Configure Device>>||anchor="H3.ConfigureTrackerDviaATcommandorLoRaWANdownlink"]] 733 733 * [[Upgrade Firmware>>||anchor="H5.UploadFirmware"]] 734 734 735 -(% style="display:none" %) (%%) 736 - 737 - 738 -== 2.14 Sleep Mode == 739 - 740 - 741 -(% style="color:blue" %)**Sleep Mode:**(%%) To prevent accidental touch of the red button during transportation or assembly, so the peripherals of the device are turned off and enter deep sleep. 742 - 743 -In SLEEP mode, you need to reset by (% style="color:#037691" %)**reset button**. 744 - 745 -Use the** (% style="color:#4472c4" %)AT+SLEEP(%%)** command to put the device into sleep. 746 - 747 - 748 748 = 3. Configure TrackerD via AT command or LoRaWAN downlink = 749 749 750 750 ... ... @@ -773,8 +773,8 @@ 773 773 774 774 [[image:1664503047675-651.png||_mstalt="295386"]] 775 775 776 -(% style="display:none" %) (%%) 777 777 673 + 778 778 == 3.2 Command Set == 779 779 780 780 === 3.2.1 Set Transmit Interval === ... ... @@ -840,7 +840,7 @@ 840 840 (% style="color:#037691" %)**0x02 01** (%%) ~/~/ Exit Alarm Mode 841 841 842 842 843 -=== 3.2.5 Disable/Enable LED flash and buzzer===739 +=== 3.2.5 Disable/Enable LED flash === 844 844 845 845 846 846 Disable/Enable LED for position, downlink and uplink ... ... @@ -964,8 +964,8 @@ 964 964 (% style="color:#037691" %)**0xAD 00 46** (%%) ~/~/ Set AT+PDOP=7 (0x46 / 10 =7) 965 965 966 966 967 -=== 3.2.10 Disable/Enable the confirmation mode === 968 968 864 +=== 3.2.10 Disable/Enable the confirmation mode === 969 969 970 970 * (% style="color:blue" %)**AT Command:** 971 971 ... ... @@ -1048,11 +1048,11 @@ 1048 1048 1049 1049 (% style="color:blue" %)**AT Command:** 1050 1050 1051 -(% style="color:#037691" %)**AT+SHOWID=XX **(%%) ~/~/ 947 +(% style="color:#037691" %)**AT+SHOWID=XX **(%%) ~/~/(Disable (0), Enable (1), default:0) 1052 1052 \\Example: AT+SHOWID=1 ~-~-> Enable Information printing. 1053 1053 1054 1054 1055 -=== 3.2.15 951 +=== 3.2.15 Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) === 1056 1056 1057 1057 1058 1058 The Channels Mode in the LORAWAN LMIC library is from 0 ~~ 7. When CHE = 8, 72 channels will be accessible to the network. ... ... @@ -1059,34 +1059,14 @@ 1059 1059 1060 1060 (% style="color:blue" %)**AT Command:** 1061 1061 1062 -(% style="color:#037691" %)**AT+CHE=1 958 +(% style="color:#037691" %)**AT+CHE=1**(%%) ~/~/ set one channels mode 1063 1063 1064 1064 1065 1065 (% style="color:blue" %)**Downlink Payload:0X24** 1066 1066 1067 -Example: 0x24 01 963 +Example: 0x24 01 ~/~/ Same as AT+CHE=1 1068 1068 1069 1069 1070 -=== 3.2.16 Get or Set Threshold for motion detect(Since firmware 1.4.3) === 1071 - 1072 - 1073 -User can set the motion detect thredhold for transportation mode. The smaller the value, the more sensitivity to trigger a motion event. 1074 - 1075 -(% style="color:blue" %)**AT Command:** 1076 - 1077 -(% style="color:#037691" %)**AT+PT=xx** 1078 - 1079 - Example: 1080 - 1081 - AT+PT=14 ~-~-> Set to detect car motion. 1082 - 1083 - AT+PT=41 ~-~-> set to detect walk motion. 1084 - 1085 - 1086 -(% style="color:blue" %)**Downlink Payload:0xB4**(%%) 1087 -0xB4 14 ~/~/ Same as AT+PT=14 1088 - 1089 - 1090 1090 = 4. Setting for Different Scenarios = 1091 1091 1092 1092 ... ... @@ -1138,15 +1138,16 @@ 1138 1138 US915.bin @ 0x10000(Select the bin file of the frequency band you need) 1139 1139 1140 1140 1141 -[[image:image-20221 207120501-1.png]]1017 +[[image:image-20221118105220-2.png||_mstalt="426608"]] 1142 1142 1143 1143 1144 1144 1145 1145 After upgrade finish, it will show finish as below: 1146 1146 1147 -[[image:image-20221 207133911-7.png]]1023 +[[image:image-20221118105402-4.png||_mstalt="427986"]] 1148 1148 1149 1149 1026 + 1150 1150 = 6. Developer Guide = 1151 1151 1152 1152 == 6.1 Compile Source Code == ... ... @@ -1168,70 +1168,13 @@ 1168 1168 [[image:1664503715811-892.png||_mstalt="295698"]] 1169 1169 1170 1170 1171 -=== 6.1.2 Build the development environment === 1172 - 1173 - 1174 -**~1. Download and install arduino IDE** 1175 - 1176 -[[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]] 1177 - 1178 - 1179 -**2. Download the ESP32 development package in the arduino IDE** 1180 - 1181 -[[image:image-20221213100007-1.png]] 1182 - 1183 - 1184 -Input: [[https:~~/~~/dl.espressif.com/dl/package_esp32_index.json>>https://dl.espressif.com/dl/package_esp32_index.json]] 1185 - 1186 -[[image:image-20221213100626-2.png]] 1187 - 1188 - 1189 -Restart the IDE after the addition is complete, then: 1190 - 1191 -[[image:image-20221213100808-3.png||height="679" width="649"]] 1192 - 1193 - 1194 -[[image:image-20221213101040-4.png]] 1195 - 1196 - 1197 -(% style="color:red" %)**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03. 1198 -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)** 1199 - 1200 - 1201 -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: 1202 - 1203 -(% style="color:blue" %)**Methods as below:** 1204 - 1205 -~1. Download: [[https:~~/~~/github.com/dragino/TrackerD/releases/tag/v1.4.4>>https://github.com/dragino/TrackerD/releases/tag/v1.4.4]] 1206 - 1207 -2. Find the arduino installation path, hardware → create a new espressif folder → create a new esp32 folder, unzip the compressed package here. 1208 - 1209 1209 (% 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. 1210 1210 1211 -[[image:image-20221213102311-5.png||height="582" width="711"]] 1212 - 1213 - 1214 -**3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion)** 1215 - 1216 -[[image:image-20221213102334-6.png]] 1217 - 1218 -(% style="color:red" %)**Note: This step requires a python environment** 1219 - 1220 - 1221 -Either way, in the end: 1222 - 1223 -The final effect is to open the arduino and you can see the esp32 1224 - 1225 -[[image:image-20221213110952-8.png||height="866" width="711"]] 1226 - 1227 - 1228 - 1229 1229 [[image:image-20221024105643-1.png||_mstalt="428129"]] 1230 1230 1231 1231 **~ Figure1** 1232 1232 1233 1233 1234 - 1235 1235 [[image:image-20221024105643-2.png||_mstalt="428493"]] 1236 1236 1237 1237 **Figure2** ... ... @@ -1291,9 +1291,6 @@ 1291 1291 |(% style="width:118px" %)A8|(% style="width:67px" %)Yellow|(% style="width:123px" %)MTMS/GPIO14 1292 1292 |(% style="width:118px" %)B8|(% style="width:67px" %)Grey|(% style="width:123px" %)MTDO/GPIO15 1293 1293 1294 -(% style="display:none" %) (%%) 1295 - 1296 - 1297 1297 == 7.3 Notes on using different serial port tools for TrackerD == 1298 1298 1299 1299 === 7.3.1 Serial port utility === ... ... @@ -1376,18 +1376,6 @@ 1376 1376 [[image:image-20221116111844-5.png||_mstalt="430144" height="551" width="708"]] 1377 1377 1378 1378 1379 -== 7.5 Are there example python example for BLE Indoor Positioning? == 1380 - 1381 - 1382 -[[Operating instructions for BLE indoor positioning>>doc:.Example of BLE indoor positioning python.WebHome]] 1383 - 1384 - 1385 -== 7.6 Can alert mode and transport mode be used together? == 1386 - 1387 - 1388 -Yes, you can also press the panic button to sound the alarm if set to transport mode 1389 - 1390 - 1391 1391 = 8 Trouble Shooting = 1392 1392 1393 1393 == 8.1 TDC is changed to 4294947296 and cause no uplink. == ... ... @@ -1394,7 +1394,7 @@ 1394 1394 1395 1395 1396 1396 ((( 1397 -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.11202 +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 1398 1398 ))) 1399 1399 1400 1400 ... ... @@ -1408,65 +1408,54 @@ 1408 1408 1409 1409 == 8.3 Problem after Upgrading Firmware == 1410 1410 1411 -=== 8.3.1 "rst: (0x3 SW_RESET)" andContinue Restart after upgrading ===1216 +=== 8.3.1 Continue Restart after upgrading === 1412 1412 1413 1413 1414 -**Error Output** 1415 - 1416 - 1417 -[[image:image-20221122100004-4.png||_mstalt="424606"]] 1418 - 1419 - 1420 1420 ((( 1421 -Some partition is missed during upgrade, please upgrade below four files as example: 1422 - 1423 -[[image:image-20221207120524-2.png]] 1220 +If it is V1.4.0 and the previous version, new partitions need to be loaded when upgrading. The new version of the software is stored in the partition package. The upgrade method is shown in the figure 1424 1424 ))) 1425 1425 1426 1426 1427 - === 8.3.2 TrackerD's led light isalways GREEN on after upgrading==1224 +[[image:image-20221118105249-3.png||_mstalt="430664"]] 1428 1428 1429 1429 1430 - Itisbecausethe partitionsareifferentwhen upgradingversions above 1.4.1,andanew partition file needsto beadded. Pleasereferto the operationsteps in chapter 8.3.11227 +=== 8.3.2 TrackerD's led light is always GREEN on after upgrading === 1431 1431 1432 1432 1433 - ===8.3.3"flash read err"afterupgradefirmware===1230 +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 1434 1434 1435 1435 1233 +=== 8.3.3 "flash read err" after upgrade firmware === 1234 + 1436 1436 Error shows below, user might erase the entire flash include u-boot partition which cause this issue. 1437 1437 1438 - 1439 1439 [[image:image-20221122100004-1.png||_mstalt="423514" height="497" width="534"]] 1440 1440 1441 1441 1442 1442 User need to upgrade again with below four files to solve this issue. 1443 1443 1444 - [[image:image-20221 207120530-3.png]]1242 + [[image:image-20221122100004-2.png||_mstalt="423878" height="619" width="389"]] 1445 1445 1446 1446 **Figure 2** 1447 1447 1448 1448 1449 -=== 8.3. 4"Device Key become ff ff ff ff ff ff ff ff " after upgrade firmware ===1247 +=== 8.3.3 "Device Key become ff ff ff ff ff ff ff ff " after upgrade firmware === 1450 1450 1451 - 1452 1452 User might erase the entire flash include keys and default settings which cause this issue. 1453 1453 1454 -After the upgrade is completed, enter **AT+CFG**as shown in the figure below.1251 +After the upgrade is completed, enter AT+CFG as shown in the figure below. 1455 1455 1456 - 1457 1457 [[image:image-20221122100004-3.png||_mstalt="424242"]] 1458 1458 1255 +Please **AT+FDR** which will reset all settings to factory settings. , and then input the following keys by the information on the label. 1459 1459 1460 -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. 1461 - 1462 1462 After AT+FDR. please set 1463 1463 1464 -* (% _mstmutation="1" style="color:blue" %)**AT+PDOP=7** 1259 +* AT+PDOP=7 1260 +* AT+FTIME=180000 1465 1465 1466 - * (% _mstmutation="1" style="color:blue" %)**AT+FTIME=180000**1262 +Example: 1467 1467 1468 -**Example:** 1469 - 1470 1470 AT+PDOP=7.00 1471 1471 1472 1472 AT+FTIME=180 ... ... @@ -1484,6 +1484,13 @@ 1484 1484 AT+APPSKEY=dacce2299ecd97a73ee3f80b5a46a559 ( no need for OTAA) 1485 1485 1486 1486 1281 + 1282 +=== 8.3.4 If there is a situation in Figure 1, and a new partition file needs to be added. Please refer to the operation steps in chapter 8.3.1 === 1283 + 1284 + 1285 +[[image:image-20221122100004-4.png||_mstalt="424606"]] 1286 + 1287 + 1487 1487 == 8.4 When positioning, it will restart or the PDOP setting is unsuccessful == 1488 1488 1489 1489 ... ... @@ -1506,52 +1506,6 @@ 1506 1506 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 1507 1507 1508 1508 1509 -== 8.6 When upgrading the firmware, the data is not completely erased, and the information does not return to normal after multiple resets == 1510 - 1511 - 1512 -When upgrading, use the erase button to upgrade 1513 - 1514 -[[image:image-20221207120536-4.png]] 1515 - 1516 - 1517 -The parameters are displayed abnormally and cannot be fixed using AT+FDR 1518 - 1519 -[[image:image-20221128103040-2.png||height="431" width="525"]] 1520 - 1521 - 1522 -Please upgrade these four files,link(The boot_app0 file is in the version folder you need) 1523 - 1524 -[[image:image-20221207134028-8.png]] 1525 - 1526 - 1527 -Reboot information after upgrade 1528 - 1529 -[[image:image-20221128111443-4.png||height="432" width="546"]] 1530 - 1531 - 1532 -Use **AT+FDR** command to reset and then use **AT+CFG** to check whether the configuration is back to normal 1533 - 1534 -[[image:image-20221128111850-5.png]] 1535 - 1536 - 1537 -After the parameters return to normal, upgrade to the version you need again 1538 - 1539 -[[image:image-20221207120601-5.png]] 1540 - 1541 - 1542 -At this point, the parameters return to normal after running AT+FDR again 1543 - 1544 -[[image:image-20221128112035-7.png]] 1545 - 1546 - 1547 -== 8.7 If you encounter the following problems, please upgrade to the latest version == 1548 - 1549 - 1550 -~1. Press and hold the red button (more than 5 seconds), and the device and server do not respond. 1551 - 1552 -2. Send some commands through the serial port to prompt an error (Example:AT+SMOD=1,0,1) 1553 - 1554 - 1555 1555 = 9. Order Info = 1556 1556 1557 1557 ... ... @@ -1573,9 +1573,6 @@ 1573 1573 1574 1574 * (% style="color:red" %)**US915**(%%): Default frequency band US915 1575 1575 1576 -(% style="display:none" %) (%%) 1577 - 1578 - 1579 1579 = 10. Packing Info = 1580 1580 1581 1581 ... ... @@ -1591,9 +1591,6 @@ 1591 1591 1592 1592 * Weight: 50g 1593 1593 1594 -(% style="display:none" %) (%%) 1595 - 1596 - 1597 1597 = 11. Support = 1598 1598 1599 1599 ... ... @@ -1601,9 +1601,6 @@ 1601 1601 1602 1602 * 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]]. 1603 1603 1604 -(% style="display:none" %) (%%) 1605 - 1606 - 1607 1607 = 12. Reference = 1608 1608 1609 1609 ... ... @@ -1612,6 +1612,3 @@ 1612 1612 * **[[Source Code>>https://github.com/dragino/TrackerD]] ** 1613 1613 1614 1614 * [[**Hardware Source**>>https://www.dropbox.com/sh/orwoy6cecb89m4e/AAD37sRuUrvKsHgAJxuVTkB5a?dl=0]] 1615 - 1616 - 1617 -)))
- image-20221128102938-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -41.3 KB - Content
- image-20221128103040-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -19.2 KB - Content
- image-20221128110503-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -45.6 KB - Content
- image-20221128111443-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -15.6 KB - Content
- image-20221128111850-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -14.5 KB - Content
- image-20221128111951-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -45.4 KB - Content
- image-20221128112035-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -14.7 KB - Content
- image-20221207120501-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -44.5 KB - Content
- image-20221207120524-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -44.5 KB - Content
- image-20221207120530-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -44.5 KB - Content
- image-20221207120536-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -44.5 KB - Content
- image-20221207120601-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -44.5 KB - Content
- image-20221207133836-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -52.1 KB - Content
- image-20221207133911-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -46.3 KB - Content
- image-20221207134028-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -49.3 KB - Content
- image-20221213100007-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -32.7 KB - Content
- image-20221213100626-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -35.7 KB - Content
- image-20221213100808-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -91.3 KB - Content
- image-20221213101040-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -26.3 KB - Content
- image-20221213102311-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -49.7 KB - Content
- image-20221213102334-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -52.5 KB - Content
- image-20221213102718-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -116.5 KB - Content
- image-20221213110952-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -152.8 KB - Content
- image-20230213110119-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -182.3 KB - Content
- image-20230213110214-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -182.3 KB - Content
- image-20230213110506-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -19.8 KB - Content
- image-20230302145315-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -35.1 KB - Content
- image-20230307135914-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -131.8 KB - Content
- image-20230307135932-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -109.7 KB - Content
- image-20230308115430-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -2.4 MB - Content
- image-20230308115616-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -152.7 KB - Content
- image-20230308115701-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -2.4 MB - Content