Proximity Sensor for Clear Liquid
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- davidschlender
- Posts: 4
- Joined: Sat May 05, 2018 5:37 pm
Proximity Sensor for Clear Liquid
I'm looking for a proximity sensor that needs to precisely measure fluid level in a tank (to the nearest millimeter or better), (within 0mm to 50mm), but the fluid may be clear in color. I don't believe IR sensors would work because the fluid would be transmissive. Ultrasonic wouldn't work because they aren't precise enough (to the nearest cm) and generally work at medium distances (1-2 meters). Am I wrong about the IR sensors? Would they work or is there something better to use?
- adafruit_support_bill
- Posts: 88154
- Joined: Sat Feb 07, 2009 10:11 am
Re: Proximity Sensor for Clear Liquid
Ultrasonics are my usual go-to-sensors for liquid level sensing and the Maxbotix HR series ultrasonics have a 1mm resolution: https://www.adafruit.com/product/1343Ultrasonic wouldn't work because they aren't precise enough (to the nearest cm) and generally work at medium distances (1-2 meters)
The catch is the minimum distance - 30cm. Your vessel would need to have enough headroom to mount the sensor at least 30cm from the maximum fill level.
But you might get enough specular reflection from the surface for the IR to work. Especially in an enclosed tank which would block out any ambient IR interference from other sources.I don't believe IR sensors would work because the fluid would be transmissive.
The VL6180X works in the 0-100mm range. It has resolution to 1mm, but you will need to carefully control the temperature and supply voltage to limit the drift and preserve accuracy.
https://www.adafruit.com/product/3316
https://cdn-learn.adafruit.com/assets/a ... asheet.pdf
- davidschlender
- Posts: 4
- Joined: Sat May 05, 2018 5:37 pm
Re: Proximity Sensor for Clear Liquid
Bill, I think the IR solution would be better than the ultrasonic solution. It's for a level sensor on a resin 3D printer, so the available distance from the top of the tank is very limited, and to avoid interference from the build plate, it would need to be able to measure the fluid level near the edge of the basin. I need to measure from a distance of ~10mm to ~50mm with preferably a resolution better than 1mm. Perhaps a capacitive sensor would work over the fluid, but I believe that would only work as a threshold reading (true/false) rather than a continuous value?
- adafruit_support_bill
- Posts: 88154
- Joined: Sat Feb 07, 2009 10:11 am
Re: Proximity Sensor for Clear Liquid
Analog Devices has a white-paper on capacitive level sensing here: https://www.analog.com/en/analog-dialog ... -cdcs.html
But it doesn't look like an off-the-shelf solution. Given your constraints, the IR solution is probably worth investigating.
But it doesn't look like an off-the-shelf solution. Given your constraints, the IR solution is probably worth investigating.
Please be positive and constructive with your questions and comments.