Best Answer JerseyTechGuy, 27 March 2013 - 12:07 PM
Yes, these ping type sensors will send an ultrasonic wave that does reflect off of water. You will of course need to pre-program some know values to do the calculations. For instance... if the sensor is placed on the top of a container facing the bottom it will give you a reading of how far away the water is from the top of the container where the sensor is. In order to measure the water level you would then need to know how far the bottom of the container is from the sensor and do the math (ContainerHeight - PingReading = WaterHeight).
At the same time, if what you are measuring is the inside of the container, you can of course calculate out the volume of the container and be able to read back how many litres / gallons, etc are in the container by doing the volumetric math.
Welcome to the forums and good luck with your project!
Go to the full post