Oil level sensor

  • I would like to create an oil level sensor for my oil tank. Any thoughts on best approach?

  • Hero Member

    you can try the ultrasonic sonar. its not bad and reasonably priced - http://www.mysensors.org/build/distance
    accuracy is within 1-2cm, maybe can be tweaked to be more accurate if mounted more securely. if you do the check only once a day should last a long time on batteries.

  • Thanks @Moshe-Livne - I have a ultrasonic one already (off the shelf one) and it's just bars on the display and the range is poor. I guess I could calibrate a mysensors one much better.

  • I've had great luck with capacitive sensing and water levels.. In my case I was using the Teensy 3 which has built-in support for cap sensing that seems more reliable than when using the arduino cap sense library.

    For the sensor, I got a sheet of copper foil with non-conductive adhesive on one side (digikey sells this). Using scissors I cut a 1" wide strip several inches long, with a couple small sections where I removed a piece 3/4 as wide as the strip (sorry.. hard to describe) The end result is sort of "F" shaped (where the horizontal bars are thick and the spaces between are thin).

    For shielding against outside interference, I put another rectagular piece over the whole thing, attached to a ground lead.

    Stick the whole thing to your oil tank, and you should see large changes in the cap sense value as soon as the liquid level crosses a gap.

    here's a web page with something similar


    hope this helps