| CPC E03C 1/057 (2013.01) [A47K 5/1217 (2013.01); G08B 5/36 (2013.01); G08B 21/18 (2013.01)] | 20 Claims |

|
1. A liquid dispenser sensing distance self-learning method, comprising:
in response to a self-learning request, entering a self-learning mode;
in the self-learning mode, determining a shortest distance between a reference object and a sensing component;
in the self-learning mode, determining and storing a sensing distance based on the shortest distance, wherein a liquid dispenser dispenses liquid when the liquid dispenser is in a working state and when a distance between the reference object and the sensing component is detected to be less than or equal to the sensing distance;
in the self-learning mode, identifying, by a first indication device, a state of the self-learning mode;
in response to a sensing request, entering a sensing mode;
in the sensing mode, detecting the distance between the reference object and the sensing component;
in the sensing mode, comparing the detected distance with the sensing distance; and
in the sensing mode, identifying, by a second indication device, a comparison result of the detected distance and the sensing distance.
|