Arduino code hulp

Why? The pressure at the bottom of a full container is higher than the pressure at the bottom of a less-full container. Were not measuring air pressure.

If your cistern rests on a fairly level surface you could use several load cells to measure the weight of the container and its contents.