<
From version < 51.25 >
edited by Xiaoling
on 2022/09/30 15:07
To version < 51.14 >
edited by Xiaoling
on 2022/09/30 13:40
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -25,14 +25,10 @@
25 25  (((
26 26  In TrackerD, there are various sensors such as GPS, WiFi, BLE, Temperature, Humidity, Motion Detection, and Buzzer. User can use TrackerD for different tracking scenario.
27 27  
28 -(((
29 29  TrackerD is program friendly. Developers can use Arduino IDE to customize the software of TrackerD to fit their IoT solution.
30 -)))
31 31  
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  )))
35 -)))
36 36  
37 37  (((
38 38  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.
... ... @@ -97,7 +97,6 @@
97 97  * LoRa Transmit Mode: 125mA @ 20dBm 44mA @ 14dBm
98 98  * Tracking: max: 38mA
99 99  
100 -
101 101  == 1.3  Features ==
102 102  
103 103  
... ... @@ -104,7 +104,7 @@
104 104  * LoRaWAN 1.0.3 Class A
105 105  * ESP32 PICO D4
106 106  * SX1276/78 Wireless Chip
107 -** Arduino IDE Compatible
102 +* Arduino IDE Compatible
108 108  * Open source hardware / software
109 109  * Regular/ Real-time GPS,BLE,WIFI tracking
110 110  * Built-in3 axis accelerometer (LIS3DH)
... ... @@ -116,7 +116,6 @@
116 116  * Tri-color LED, Alarm button
117 117  * Datalog
118 118  
119 -
120 120  == 1.4  Applications ==
121 121  
122 122  
... ... @@ -123,7 +123,6 @@
123 123  * Logistics and Supply Chain Management
124 124  * Human tracking
125 125  
126 -
127 127  = 2.1 Use TrackerD =
128 128  
129 129  
... ... @@ -209,44 +209,47 @@
209 209  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. )
210 210  
211 211  
212 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:480px" %)
213 -|=(% scope="row" style="width: 50px;" %)(((
214 -**Size(bytes)**
215 -)))|(% style="width:60px" %)4|(% style="width:70px" %)4|(% style="width:80px" %)2|(% style="width:50px" %)1|(% style="width:88px" %)(((
216 -2(optional)
217 -)))|(% style="width:87px" %)(((
218 -2(optional)
205 +(% border="2" style="background-color:#ffffcc; color:green; width:537px" %)
206 +|(% style="width:69px" %)(((
207 +**Size**
208 +
209 +**(bytes)**
210 +)))|(% style="width:76px" %)4|(% style="width:87px" %)4|(% style="width:76px" %)2|(% style="width:52px" %)1|(% style="width:88px" %)(((
211 +2
212 +
213 +(optional )
214 +)))|(% style="width:83px" %)(((
215 +2
216 +
217 +(optional)
219 219  )))
220 -|=(% style="width: 69px;" %)**Value**|(% style="width:76px" %)[[Latitude>>||anchor="HLocationinfo:"]]|(% style="width:87px" %)[[Longitude>>||anchor="HLocationinfo:"]]|(% style="width:76px" %)(((
219 +|(% style="width:69px" %)**Value**|(% style="width:76px" %)[[Latitude>>||anchor="HLocationinfo:"]]|(% style="width:87px" %)[[Longitude>>||anchor="HLocationinfo:"]]|(% style="width:76px" %)(((
221 221  [[Alarm & BAT>>||anchor="HAlarm26BAT:"]]
222 -)))|(% style="width:52px" %)[[FLAG>>||anchor="HFLAG:"]]|(% style="width:88px" %)[[Hum>>||anchor="HHum:"]]|(% style="width:87px" %)[[Tem>>||anchor="HTem:"]]
221 +)))|(% style="width:52px" %)[[FLAG>>||anchor="HFLAG:"]]|(% style="width:88px" %)[[Hum>>||anchor="HHum:"]]|(% style="width:83px" %)[[Tem>>||anchor="HTem:"]]
223 223  
224 224  [[image:1664501958445-288.png]]
225 225  
226 226  
227 -==== (% style="color:blue" %)**Alarm & BAT:**(%%) ====
226 +==== (% style="color:blue" %)Alarm & BAT:(%%) ====
228 228  
229 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:250px" %)
230 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width:80px" %)1bit|(% style="width:50px" %)14bits
231 -|=(% style="width: 72px;" %)**Value**|(% style="width:67px" %)reserve|(% style="width:118px" %)Alarm Indicate|(% style="width:63px" %)[[BAT>>||anchor="HBAT:"]] 
228 +(% border="2" style="background-color:#ffffcc; color:green; width:329px" %)
229 +|(% style="width:72px" %)**Size(bit)**|(% style="width:67px" %)1 bit|(% style="width:118px" %)1bit|(% style="width:63px" %)14 bits
230 +|(% style="width:72px" %)**Value**|(% style="width:67px" %)reserve|(% style="width:118px" %)Alarm Indicate|(% style="width:63px" %)[[BAT>>||anchor="HBAT:"]] 
232 232  
232 +==== (% style="color:blue" %)FLAG:(%%) ====
233 233  
234 -==== (% style="color:blue" %)**FLAG:**(%%) ====
234 +(% border="2" style="background-color:#ffffcc; color:green; width:332px" %)
235 +|(% style="width:79px" %)**Size(bit)**|(% style="width:55px" %)2 bits|(% style="width:47px" %)1bit|(% style="width:140px" %)5 bits
236 +|(% style="width:79px" %)**Value**|(% style="width:55px" %)[[MOD>>||anchor="H2.3.4BLEpositioningPayload28Fport229"]]|(% style="width:47px" %)[[LON>>||anchor="HLON:"]]|(% style="width:140px" %)Firmware version 
235 235  
236 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:250px" %)
237 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)2bits|(% style="width:50px" %)1bit|(% style="width:100px" %)5 bits
238 -|=(% style="width: 79px;" %)**Value**|(% style="width:55px" %)[[MOD>>||anchor="H2.3.4BLEpositioningPayload28Fport229"]]|(% style="width:47px" %)[[LON>>||anchor="HLON:"]]|(% style="width:140px" %)Firmware version 
239 -
240 240  **Example:** Payload: 0x02863D68 FAC29BAF 4B45 60 0202 011A 
241 241  
242 242  
243 -==== (% style="color:blue" %)**Location info:**(%%) ====
241 +==== (% style="color:blue" %)Location info:(%%) ====
244 244  
245 245  * Latitude: 02863D68  ⇒  //if (0x//02863D68//& 0x80000000 = 0 )~://  //value = 02863D68 /1000000 = 42.351976//
246 246  * Longitude: FAC29BAF  ⇒ //if (0x//FAC29BAF// & 0x80000000 = 1 )~://  //value = (0x//FAC29BAF// – 0x 100000000)/1000000 =//-87.9094//57//
247 247  
248 -
249 -
250 250  (% style="color:red" %)**Important note:**
251 251  
252 252  1.  When power is low (<2.84v), GPS won't be able to get location info and GPS feature will be disabled and the location field will be filled with 0x0FFFFFFF, 0x0FFFFFFF.
... ... @@ -266,13 +266,15 @@
266 266  
267 267  
268 268  
269 -==== (% style="color:blue" %)**Alarm:**(%%) ====
265 +==== (% style="color:blue" %)Alarm:(%%) ====
270 270  
267 +
271 271  Example:  0x4B & 0x40 >> 6 = 0x01
272 272  
273 273  
274 -==== (% style="color:blue" %)**BAT:**(%%) ====
271 +==== (% style="color:blue" %)BAT:(%%) ====
275 275  
273 +
276 276  Example:  0x0CDD & 0x3FFF ⇒ 3293 (mV).
277 277  
278 278  The battery info shows the current voltage, for (% style="color:blue" %)**TrackerD**(%%) version which powered by li-on battery. User can use below mapping to indicate the battery in percentage: \
... ... @@ -284,11 +284,8 @@
284 284  * 3.40v ~~ 3.69v:  20% ~~ 40%
285 285  * < 3.39v:  0~~20%
286 286  
285 +==== (% style="color:blue" %)LON:(%%) ====
287 287  
288 -
289 -
290 -==== (% style="color:blue" %)**LON:**(%%) ====
291 -
292 292  
293 293  Enable/Disable LED activity for uplink
294 294  
... ... @@ -297,17 +297,18 @@
297 297  0x01:  Enable LED indicator (Default Value)
298 298  
299 299  
300 -==== (% style="color:blue" %)**Hum:**(%%) ====
295 +==== (% style="color:blue" %)Hum:(%%) ====
301 301  
302 302  0202 = //if (0x0202 & 0x8000 = 0 ):  value =// 0x0202 / 100 = +514 ⇒ 51.4 degree
303 303  
304 304  
305 -==== (% style="color:blue" %)**Tem:**(%%) ====
300 +==== (% style="color:blue" %)Tem:(%%) ====
306 306  
307 307  011A =if (0x011A & 0x8000 = 1 ):  value =( 0x011A - 0x10000)/10(dec) ⇒ -//28.2 degree//
308 308  
309 309  
310 310  
306 +
311 311  === 2.3.3 Uplink FPORT~= , History GNSS Positioning ===
312 312  
313 313  
... ... @@ -319,11 +319,13 @@
319 319  
320 320  **MODE=2**
321 321  
322 -(% border="1.5" cellspacing="3" style="background-color:#ffffcc; color:green; width:450px" %)
323 -|=(% scope="row" style="width: 50px;" %)(((
324 -**Size(bytes)**
325 -)))|(% style="width:30px" %)16|(% style="width:50px" %)4|(% style="width:50px" %)4|(% style="width:80px" %)2|(% style="width:50px" %)4|(% style="width:50px" %)2|(% style="width:30px" %)1
326 -|=(% style="width: 50px;" %)**Value**|(% style="width:44px" %)[[UUID>>||anchor="HLocationinfo:"]]|(% style="width:61px" %)(((
318 +(% border="2" style="background-color:#ffffcc; color:green; width:491px" %)
319 +|(% style="width:70px" %)(((
320 +**Size**
321 +
322 +**(bytes)**
323 +)))|(% style="width:44px" %)16|(% style="width:61px" %)4|(% style="width:63px" %)4|(% style="width:71px" %)2|(% style="width:50px" %)4|(% style="width:47px" %)2|(% style="width:15px" %)1
324 +|(% style="width:70px" %)**Value**|(% style="width:44px" %)[[UUID>>||anchor="HLocationinfo:"]]|(% style="width:61px" %)(((
327 327  iBeacon MAJOR
328 328  )))|(% style="width:63px" %)(((
329 329  iBeacon MINOR
... ... @@ -346,6 +346,7 @@
346 346  * (% style="color:#037691" %)**Measured Power: ** (%%) The Measured Power from the strongest iBeacon.
347 347  * (% style="color:#037691" %)**RSSI:  ** (%%) The RSSI from the strongest iBeacon.
348 348  
347 +
349 349  === 2.3.5 Add Payload format in TTN V3 ===
350 350  
351 351  
... ... @@ -429,6 +429,8 @@
429 429  |(% style="width:157px" %)**Get Downlink**|(% style="width:271px" %)(% style="color:green" %)**GREEN**(%%) led on 1 second|(% style="width:202px" %)Yes
430 430  |(% style="width:157px" %)**Movement Detect**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)led on 500ms|(% style="width:202px" %)N/A
431 431  
431 +
432 +
432 432  == 2.9 Button Function ==
433 433  
434 434  
... ... @@ -450,6 +450,10 @@
450 450  |(% 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
451 451  |(% 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.
452 452  
454 +
455 +
456 +
457 +
453 453  == 2.10 USB Port Function ==
454 454  
455 455  
... ... @@ -460,6 +460,10 @@
460 460  * [[Configure Device>>||anchor="H3.ConfigureTrackerDviaATcommandorLoRaWANdownlink"]]
461 461  * [[Upgrade Firmware>>||anchor="H5.UploadFirmware"]]
462 462  
468 +
469 +
470 +
471 +
463 463  = 3. Configure TrackerD via AT command or LoRaWAN downlink =
464 464  
465 465  
... ... @@ -557,6 +557,9 @@
557 557  
558 558  * (% style="color:blue" %)**AT Command: No AT Command**
559 559  
569 +
570 +
571 +
560 560  * (% style="color:blue" %)**Downlink Payload (prefix 0x02):**
561 561  
562 562  (% style="color:#037691" %)**0x02 01**    (%%) ~/~/  Exit Alarm Mode
... ... @@ -728,9 +728,11 @@
728 728  After installation of the driver and plug in TrackerD, user should be able to see com port in PC's device manager.
729 729  
730 730  
731 -(% style="color:blue" %)**Step3:**(%%) Download and Install Flash Tool:  [[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]]
743 +(% style="color:blue" %)**Step3:**(%%) Download and Install Flash Tool:
732 732  
745 +[[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]]
733 733  
747 +
734 734  (% style="color:blue" %)**Step4:** (%%) Run Flash Download Tool and configure chip type to ESP32
735 735  
736 736  
... ... @@ -773,13 +773,13 @@
773 773  
774 774  * Download the latest Arduino software (IDE) from the Arduino official website:  [[https:~~/~~/www.arduino.cc/en/Main/Software>>url:https://www.arduino.cc/en/Main/Software]]
775 775  
776 -Install IDE on PC, open and click (% style="color:#037691" %)**File ~-~-> Preference**,(%%) add the following URL:  [[https:~~/~~/dl.espressif.com/dl/package_esp32_index.json>>url:https://links.jianshu.com/go?to=https%3A%2F%2Fdl.espressif.com%2Fdl%2Fpackage_esp32_index.json]]
790 +Install IDE on PC, open and click **(% style="color:#037691" %)File ~-~-> Preference**,(%%) add the following URL:  [[https:~~/~~/dl.espressif.com/dl/package_esp32_index.json>>url:https://links.jianshu.com/go?to=https%3A%2F%2Fdl.espressif.com%2Fdl%2Fpackage_esp32_index.json]]
777 777  
778 778  
779 779  [[image:1664503635019-941.png]]
780 780  
781 781  
782 -* (% style="color:#037691" %)**Go to tools ~-~-> Boards ~-~-> Boards Manager**,(%%) find the esp32 information and install it.
796 +(% style="color:#037691" %)* Go to tools ~-~-> Boards ~-~-> Boards Manager,(%%) find the esp32 information and install it.
783 783  
784 784  [[image:1664503715811-892.png]]
785 785  
... ... @@ -797,19 +797,19 @@
797 797  == 6.2 Source Code ==
798 798  
799 799  
800 -* (% style="color:blue" %)**Open the example in the TrackerD file, please select the correct port in the IDE, as shown below:**
814 +* Open the example in the TrackerD file, please select the correct port in the IDE, as shown below:
801 801  
802 802  [[image:1664503794261-827.png]]
803 803  
804 804  
805 805  
806 -* (% style="color:blue" %)**Click to upload**
820 +* Click to upload
807 807  
808 808  [[image:1664503808294-336.png]]
809 809  
810 810  
811 811  
812 -* (% style="color:blue" %)**Check the result, if the upload is successful, as shown below, open the serial port to view the data**
826 +* Check the result, if the upload is successful, as shown below, open the serial port to view the data
813 813  
814 814  [[image:1664503824081-592.png]] [[image:1664503831430-500.png]]
815 815  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0