Wiki source code of Different methods to detect water and liquid level
Version 14.34 by Edwin Chen on 2025/06/25 09:32
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
7.1 | 1 | **~ Table of Contents:** |
2 | |||
3 | {{toc/}} | ||
4 | |||
![]() |
10.1 | 5 | |
6 | |||
![]() |
13.2 | 7 | = 1. Overview = |
![]() |
4.1 | 8 | |
![]() |
13.2 | 9 | |
![]() |
4.1 | 10 | This URL introduce different methods to detect the water / liquid level. |
11 | |||
12 | |||
![]() |
13.2 | 13 | = 2. Flow switch = |
![]() |
4.1 | 14 | |
![]() |
13.2 | 15 | == 2.1 How it works == |
![]() |
5.1 | 16 | |
![]() |
13.2 | 17 | |
![]() |
4.1 | 18 | Below is an example of flow switch. and product link: |
19 | |||
20 | [[https:~~/~~/www.amazon.com/Float-Switch-Septic-System-Sump/dp/B0064BHEVM/ref=sr_1_5?crid=2PCMSD63FBP42&keywords=float%2Bswitch&qid=1671230997&refinements=p_72%3A1248909011&rnid=1248907011&s=hi&sprefix=float%2Bswitch%2Caps%2C155&sr=1-5&th=1 >>https://www.amazon.com/Float-Switch-Septic-System-Sump/dp/B0064BHEVM/ref=sr_1_5?crid=2PCMSD63FBP42&keywords=float%2Bswitch&qid=1671230997&refinements=p_72%3A1248909011&rnid=1248907011&s=hi&sprefix=float%2Bswitch%2Caps%2C155&sr=1-5&th=1]] | ||
21 | |||
22 | [[image:image-20221217164157-1.png||height="329" width="486"]] | ||
23 | |||
![]() |
13.2 | 24 | |
![]() |
5.1 | 25 | [[image:image-20221217164432-3.png||height="282" width="501"]][[image:image-20221217164337-2.png||height="279" width="431"]] |
![]() |
4.1 | 26 | |
![]() |
5.1 | 27 | The switch will switch on/off to show if the water / liquid has dedicate level. |
![]() |
4.1 | 28 | |
![]() |
5.1 | 29 | |
30 | To use such switch with Dragino Products, use can connect it to LSN50v2 use the same way as a door switch. See reference link: | ||
31 | |||
32 | [[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/#H2.4.5DigitalInterrupt >>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/#H2.4.5DigitalInterrupt]] | ||
33 | |||
34 | |||
![]() |
13.2 | 35 | == 2.2 Advantage & Disadvantage == |
![]() |
5.1 | 36 | |
37 | |||
![]() |
13.2 | 38 | (% style="color:blue" %)**Advantage**(%%) : Reliable , Easy to install & Immue to different environment. |
![]() |
5.1 | 39 | |
![]() |
13.2 | 40 | (% style="color:red" %)**Disadvantage**(%%): Only be able to detect one speicify level. Not able to detect full range of water. |
![]() |
5.1 | 41 | |
42 | |||
![]() |
14.2 | 43 | = 3. Ultrasonic Sensor / LiDAR Sensor / Microwave Ridar = |
![]() |
6.1 | 44 | |
![]() |
13.2 | 45 | == 3.1 How it works? == |
![]() |
10.1 | 46 | |
![]() |
14.15 | 47 | These type sensors normally install on the top of the liquid leve and use different technology (Ultrasonic/ LiDAR ToF / MicroWave Ridar) to check the liquid level. |
![]() |
10.1 | 48 | |
![]() |
14.15 | 49 | |
![]() |
14.20 | 50 | For example: [[LDDS75>>https://www.dragino.com/products/distance-level-sensor/item/161-ldds75.html]] / [[LDDS45>>https://www.dragino.com/products/distance-level-sensor/item/191-ldds45.html]] are using ultrasonic technologic to detect the distance between the probe and a flat object such as water level. |
![]() |
14.15 | 51 | |
![]() |
14.23 | 52 | Below is photo and URL shows how Ultrasonic Sensor works to detect Water Level. LiDAR ToF and MicroWave RiDar are similiar. |
![]() |
10.1 | 53 | |
54 | [[https:~~/~~/www.electricalvolt.com/2022/06/ultrasonic-level-transmitter-working/ >>https://www.electricalvolt.com/2022/06/ultrasonic-level-transmitter-working/]] | ||
55 | |||
56 | [[image:image-20221217170756-1.png||height="465" width="539"]] | ||
57 | |||
58 | |||
![]() |
14.23 | 59 | When choose the these sensors, the consideration are: |
![]() |
10.1 | 60 | |
![]() |
14.27 | 61 | * If the measure range , blind spot and angel fit the tank installation and measurement requirement. |
![]() |
14.34 | 62 | * Make sure the liquid on the tank will not touch the top so touch the sensor. |
![]() |
14.23 | 63 | |
![]() |
10.1 | 64 | An important notice, if there are moisture accumulated in the sense area of Ultrasonic Probe of LDDS75/LDDS45. the reading will become invalid. |
65 | |||
66 | |||
![]() |
13.2 | 67 | == 3.2 Advantage & Disadvantage == |
![]() |
10.1 | 68 | |
69 | |||
![]() |
13.2 | 70 | (% style="color:blue" %)**Advantage**(%%) : Able to detect the level. Good Accurancy. |
![]() |
10.1 | 71 | |
![]() |
13.2 | 72 | (% style="color:red" %)**Disadvanage**(%%): Wrong reading when probe is block by moisture or other stuff. Affect by temperature. |
![]() |
10.1 | 73 | |
74 | |||
![]() |
13.2 | 75 | = 4. Pressure Sensor = |
![]() |
10.1 | 76 | |
![]() |
13.2 | 77 | == 4.1 How it works? == |
78 | |||
79 | |||
![]() |
13.1 | 80 | Pressure Sensor such as [[PS-LB>>https://www.dropbox.com/sh/eshhuk347xi1ce4/AAA4LUmYc2ITayfJUVsqK3wya?dl=0]] measures the pressure of the air / gas / liquid so can calcualte the liquid level. |
81 | |||
![]() |
13.2 | 82 | there are two types , (% style="color:blue" %)**Thread type** (%%)and (% style="color:blue" %)**Immersion type**(%%). as below: |
![]() |
13.1 | 83 | |
84 | |||
85 | [[image:image-20221228143643-1.png||height="223" width="312"]] [[image:image-20221228144206-2.png||height="256" width="335"]] | ||
86 | |||
87 | |||
![]() |
13.2 | 88 | == 4.2 Advantage & Disadvantage == |
![]() |
13.1 | 89 | |
90 | |||
![]() |
13.2 | 91 | (% style="color:blue" %)**Advantage**(%%) : Able to detect air / gas / liquid pressure level. Immue to factors such as moisture / blocking. etc. Flexible for installation for |
![]() |
13.1 | 92 | |
![]() |
13.7 | 93 | (% style="color:red" %)**Disadvanage **(%%): When use Thread Type sensor, make a hole on the tank is a challenge and when measure different Liquid, system intergrator need to calculate the level / pressure mapping, because different liquid has different density. |
![]() |
13.1 | 94 | |
95 | |||
![]() |
13.2 | 96 | |
![]() |
5.1 | 97 |