<
From version < 43.9 >
edited by Xiaoling
on 2023/05/16 13:51
To version < 43.7 >
edited by Xiaoling
on 2023/05/16 13:45
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -324,12 +324,15 @@
324 324  |**Size(bytes)**|**2**|(% style="width:196px" %)**2**|(% style="width:87px" %)**2**|(% style="width:189px" %)**1**|(% style="width:208px" %)**2**|(% style="width:117px" %)**2**
325 325  |**Value**|BAT|(% style="width:196px" %)(((
326 326  Temperature(DS18B20)
327 +
327 327  (PC13)
328 328  )))|(% style="width:87px" %)(((
329 329  ADC
331 +
330 330  (PA4)
331 331  )))|(% style="width:189px" %)(((
332 332  Digital in(PB15) &
335 +
333 333  Digital Interrupt(PA8)
334 334  )))|(% style="width:208px" %)(((
335 335  Distance measure by:
... ... @@ -356,12 +356,15 @@
356 356  |**Size(bytes)**|**2**|(% style="width:183px" %)**2**|(% style="width:173px" %)**1**|(% style="width:84px" %)**2**|(% style="width:323px" %)**2**|(% style="width:188px" %)**2**
357 357  |**Value**|BAT|(% style="width:183px" %)(((
358 358  Temperature(DS18B20)
362 +
359 359  (PC13)
360 360  )))|(% style="width:173px" %)(((
361 361  Digital in(PB15) &
366 +
362 362  Digital Interrupt(PA8)
363 363  )))|(% style="width:84px" %)(((
364 364  ADC
370 +
365 365  (PA4)
366 366  )))|(% style="width:323px" %)(((
367 367  Distance measure by:1)TF-Mini plus LiDAR
... ... @@ -394,20 +394,25 @@
394 394  )))|=(% style="width: 68px;" %)**2**|=(% style="width: 75px;" %)**2**|=**2**|=**1**|=(% style="width: 304px;" %)2|=(% style="width: 163px;" %)2|=(% style="width: 53px;" %)1
395 395  |**Value**|(% style="width:68px" %)(((
396 396  ADC1
403 +
397 397  (PA4)
398 398  )))|(% style="width:75px" %)(((
399 399  ADC2
407 +
400 400  (PA5)
401 401  )))|(((
402 402  ADC3
411 +
403 403  (PA8)
404 404  )))|(((
405 405  Digital Interrupt(PB15)
406 406  )))|(% style="width:304px" %)(((
407 407  Temperature
417 +
408 408  (SHT20 or SHT31 or BH1750 Illumination Sensor)
409 409  )))|(% style="width:163px" %)(((
410 410  Humidity
421 +
411 411  (SHT20 or SHT31)
412 412  )))|(% style="width:53px" %)Bat
413 413  
... ... @@ -426,9 +426,11 @@
426 426  (PC13)
427 427  )))|(% style="width:82px" %)(((
428 428  ADC
440 +
429 429  (PA4)
430 430  )))|(% style="width:210px" %)(((
431 431  Digital in(PB15) &
444 +
432 432  Digital Interrupt(PA8) 
433 433  )))|(% style="width:191px" %)Temperature2(DS18B20)
434 434  (PB9)|(% style="width:183px" %)Temperature3(DS18B20)
... ... @@ -465,12 +465,17 @@
465 465  )))|=**2**|=(% style="width: 193px;" %)**2**|=(% style="width: 85px;" %)**2**|=(% style="width: 186px;" %)**1**|=(% style="width: 100px;" %)**4**
466 466  |**Value**|BAT|(% style="width:193px" %)(((
467 467  Temperature(DS18B20)
481 +
468 468  (PC13)
483 +
484 +
469 469  )))|(% style="width:85px" %)(((
470 470  ADC
487 +
471 471  (PA4)
472 472  )))|(% style="width:186px" %)(((
473 473  Digital in(PB15) &
491 +
474 474  Digital Interrupt(PA8)
475 475  )))|(% style="width:100px" %)Weight
476 476  
... ... @@ -495,12 +495,15 @@
495 495  (PC13)
496 496  )))|(% style="width:108px" %)(((
497 497  ADC
516 +
498 498  (PA4)
499 499  )))|(% style="width:126px" %)(((
500 500  Digital in
520 +
501 501  (PB15)
502 502  )))|(% style="width:145px" %)(((
503 503  Count
524 +
504 504  (PA8)
505 505  )))
506 506  
... ... @@ -515,9 +515,11 @@
515 515  )))|=**2**|=(% style="width: 188px;" %)**2**|=(% style="width: 83px;" %)**2**|=(% style="width: 184px;" %)**1**|=(% style="width: 186px;" %)**1**|=(% style="width: 197px;" %)1|=(% style="width: 100px;" %)2
516 516  |**Value**|BAT|(% style="width:188px" %)(((
517 517  Temperature(DS18B20)
539 +
518 518  (PC13)
519 519  )))|(% style="width:83px" %)(((
520 520  ADC
543 +
521 521  (PA5)
522 522  )))|(% style="width:184px" %)(((
523 523  Digital Interrupt1(PA8)
... ... @@ -533,17 +533,21 @@
533 533  )))|=**2**|=(% style="width: 207px;" %)**2**|=(% style="width: 94px;" %)**2**|=(% style="width: 198px;" %)**1**|=(% style="width: 84px;" %)**2**|=(% style="width: 82px;" %)2
534 534  |**Value**|BAT|(% style="width:207px" %)(((
535 535  Temperature(DS18B20)
559 +
536 536  (PC13)
537 537  )))|(% style="width:94px" %)(((
538 538  ADC1
563 +
539 539  (PA4)
540 540  )))|(% style="width:198px" %)(((
541 541  Digital Interrupt(PB15)
542 542  )))|(% style="width:84px" %)(((
543 543  ADC2
569 +
544 544  (PA5)
545 545  )))|(% style="width:82px" %)(((
546 546  ADC3
573 +
547 547  (PA8)
548 548  )))
549 549  
... ... @@ -558,21 +558,27 @@
558 558  )))|=**2**|=**2**|=**2**|=**1**|=(% style="width: 193px;" %)**2**|=(% style="width: 78px;" %)4|=(% style="width: 78px;" %)4
559 559  |**Value**|BAT|(((
560 560  Temperature1(DS18B20)
588 +
561 561  (PC13)
562 562  )))|(((
563 563  Temperature2(DS18B20)
592 +
564 564  (PB9)
565 565  )))|(((
566 566  Digital Interrupt
596 +
567 567  (PB15)
568 568  )))|(% style="width:193px" %)(((
569 569  Temperature3(DS18B20)
600 +
570 570  (PB8)
571 571  )))|(% style="width:78px" %)(((
572 572  Count1
604 +
573 573  (PA8)
574 574  )))|(% style="width:78px" %)(((
575 575  Count2
608 +
576 576  (PA4)
577 577  )))
578 578  
... ... @@ -644,7 +644,9 @@
644 644  (((
645 645  When the digital interrupt pin is set to AT+INTMODx=0, this pin is used as a digital input pin.
646 646  
647 -(% style="color:red" %)**Note:**The maximum voltage input supports 3.6V.
680 +**Note:**The maximum voltage input supports 3.6V.
681 +
682 +
648 648  )))
649 649  
650 650  ==== 2.3.3.4  Analogue Digital Converter (ADC) ====
... ... @@ -655,7 +655,7 @@
655 655  
656 656  [[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"]]
657 657  
658 -(% 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.
693 +**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.
659 659  
660 660  
661 661  ==== 2.3.3.5 Digital Interrupt ====
... ... @@ -662,11 +662,11 @@
662 662  
663 663  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.
664 664  
665 -(% style="color:blue" %)**~ Interrupt connection method:**
700 +**~ Interrupt connection method:**
666 666  
667 667  [[image:image-20230513105351-5.png||height="147" width="485"]]
668 668  
669 -(% style="color:blue" %)**Example to use with door sensor :**
704 +**Example to use with door sensor :**
670 670  
671 671  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.
672 672  
... ... @@ -674,7 +674,7 @@
674 674  
675 675  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.
676 676  
677 -(% style="color:blue" %)**~ Below is the installation example:**
712 +**~ Below is the installation example:**
678 678  
679 679  Fix one piece of the magnetic sensor to the door and connect the two pins to SN50_v3 as follows:
680 680  
... ... @@ -699,7 +699,7 @@
699 699  
700 700  The command is:
701 701  
702 -(% 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]]**. **)
737 +**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]]**. **)
703 703  
704 704  Below shows some screen captures in TTN V3:
705 705  
... ... @@ -776,7 +776,7 @@
776 776  
777 777  The 5V output time can be controlled by AT Command.
778 778  
779 -(% style="color:blue" %)**AT+5VT=1000**
814 +**AT+5VT=1000**
780 780  
781 781  Means set 5V valid time to have 1000ms. So the real 5V output will actually have 1000ms + sampling time for other sensors.
782 782  
... ... @@ -811,8 +811,8 @@
811 811  * 7: MOD8
812 812  * 8: MOD9
813 813  
849 +== ==
814 814  
815 -
816 816  == 2.4 Payload Decoder file ==
817 817  
818 818  
... ... @@ -889,8 +889,8 @@
889 889  * Example 1: Downlink Payload: 0100001E  ~/~/  Set Transmit Interval (TDC) = 30 seconds
890 890  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
891 891  
927 +=== ===
892 892  
893 -
894 894  === 3.3.2 Get Device Status ===
895 895  
896 896  Send a LoRaWAN downlink to ask the device to send its status.
... ... @@ -938,8 +938,8 @@
938 938  * Example 3: Downlink Payload: 06000102  **~-~-->**  AT+INTMOD2=2
939 939  * Example 4: Downlink Payload: 06000201  **~-~-->**  AT+INTMOD3=1
940 940  
976 +=== ===
941 941  
942 -
943 943  === 3.3.4 Set Power Output Duration ===
944 944  
945 945  Control the output duration 5V . Before each sampling, device will
... ... @@ -956,6 +956,7 @@
956 956  |=(% style="width: 154px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3" %)**Function**|=(% style="width: 157px;background-color:#D9E2F3" %)**Response**
957 957  |(% style="width:154px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:157px" %)(((
958 958  500(default)
994 +
959 959  OK
960 960  )))
961 961  |(% style="width:154px" %)AT+5VT=1000|(% style="width:196px" %)(((
... ... @@ -971,8 +971,8 @@
971 971  * Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
972 972  * Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
973 973  
1010 +=== ===
974 974  
975 -
976 976  === 3.3.5 Set Weighing parameters ===
977 977  
978 978  Feature: Working mode 5 is effective, weight initialization and weight factor setting of HX711.
... ... @@ -997,8 +997,8 @@
997 997  * Example 2: Downlink Payload: 08020FA3  **~-~-->**  AT+WEIGAP=400.3
998 998  * Example 3: Downlink Payload: 08020FA0  **~-~-->**  AT+WEIGAP=400.0
999 999  
1036 +=== ===
1000 1000  
1001 -
1002 1002  === 3.3.6 Set Digital pulse count value ===
1003 1003  
1004 1004  Feature: Set the pulse count value.
... ... @@ -1021,8 +1021,8 @@
1021 1021  * Example 1: Downlink Payload: 090100000000  **~-~-->**  AT+SETCNT=1,0
1022 1022  * Example 2: Downlink Payload: 0902000003E8  **~-~-->**  AT+SETCNT=2,1000
1023 1023  
1060 +=== ===
1024 1024  
1025 -
1026 1026  === 3.3.7 Set Workmode ===
1027 1027  
1028 1028  Feature: Switch working mode.
... ... @@ -1036,6 +1036,7 @@
1036 1036  )))
1037 1037  |(% style="width:154px" %)AT+MOD=4|(% style="width:196px" %)Set the working mode to 3DS18B20s.|(% style="width:157px" %)(((
1038 1038  OK
1075 +
1039 1039  Attention:Take effect after ATZ
1040 1040  )))
1041 1041  
... ... @@ -1046,8 +1046,8 @@
1046 1046  * Example 1: Downlink Payload: 0A01  **~-~-->**  AT+MOD=1
1047 1047  * Example 2: Downlink Payload: 0A04  **~-~-->**  AT+MOD=4
1048 1048  
1086 += =
1049 1049  
1050 -
1051 1051  = 4. Battery & Power Consumption =
1052 1052  
1053 1053  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0