Ultrasonic sensors measure liquid level by emitting sound waves and timing their return. While effective in large tanks, they face challenges in compact coffee machines: sound reflections from internal walls can cause false readings, and their cost is significantly higher.Capacitive sensors like the