liquid level measurement using capacitive sensor