So, I want to make a hand sanitizer. I have an ultra-sonic sensor.
Right now it works like this: when distance is lower than 5cm, it pours liquid.
What I want