CPC A47K 5/1217 (2013.01) [A47K 5/1205 (2013.01); G01J 1/4204 (2013.01)] | 19 Claims |
1. A method of operating a fluid dispenser, the fluid dispenser comprising:
a pump mechanism for dispensing fluid from the fluid dispenser;
a light emitter;
a light sensor; and
a movable component that moves when the pump mechanism is activated;
the method comprising:
emitting light from the light emitter;
detecting movement of the movable component using the light sensor by detecting changes in an amount of the light emitted by the light emitter that is reflected from the movable component towards the light sensor;
determining whether the pump mechanism has been activated based on detection data received from the light sensor; and
controlling a function of one or more electronic components of the fluid dispenser based on the detection data received from the light sensor;
wherein the one or more electronic components comprises a pump position sensor, the method further comprising:
sensing a property of the fluid dispenser that is indicative of a position of the pump mechanism using the pump position sensor.
|