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, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -159,7 +159,6 @@ 159 159 Humidity(SHT20 or SHT31) 160 160 )))|(% style="width:53px" %)Bat 161 161 162 - 163 163 === 2.1.4 MOD~=4 (3 x DS18B20) === 164 164 165 165 ... ... @@ -340,7 +340,7 @@ 340 340 [[It should be noted when using PWM mode.>>||anchor="H2.3.3.12A0PWMMOD"]] 341 341 342 342 343 -==== 2.1.10.1 342 +==== 2.1.10.1 Uplink, PWM input capture ==== 344 344 345 345 346 346 [[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,7 +409,7 @@ 409 409 [[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"]] 410 410 411 411 412 -==== =2.1.10.3 Downlink, PWM output =====411 +==== 2.1.10.3 Downlink, PWM output ==== 413 413 414 414 [[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"]] 415 415 ... ... @@ -429,7 +429,7 @@ 429 429 [[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"]] 430 430 431 431 432 -=== =2.1.11 MOD~=11 (TEMP117) ====431 +=== 2.1.11 MOD~=11 (TEMP117) === 433 433 434 434 435 435 In this mode, uplink payload includes in total 11 bytes. Uplink packets use FPORT=2. ... ... @@ -459,7 +459,7 @@ 459 459 [[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"]] 460 460 461 461 462 -=== =2.1.12 MOD~=12 (Count+SHT31) ====461 +=== 2.1.12 MOD~=12 (Count+SHT31) === 463 463 464 464 465 465 This mode has total 11 bytes. As shown below: ... ... @@ -544,7 +544,7 @@ 544 544 545 545 ))) 546 546 547 -=== =2.2.4 Analogue Digital Converter (ADC) ====546 +=== 2.2.4 Analogue Digital Converter (ADC) === 548 548 549 549 550 550 The measuring range of the ADC is only about 0.1V to 1.1V The voltage resolution is about 0.24mv. ... ... @@ -728,9 +728,10 @@ 728 728 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. 729 729 730 730 b) If the output duration is more than 30 seconds, better to use external power source. 730 + 731 + 731 731 ))) 732 732 733 - 734 734 === 2.2.13 Working MOD === 735 735 736 736 ... ... @@ -756,21 +756,101 @@ 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. 759 759 760 760 762 +**For example.** 761 761 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 762 762 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. 763 763 764 764 773 +== 3.1 0~~20mA value (IDC_IN) == 765 765 766 766 776 +(% style="color:#037691" %)**Payload Example**: 767 767 778 +27AE(H) = 10158 (D)/1000 = 10.158mA. 768 768 769 769 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"]] 770 770 783 +**Connect to a 2 wire 4~~20mA sensor.** 771 771 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"]] 772 772 773 773 788 +== 3.2 0~~30V value ( pin VDC_IN) == 774 774 775 775 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 + 776 776
- image-20240924102931-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.6 MB - Content