CPC A47K 5/1208 (2013.01) | 20 Claims |
1. A method of dispensing soap or sanitizer comprising:
providing a dispenser having a container for holding fluid, a motor, a pump driven by the motor, a power source, an object sensor, a processor, an encoder and pulse width modulation circuitry;
detecting the presence of an object by the object sensor;
causing the pulse width modulation circuitry to output a power signal with a first duty cycle to the motor for at least a fraction of at least one rotation of the motor;
receiving a plurality of signals from the encoder;
determining a speed of the motor;
changing from the first duty cycle to one or more second duty cycles to cause the speed of the motor to approach a selected motor speed;
wherein when the pump is driven by the motor, a fluid is pumped out of the dispenser;
determining a number of revolutions of the motor as a function of receiving the plurality of signals from the encoder;
causing the pulse with modulation circuitry to stop providing power to the motor upon determining a selected number of revolutions of the pump have occurred.
|