While this is most likely overkill for a gas gauge, we do thank [VadimS] for sharing the information. He shows us how to build a capacitive liquid sensor using an Arduino, some foil and some wire. He’s basically detecting the difference in capacitance between the foil sheets. As he gets more water in the bottle, the capacitance goes up. At least we think thats what is going on. He has included the source code for the Arduino, both for handling the sensor and running the LCD display shown in the picture above. When completed, this will be used in his dune buggy for a gas gauge.