So I am making a Smart Water Dispenser that must detect the amount of water that must be filled in an arbitrary shaped container. This is what I have thought:
- Installing an IR LED strip to first detect the length of the container, and then fill the water upto that height; monitoring the height using Ultrasonic Sensor. But this does not seem good enough for narrow necked water bottles as the ultrasonic sensor is quite big.
- I also thought of monitoring water height by directly lowering a water level measurer, into the container along with the water outlet. But the problem with this is that all the setup must be food grade since this would be drinking water.
Can anybody suggest a better method?
I do not have a vast knowledge of sensors currently. So introducing a new sensor into the play would be encouraged.