Changes for page How to connect 3rd party sensor to Dragino Wireless End Node
Last modified by Xiaoling on 2024/09/24 15:37
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -159,6 +159,7 @@ 159 159 Humidity(SHT20 or SHT31) 160 160 )))|(% style="width:53px" %)Bat 161 161 162 + 162 162 === 2.1.4 MOD~=4 (3 x DS18B20) === 163 163 164 164 ... ... @@ -339,7 +339,7 @@ 339 339 [[It should be noted when using PWM mode.>>||anchor="H2.3.3.12A0PWMMOD"]] 340 340 341 341 342 -==== 2.1.10.1 Uplink, PWM input capture ==== 343 +==== 2.1.10.1 Uplink, PWM input capture ==== 343 343 344 344 345 345 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SN50v3-LB/WebHome/image-20230817172209-2.png?width=683&height=439&rev=1.1||alt="image-20230817172209-2.png"]] ... ... @@ -408,7 +408,7 @@ 408 408 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SN50v3-LB/WebHome/image-20230817172209-2.png?width=683&height=439&rev=1.1||alt="image-20230817172209-2.png"]] 409 409 410 410 411 -==== 2.1.10.3 Downlink, PWM output ==== 412 +===== 2.1.10.3 Downlink, PWM output ===== 412 412 413 413 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SN50v3-LB/WebHome/image-20230817173800-3.png?width=685&height=412&rev=1.1||alt="image-20230817173800-3.png"]] 414 414 ... ... @@ -428,7 +428,7 @@ 428 428 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SN50v3-LB/WebHome/image-20230817173858-5.png?width=843&height=634&rev=1.1||alt="image-20230817173858-5.png"]] 429 429 430 430 431 -=== 2.1.11 MOD~=11 (TEMP117) === 432 +==== 2.1.11 MOD~=11 (TEMP117) ==== 432 432 433 433 434 434 In this mode, uplink payload includes in total 11 bytes. Uplink packets use FPORT=2. ... ... @@ -458,7 +458,7 @@ 458 458 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SN50v3-LB/WebHome/image-20240717141528-2.jpeg?width=654&height=430&rev=1.1||alt="image-20240717141528-2.jpeg"]] 459 459 460 460 461 -=== 2.1.12 MOD~=12 (Count+SHT31) === 462 +==== 2.1.12 MOD~=12 (Count+SHT31) ==== 462 462 463 463 464 464 This mode has total 11 bytes. As shown below: ... ... @@ -543,7 +543,7 @@ 543 543 544 544 ))) 545 545 546 -=== 2.2.4 Analogue Digital Converter (ADC) === 547 +==== 2.2.4 Analogue Digital Converter (ADC) ==== 547 547 548 548 549 549 The measuring range of the ADC is only about 0.1V to 1.1V The voltage resolution is about 0.24mv. ... ... @@ -727,10 +727,9 @@ 727 727 a) If real-time control output is required, the SN50v3-LB/LS is already operating in class C and an external power supply must be used. 728 728 729 729 b) If the output duration is more than 30 seconds, better to use external power source. 730 - 731 - 732 732 ))) 733 733 733 + 734 734 === 2.2.13 Working MOD === 735 735 736 736 ... ... @@ -756,101 +756,21 @@ 756 756 = 3. PS-LB-NA connects to third-party sensors = 757 757 758 758 759 -PS-LB-NA might connect to different kind of probes, 4~~20mA represent the full scale of the measuring range. So a 12mA output means different meaning for different probe. 760 760 761 761 762 -**For example.** 763 763 764 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:500px" %) 765 -|(% style="background-color:#4f81bd; color:white; width:150px" %)**Probe Type**|(% style="background-color:#4f81bd; color:white; width:150px" %)**4~~20mA scale for this probe**|(% style="background-color:#4f81bd; color:white; width:200px" %)**Example: 12mA actually meaning for this probe** 766 -|(% style="background-color:#f2f2f2; width:206px" %)PH Combination Electrodes|(% style="background-color:#f2f2f2; width:222px" %)0 ~~ 14 pH|(% style="background-color:#f2f2f2; width:356px" %)PH Value: 7 767 -|(% style="background-color:#f2f2f2; width:206px" %)Water Pressure Sensor|(% style="background-color:#f2f2f2; width:222px" %)0~~5 meters|(% style="background-color:#f2f2f2; width:356px" %)2.5 meters pure water 768 -|(% style="background-color:#f2f2f2; width:206px" %)Pressure transmitter probe|(% style="background-color:#f2f2f2; width:222px" %)0~~1MPa|(% style="background-color:#f2f2f2; width:356px" %)0.5MPa air / gas or water pressure 769 769 770 -User can set different probe model for above probes. So IoT server is able to se identical how it should parse the 4~~20mA or 0~~30v sensor value and get the correct value. 771 771 772 772 773 -== 3.1 0~~20mA value (IDC_IN) == 774 774 775 775 776 -(% style="color:#037691" %)**Payload Example**: 777 777 778 -27AE(H) = 10158 (D)/1000 = 10.158mA. 779 779 780 780 781 -[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/PS-LB-NA--LoRaWAN_Analog_Sensor_User_Manual/WebHome/image-20230821150704-1.png?width=609&height=180&rev=1.1||alt="image-20230821150704-1.png"]] 782 782 783 -**Connect to a 2 wire 4~~20mA sensor.** 784 784 785 -[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/PS-LB-NA--LoRaWAN_Analog_Sensor_User_Manual/WebHome/image-20230225154759-1.png?width=741&height=408&rev=1.1||alt="image-20230225154759-1.png"]] 786 786 787 787 788 -== 3.2 0~~30V value ( pin VDC_IN) == 789 789 790 790 791 -Measure the voltage value. The range is 0 to 30V. 792 - 793 -(% style="color:#037691" %)**Example**: 794 - 795 -138E(H) = 5006(D)/1000= 5.006V 796 - 797 - 798 -== 3.3 IN1&IN2&INT pin == 799 - 800 - 801 -IN1 and IN2 are used as digital input pins. 802 - 803 -(% style="color:#037691" %)**Example**: 804 - 805 -09 (H): (0x09&0x08)>>3=1 IN1 pin is high level. 806 - 807 -09 (H): (0x09&0x04)>>2=0 IN2 pin is low level. 808 - 809 - 810 -This data field shows if this packet is generated by (% style="color:blue" %)**Interrupt Pin** (%%)or not. [[Click here>>||anchor="H3.3.2SetInterruptMode"]] for the hardware and software set up. Note: The Internet Pin is a separate pin in the screw terminal. 811 - 812 -(% style="color:#037691" %)**Example:** 813 - 814 -09 (H): (0x09&0x02)>>1=1 The level of the interrupt pin. 815 - 816 -09 (H): 0x09&0x01=1 0x00: Normal uplink packet. 817 - 818 -0x01: Interrupt Uplink Packet. 819 - 820 - 821 -== 3.4 Sensor value, FPORT~=7 == 822 - 823 - 824 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:504px" %) 825 -|(% style="background-color:#4f81bd; color:white; width:94px" %)((( 826 -**Size(bytes)** 827 -)))|(% style="background-color:#4f81bd; color:white; width:43px" %)**2**|(% style="background-color:#4f81bd; color:white; width:367px" %)**n** 828 -|(% style="background-color:#f2f2f2; width:94px" %)Value|(% style="background-color:#f2f2f2; width:43px" %)[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(% style="background-color:#f2f2f2; width:367px" %)((( 829 -Voltage value, each 2 bytes is a set of voltage values. 830 -))) 831 - 832 -[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/PS-LB-NA--LoRaWAN_Analog_Sensor_User_Manual/WebHome/image-20230220171300-1.png?width=863&height=207&rev=1.1||alt="image-20230220171300-1.png"]] 833 - 834 -Multiple sets of data collected are displayed in this form: 835 - 836 -[voltage value1], [voltage value2], [voltage value3],…[voltage value n/2] 837 - 838 - 839 -== 3.5 Decode payload in The Things Network == 840 - 841 - 842 -While using TTN network, you can add the payload format to decode the payload. 843 - 844 - 845 -[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/PS-LB-NA--LoRaWAN_Analog_Sensor_User_Manual/WebHome/1675144839454-913.png?rev=1.1||alt="1675144839454-913.png"]] 846 - 847 - 848 -PS-LB-NA TTN Payload Decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decode>>url:https://github.com/dragino/dragino-end-node-decoder]] 849 - 850 - 851 -= 4. Differences between three different motherboards = 852 - 853 - 854 -[[image:image-20240924102931-1.png||height="365" width="1210"]] 855 - 856 856
- image-20240924102931-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -1.6 MB - Content