# Patent

## Title
Soap dispensing apparatus

## Abstract

A soap dispenser includes a spout; a controller; a barcode scanner electrically connected to the controller; a power supply electrically connected to the controller; and a soap reservoir including a label having a barcode containing information including a set count of dispensing times of the soap reservoir and a current count of dispensing times of the soap reservoir. The spout includes an electromagnetic switch, an infrared sensor, and a pump in fluid communication with the soap reservoir and electrically connected to the electromagnetic switch respectively. The barcode scanner scans the barcode and sends same to the controller for storage. The controller compares the set count of dispensing times of the soap reservoir with the current count of dispensing times of the soap reservoir prior to activating the pump. After the pumping, the controller increases the current count of dispensing times of the soap reservoir by one.

## Background
FIELD OF THE INVENTION
The invention relates to soap dispensers and more particularly to a soap dispensing apparatus including a controller for storing a predetermined count of dispensing times of the soap reservoir and a current count of dispensing times of the soap reservoir, the two counts being compared with each other prior to allowing a dispensing operation to activate or not.
BACKGROUND OF THE INVENTION
A conventional soap dispenser mounted in a sink is not equipped with a counter to count a current count of dispensing times of a soap reservoir. Thus, an individual is not aware whether the soap reservoir is consumed or not. It is often that the individual may try a number of times to activate the soap dispenser. However, it not only frustrates the individual but also causes the soap dispenser to malfunction.
Thus, the need for improvement still exists.
SUMMARY OF THE INVENTION
It is therefore one object of the invention to provide a soap dispensing apparatus comprising a spout; a controller; a barcode scanner electrically connected to the controller; a power supply electrically connected to the controller; and a soap reservoir including a label having a barcode containing information including kind of liquid stored in the soap reservoir, a predetermined count of dispensing times of the soap reservoir, and a current count of dispensing times of the soap reservoir, the current count of dispensing times of the soap reservoir being initially set as zero; wherein the spout includes an electromagnetic switch, an infrared sensor, and a pump in fluid communication with the soap reservoir and electrically connected to the electromagnetic switch respectively; wherein the barcode scanner is configured to scan the barcode and sends same to the controller for storage; wherein the controller is configured to compare the predetermined count of dispensing times of the soap reservoir with the current count of dispensing times of the soap reservoir prior to activating the pump; wherein in response to activating the infrared sensor, an act of pumping begins if the predetermined count of dispensing times of the soap reservoir is greater than the current count of dispensing times of the soap reservoir; and wherein in response to the act of pumping, the controller increases the current count of dispensing times of the soap reservoir by one.
The above and other objects, features and advantages of the invention will become apparent from the following detailed description taken with the accompanying drawings.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 schematically depicts a soap dispensing apparatus of the invention; and
FIG. 2 schematically depicts the soap dispensing apparatus mounted in a sink.



DETAILED DESCRIPTION OF THE INVENTION
Referring to FIG. 1, a soap dispensing apparatus of the invention comprises a spout 1, a controller 2, a barcode scanner 3 electrically connected to the controller 2, a power supply (e.g., battery or adapter) 4 electrically connected to the controller 2, and a soap reservoir 5 including a label 51 for identifying the soap reservoir 5.
The spout 1 includes an infrared sensor 11 for tracking proximity of an object, an electromagnetic switch 12, and an internal pump 13 in fluid communication with the soap reservoir 5 and electrically connected to the electromagnetic switch 12 respectively. The barcode scanner 3 can be used to scan a barcode on the label 51 and sends same to the controller 2. The barcode contains kind of liquid (e.g., soap) stored in the soap reservoir 5, a predetermined count of dispensing times of the soap reservoir 5, and a current count of dispensing times of the soap reservoir 5 in which the current count of dispensing times of the soap reservoir 5 is set as zero when the soap reservoir 5 is newly installed. Thus, the kind of liquid stored in the soap reservoir 5, the predetermined count of dispensing times of the soap reservoir 5, and the current count of dispensing times of the soap reservoir 5 are stored in the controller 2.
Referring to FIG. 2 in conjunction with FIG. 1, the soap dispensing apparatus is installed in a sink 100. In use, a user may place the hand in close proximity to the infrared sensor 11. The infrared sensor 11 may sense the hand and sends a signal to the controller 2 which in turn turns on the electromagnetic switch 12 which in turn activates the pump 13. The pump 13 transfers liquid in the soap reservoir 5 to the spout 1 for washing the hand. After the washing (i.e., after performing the act of pumping for a predetermined period of time (e.g., 10 seconds)), the electromagnetic switch 12 is automatically turned off by the controller 2 and the controller 2 increases the current count of dispensing times of the soap reservoir 5 by one.
Prior to the dispensing operation, the controller 2 compares the predetermined count of dispensing times of the soap reservoir 5 with the current count of dispensing times of the soap reservoir 5. The dispensing operation will begin if the predetermined count of dispensing times of the soap reservoir 5 is greater than the current count of dispensing times of the soap reservoir 5. To the contrary, the dispensing operation will not begin if the predetermined count of dispensing times of the soap reservoir 5 is equal to the current count of dispensing times of the soap reservoir 5 (i.e., the soap reservoir 5 consumed).
An individual may fill up the consumed soap reservoir 5 with soap and adhere a new label 51 on the soap reservoir 5. Next, the individual uses the barcode scanner 3 to scan a barcode on the label 51 and sends same to the controller 2. The barcode contains kind of liquid stored in the soap reservoir 5, a predetermined count of dispensing times of the soap reservoir 5, and a current count of dispensing times of the soap reservoir 5 in which the current count of dispensing times of the soap reservoir 5 is set as zero when the soap reservoir 5 is full of liquid (e.g., soap). Thus, the kind of liquid stored in the soap reservoir 5, the predetermined count of dispensing times of the soap reservoir 5, and the current count of dispensing times of the soap reservoir 5 are stored in the controller 2.
While the invention has been described in terms of preferred embodiments, those skilled in the art will recognize that the invention can be practiced with modifications within the spirit and scope of the appended claims.

## Claims

1. A soap dispensing apparatus comprising:
a spout;
a controller;
a barcode scanner electrically connected to the controller;
a power supply electrically connected to the controller; and
a soap reservoir including a label having a barcode containing information including a predetermined count of dispensing times of the soap reservoir and a current count of dispensing times of the soap reservoir, the current count of dispensing times of the soap reservoir being initially set as zero;
wherein the spout includes an electromagnetic switch, an infrared sensor, and a pump in fluid communication with the soap reservoir and electrically connected to the electromagnetic switch respectively;
wherein the barcode scanner is configured to scan the barcode and send the information to the controller for storage;
wherein the controller is configured to compare the predetermined count of dispensing times of the soap reservoir with the current count of dispensing times of the soap reservoir;
wherein in response to activating the infrared sensor, an act of pumping begins if the predetermined count of dispensing times of the soap reservoir is greater than the current count of dispensing times of the soap reservoir; and
wherein in response to the act of pumping, the controller increases the current count of dispensing times of the soap reservoir by one.