<
From version < 43.49 >
edited by Xiaoling
on 2023/05/16 15:49
To version < 43.44 >
edited by Xiaoling
on 2023/05/16 15:31
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -312,10 +312,8 @@
312 312  [[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"]]
313 313  
314 314  
315 -
316 316  ==== 2.3.2.2  MOD~=2 (Distance Mode) ====
317 317  
318 -
319 319  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.
320 320  
321 321  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
... ... @@ -333,12 +333,10 @@
333 333  
334 334  [[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"]]
335 335  
336 -
337 337  (% style="color:blue" %)**Connection of LIDAR-Lite V3HP:**
338 338  
339 339  [[image:image-20230512173758-5.png||height="563" width="712"]]
340 340  
341 -
342 342  (% style="color:blue" %)**Connection to Ultrasonic Sensor:**
343 343  
344 344  Need to remove R1 and R2 resistors to get low power,otherwise there will be 240uA standby current.
... ... @@ -345,7 +345,6 @@
345 345  
346 346  [[image:image-20230512173903-6.png||height="596" width="715"]]
347 347  
348 -
349 349  For the connection to TF-Mini or TF-Luna , MOD2 payload is as below:
350 350  
351 351  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
... ... @@ -364,7 +364,6 @@
364 364  
365 365  [[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"]]
366 366  
367 -
368 368  **Connection to [[TF-Mini plus>>url:http://en.benewake.com/product/detail/5c345cd0e5b3a844c472329b.html]] LiDAR(UART version):**
369 369  
370 370  Need to remove R3 and R4 resistors to get low power,otherwise there will be 400uA standby current.
... ... @@ -371,7 +371,6 @@
371 371  
372 372  [[image:image-20230512180609-7.png||height="555" width="802"]]
373 373  
374 -
375 375  **Connection to [[TF-Luna>>url:http://en.benewake.com/product/detail/5e1c1fd04d839408076b6255.html]] LiDAR (UART version):**
376 376  
377 377  Need to remove R3 and R4 resistors to get low power,otherwise there will be 400uA standby current.
... ... @@ -381,7 +381,6 @@
381 381  
382 382  ==== 2.3.2.3  MOD~=3 (3 ADC + I2C) ====
383 383  
384 -
385 385  This mode has total 12 bytes. Include 3 x ADC + 1x I2C
386 386  
387 387  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
... ... @@ -426,10 +426,8 @@
426 426  [[image:image-20230513134006-1.png||height="559" width="736"]]
427 427  
428 428  
429 -
430 430  ==== 2.3.2.5  MOD~=5(Weight Measurement by HX711) ====
431 431  
432 -
433 433  [[image:image-20230512164658-2.png||height="532" width="729"]]
434 434  
435 435  Each HX711 need to be calibrated before used. User need to do below two steps:
... ... @@ -465,10 +465,8 @@
465 465  [[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"]]
466 466  
467 467  
468 -
469 469  ==== 2.3.2.6  MOD~=6 (Counting Mode) ====
470 470  
471 -
472 472  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.
473 473  
474 474  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.
... ... @@ -475,7 +475,7 @@
475 475  
476 476  [[image:image-20230512181814-9.png||height="543" width="697"]]
477 477  
478 -(% 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.**
466 +(% 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.
479 479  
480 480  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
481 481  |=(% 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**
... ... @@ -492,10 +492,8 @@
492 492  [[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"]]
493 493  
494 494  
495 -
496 496  ==== 2.3.2.7  MOD~=7 (Three interrupt contact modes) ====
497 497  
498 -
499 499  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
500 500  |=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
501 501  **Size(bytes)**
... ... @@ -511,10 +511,8 @@
511 511  
512 512  [[image:image-20230513111203-7.png||height="324" width="975"]]
513 513  
514 -
515 515  ==== 2.3.2.8  MOD~=8 (3ADC+1DS18B20) ====
516 516  
517 -
518 518  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
519 519  |=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
520 520  **Size(bytes)**
... ... @@ -537,7 +537,6 @@
537 537  
538 538  ==== 2.3.2.9  MOD~=9 (3DS18B20+ two Interrupt count mode) ====
539 539  
540 -
541 541  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
542 542  |=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
543 543  **Size(bytes)**
... ... @@ -578,9 +578,9 @@
578 578  When AA is 2, set the count of PA4 pin to BB Corresponding downlink:09 02 bb bb bb bb
579 579  
580 580  
564 +
581 581  === 2.3.3  ​Decode payload ===
582 582  
583 -
584 584  While using TTN V3 network, you can add the payload format to decode the payload.
585 585  
586 586  [[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"]]
... ... @@ -592,7 +592,6 @@
592 592  
593 593  ==== 2.3.3.1 Battery Info ====
594 594  
595 -
596 596  Check the battery voltage for SN50v3.
597 597  
598 598  Ex1: 0x0B45 = 2885mV
... ... @@ -602,16 +602,14 @@
602 602  
603 603  ==== 2.3.3.2  Temperature (DS18B20) ====
604 604  
605 -
606 606  If there is a DS18B20 connected to PC13 pin. The temperature will be uploaded in the payload.
607 607  
608 -More DS18B20 can check the [[3 DS18B20 mode>>||anchor="H2.3.2.4MOD3D4283xDS18B2029"]]
589 +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]]
609 609  
610 610  (% style="color:blue" %)**Connection:**
611 611  
612 612  [[image:image-20230512180718-8.png||height="538" width="647"]]
613 613  
614 -
615 615  (% style="color:blue" %)**Example**:
616 616  
617 617  If payload is: 0105H:  (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree
... ... @@ -623,7 +623,6 @@
623 623  
624 624  ==== 2.3.3.3 Digital Input ====
625 625  
626 -
627 627  The digital input for pin PB15,
628 628  
629 629  * When PB15 is high, the bit 1 of payload byte 6 is 1.
... ... @@ -633,14 +633,11 @@
633 633  (((
634 634  When the digital interrupt pin is set to AT+INTMODx=0, this pin is used as a digital input pin.
635 635  
636 -(% style="color:red" %)**Note: The maximum voltage input supports 3.6V.**
637 -
638 -
615 +(% style="color:red" %)**Note:**The maximum voltage input supports 3.6V.
639 639  )))
640 640  
641 641  ==== 2.3.3.4  Analogue Digital Converter (ADC) ====
642 642  
643 -
644 644  The measuring range of the ADC is only about 0V to 1.1V The voltage resolution is about 0.24mv.
645 645  
646 646  When the measured output voltage of the sensor is not within the range of 0V and 1.1V, the output voltage terminal of the sensor shall be divided The example in the following figure is to reduce the output voltage of the sensor by three times If it is necessary to reduce more times, calculate according to the formula in the figure and connect the corresponding resistance in series.
... ... @@ -647,12 +647,11 @@
647 647  
648 648  [[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-20220628150112-1.png?width=285&height=241&rev=1.1||alt="image-20220628150112-1.png" height="241" width="285"]]
649 649  
650 -(% style="color:red" %)**Note: If the ADC type sensor needs to be powered by SN50_v3, it is recommended to use +5V to control its switch.Only sensors with low power consumption can be powered with VDD.**
626 +(% style="color:red" %)**Note:**If the ADC type sensor needs to be powered by SN50_v3, it is recommended to use +5V to control its switch.Only sensors with low power consumption can be powered with VDD.
651 651  
652 652  
653 653  ==== 2.3.3.5 Digital Interrupt ====
654 654  
655 -
656 656  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.
657 657  
658 658  (% style="color:blue" %)** Interrupt connection method:**
... ... @@ -659,7 +659,6 @@
659 659  
660 660  [[image:image-20230513105351-5.png||height="147" width="485"]]
661 661  
662 -
663 663  (% style="color:blue" %)**Example to use with door sensor :**
664 664  
665 665  The door sensor is shown at right. It is a two wire magnetic contact switch used for detecting the open/close status of doors or windows.
... ... @@ -668,9 +668,8 @@
668 668  
669 669  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.
670 670  
645 +(% style="color:blue" %)** Below is the installation example:**
671 671  
672 -(% style="color:blue" %)**Below is the installation example:**
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  
676 676  * (((
... ... @@ -682,7 +682,7 @@
682 682  
683 683  Install the other piece to the door. Find a place where the two pieces will be close to each other when the door is closed. For this particular magnetic sensor, when the door is closed, the output will be short, and PA8 will be at the VCC voltage.
684 684  
685 -Door sensors have two types: (% style="color:blue" %)** NC (Normal close)**(%%) and (% style="color:blue" %)**NO (normal open)**(%%). The connection for both type sensors are the same. But the decoding for payload are reverse, user need to modify this in the IoT Server decoder.
658 +Door sensors have two types: ** NC (Normal close)** and **NO (normal open)**. The connection for both type sensors are the same. But the decoding for payload are reverse, user need to modify this in the IoT Server decoder.
686 686  
687 687  When door sensor is shorted, there will extra power consumption in the circuit, the extra current is 3v3/R14 = 3v3/1Mohm = 3uA which can be ignored.
688 688  
... ... @@ -700,7 +700,6 @@
700 700  
701 701  [[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/1656379339508-835.png?rev=1.1||alt="1656379339508-835.png"]]
702 702  
703 -
704 704  In MOD=1, user can use byte 6 to see the status for door open or close. TTN V3 decoder is as below:
705 705  
706 706  door= (bytes[6] & 0x80)? "CLOSE":"OPEN";
... ... @@ -708,7 +708,6 @@
708 708  
709 709  ==== 2.3.3.6 I2C Interface (SHT20 & SHT31) ====
710 710  
711 -
712 712  The SDA and SCK are I2C interface lines. You can use these to connect to an I2C device and get the sensor data.
713 713  
714 714  We have made an example to show how to use the I2C interface to connect to the SHT20/ SHT31 Temperature and Humidity Sensor.
... ... @@ -737,13 +737,11 @@
737 737  
738 738  ==== 2.3.3.7  ​Distance Reading ====
739 739  
740 -
741 741  Refer [[Ultrasonic Sensor section>>||anchor="H2.3.3.8UltrasonicSensor"]].
742 742  
743 743  
744 744  ==== 2.3.3.8 Ultrasonic Sensor ====
745 745  
746 -
747 747  This Fundamental Principles of this sensor can be found at this link: [[https:~~/~~/wiki.dfrobot.com/Weather_-_proof_Ultrasonic_Sensor_with_Separate_Probe_SKU~~_~~__SEN0208>>url:https://wiki.dfrobot.com/Weather_-_proof_Ultrasonic_Sensor_with_Separate_Probe_SKU___SEN0208]]
748 748  
749 749  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.
... ... @@ -810,6 +810,7 @@
810 810  * 7: MOD8
811 811  * 8: MOD9
812 812  
782 +
813 813  == 2.4 Payload Decoder file ==
814 814  
815 815  
... ... @@ -886,6 +886,7 @@
886 886  * Example 1: Downlink Payload: 0100001E  ~/~/  Set Transmit Interval (TDC) = 30 seconds
887 887  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
888 888  
859 +
889 889  === 3.3.2 Get Device Status ===
890 890  
891 891  Send a LoRaWAN downlink to ask the device to send its status.
... ... @@ -933,6 +933,7 @@
933 933  * Example 3: Downlink Payload: 06000102  **~-~-->**  AT+INTMOD2=2
934 934  * Example 4: Downlink Payload: 06000201  **~-~-->**  AT+INTMOD3=1
935 935  
907 +
936 936  === 3.3.4 Set Power Output Duration ===
937 937  
938 938  Control the output duration 5V . Before each sampling, device will
... ... @@ -964,6 +964,7 @@
964 964  * Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
965 965  * Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
966 966  
939 +
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.
... ... @@ -988,6 +988,7 @@
988 988  * Example 2: Downlink Payload: 08020FA3  **~-~-->**  AT+WEIGAP=400.3
989 989  * Example 3: Downlink Payload: 08020FA0  **~-~-->**  AT+WEIGAP=400.0
990 990  
964 +
991 991  === 3.3.6 Set Digital pulse count value ===
992 992  
993 993  Feature: Set the pulse count value.
... ... @@ -1010,6 +1010,7 @@
1010 1010  * Example 1: Downlink Payload: 090100000000  **~-~-->**  AT+SETCNT=1,0
1011 1011  * Example 2: Downlink Payload: 0902000003E8  **~-~-->**  AT+SETCNT=2,1000
1012 1012  
987 +
1013 1013  === 3.3.7 Set Workmode ===
1014 1014  
1015 1015  Feature: Switch working mode.
... ... @@ -1033,6 +1033,7 @@
1033 1033  * Example 1: Downlink Payload: 0A01  **~-~-->**  AT+MOD=1
1034 1034  * Example 2: Downlink Payload: 0A04  **~-~-->**  AT+MOD=4
1035 1035  
1011 +
1036 1036  = 4. Battery & Power Consumption =
1037 1037  
1038 1038  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0