Changes for page DS20L -- LoRaWAN Smart Distance Detector User Manual 01
Last modified by Mengting Qiu on 2023/12/14 11:15
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 5 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Saxer1 +XWiki.Xiaoling - Content
-
... ... @@ -48,6 +48,8 @@ 48 48 * Downlink to change configure 49 49 * 8500mAh Battery for long term use 50 50 51 + 52 + 51 51 == 1.3 Specification == 52 52 53 53 ... ... @@ -90,6 +90,8 @@ 90 90 * Sleep Mode: 5uA @ 3.3v 91 91 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 92 92 95 + 96 + 93 93 == 1.4 Sleep mode and working mode == 94 94 95 95 ... ... @@ -117,6 +117,8 @@ 117 117 ))) 118 118 |(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means device is in Deep Sleep Mode. 119 119 124 + 125 + 120 120 == 1.6 BLE connection == 121 121 122 122 ... ... @@ -140,11 +140,11 @@ 140 140 == 1.8 Hardware Variant == 141 141 142 142 143 -(% border="1" cellspacing="5" style=" background-color:#f2f2f2;width:510px" %)144 -|=(% style="width: 102px;background-color:#D9E2F3;color:#0070C0" %)Model|=(% style="width: 190px;background-color:#D9E2F3;color:#0070C0" %)Photo|=(% style="width: 218px;background-color:#D9E2F3;color:#0070C0" %)Probe Info149 +(% border="1" cellspacing="5" style="width:472px" %) 150 +|=(% style="width: 102px;background-color:#D9E2F3;color:#0070C0" %)Model|=(% style="width: 190px;background-color:#D9E2F3;color:#0070C0" %)Photo|=(% style="width: 187px; background-color:#D9E2F3;color:#0070C0" %)Probe Info 145 145 |(% style="width:102px" %)((( 146 146 S31-LB 147 -)))|(% style="width:190px" %)[[image: S31.jpg]]|(% style="width:297px" %)(((153 +)))|(% style="width:190px" %)[[image:image-20230527093214-2.jpeg]]|(% style="width:187px" %)((( 148 148 1 x SHT31 Probe 149 149 150 150 Cable Length : 2 meters ... ... @@ -153,7 +153,7 @@ 153 153 ))) 154 154 |(% style="width:102px" %)((( 155 155 S31B-LB 156 -)))|(% style="width:190px" %)[[image: S31B.jpg]]|(% style="width:297px" %)(((162 +)))|(% style="width:190px" %)[[image:image-20230527093155-1.jpeg]]|(% style="width:187px" %)((( 157 157 1 x SHT31 Probe 158 158 159 159 Installed in device. ... ... @@ -249,7 +249,7 @@ 249 249 250 250 Example parse in TTNv3 251 251 252 -[[image:image-20230 421171614-1.png||alt="图片-20230421171614-1.png"]]258 +[[image:image-20230524144422-1.png||height="174" width="1080"]] 253 253 254 254 255 255 (% style="color:#037691" %)**Sensor Model**(%%): For S31x-LB, this value is 0x0A ... ... @@ -310,28 +310,25 @@ 310 310 311 311 Sensor Data is uplink via FPORT=2 312 312 313 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width: 700px" %)314 -|=(% style="width: 90px;background-color:#D9E2F3" %)(((319 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %) 320 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)((( 315 315 **Size(bytes)** 316 -)))|=(% style="width: 80px;background-color:#D9E2F3" %)2|=(% style="width: 90px;background-color:#D9E2F3" %)4|=(% style="width: 194px; background-color:rgb(217, 226, 243);" %)1|=(% style="width:106px; background-color:rgb(217, 226, 243);" %)**2**|=(% style="width:97px; background-color:rgb(217, 226, 243);" %)2317 -|(% style="width:99px" %) **Value**|(% style="width:69px" %)(((318 - [[Battery>>||anchor="HBattery"]]322 +)))|=(% style="width: 40px;background-color:#D9E2F3;color:#0070C0" %)2|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)4|=(% style="width: 150px; background-color: #D9E2F3;color:#0070C0" %)1|=(% style="width: 80px; background-color: #D9E2F3;color:#0070C0" %)**2**|=(% style="width: 80px; background-color: #D9E2F3;color:#0070C0" %)2 323 +|(% style="width:99px" %)Value|(% style="width:69px" %)((( 324 +Battery 319 319 )))|(% style="width:130px" %)((( 320 - [[Unix TimeStamp>>||anchor="H2.5.2UnixTimeStamp"]]326 +Unix TimeStamp 321 321 )))|(% style="width:194px" %)((( 322 -[[Alarm Flag>>||anchor="HAlarmFlag26MOD"]][[&>>Alarm Flag& MOD& Digital Interrupt(PA8)]] 323 - 324 -[[MOD&>>Alarm Flag& MOD& Digital Interrupt(PA8)]] 325 - 326 -[[Digital Interrupt(PA8)>>Alarm Flag& MOD& Digital Interrupt(PA8)]] 327 - 328 - 328 +Alarm Flag & MOD& Level of PA8 329 329 )))|(% style="width:106px" %)((( 330 - [[Temperature>>||anchor="HTemperature"]]330 +Temperature 331 331 )))|(% style="width:97px" %)((( 332 - [[Humidity>>||anchor="HHumidity"]]332 +Humidity 333 333 ))) 334 334 335 +[[image:image-20230524144456-2.png||height="180" width="1142"]] 336 + 337 + 335 335 ==== (% style="color:#4472c4" %)**Battery**(%%) ==== 336 336 337 337 Sensor Battery Level. ... ... @@ -359,7 +359,7 @@ 359 359 Read:0x(0197)=412 Value: 412 / 10=41.2, So 41.2% 360 360 361 361 362 -==== (% style="color:#4472c4" %)**Alarm Flag & MOD & DigitalInterrupt**(%%) ====365 +==== (% style="color:#4472c4" %)**Alarm Flag & MOD & Level of PA8**(%%) ==== 363 363 364 364 365 365 **Example:** ... ... @@ -444,26 +444,31 @@ 444 444 445 445 **Retrieval data payload:** 446 446 447 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width: 680px" %)448 -|=(% style="width: 80px;background-color:#D9E2F3" %)(((450 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %) 451 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)((( 449 449 **Size(bytes)** 450 -)))|=(% style="width: 68px; background-color:rgb(217, 226, 243);" %)**2**|=(% style="width:104px; background-color:rgb(217, 226, 243);" %)**2**|=(% style="width:87px; background-color:rgb(217, 226, 243);" %)**2**|=(% style="width: 178px; background-color:rgb(217, 226, 243);" %)**1**|=(% style="width: 137px; background-color:rgb(217, 226, 243);" %)**4**451 -|(% style="width:103px" %) **Value**|(% style="width:68px" %)(((453 +)))|=(% style="width: 40px; background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 55px; background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 65px; background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 180px; background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 100px; background-color:#D9E2F3;color:#0070C0" %)**4** 454 +|(% style="width:103px" %)Value|(% style="width:68px" %)((( 452 452 ignore 453 453 )))|(% style="width:104px" %)((( 454 - Temperature455 - )))|(% style="width:87px" %)Humidity|(% style="width:178px" %)(((456 - Poll message flag &457 +((( 458 +Humidity 459 +))) 457 457 458 -Alarm Flag& 459 - 460 -Digital Interrupt 461 +((( 462 + 463 +))) 464 +)))|(% style="width:87px" %)((( 465 +Temperature 466 +)))|(% style="width:178px" %)((( 467 +Poll message flag & Alarm Flag& Level of PA8 461 461 )))|(% style="width:137px" %)Unix Time Stamp 462 462 463 -**Poll message flag & Alarm Flag & DigitalInterrupt:**470 +**Poll message flag & Alarm Flag & Level of PA8:** 464 464 465 -[[image: http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20221006192726-1.png?width=754&height=112&rev=1.1||alt="图片-20221006192726-1.png"height="112" width="754"]]472 +[[image:image-20230524114302-1.png||height="115" width="736"]] 466 466 474 + 467 467 **No ACK Message**: 1: This message means this payload is fromn Uplink Message which doesn't get ACK from the server before ( for **PNACKMD=1** feature) 468 468 469 469 **Poll Message Flag**: 1: This message is a poll message reply. ... ... @@ -484,26 +484,26 @@ 484 484 485 485 If devise doesn't have any data in the polling time. Device will uplink 11 bytes of 0 486 486 487 - 488 488 **Example:** 489 489 490 490 If S31x-LB has below data inside Flash: 491 491 492 -[[image: 1682646494051-944.png]]499 +[[image:image-20230524114654-2.png]] 493 493 494 -If user sends below downlink command: 3160065F9760066DA705 495 495 496 - Where:Start time: 60065F97 = time 21/1/19 04:27:03502 +If user sends below downlink command: 31646D84E1646D856C05 497 497 498 - optime: 60066DA7= time 21/1/1905:27:03504 +Where : Start time: 646D84E1 = time 23/5/24 03:30:41 499 499 506 + Stop time: 646D856C= time 23/5/24 03:33:00 500 500 508 + 501 501 **S31x-LB will uplink this payload.** 502 502 503 -[[image: http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220523001219-13.png?width=727&height=421&rev=1.1||alt="图片-20220523001219-13.png"height="421" width="727"]]511 +[[image:image-20230524114826-3.png||height="448" width="1244"]] 504 504 505 505 ((( 506 - __**7FFF089801464160065F97**__**__7FFF____088E____014B____41____60066009__**7FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E514 +00 00 02 36 01 10 40 64 6D 84 E1 00 00 02 37 01 10 40 64 6D 84 F8 00 00 02 37 01 0F 40 64 6D 85 04 00 00 02 3A 01 0F 40 64 6D 85 18 00 00 02 3C 01 0F 40 64 6D 85 36 00 00 02 3D 01 0E 40 64 6D 85 3F 00 00 02 3F 01 0E 40 64 6D 85 60 00 00 02 40 01 0E 40 64 6D 85 6A 507 507 ))) 508 508 509 509 ((( ... ... @@ -511,30 +511,26 @@ 511 511 ))) 512 512 513 513 ((( 514 - 7FFF089801464160065F97522 +00 00 02 36 01 10 40 64 6D 84 E1 515 515 ))) 516 516 517 517 ((( 518 -** Ext sensor data**=0x7FFF/100=327.67526 +**Hum**=0x0236/10=56.6 519 519 ))) 520 520 521 521 ((( 522 -**Temp**=0x0 88E/100=22.00530 +**Temp**=0x0110/10=27.2 523 523 ))) 524 524 525 525 ((( 526 -** Hum**=0x014B/10=32.6534 +**poll message flag & Alarm Flag & Level of PA8**=0x40,means reply data,sampling uplink message,the PA8 is low level. 527 527 ))) 528 528 529 529 ((( 530 -** pollmessageflag & Ext**=0x41,meansreply data,Ext=1538 +**Unix time** is 0x646D84E1=1684899041s=23/5/24 03:30:41 531 531 ))) 532 532 533 -((( 534 -**Unix time** is 0x60066009=1611030423s=21/1/19 04:27:03 535 -))) 536 536 537 - 538 538 (% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" data-widget="image" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="单击并拖动以调整大小" %)的(% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" data-widget="image" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="单击并拖动以调整大小" %)的 539 539 540 540 == 2.6 Temperature Alarm Feature == ... ... @@ -566,6 +566,8 @@ 566 566 * AT Command via UART Connection : See [[UART Connection>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]]. 567 567 * LoRaWAN Downlink. Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 568 568 573 + 574 + 569 569 == 3.2 General Commands == 570 570 571 571 ... ... @@ -613,6 +613,8 @@ 613 613 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 614 614 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 615 615 622 + 623 + 616 616 === 3.3.2 Get Device Status === 617 617 618 618 ... ... @@ -696,6 +696,8 @@ 696 696 697 697 * Alarm & MOD bit is 0x7C, 0x7C >> 2 = 0x31: Means this message is the Alarm settings message. 698 698 707 + 708 + 699 699 === 3.3.7 Set Interrupt Mode === 700 700 701 701 ... ... @@ -706,7 +706,7 @@ 706 706 (% style="color:blue" %)**AT Command: AT+INTMOD** 707 707 708 708 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 709 -|=(% style="width: 15 4px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3" %)**Function**|=(% style="width: 157px;background-color:#D9E2F3" %)**Response**719 +|=(% style="width: 155px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3" %)**Response** 710 710 |(% style="width:154px" %)AT+INTMOD=?|(% style="width:196px" %)Show current interrupt mode|(% style="width:157px" %)((( 711 711 0 712 712 OK ... ... @@ -729,6 +729,8 @@ 729 729 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 730 730 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 731 731 742 + 743 + 732 732 === 3.3.8 Set Power Output Duration === 733 733 734 734 ... ... @@ -743,7 +743,7 @@ 743 743 (% style="color:blue" %)**AT Command: AT+5VT** 744 744 745 745 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 746 -|=(% style="width: 15 4px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3" %)**Function**|=(% style="width: 157px;background-color:#D9E2F3" %)**Response**758 +|=(% style="width: 155px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3" %)**Response** 747 747 |(% style="width:154px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:157px" %)0 (default) 748 748 OK 749 749 |(% style="width:154px" %)AT+5VT=500|(% style="width:196px" %)Close after a delay of 1000 milliseconds.|(% style="width:157px" %)OK ... ... @@ -757,6 +757,8 @@ 757 757 * Example 1: Downlink Payload: 070000 **~-~-->** AT+5VT=0 758 758 * Example 2: Downlink Payload: 0701F4 **~-~-->** AT+5VT=500 759 759 772 + 773 + 760 760 = 4. Battery & Power Consumption = 761 761 762 762 ... ... @@ -783,6 +783,8 @@ 783 783 * (Recommanded way) OTA firmware update via wireless: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]] 784 784 * Update through UART TTL interface. **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**. 785 785 800 + 801 + 786 786 = 6. FAQ = 787 787 788 788 ... ... @@ -810,6 +810,8 @@ 810 810 811 811 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 812 812 829 + 830 + 813 813 = 8. Packing Info = 814 814 815 815 ... ... @@ -827,6 +827,8 @@ 827 827 828 828 * Weight / pcs : g 829 829 848 + 849 + 830 830 = 9. Support = 831 831 832 832
- image-20230524114826-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Saxer - Size
-
... ... @@ -1,0 +1,1 @@ 1 +82.3 KB - Content
- image-20230524144422-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Saxer - Size
-
... ... @@ -1,0 +1,1 @@ 1 +34.9 KB - Content
- image-20230524144456-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Saxer - Size
-
... ... @@ -1,0 +1,1 @@ 1 +33.9 KB - Content
- image-20230527093155-1.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +9.3 KB - Content
- image-20230527093214-2.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +14.7 KB - Content