Changes for page TrackerD - LoRaWAN Tracker User Manual(Remove WiFi)
Last modified by Xiaoling on 2023/12/27 09:15
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 32 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
- image-20230308115430-1.png
- image-20230308115616-2.png
- image-20230308115701-3.png
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.** ... ... @@ -56,13 +56,11 @@ 56 56 * EEPROM: 520 KB 57 57 * Clock Speed: 32Mhz 58 58 59 - 60 60 (% style="color:blue" %)**Common DC Characteristics:** 61 61 62 62 * Supply Voltage: 5V via USB port or Internal li-on battery 63 63 * Operating Temperature: -40 ~~ 60°C 64 64 65 - 66 66 (% style="color:blue" %)**LoRa Spec:** 67 67 68 68 * Frequency Range, ... ... @@ -84,12 +84,10 @@ 84 84 * Packet engine up to 256 bytes with CRC. 85 85 * LoRaWAN 1.0.3 Specification 86 86 87 - 88 88 (% style="color:blue" %)**Battery:** 89 89 90 90 * 1000mA Li-on Battery power (for model TrackerD) 91 91 92 - 93 93 (% style="color:blue" %)**Power Consumption** 94 94 95 95 * Sleeping Mode: 200uA ... ... @@ -96,9 +96,8 @@ 96 96 * LoRa Transmit Mode: 125mA @ 20dBm 44mA @ 14dBm 97 97 * Tracking: max: 38mA 98 98 96 +(% style="display:none" %) 99 99 100 - 101 - 102 102 == 1.3 Features == 103 103 104 104 ... ... @@ -117,10 +117,8 @@ 117 117 * Tri-color LED, Alarm button 118 118 * Datalog 119 119 116 +(% style="display:none" %) 120 120 121 - 122 - 123 - 124 124 == 1.4 Applications == 125 125 126 126 ... ... @@ -127,9 +127,8 @@ 127 127 * Logistics and Supply Chain Management 128 128 * Human tracking 129 129 124 +(% style="display:none" %) 130 130 131 - 132 - 133 133 = 2. Use TrackerD = 134 134 135 135 == 2.1 How it works? == ... ... @@ -144,7 +144,7 @@ 144 144 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. 145 145 146 146 147 -[[image: 1664501652064-326.png||_mstalt="293306"]]140 +[[image:image-20230213110214-2.png||height="388" width="847"]] 148 148 149 149 150 150 ... ... @@ -216,7 +216,7 @@ 216 216 217 217 218 218 (% border="1.5" style="background-color:#ffffcc; color:green; width:440px" %) 219 -|=(% 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;" %)1212 +|=(% 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 220 220 |=(% 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 221 221 222 222 [[image:1665301570342-765.png||_mstalt="294580"]] ... ... @@ -263,7 +263,7 @@ 263 263 (% style="color:#037691" %)**SMOD Field (total 1 byte)**(%%):0x40 264 264 265 265 (% border="1.5" style="background-color:#ffffcc; color:green; width:270px" %) 266 -|=(% scope="row" style="width: 60px;" %)**Size(bit)**|(% style="width:50px" %) 2bits|(% style="width:80px" %)2bit|(% style="width:80px" %)4bit259 +|=(% scope="row" style="width: 60px;" %)**Size(bit)**|(% style="width:50px" %)1bits|(% style="width:80px" %)2bit|(% style="width:80px" %)4bit 267 267 |=(% style="width: 75px;" %)**Value**|(% style="width:64px" %)SMOD|(% style="width:104px" %)GPS_Settings|(% style="width:103px" %)BLE_Settings 268 268 269 269 (% style="color:blue" %)** SMOD:** ... ... @@ -291,9 +291,9 @@ 291 291 292 292 (% style="color:#037691" %)**Status Field (total 1 byte)**(%%): 0x02 293 293 294 -(% border="1.5" style="background-color:#ffffcc; color:green; width:2 60px" %)295 -|=(% 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 Bit296 -|=(% 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"]]287 +(% border="1.5" style="background-color:#ffffcc; color:green; width:412.222px" %) 288 +|=(% 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 289 +|=(% 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"]] 297 297 298 298 299 299 === 2.4.2 Uplink FPORT~=2, Realtime GNSS Positioning + Temperature & Humidity === ... ... @@ -319,15 +319,15 @@ 319 319 320 320 ==== (% style="color:blue" %)**Alarm & BAT:**(%%) ==== 321 321 322 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:2 50px" %)323 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width: 80px" %)1bit|(% style="width:50px" %)14bits324 -|=(% style="width: 72px;" %)**Value**|(% style="width:67px" %)reserve|(% style="width: 118px" %)Alarm Indicate|(% style="width:63px" %)[[BAT>>||anchor="HBAT:"]]315 +(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:279.222px" %) 316 +|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width:69px" %)1 bit|(% style="width:63px" %)14 bits 317 +|=(% style="width: 72px;" %)**Value**|(% style="width:67px" %)reserve|(% style="width:69px" %)Alarm Indicate|(% style="width:63px" %)[[BAT>>||anchor="HBAT:"]] 325 325 326 326 ==== (% style="color:blue" %)**FLAG:**(%%) ==== 327 327 328 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:12 0px" %)329 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:30px" %)2bits|(% style="width: 30px" %)1bit330 -|=(% style="width: 79px;" %)**Value**|(% style="width:55px" %)[[MOD>>||anchor="H3.2.7SetPositioningMode"]]|(% style="width: 47px" %)[[LON>>||anchor="HLON:"]]321 +(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:183.222px" %) 322 +|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:30px" %)2 bits|(% style="width:52px" %)1 bit 323 +|=(% style="width: 79px;" %)**Value**|(% style="width:55px" %)[[MOD>>||anchor="H3.2.7SetPositioningMode"]]|(% style="width:52px" %)[[LON>>||anchor="HLON:"]] 331 331 332 332 **Example:** Payload: 0x02863D68 FAC29BAF 4B45 60 0202 011A 333 333 ... ... @@ -372,9 +372,9 @@ 372 372 * 3.40v ~~ 3.69v: 20% ~~ 40% 373 373 * < 3.39v: 0~~20% 374 374 368 +(% style="display:none" %) (%%) 375 375 376 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.11A0A 0AutoSendNone-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.432 +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. 440 440 441 441 442 442 (% style="color:red" %)**Note for this mode:** ... ... @@ -491,12 +491,32 @@ 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 487 +(% style="display:none" %) (%%) 494 494 495 495 490 +=== 2.4.6 Uplink FPORT~=7, Alarm information status(Since firmware 1.4.4) === 496 496 497 -=== 2.4.6 Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) === 498 498 493 +The upward link device is configured to FPORT = 7. Once Trackerd alarm, it will upload the news to the server. 499 499 495 +(% border="1.5" cellspacing="3" style="background-color:#ffffcc; color:green; width:450px" %) 496 +|**Size(bytes)**|2|1 497 +|**Value**|[[Alarm & BAT>>path:#HAlarm26BAT:]]|Mod+lon 498 + 499 + [[image:image-20230302145315-1.png]] 500 + 501 +**alarm**=(bytes[0] & 0x40) ~/~/ Alarm status 502 + 503 +**batV**=~(~(~(bytes[0] & 0x3f) <<8) | bytes[1])/1000; ~/~/ Battery,units:V 504 + 505 +**mod** = bytes[2] & 0xC0; 506 + 507 +**Lon**=(bytes[2] & 0x20) 508 + 509 + 510 +=== 2.4.7 Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) === 511 + 512 + 500 500 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. 501 501 502 502 ... ... @@ -516,12 +516,12 @@ 516 516 * (% style="color:#037691" %)**SSID: **(%%)WiFi name. 517 517 * (% style="color:#037691" %)**RSSI: **(%%)The RSSI from the strongest WiFi. 518 518 532 +(% style="display:none" %) (%%) 519 519 520 520 535 +=== 2.4.8 Add Payload format in TTN V3 === 521 521 522 -=== 2.4.7 Add Payload format in TTN V3 === 523 523 524 - 525 525 In TTN V3, user can add a custom payload so it shows friendly. 526 526 527 527 In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder** ... ... @@ -562,12 +562,53 @@ 562 562 [[image:1664502715371-321.png||_mstalt="292162"]] 563 563 564 564 565 -== 2.7 Datalog Feature ==578 +== 2.7 Integrate with Node-red == 566 566 567 567 581 +~1. Install node-red, please refer to the installation method in the link: 582 + 583 + [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H1.A0Installation>>http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H1.A0Installation]] 584 + 585 + 586 +2. Import the created flow template, please refer to the import method in the link: 587 + 588 + [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H3.A0Importsampleflow>>http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H3.A0Importsampleflow]] 589 + The address of the flow template: 590 + 591 + [[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]] 592 + 593 +(% 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.** 594 + 595 +[[image:image-20230307135914-1.png||height="527" width="1045"]] 596 + 597 + 598 +[[image:image-20230307135932-2.png||height="527" width="1044"]] 599 + 600 + 601 +3. Display the map 602 + Enter the link to the map: 603 + 604 + Change its suffix to ditu:http:~/~/119.91.62.30:1880/**ditu/** 605 + 606 +**~ **[[image:image-20230308115430-1.png||height="548" width="1041"]] 607 + 608 + 609 + Hit all input in input stream 610 + 611 + [[image:image-20230308115616-2.png||height="563" width="1070"]] 612 + 613 + 614 + View map again 615 + 616 +[[image:image-20230308115701-3.png||height="571" width="1085"]] 617 + 618 + 619 +== 2.8 Datalog Feature == 620 + 621 + 568 568 total 273 entries,by default, 569 569 570 -User can set [[PNACKMD=1>>||anchor="H3.2.11A0A 0AutoSendNone-ACKmessages"]], to enable Datalog feature.624 +User can set [[PNACKMD=1>>||anchor="H3.2.11A0AutoSendNone-ACKmessages"]], to enable Datalog feature. 571 571 572 572 Example use case. 573 573 ... ... @@ -577,11 +577,11 @@ 577 577 [[image:image-20221009234629-1.png||_mstalt="431145" height="390" width="577"]] 578 578 579 579 580 -== 2. 8634 +== 2.9 Alarm Mode == 581 581 582 582 583 583 ((( 584 -User can push the (% style="color:red" %)**RED button**(%%) by more than 5 seconds to enter Alarm Mode. 638 +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. 585 585 ))) 586 586 587 587 ... ... @@ -602,21 +602,23 @@ 602 602 ))) 603 603 604 604 605 -== 2. 9659 +== 2.10 Transport Mode == 606 606 607 607 608 -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. 662 +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"]]**. 609 609 664 +When device is set in Transport Mode, it will uplink more frequenctly during moving. 665 + 610 610 * **[[MTDC>>||anchor="H3.2.3SetTransportModePackettransmissioninterval"]]** defines the Uplink Interval during transportation. 611 611 * **[[TDC>>||anchor="H3.2.1SetTransmitInterval"]]** defines the uplink interval when TrackerD is stactic. 612 612 * **[[PT>>||anchor="H3.2.16GetorSetThresholdformotiondetectFF08Sincefirmware1.4.3FF09"]]** defines the threldhold to detect a motion. 613 613 670 +(% style="display:none" %) (%%) 614 614 615 615 673 +== 2.11 LED Status == 616 616 617 -== 2.10 LED Status == 618 618 619 - 620 620 (% border="1.5" style="background-color:#ffffcc; width:500px" %) 621 621 |=(% style="width: 150px;" %)**Event**|=(% style="width: 200px;" %)**Action**|=(% style="width: 150px;" %)**AT+LON to control on/off** 622 622 |(% 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 ... ... @@ -631,10 +631,12 @@ 631 631 |(% style="width:157px" %)**Get Downlink**|(% style="width:271px" %)(% style="color:green" %)**GREEN**(%%) led on 1 second|(% style="width:202px" %)Yes 632 632 |(% style="width:157px" %)**Movement Detect**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)led on 500ms|(% style="width:202px" %)N/A 633 633 690 +(% style="display:none" %) (%%) 634 634 635 -== 2.11 Button Function == 636 636 693 +== 2.12 Button Function == 637 637 695 + 638 638 (% style="color:blue" %)**RESET button:** 639 639 640 640 [[image:1664502835802-546.png||_mstalt="295061"]] ... ... @@ -644,8 +644,9 @@ 644 644 645 645 (% style="color:red" %)**RED button:** 646 646 647 -[[image: 1664502854406-763.png||_mstalt="295568"]]705 +[[image:image-20230213110506-3.png]](% style="display:none" %) 648 648 707 +(% style="display:none" %) (%%) 649 649 650 650 (% border="1" style="background-color:#ffffcc; width:510px" %) 651 651 |=(% style="width: 100px;" %)**Function**|=(% style="width: 205px;" %)**Action**|=(% style="width: 205px;" %)**Description** ... ... @@ -653,10 +653,12 @@ 653 653 |(% 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 654 654 |(% 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. 655 655 715 +(% style="display:none" %) (%%) 656 656 657 -== 2.12 USB Port Function == 658 658 718 +== 2.13 USB Port Function == 659 659 720 + 660 660 The USB interface of TrackerD has below functions: 661 661 662 662 * Power on the device ... ... @@ -664,9 +664,19 @@ 664 664 * [[Configure Device>>||anchor="H3.ConfigureTrackerDviaATcommandorLoRaWANdownlink"]] 665 665 * [[Upgrade Firmware>>||anchor="H5.UploadFirmware"]] 666 666 728 +(% style="display:none" %) (%%) 667 667 668 668 731 +== 2.14 Sleep Mode == 669 669 733 + 734 +(% 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. 735 + 736 +In SLEEP mode, you need to reset by (% style="color:#037691" %)**reset button**. 737 + 738 +Use the** (% style="color:#4472c4" %)AT+SLEEP(%%)** command to put the device into sleep. 739 + 740 + 670 670 = 3. Configure TrackerD via AT command or LoRaWAN downlink = 671 671 672 672 ... ... @@ -695,8 +695,8 @@ 695 695 696 696 [[image:1664503047675-651.png||_mstalt="295386"]] 697 697 769 +(% style="display:none" %) (%%) 698 698 699 - 700 700 == 3.2 Command Set == 701 701 702 702 === 3.2.1 Set Transmit Interval === ... ... @@ -762,7 +762,7 @@ 762 762 (% style="color:#037691" %)**0x02 01** (%%) ~/~/ Exit Alarm Mode 763 763 764 764 765 -=== 3.2.5 Disable/Enable LED flash === 836 +=== 3.2.5 Disable/Enable LED flash and buzzer === 766 766 767 767 768 768 Disable/Enable LED for position, downlink and uplink ... ... @@ -886,9 +886,9 @@ 886 886 (% style="color:#037691" %)**0xAD 00 46** (%%) ~/~/ Set AT+PDOP=7 (0x46 / 10 =7) 887 887 888 888 889 - 890 890 === 3.2.10 Disable/Enable the confirmation mode === 891 891 962 + 892 892 * (% style="color:blue" %)**AT Command:** 893 893 894 894 (% style="color:#037691" %)**AT+CFM=xx** ... ... @@ -970,11 +970,11 @@ 970 970 971 971 (% style="color:blue" %)**AT Command:** 972 972 973 -(% style="color:#037691" %)**AT+SHOWID=XX **(%%) ~/~/(Disable (0), Enable (1), default:0) 1044 +(% style="color:#037691" %)**AT+SHOWID=XX **(%%) ~/~/ (Disable (0), Enable (1), default:0) 974 974 \\Example: AT+SHOWID=1 ~-~-> Enable Information printing. 975 975 976 976 977 -=== 3.2.15 Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) === 1048 +=== 3.2.15 Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) === 978 978 979 979 980 980 The Channels Mode in the LORAWAN LMIC library is from 0 ~~ 7. When CHE = 8, 72 channels will be accessible to the network. ... ... @@ -981,16 +981,17 @@ 981 981 982 982 (% style="color:blue" %)**AT Command:** 983 983 984 -(% style="color:#037691" %)**AT+CHE=1**(%%) 1055 +(% style="color:#037691" %)**AT+CHE=1 **(%%) ~/~/ set one channels mode 985 985 986 986 987 987 (% style="color:blue" %)**Downlink Payload:0X24** 988 988 989 -Example: 0x24 01 ~/~/ Same as AT+CHE=1 1060 +Example: 0x24 01 ~/~/ Same as AT+CHE=1 990 990 991 991 992 -=== 3.2.16 Get or Set Threshold for motion detect(Since firmware 1.4.3) === 1063 +=== 3.2.16 Get or Set Threshold for motion detect(Since firmware 1.4.3) === 993 993 1065 + 994 994 User can set the motion detect thredhold for transportation mode. The smaller the value, the more sensitivity to trigger a motion event. 995 995 996 996 (% style="color:blue" %)**AT Command:** ... ... @@ -1001,7 +1001,7 @@ 1001 1001 1002 1002 AT+PT=14 ~-~-> Set to detect car motion. 1003 1003 1004 - AT+PT=41 1076 + AT+PT=41 ~-~-> set to detect walk motion. 1005 1005 1006 1006 1007 1007 (% style="color:blue" %)**Downlink Payload:0xB4**(%%) ... ... @@ -1008,7 +1008,6 @@ 1008 1008 0xB4 14 ~/~/ Same as AT+PT=14 1009 1009 1010 1010 1011 - 1012 1012 = 4. Setting for Different Scenarios = 1013 1013 1014 1014 ... ... @@ -1060,16 +1060,15 @@ 1060 1060 US915.bin @ 0x10000(Select the bin file of the frequency band you need) 1061 1061 1062 1062 1063 -[[image:image-202211 18105220-2.png||_mstalt="426608"]]1134 +[[image:image-20221207120501-1.png]] 1064 1064 1065 1065 1066 1066 1067 1067 After upgrade finish, it will show finish as below: 1068 1068 1069 -[[image:image-2022111 8105402-4.png||_mstalt="427986"]]1140 +[[image:image-20221207133911-7.png]] 1070 1070 1071 1071 1072 - 1073 1073 = 6. Developer Guide = 1074 1074 1075 1075 == 6.1 Compile Source Code == ... ... @@ -1091,13 +1091,70 @@ 1091 1091 [[image:1664503715811-892.png||_mstalt="295698"]] 1092 1092 1093 1093 1164 +=== 6.1.2 Build the development environment === 1165 + 1166 + 1167 +**~1. Download and install arduino IDE** 1168 + 1169 +[[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]] 1170 + 1171 + 1172 +**2. Download the ESP32 development package in the arduino IDE** 1173 + 1174 +[[image:image-20221213100007-1.png]] 1175 + 1176 + 1177 +Input: [[https:~~/~~/dl.espressif.com/dl/package_esp32_index.json>>https://dl.espressif.com/dl/package_esp32_index.json]] 1178 + 1179 +[[image:image-20221213100626-2.png]] 1180 + 1181 + 1182 +Restart the IDE after the addition is complete, then: 1183 + 1184 +[[image:image-20221213100808-3.png||height="679" width="649"]] 1185 + 1186 + 1187 +[[image:image-20221213101040-4.png]] 1188 + 1189 + 1190 +(% style="color:red" %)**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03. 1191 +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)** 1192 + 1193 + 1194 +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: 1195 + 1196 +(% style="color:blue" %)**Methods as below:** 1197 + 1198 +~1. Download: [[https:~~/~~/github.com/dragino/TrackerD/releases/tag/v1.4.4>>https://github.com/dragino/TrackerD/releases/tag/v1.4.4]] 1199 + 1200 +2. Find the arduino installation path, hardware → create a new espressif folder → create a new esp32 folder, unzip the compressed package here. 1201 + 1094 1094 (% 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. 1095 1095 1204 +[[image:image-20221213102311-5.png||height="582" width="711"]] 1205 + 1206 + 1207 +**3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion)** 1208 + 1209 +[[image:image-20221213102334-6.png]] 1210 + 1211 +(% style="color:red" %)**Note: This step requires a python environment** 1212 + 1213 + 1214 +Either way, in the end: 1215 + 1216 +The final effect is to open the arduino and you can see the esp32 1217 + 1218 +[[image:image-20221213110952-8.png||height="866" width="711"]] 1219 + 1220 + 1221 + 1096 1096 [[image:image-20221024105643-1.png||_mstalt="428129"]] 1097 1097 1098 1098 **~ Figure1** 1099 1099 1100 1100 1227 + 1101 1101 [[image:image-20221024105643-2.png||_mstalt="428493"]] 1102 1102 1103 1103 **Figure2** ... ... @@ -1157,7 +1157,9 @@ 1157 1157 |(% style="width:118px" %)A8|(% style="width:67px" %)Yellow|(% style="width:123px" %)MTMS/GPIO14 1158 1158 |(% style="width:118px" %)B8|(% style="width:67px" %)Grey|(% style="width:123px" %)MTDO/GPIO15 1159 1159 1287 +(% style="display:none" %) (%%) 1160 1160 1289 + 1161 1161 == 7.3 Notes on using different serial port tools for TrackerD == 1162 1162 1163 1163 === 7.3.1 Serial port utility === ... ... @@ -1240,6 +1240,18 @@ 1240 1240 [[image:image-20221116111844-5.png||_mstalt="430144" height="551" width="708"]] 1241 1241 1242 1242 1372 +== 7.5 Are there example python example for BLE Indoor Positioning? == 1373 + 1374 + 1375 +[[Operating instructions for BLE indoor positioning>>doc:.Example of BLE indoor positioning python.WebHome]] 1376 + 1377 + 1378 +== 7.6 Can alert mode and transport mode be used together? == 1379 + 1380 + 1381 +Yes, you can also press the panic button to sound the alarm if set to transport mode 1382 + 1383 + 1243 1243 = 8 Trouble Shooting = 1244 1244 1245 1245 == 8.1 TDC is changed to 4294947296 and cause no uplink. == ... ... @@ -1246,7 +1246,7 @@ 1246 1246 1247 1247 1248 1248 ((( 1249 -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 1390 +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 1250 1250 ))) 1251 1251 1252 1252 ... ... @@ -1262,14 +1262,17 @@ 1262 1262 1263 1263 === 8.3.1 "rst: (0x3 SW_RESET)" and Continue Restart after upgrading === 1264 1264 1265 -Error Output 1266 1266 1407 +**Error Output** 1408 + 1409 + 1267 1267 [[image:image-20221122100004-4.png||_mstalt="424606"]] 1268 1268 1412 + 1269 1269 ((( 1270 1270 Some partition is missed during upgrade, please upgrade below four files as example: 1271 1271 1272 -[[image:image-20221 122100004-2.png||_mstalt="423878" height="619" width="389"]]1416 +[[image:image-20221207120524-2.png]] 1273 1273 ))) 1274 1274 1275 1275 ... ... @@ -1281,35 +1281,40 @@ 1281 1281 1282 1282 === 8.3.3 "flash read err" after upgrade firmware === 1283 1283 1428 + 1284 1284 Error shows below, user might erase the entire flash include u-boot partition which cause this issue. 1285 1285 1431 + 1286 1286 [[image:image-20221122100004-1.png||_mstalt="423514" height="497" width="534"]] 1287 1287 1288 1288 1289 1289 User need to upgrade again with below four files to solve this issue. 1290 1290 1291 - [[image:image-20221 122100004-2.png||_mstalt="423878" height="619" width="389"]]1437 + [[image:image-20221207120530-3.png]] 1292 1292 1293 1293 **Figure 2** 1294 1294 1295 1295 1296 -=== 8.3. 31442 +=== 8.3.4 "Device Key become ff ff ff ff ff ff ff ff " after upgrade firmware === 1297 1297 1444 + 1298 1298 User might erase the entire flash include keys and default settings which cause this issue. 1299 1299 1300 -After the upgrade is completed, enter AT+CFG as shown in the figure below. 1447 +After the upgrade is completed, enter **AT+CFG** as shown in the figure below. 1301 1301 1449 + 1302 1302 [[image:image-20221122100004-3.png||_mstalt="424242"]] 1303 1303 1304 -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. 1305 1305 1453 +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. 1454 + 1306 1306 After AT+FDR. please set 1307 1307 1308 -* AT+PDOP=7 1457 +* (% _mstmutation="1" style="color:blue" %)**AT+PDOP=7** 1309 1309 1310 -* AT+FTIME=180000 1459 +* (% _mstmutation="1" style="color:blue" %)**AT+FTIME=180000** 1311 1311 1312 -Example: 1461 +**Example:** 1313 1313 1314 1314 AT+PDOP=7.00 1315 1315 ... ... @@ -1350,6 +1350,52 @@ 1350 1350 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 1351 1351 1352 1352 1502 +== 8.6 When upgrading the firmware, the data is not completely erased, and the information does not return to normal after multiple resets == 1503 + 1504 + 1505 +When upgrading, use the erase button to upgrade 1506 + 1507 +[[image:image-20221207120536-4.png]] 1508 + 1509 + 1510 +The parameters are displayed abnormally and cannot be fixed using AT+FDR 1511 + 1512 +[[image:image-20221128103040-2.png||height="431" width="525"]] 1513 + 1514 + 1515 +Please upgrade these four files,link(The boot_app0 file is in the version folder you need) 1516 + 1517 +[[image:image-20221207134028-8.png]] 1518 + 1519 + 1520 +Reboot information after upgrade 1521 + 1522 +[[image:image-20221128111443-4.png||height="432" width="546"]] 1523 + 1524 + 1525 +Use **AT+FDR** command to reset and then use **AT+CFG** to check whether the configuration is back to normal 1526 + 1527 +[[image:image-20221128111850-5.png]] 1528 + 1529 + 1530 +After the parameters return to normal, upgrade to the version you need again 1531 + 1532 +[[image:image-20221207120601-5.png]] 1533 + 1534 + 1535 +At this point, the parameters return to normal after running AT+FDR again 1536 + 1537 +[[image:image-20221128112035-7.png]] 1538 + 1539 + 1540 +== 8.7 If you encounter the following problems, please upgrade to the latest version == 1541 + 1542 + 1543 +~1. Press and hold the red button (more than 5 seconds), and the device and server do not respond. 1544 + 1545 +2. Send some commands through the serial port to prompt an error (Example:AT+SMOD=1,0,1) 1546 + 1547 + 1353 1353 = 9. Order Info = 1354 1354 1355 1355 ... ... @@ -1371,9 +1371,9 @@ 1371 1371 1372 1372 * (% style="color:red" %)**US915**(%%): Default frequency band US915 1373 1373 1569 +(% style="display:none" %) (%%) 1374 1374 1375 1375 1376 - 1377 1377 = 10. Packing Info = 1378 1378 1379 1379 ... ... @@ -1389,9 +1389,9 @@ 1389 1389 1390 1390 * Weight: 50g 1391 1391 1587 +(% style="display:none" %) (%%) 1392 1392 1393 1393 1394 - 1395 1395 = 11. Support = 1396 1396 1397 1397 ... ... @@ -1399,9 +1399,9 @@ 1399 1399 1400 1400 * 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]]. 1401 1401 1597 +(% style="display:none" %) (%%) 1402 1402 1403 1403 1404 - 1405 1405 = 12. Reference = 1406 1406 1407 1407 ... ... @@ -1410,3 +1410,6 @@ 1410 1410 * **[[Source Code>>https://github.com/dragino/TrackerD]] ** 1411 1411 1412 1412 * [[**Hardware Source**>>https://www.dropbox.com/sh/orwoy6cecb89m4e/AAD37sRuUrvKsHgAJxuVTkB5a?dl=0]] 1608 + 1609 + 1610 +)))
- 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
- image-20230308115430-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.4 MB - Content
- image-20230308115616-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +152.7 KB - Content
- image-20230308115701-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.4 MB - Content