I'm designing a rain gauge which uses accurate electronic scales to measure weight of water (and therefore volume) that has entered the sump. Ideally the system will not require any manual intervention.
When the water level exceeds some suitable value I switch on a pump (I'm using a low voltage submersible centrifugal pump) for a fixed time. That time is long enough for the water level to drop so that the pump is now "empty". I then reset the scales to get my new zero weight level.
So far so good - but the outflow tube now has air in it. Some of the water in the tube may flow back down into the sump. This will create an error in the weight measurement.
A solution would be to stop pumping when the weight reaches some lower value, but which is enough to stop air entering the pump. Now, the outflow tube should not have any air in it so the water in it will stay there. But in a dry spell the water in the sump could evaporate, so we are back to the original problem.
I suspect (but don't know) that some kind of lift pump might get over the problems. Is such a pump available at low voltage and low cost? Or some other kind of pump perhaps?