Measure distance water

Hello everyone,
Here's my first post so excuse me if I do some mistakes.
I am now in a project that consists on measuring the distance of a wall from the water. I was thinking that I could maybe try ultrasounds, infrared or laser. However, I don't know if these ways are effective with my project because maybe they don't bounce on the water or are reflected everywhere. The main idea is that I place a roof and I have to determinate the distance between that wall and the water that it's just below it.
Thank you so much!

photo link: WATER — Postimages

PD: if the receiver and the transmitor are separated (connected with a cable) it would be even better!

I don't understand your description.

Please make and post a photo of a pen/pencil drawing of the situation, showing the distance you wish to measure.

Ultrasound is a common way to measure distance to a water surface.

jremington:
I don't understand your description.

Please make and post a photo of a pen/pencil drawing of the situation, showing the distance you wish to measure.

Done, I'm sorry, it's unclear...

Consider actually posting your drawing.

wvmarle:
Ultrasound is a common way to measure distance to a water surface.

Perfect! Do you know any sensor with a precision of 1mm or less that is not overpriced?
Thanks!

jremington:
Consider actually posting your drawing.

Done!

Do you know any sensor with a precision of 1mm or less that is not overpriced?

Unfortunately, precision is what you pay for. If you can't afford a sensor that meets your requirements, reduce your requirements.

Any circuitry exposed over water will rapidly corrode, unless specifically protected against condensation and vapor intrusion.

To measure water level, it is much, much easier and more reliable to use a float switch, a proximity sensor or an external pressure gauge at the bottom of the tank.

1 mm is not possible with ultrasound. Wavelength is too long.

I have achieved better than that with the MPXV5004DP pressure sensor, accuracy I got better than 0.5 mm with a resolution of about 0.1 mm. Enough to regulate the level to within 2-3 mm. Note that your range is limited at 40 cm between highest and lowest level when using that sensor. Not really expensive, either. I got them for about USD 10 a piece for the 3.3V version (MP3V5004DP).

wvmarle:
1 mm is not possible with ultrasound. Wavelength is too long.

I have achieved better than that with the MPXV5004DP pressure sensor, accuracy I got better than 0.5 mm with a resolution of about 0.1 mm. Enough to regulate the level to within 2-3 mm. Note that your range is limited at 40 cm between highest and lowest level when using that sensor. Not really expensive, either. I got them for about USD 10 a piece for the 3.3V version (MP3V5004DP).

Do you think that this will work with water too?

Encoder disk on a float with balance weight.

Charlie_:
Do you think that this will work with water too?

That's exactly what I'm using them for.

Pressure tube into the water, sensor itself of course must stay dry.

wvmarle:
That's exactly what I'm using them for.

Pressure tube into the water, sensor itself of course must stay dry.

Good find.

Also these here for elcheapo......maximum pressure 40kpag or around 6 psi.

wvmarle:
That's exactly what I'm using them for.

Pressure tube into the water, sensor itself of course must stay dry.

I have been thinking about it and the problem is that I cannot use this type of sensors. Do you know any alternative?

bluejets:
Good find.

Also these here for elcheapo......maximum pressure 40kpag or around 6 psi.

Are you aware of the external circuit it needs? You can't read the output of this sensor directly, it's a Wheatstone bridge. The HX711 appears to be a good choice to amplify the signal.

The output of the sensor I mentioned can be used directly, just add a few decoupling caps.

Charlie_:
I have been thinking about it and the problem is that I cannot use this type of sensors.

Why not?

wvmarle:
Are you aware of the external circuit it needs? You can't read the output of this sensor directly, it's a Wheatstone bridge. The HX711 appears to be a good choice to amplify the signal.

The output of the sensor I mentioned can be used directly, just add a few decoupling caps.

No, not really my concern.
I simply posted an alternative.