Measure water depth in the water fountain

Hi,

I would like to measure a water depth in the water fountain. I’m talking about fountain simillar to this one shown on the picture below:

Fountain has a depth of about 2.5 meters, however it is never full of water - there is always up to 80 cm of space under fountain’s metal cover. I’m thinking about ultrasonic sensor, however I’m worry about signal reflections (firstly from the water after that from the plate and then again from the water to the sensor…), so it is not sure that ultrasound sensor would work. Does somebody have any experiences?

Standard liquid sensors (like this one: 12 eTape Liquid Level Sensor + extras : Adafruit Industries, Unique & fun DIY electronics and kits ) are not so suitable for such applications I think.

Thanks.

I am using a waterproof Ultra sonic sensor in an underground rain water tank - installed it there 2.5 years ago and it’s working fine

The sensor is mounted facing down towards the water surface (on the right in the picture)

1 Like

Hi, @dh15

What do you want to do with the sensor?
Keep the fountain at a certain level?
If so then use a float switch to indicate when the water is not at the correct level and turn on a pump until the switch indicates the level is back to normal.

Tom.... :smiley: :+1: :coffee: :australia:

2 Likes

The simplest would be float switch as @TomGeorge suggested.
Another approach would be to use a pressure sensor. I use that to determine the depth of my coy pond. It is in the bubbler line that goes to the bottom of the pond. You could do something similar by using a small aquarium pump and only turn it on when you want a reading.

Those reflections are what you want to measure... Bottom is always the same.

@J-M-L Which model of ultrasonic sensor do you have? Is A02YYUW maybe?

@TomGeorge The fountatin collects rainwater. This water will be used for the irrigation system and I would like to monitor how quickly it will run out, especially in the summer during longer periods of dry weather.

@gilshultz Do you have a sensor like the WNK8010-T in mind? I’m not sure if I understood what did you think that I can achieve with a small pump?

@kmin I meant that multiple reflections could be a problem, first reflection is a must to meausure anything :grinning_face: But you are right. If I mount a sensor 10 cm under the cover, than there would be around 70 cm to the water when fountain would be full. Additional reflections would bring much longer distances which should be eliminated :blush:

That’s the thread where I presented my challenge at the time which was to get UART working over some distance.

I'm using a UART based DYP-A02YY waterproof ultrasonic ranging sensor connected to a M5Stack M5StickCPlus

Hi, @dh15

Thanks for that info, then two level switches, one high and one low.

Tom.... :smiley: :+1: :coffee: :australia:

Just a tip if using float type level switches.
The small ones with a hinged magnet have an M20 thread and nut for fixing through tank sides.
Get some 20-mm PVC conduit and a female M20 adapter. Glue the adapter and screw the switch into the adapter with a rubber sealing washer.
Extend the wires with small round cable.
Cut the conduit to length and fit another M20 on the open end. Fit an IP68 cable gland to seal the cable.
End result a level switch easy to fit at the right level and service.

You can choose AJ-SR04M. It is waterproof. Its measurement Range is 25 to 450 cm. It is compatible with Arduino. Arduino Ultrasonic Sensor Module Tutorial - How Ultasonic Module Works and Interfacing it with Arduino

This might give you an idea of what I am thinking of: https://pubs.usgs.gov/tm/1a1/pdf/GWPD13.pdf