Changes for page TrackerD -- LoRaWAN Tracker User Manual
Last modified by Xiaoling on 2025/04/07 17:16
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -120,15 +120,15 @@ 120 120 121 121 122 122 123 -= 2.1 Use TrackerD = 123 +1. Use TrackerD 124 +11. How it works? 124 124 125 -== 2.1 How it works? == 126 126 127 - 128 128 TrackerD is configured as LoRaWAN OTAA Class A GPS tracker by default. It has OTAA keys to join LoRaWAN network. To connect a LoRaWAN network, user need to input the OTAA keys in the LoRaWAN IoT server and push reset button of TrackerD (next to USB port). TrackerD will wake up and auto join the network via OTAA. 129 129 130 130 131 -== 2.2 Quick guide to connect to LoRaWAN server == 130 +1. 131 +11. Quick guide to connect to LoRaWAN server 132 132 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 ... ... @@ -138,7 +138,7 @@ 138 138 139 139 The LPS8N is already set to connect to [[TTN V3 network >>url:https://eu1.cloud.thethings.network/]]. What the rest need to is register this device in TTN V3: 140 140 141 -** (% style="color:blue" %)Step 1**:(%%)Create a device in TTN V3 with the OTAA keys from TrackerD.141 +**Step 1**: Create a device in TTN V3 with the OTAA keys from TrackerD. 142 142 143 143 Each TrackerD is shipped with a sticker with the default device EUI as below: 144 144 ... ... @@ -168,13 +168,13 @@ 168 168 169 169 170 170 171 -** (% style="color:blue" %)Step 2**:(%%)Power on TrackerD by using the on board switch.171 +**Step 2**: Power on TrackerD by using the on board switch. 172 172 173 173 174 -** (% style="color:blue" %)Step 3:**(%%)TrackerD will auto join to the LoRaWAN network. After join success, TrackerD will start to upload message to IoT server.174 +**Step 3:** TrackerD will auto join to the LoRaWAN network. After join success, TrackerD will start to upload message to IoT server. 175 175 176 176 177 -** (% style="color:blue" %)Positioning Mode(SMOD):**177 +**Positioning Mode(SMOD):** 178 178 179 179 * **GPS ONLY(Factory Settings): **only get GPS location info. 180 180 * **BLE ONLY: **Only obtain iBeacon info via BLE. Design for Indoor tracking. ... ... @@ -183,14 +183,19 @@ 183 183 User can switch modes by [[changing SMOD>>path:#Positioning_Mode]]. 184 184 185 185 186 -== 2.3 Uplink Payload ~-~-~-~-~-~-~-~-~-~-~-~-~-~- == 186 +1. 187 +11. Uplink Payload ~-~-~-~-~-~-~-~-~-~-~-~-~-~- 187 187 188 188 189 -=== 2.3.1 Uplink FPORT=5, Device Status === 190 +1. 191 +11. 192 +111. Uplink FPORT=5, Device Status 190 190 191 191 192 192 193 -=== 2.3.2 Uplink FPORT= , Realtime GNSS Positioning === 196 +1. 197 +11. 198 +111. Uplink FPORT= , Realtime GNSS Positioning 194 194 195 195 The default uplink payload includes totally 11 bytes. (User can use AT+MOD=0 to enable the Temperature and humidity sensor to hum/tem info from accelerometer. When accelerometer info is enable, total payload will be 15 bytes, please note 15 bytes won’t work on DR0 on US915/AU915 frequency band. ) 196 196 ... ... @@ -282,11 +282,15 @@ 282 282 283 283 284 284 285 -=== 2.3.3 Uplink FPORT= , History GNSS Positioning === 290 +1. 291 +11. 292 +111. Uplink FPORT= , History GNSS Positioning 286 286 287 287 288 288 289 -=== 2.3.4 BLE positioning Payload(Fport=2) === 296 +1. 297 +11. 298 +111. BLE positioning Payload(Fport=2) 290 290 291 291 Different MODE has different payload: 292 292 ... ... @@ -332,9 +332,10 @@ 332 332 * **RSSI**: The RSSI from the strongest iBeacon. 333 333 334 334 344 +1. 345 +11. 346 +111. Add Payload format in TTN V3 335 335 336 -=== 2.3.5 Add Payload format in TTN V3 === 337 - 338 338 In TTN V3, use can add a custom payload so it shows friendly. 339 339 340 340 In the page Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder ... ... @@ -352,7 +352,8 @@ 352 352 353 353 354 354 355 -== 2.4 Integrate with Datacake == 365 +1. 366 +11. Integrate with Datacake 356 356 357 357 358 358 After TrackerD sends data to LoRaWAN server such as TTN, use can pass the data to Datacake and plot out, currently only support GPS plot. ... ... @@ -362,7 +362,8 @@ 362 362 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image013.png]] 363 363 364 364 365 -== 2.5 Integrate with Tago == 376 +1. 377 +11. Integrate with Tago 366 366 367 367 368 368 After TrackerD sends data to LoRaWAN server such as TTN, use can pass the data to Datacake and plot out, currently only support GPS plot. ... ... @@ -374,7 +374,8 @@ 374 374 375 375 376 376 377 -== 2.6 Alarm Mode == 389 +1. 390 +11. Alarm Mode 378 378 379 379 380 380 User can push the **RED button** by more than 5 seconds to enter Alarm Mode. ... ... @@ -391,11 +391,13 @@ 391 391 When exit alarm mode, **RED LED** will light up for 5 seconds, indicating that the alarm mode is exited. And the alert flag will be set to false. 392 392 393 393 394 -== 2.7 Sports Mode ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-- == 407 +1. 408 +11. Sports Mode ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-- 395 395 396 396 397 397 398 -== 2.8 LED Status == 412 +1. 413 +11. LED Status 399 399 400 400 401 401 |**Event**|**Action**|**AT+LON to control on/off** ... ... @@ -415,7 +415,8 @@ 415 415 416 416 417 417 418 -== 2.9 Button Function == 433 +1. 434 +11. Button Function 419 419 420 420 **RESET button:** 421 421 ... ... @@ -436,7 +436,8 @@ 436 436 437 437 438 438 439 -== 2.10 USB Port Function == 455 +1. 456 +11. USB Port Function 440 440 441 441 The USB interface of TrackerD has below functions: 442 442 ... ... @@ -449,7 +449,7 @@ 449 449 450 450 451 451 452 - = 3.=469 +1. Configure TrackerD via AT command or LoRaWAN downlink 453 453 454 454 455 455 User can configure TrackerD via AT Command or LoRaWAN Downlink. ... ... @@ -457,7 +457,8 @@ 457 457 LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>url:http://wiki.dragino.com/xwiki/bin/view/Main/]] 458 458 459 459 460 -== 3.1 Access AT Command == 477 +1. 478 +11. Access AT Command 461 461 462 462 TrackerD supports the AT command set in stock firmware. User can connect to TrackerD with TYPE-C cable to use AT commands as shown below. ... 463 463 ... ... @@ -476,10 +476,13 @@ 476 476 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image020.png]] 477 477 478 478 479 -== 3.2 Command Set == 497 +1. 498 +11. Command Set 480 480 481 481 482 -=== 3.2.1 Set Transmit Interval === 501 +1. 502 +11. 503 +111. Set Transmit Interval 483 483 484 484 Set device uplink interval. 485 485 ... ... @@ -495,7 +495,9 @@ 495 495 0x01 00 01 2C ~/~/ Same as AT+TDC=300000 496 496 497 497 498 -=== 3.2.2 Set Alarm Packet transmission interval === 519 +1. 520 +11. 521 +111. Set Alarm Packet transmission interval 499 499 500 500 Set alarm packet transmit interval 501 501 ... ... @@ -511,7 +511,9 @@ 511 511 0xB1 00 00 3C ~/~/Same as AT+ATDC=60000 512 512 513 513 514 -=== 3.3.3 Set Sports Mode Packet transmission interval === 537 +1. 538 +11. 539 +111. Set Sports Mode Packet transmission interval 515 515 516 516 Set sports packet transmit interval 517 517 ... ... @@ -528,7 +528,9 @@ 528 528 529 529 530 530 531 -=== 3.3.4 Exit Alarm === 556 +1. 557 +11. 558 +111. Exit Alarm 532 532 533 533 Server send downlink command to exit Alarm mode 534 534 ... ... @@ -542,7 +542,9 @@ 542 542 0x02 01 ~/~/ Exit Alarm Mode 543 543 544 544 545 -=== 3.3.5 Disable/Enable LED flash === 572 +1. 573 +11. 574 +111. Disable/Enable LED flash 546 546 547 547 Disable/Enable LED for position, downlink and uplink 548 548 ... ... @@ -560,7 +560,9 @@ 560 560 561 561 562 562 563 -=== 3.3.6 Disable/Enable movement detect (Debug Only) === 592 +1. 593 +11. 594 +111. Disable/Enable movement detect (Debug Only) 564 564 565 565 User can use this feature to check and set thread hole of movement detect 566 566 ... ... @@ -577,7 +577,9 @@ 577 577 578 578 579 579 580 -=== 3.3.7 Set Positioning Mode === 611 +1. 612 +11. 613 +111. Set Positioning Mode 581 581 582 582 SMOD define the how TrackerD scan and uplink date. 583 583 ... ... @@ -610,7 +610,9 @@ 610 610 0xA5 01 00 ~/~/ Same as AT+ SMOD =1,0 611 611 612 612 613 -=== 3.3.8 Set MAX GPS position time === 646 +1. 647 +11. 648 +111. Set MAX GPS position time 614 614 615 615 Set max positioning time, default is 150 seconds. TrackerD will try to get location info within this period. If fail to get position data within this time, TrackerD will use 000000 for latitude and longitude. 616 616 ... ... @@ -632,7 +632,9 @@ 632 632 633 633 634 634 635 -=== 3.3.9 Set PDOP value for GPS fix accuracy === 670 +1. 671 +11. 672 +111. Set PDOP value for GPS fix accuracy 636 636 637 637 PDOP(Position Dilution of Precision) filter, TrackerD will only accept GPS data with a lower PDOP value than pre-configure PDOP value. If device can’t get a valid GPS packet within FTIME timeout, it will use the GPS data with lowest PDOP value to server. 638 638 ... ... @@ -675,35 +675,34 @@ 675 675 676 676 677 677 678 - = 4.=715 +1. Setting for Different Scenarios 679 679 680 680 681 681 682 -= 5. Upload Firmware = 719 +1. Upload Firmware 720 +11. Firmware Change Log 683 683 684 - 685 -== 5.1 Firmware Change Log == 686 - 687 687 **[[See this link>>url:https://github.com/dragino/TrackerD]]** 688 688 689 689 690 -== 5.2 How to upgrade firmware == 725 +1. 726 +11. How to upgrade firmware 691 691 692 692 User can use the TrackerD ’s USB port to upgrade firmware into it. The hardware connection for upgrade firmware is as below: 693 693 694 694 695 -** (% style="color:blue" %)Step1: **(%%)Connect TrackerD and PC via USB cable shipped with TrackerD.731 +**Step1: **Connect TrackerD and PC via USB cable shipped with TrackerD. 696 696 697 -** (% style="color:blue" %)Step2:**(%%)Install CH9102 driver in the PC.733 +**Step2:** Install CH9102 driver in the PC. 698 698 699 699 After installation of the driver and plug in TrackerD, user should be able to see com port in PC's device manager. 700 700 701 701 702 -** (% style="color:blue" %)Step3:**(%%)Download and Install Flash Tool:738 +**Step3:** Download and Install Flash Tool: 703 703 704 704 [[https:~~/~~/www.espressif.com.cn/en/support/download/other-tools?keys=Flash%2BDownload%2BTools>>url:https://www.espressif.com.cn/en/support/download/other-tools?keys=Flash%2BDownload%2BTools]] 705 705 706 -** (% style="color:blue" %)Step4:**(%%)Run Flash Download Tool and configure chip type to ESP32742 +**Step4:** Run Flash Download Tool and configure chip type to ESP32 707 707 708 708 709 709 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png||alt="image-20220712083115-1.png"]] ... ... @@ -711,7 +711,7 @@ 711 711 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png||alt="image-20220712083115-2.png"]] 712 712 713 713 714 -** (% style="color:blue" %)Step5:**(%%)Select the firmware file (.bin format), com port and proper SPI configure. Clink Start. Bin file location:750 +**Step5:** Select the firmware file (.bin format), com port and proper SPI configure. Clink Start. Bin file location: 715 715 716 716 [[https:~~/~~/www.dropbox.com/sh/733s8xlwahhqg1d/AABxDz80lBVX_to8zNuUQWFja?dl=0>>url:https://www.dropbox.com/sh/733s8xlwahhqg1d/AABxDz80lBVX_to8zNuUQWFja?dl=0]] 717 717 ... ... @@ -732,15 +732,12 @@ 732 732 733 733 734 734 735 - = 6.=771 +1. Developer Guide 736 736 737 737 738 -== 6.1 Compile Source Code == 739 - 740 - 741 -=== 6.1.1 Set up ARDUINO compile environment === 742 - 743 - 774 +* 775 +*1. Compile Source Code 776 +*11. Set up ARDUINO compile environment 744 744 * Download the latest Arduino software (IDE) from the Arduino official website 745 745 746 746 [[https:~~/~~/www.arduino.cc/en/Main/Software>>url:https://www.arduino.cc/en/Main/Software]] ... ... @@ -766,9 +766,8 @@ 766 766 767 767 768 768 769 -== 6.2 Source Code == 770 - 771 - 802 +* 803 +*1. Source Code 772 772 * Open the example in the TrackerD file, please select the correct port in the IDE, as shown below: 773 773 774 774 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image028.png]]
- 1664501652064-326.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -143.9 KB - Content