<
From version < 43.45 >
edited by Xiaoling
on 2023/05/16 15:37
To version < 43.43 >
edited by Xiaoling
on 2023/05/16 15:07
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -30,7 +30,6 @@
30 30  
31 31  == 1.2 ​Features ==
32 32  
33 -
34 34  * LoRaWAN 1.0.3 Class A
35 35  * Ultra-low power consumption
36 36  * Open-Source hardware/software
... ... @@ -41,8 +41,6 @@
41 41  * Downlink to change configure
42 42  * 8500mAh Battery for long term use
43 43  
44 -
45 -
46 46  == 1.3 Specification ==
47 47  
48 48  
... ... @@ -80,8 +80,6 @@
80 80  * Sleep Mode: 5uA @ 3.3v
81 81  * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm
82 82  
83 -
84 -
85 85  == 1.4 Sleep mode and working mode ==
86 86  
87 87  
... ... @@ -109,8 +109,6 @@
109 109  )))
110 110  |(% 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.
111 111  
112 -
113 -
114 114  == 1.6 BLE connection ==
115 115  
116 116  
... ... @@ -296,8 +296,6 @@
296 296  1. All modes share the same Payload Explanation from HERE.
297 297  1. By default, the device will send an uplink message every 20 minutes.
298 298  
299 -
300 -
301 301  ==== 2.3.2.1  MOD~=1 (Default Mode) ====
302 302  
303 303  
... ... @@ -304,7 +304,7 @@
304 304  In this mode, uplink payload includes in total 11 bytes. Uplink packets use FPORT=2.
305 305  
306 306  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
307 -|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0; width:20px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:40px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:90px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:130px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:90px" %)**2**
298 +|(% style="width:50px;background-color:#D9E2F3;color:#0070C0" %)**Size(bytes)**|(% style="width:20px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:100px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:40px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:90px;background-color:#D9E2F3;color:#0070C0" %)**1**|(% style="width:130px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:90px;background-color:#D9E2F3;color:#0070C0" %)**2**
308 308  |**Value**|Bat|(% style="width:191px" %)(((
309 309  Temperature(DS18B20)(PC13)
310 310  )))|(% style="width:78px" %)(((
... ... @@ -320,14 +320,12 @@
320 320  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220627150949-6.png?rev=1.1||alt="image-20220627150949-6.png"]]
321 321  
322 322  
323 -
324 324  ==== 2.3.2.2  MOD~=2 (Distance Mode) ====
325 325  
326 -
327 327  This mode is target to measure the distance. The payload of this mode is totally 11 bytes. The 8^^th^^ and 9^^th^^ bytes is for the distance.
328 328  
329 329  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
330 -|(% style="background-color:#d9e2f3; color:#0070c0; width:40px" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0; width:40px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:110px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:40px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:110px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:140px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:40px" %)**2**
319 +|(% style="width:40px;background-color:#D9E2F3;color:#0070C0" %)**Size(bytes)**|(% style="width:40px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:110px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:40px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:110px;background-color:#D9E2F3;color:#0070C0" %)**1**|(% style="width:140px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:40px;background-color:#D9E2F3;color:#0070C0" %)**2**
331 331  |**Value**|BAT|(% style="width:196px" %)(((
332 332  Temperature(DS18B20)(PC13)
333 333  )))|(% style="width:87px" %)(((
... ... @@ -341,12 +341,10 @@
341 341  
342 342  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/1656324539647-568.png?rev=1.1||alt="1656324539647-568.png"]]
343 343  
344 -
345 345  (% style="color:blue" %)**Connection of LIDAR-Lite V3HP:**
346 346  
347 347  [[image:image-20230512173758-5.png||height="563" width="712"]]
348 348  
349 -
350 350  (% style="color:blue" %)**Connection to Ultrasonic Sensor:**
351 351  
352 352  Need to remove R1 and R2 resistors to get low power,otherwise there will be 240uA standby current.
... ... @@ -353,11 +353,10 @@
353 353  
354 354  [[image:image-20230512173903-6.png||height="596" width="715"]]
355 355  
356 -
357 357  For the connection to TF-Mini or TF-Luna , MOD2 payload is as below:
358 358  
359 359  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
360 -|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0; width:20px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:120px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:80px" %)**2**
346 +|(% style="width:50px;background-color:#D9E2F3;color:#0070C0" %)**Size(bytes)**|(% style="width:20px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:100px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:100px;background-color:#D9E2F3;color:#0070C0" %)**1**|(% style="width:50px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:120px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width:80px;background-color:#D9E2F3;color:#0070C0" %)**2**
361 361  |**Value**|BAT|(% style="width:183px" %)(((
362 362  Temperature(DS18B20)(PC13)
363 363  )))|(% style="width:173px" %)(((
... ... @@ -372,7 +372,6 @@
372 372  
373 373  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/1656376779088-686.png?rev=1.1||alt="1656376779088-686.png"]]
374 374  
375 -
376 376  **Connection to [[TF-Mini plus>>url:http://en.benewake.com/product/detail/5c345cd0e5b3a844c472329b.html]] LiDAR(UART version):**
377 377  
378 378  Need to remove R3 and R4 resistors to get low power,otherwise there will be 400uA standby current.
... ... @@ -379,7 +379,6 @@
379 379  
380 380  [[image:image-20230512180609-7.png||height="555" width="802"]]
381 381  
382 -
383 383  **Connection to [[TF-Luna>>url:http://en.benewake.com/product/detail/5e1c1fd04d839408076b6255.html]] LiDAR (UART version):**
384 384  
385 385  Need to remove R3 and R4 resistors to get low power,otherwise there will be 400uA standby current.
... ... @@ -389,7 +389,6 @@
389 389  
390 390  ==== 2.3.2.3  MOD~=3 (3 ADC + I2C) ====
391 391  
392 -
393 393  This mode has total 12 bytes. Include 3 x ADC + 1x I2C
394 394  
395 395  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
... ... @@ -419,7 +419,7 @@
419 419  This mode has total 11 bytes. As shown below:
420 420  
421 421  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
422 -|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0; width:20px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**2**
405 +|(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**Size(bytes)**|(% style="width: 20px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**1**|(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**2**
423 423  |**Value**|BAT|(% style="width:186px" %)(((
424 424  Temperature1(DS18B20)(PC13)
425 425  )))|(% style="width:82px" %)(((
... ... @@ -434,10 +434,8 @@
434 434  [[image:image-20230513134006-1.png||height="559" width="736"]]
435 435  
436 436  
437 -
438 438  ==== 2.3.2.5  MOD~=5(Weight Measurement by HX711) ====
439 439  
440 -
441 441  [[image:image-20230512164658-2.png||height="532" width="729"]]
442 442  
443 443  Each HX711 need to be calibrated before used. User need to do below two steps:
... ... @@ -473,10 +473,8 @@
473 473  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220820120036-2.png?width=1003&height=469&rev=1.1||alt="image-20220820120036-2.png" height="469" width="1003"]]
474 474  
475 475  
476 -
477 477  ==== 2.3.2.6  MOD~=6 (Counting Mode) ====
478 478  
479 -
480 480  In this mode, the device will work in counting mode. It counts the interrupt on the interrupt pins and sends the count on TDC time.
481 481  
482 482  Connection is as below. The PIR sensor is a count sensor, it will generate interrupt when people come close or go away. User can replace the PIR sensor with other counting sensors.
... ... @@ -483,7 +483,7 @@
483 483  
484 484  [[image:image-20230512181814-9.png||height="543" width="697"]]
485 485  
486 -(% style="color:red" %)**Note:** **LoRaWAN wireless transmission will infect the PIR sensor. Which cause the counting value increase +1 for every uplink. User can change PIR sensor or put sensor away of the SN50_v3 to avoid this happen.**
465 +(% style="color:red" %)**Note:** LoRaWAN wireless transmission will infect the PIR sensor. Which cause the counting value increase +1 for every uplink. User can change PIR sensor or put sensor away of the SN50_v3 to avoid this happen.
487 487  
488 488  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
489 489  |=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**Size(bytes)**|=(% style="width: 20px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 220px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 80px;background-color:#D9E2F3;color:#0070C0" %)**4**
... ... @@ -500,10 +500,8 @@
500 500  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/1656378441509-171.png?rev=1.1||alt="1656378441509-171.png"]]
501 501  
502 502  
503 -
504 504  ==== 2.3.2.7  MOD~=7 (Three interrupt contact modes) ====
505 505  
506 -
507 507  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
508 508  |=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
509 509  **Size(bytes)**
... ... @@ -519,10 +519,8 @@
519 519  
520 520  [[image:image-20230513111203-7.png||height="324" width="975"]]
521 521  
522 -
523 523  ==== 2.3.2.8  MOD~=8 (3ADC+1DS18B20) ====
524 524  
525 -
526 526  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
527 527  |=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
528 528  **Size(bytes)**
... ... @@ -545,7 +545,6 @@
545 545  
546 546  ==== 2.3.2.9  MOD~=9 (3DS18B20+ two Interrupt count mode) ====
547 547  
548 -
549 549  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
550 550  |=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
551 551  **Size(bytes)**
... ... @@ -572,11 +572,11 @@
572 572  
573 573  (% style="color:blue" %)**The newly added AT command is issued correspondingly:**
574 574  
575 -(% style="color:#037691" %)** AT+INTMOD1 PA8**(%%)  pin:  Corresponding downlink:  (% style="color:#037691" %)**06 00 00 xx**
549 +(% style="color:#037691" %)**~ AT+INTMOD1 PA8**(%%)  pin:  Corresponding downlink:  (% style="color:#037691" %)**06 00 00 xx**
576 576  
577 -(% style="color:#037691" %)** AT+INTMOD2 PA4**(%%)  pin:  Corresponding downlink: (% style="color:#037691" %)**06 00 01 xx**
551 +(% style="color:#037691" %)**~ AT+INTMOD2 PA4**(%%)  pin:  Corresponding downlink: (% style="color:#037691" %)**06 00 01 xx**
578 578  
579 -(% style="color:#037691" %)** AT+INTMOD3 PB15**(%%)  pin:  Corresponding downlink:  (% style="color:#037691" %)** 06 00 02 xx**
553 +(% style="color:#037691" %)**~ AT+INTMOD3 PB15**(%%)  pin:  Corresponding downlink:  (% style="color:#037691" %)** 06 00 02 xx**
580 580  
581 581  
582 582  (% style="color:blue" %)**AT+SETCNT=aa,bb** 
... ... @@ -586,9 +586,9 @@
586 586  When AA is 2, set the count of PA4 pin to BB Corresponding downlink:09 02 bb bb bb bb
587 587  
588 588  
563 +
589 589  === 2.3.3  ​Decode payload ===
590 590  
591 -
592 592  While using TTN V3 network, you can add the payload format to decode the payload.
593 593  
594 594  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/1656378466788-734.png?rev=1.1||alt="1656378466788-734.png"]]
... ... @@ -600,7 +600,6 @@
600 600  
601 601  ==== 2.3.3.1 Battery Info ====
602 602  
603 -
604 604  Check the battery voltage for SN50v3.
605 605  
606 606  Ex1: 0x0B45 = 2885mV
... ... @@ -610,10 +610,9 @@
610 610  
611 611  ==== 2.3.3.2  Temperature (DS18B20) ====
612 612  
613 -
614 614  If there is a DS18B20 connected to PC13 pin. The temperature will be uploaded in the payload.
615 615  
616 -More DS18B20 can check the [[3 DS18B20 mode>>||anchor="H2.3.2.4MOD3D4283xDS18B2029"]]
588 +More DS18B20 can check the [[3 DS18B20 mode>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/#2.3.4MOD3D4283xDS18B2029]]
617 617  
618 618  (% style="color:blue" %)**Connection:**
619 619  
... ... @@ -657,7 +657,7 @@
657 657  
658 658  Digital Interrupt refers to pin PA8, and there are different trigger methods. When there is a trigger, the SN50v3 will send a packet to the server.
659 659  
660 -(% style="color:blue" %)** Interrupt connection method:**
632 +(% style="color:blue" %)**~ Interrupt connection method:**
661 661  
662 662  [[image:image-20230513105351-5.png||height="147" width="485"]]
663 663  
... ... @@ -669,7 +669,7 @@
669 669  
670 670  When the two pieces are close to each other, the 2 wire output will be short or open (depending on the type), while if the two pieces are away from each other, the 2 wire output will be the opposite status. So we can use SN50_v3 interrupt interface to detect the status for the door or window.
671 671  
672 -(% style="color:blue" %)** Below is the installation example:**
644 +(% style="color:blue" %)**~ Below is the installation example:**
673 673  
674 674  Fix one piece of the magnetic sensor to the door and connect the two pins to SN50_v3 as follows:
675 675  
... ... @@ -694,7 +694,7 @@
694 694  
695 695  The command is:
696 696  
697 -(% style="color:blue" %)**AT+INTMOD1=1   ** (%%) ~/~/(more info about INMOD please refer** **[[**AT Command Manual**>>url:http://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/&file=DRAGINO_LSN50_AT_Commands_v1.5.1.pdf]]**. **)
669 +(% style="color:blue" %)**AT+INTMOD1=1   ** (%%) ~/~/(more info about INMOD please refer** **[[**AT Command Manual**>>url:http://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/&file=DRAGINO_LSN50_AT_Commands_v1.5.1.pdf]]**. **)
698 698  
699 699  Below shows some screen captures in TTN V3:
700 700  
... ... @@ -744,13 +744,13 @@
744 744  
745 745  The SN50_v3 detects the pulse width of the sensor and converts it to mm output. The accuracy will be within 1 centimeter. The usable range (the distance between the ultrasonic probe and the measured object) is between 24cm and 600cm.
746 746  
747 -The working principle of this sensor is similar to the (% style="color:blue" %)**HC-SR04**(%%) ultrasonic sensor.
719 +The working principle of this sensor is similar to the **(% style="color:blue" %)HC-SR04**(%%) ultrasonic sensor.
748 748  
749 749  The picture below shows the connection:
750 750  
751 751  [[image:image-20230512173903-6.png||height="596" width="715"]]
752 752  
753 -Connect to the SN50_v3 and run (% style="color:blue" %)**AT+MOD=2**(%%) to switch to ultrasonic mode (ULT).
725 +Connect to the SN50_v3 and run **(% style="color:blue" %)AT+MOD=2**(%%) to switch to ultrasonic mode (ULT).
754 754  
755 755  The ultrasonic sensor uses the 8^^th^^ and 9^^th^^ byte for the measurement value.
756 756  
... ... @@ -807,6 +807,7 @@
807 807  * 8: MOD9
808 808  
809 809  
782 +
810 810  == 2.4 Payload Decoder file ==
811 811  
812 812  
... ... @@ -884,6 +884,7 @@
884 884  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
885 885  
886 886  
860 +
887 887  === 3.3.2 Get Device Status ===
888 888  
889 889  Send a LoRaWAN downlink to ask the device to send its status.
... ... @@ -932,6 +932,7 @@
932 932  * Example 4: Downlink Payload: 06000201  **~-~-->**  AT+INTMOD3=1
933 933  
934 934  
909 +
935 935  === 3.3.4 Set Power Output Duration ===
936 936  
937 937  Control the output duration 5V . Before each sampling, device will
... ... @@ -964,6 +964,7 @@
964 964  * Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
965 965  
966 966  
942 +
967 967  === 3.3.5 Set Weighing parameters ===
968 968  
969 969  Feature: Working mode 5 is effective, weight initialization and weight factor setting of HX711.
... ... @@ -989,6 +989,7 @@
989 989  * Example 3: Downlink Payload: 08020FA0  **~-~-->**  AT+WEIGAP=400.0
990 990  
991 991  
968 +
992 992  === 3.3.6 Set Digital pulse count value ===
993 993  
994 994  Feature: Set the pulse count value.
... ... @@ -1012,6 +1012,7 @@
1012 1012  * Example 2: Downlink Payload: 0902000003E8  **~-~-->**  AT+SETCNT=2,1000
1013 1013  
1014 1014  
992 +
1015 1015  === 3.3.7 Set Workmode ===
1016 1016  
1017 1017  Feature: Switch working mode.
... ... @@ -1036,6 +1036,7 @@
1036 1036  * Example 2: Downlink Payload: 0A04  **~-~-->**  AT+MOD=4
1037 1037  
1038 1038  
1017 +
1039 1039  = 4. Battery & Power Consumption =
1040 1040  
1041 1041  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0