Hi all,
Is there support for sensor MS5540-CM planned? It is quite cheap waterproof pressure sensor.
https://www.ebay.com/sch/i.html?_from=R ... M&_sacat=0
It seems it might be good for projects where you need to monitor the amount of water or other fluid (height / pressure) and, for example, drive the garden irrigation automation. Certainly, such a possibility would apply to many other people. Could anybody will be able to write a plugin for this sensor? I found some script for Arduino, but I can not know how to write it for ESPEasy:
https://gist.github.com/hephaestus9/daf ... 720e0e3431
Best Regards!
Sejcek1
Tank water level with MS5540-CM
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Tank water level with MS5540-CM
Looks like a good sensor. You should add it as a feature request on GitHub.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



Re: Tank water level with MS5540-CM
Looks good
But how to implement ? how to rig this to existing piping or water tanks ?
By the way, for level ... a barometer won’t be of much use.
But how to implement ? how to rig this to existing piping or water tanks ?
By the way, for level ... a barometer won’t be of much use.
Belgium and land of ESP ... counting 

-
- Normal user
- Posts: 307
- Joined: 06 Nov 2016, 13:45
Re: Tank water level with MS5540-CM
How about the supported Ultrasonic HC-SR04
https://www.letscontrolit.com/wiki/index.php/HC-SR04
Waterproof:
https://www.aliexpress.com/item/Integra ... 90912.html
(not sure if they have the same interface towards ESPEasy)
https://www.letscontrolit.com/wiki/index.php/HC-SR04
Waterproof:
https://www.aliexpress.com/item/Integra ... 90912.html
(not sure if they have the same interface towards ESPEasy)
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.
Re: Tank water level with MS5540-CM
@HomeJCL: Just put it to the lowest place of the tank/pipe. Water/hydrostatic pressure is equal to water height so barometer should be useful (sure, only for atmospheric pressure tanks). It should be easy to convert pressure to water height.
@Domosapiens: You can measure up to 100m water level in narrow borehole within this sensor and sensitivity looks quite good.
https://www.youtube.com/watch?v=g_7txTdy-tg
@Domosapiens: You can measure up to 100m water level in narrow borehole within this sensor and sensitivity looks quite good.
https://www.youtube.com/watch?v=g_7txTdy-tg
Re: Tank water level with MS5540-CM
There are several types of this sensor
The link goes to a range of 10 ... 1100 mbar
with 100m waterproof spec ! Means over pressure capability nothing todo with measuring range.
Anyway if you use the linked sensor, (abs press sensor barometer), you need a second one as reference (for measuring atmospheric pressure) to be substracted from the level pressure
Eg Pabs 1023 mbarabs. Measurement of level 1089mbarabs
Level 1089-1023=66mbarabs ~ 660mm level
With sensor max range 1100, this summer where I live, we had max Patm 1037 leaves us a max useful level on that day of 630mm water !!!
Recap :
read carefully spec sheet !
need 2 pces to measure level or anyway you’ll need a Pabs reference to calculate level from vessel. Needs additional “programming” not much but I’m lazy
So you simplify by using same type but looking for a gauge pressure type and not absolute pressure.
But then we are back at square 1, expensive, difficulty of mounting, exposed circuit and risk of leakage !
JSNxxxxx sensor costs around 7 $US works up to 4-5m and does mount in no time and no risk of leakage.
KISS ... that is ESP Easy philosophy
The link goes to a range of 10 ... 1100 mbar
with 100m waterproof spec ! Means over pressure capability nothing todo with measuring range.
Anyway if you use the linked sensor, (abs press sensor barometer), you need a second one as reference (for measuring atmospheric pressure) to be substracted from the level pressure
Eg Pabs 1023 mbarabs. Measurement of level 1089mbarabs
Level 1089-1023=66mbarabs ~ 660mm level
With sensor max range 1100, this summer where I live, we had max Patm 1037 leaves us a max useful level on that day of 630mm water !!!
Recap :
read carefully spec sheet !
need 2 pces to measure level or anyway you’ll need a Pabs reference to calculate level from vessel. Needs additional “programming” not much but I’m lazy
So you simplify by using same type but looking for a gauge pressure type and not absolute pressure.
But then we are back at square 1, expensive, difficulty of mounting, exposed circuit and risk of leakage !
JSNxxxxx sensor costs around 7 $US works up to 4-5m and does mount in no time and no risk of leakage.
KISS ... that is ESP Easy philosophy
Belgium and land of ESP ... counting 

Who is online
Users browsing this forum: No registered users and 10 guests