A kind of direct drinking fountain based on bar code
Technical field
The present invention relates to a kind of direct drinking fountain more particularly to a kind of direct drinking fountains based on bar code.
Background technology
Direct drinking fountain be it is a kind of water is purified, make it possible to the machinery equipment directly drunk.It is the one of appliance water
Kind, by multistage purification, tap water is enable to achieve the effect that directly to drink.At present this direct drinking is fitted in many cells
Machine greatly facilitates people’s lives.But the water outlet of current direct drinking fountain and cut off the water all by user's control, i.e., user is according to institute
The volume of the water receiving container of carrying come determine when water outlet, when cut off the water.The degree of automation of this direct drinking fountain is not high enough, makes
It is not convenient enough to use.
The content of the invention
For above-mentioned technical problem, the present invention designed and developed it is a kind of can the direct drinking fountain based on bar code.
Technical solution provided by the invention is:
A kind of direct drinking fountain based on bar code, including:
Water receiving storehouse, in cubical shape, for being put into a water receiving container;
Outlet pipe is extended downwardly by the top in the water receiving storehouse along the central axis in the water receiving storehouse;
Flow sensor is arranged on the outlet pipe;
Solenoid valve is arranged on the outlet pipe;
Input module is used to receive the volume information of the water receiving container inputted by user;
Bar code generation module;
Print module;
Bar code scanner module is arranged on the side wall in the water receiving storehouse;
Control module, with the input module, the print module, the bar code generation module, the bar code
Scan module, the flow sensor and solenoid valve communication connection;
Wherein, when a water receiving container is placed in the water receiving storehouse, such as bar code scanner module scanning to one
A bar code, and identify volume information, then the control module controls the solenoid valve to open, and according to the flow sensing
The water yield that the time span calculating that the data on flows and solenoid valve of device are opened is flowed out by the outlet pipe, when the water yield with
The volume information is consistent, then the control module controls the solenoid valve to close;
If the bar code scanner module is not scanned to a bar code, then the control module is according to the input module
The volume information received controls the bar code generation module to generate a bar code, and the bar code contains described defeated
Enter the volume information that module is received, the control module controls the print module that the printing bar code is in strip code mark
Label, the bar coded sticker are glued on the lateral wall of the water receiving container;The control module controls the solenoid valve afterwards
It opens, and the time span opened according to the data on flows and solenoid valve of the flow sensor is calculated by the outlet pipe stream
The water yield gone out, when the water yield is consistent with the volume information, then the control module controls the solenoid valve to close.
Preferably, in the direct drinking fountain based on bar code, the bottom in the water receiving storehouse face it is described in
The position tool of mandrel line is there are one /V pit, which is used to indicate the placement location of the water receiving container, so that institute
The axis for stating water receiving container is overlapped with the central axis.
Preferably, infrared LED there are one being set in the direct drinking fountain based on bar code, in the /V pit
Fluorescent tube, the infrared LED fluorescent tube continuously send out feux rouges under the power supply of battery.
Preferably, in the direct drinking fountain based on bar code, the water receiving storehouse is provided with able to turn on or off in one side
Door.
Preferably, the direct drinking fountain based on bar code, further includes:
Prompting device is communicated to connect with the control module;
If the bar code scanner module is not scanned to a bar code, the control module controls the prompting device to send
First standby signal, user to be prompted to input volume information to the input module.
Preferably, in the direct drinking fountain based on bar code, the prompting device is buzzer.
It is of the present invention that water receiving container is pasted on using bar code scanner module scanning based on the direct drinking fountain of bar code
Bar code on lateral wall, to obtain the volume information of water receiving container, control module control solenoid valve opens reasonable time, when
When water yield is consistent with volume information, solenoid valve is opened and closed, so as to fulfill the supply to specific water yield.Work as bar code scanner module
When can not scan to a bar code, the volume information for illustrating the water receiving container is unknown, then needs user at this time to input
Module inputs volume information, then generates a bar code by bar code generation module for the water receiving container.The present invention realizes pair
The automatic input of the volume of water receiving container, and automatically control according to volume the water yield of supply.
Description of the drawings
Fig. 1 is the structure diagram in the water receiving storehouse of the direct drinking fountain of the present invention based on bar code.
Fig. 2 is the structure diagram of the direct drinking fountain of the present invention based on bar code.
Specific embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings, to make those skilled in the art with reference to specification text
Word can be implemented according to this.
As depicted in figs. 1 and 2, the present invention provides a kind of direct drinking fountain based on bar code, including:Water receiving storehouse 1, in vertical
The shape of cube, for being put into a water receiving container 4;Outlet pipe 3, by the top 9 in the water receiving storehouse 1 along the water receiving storehouse
Central axis extend downwardly;Flow sensor is arranged on the outlet pipe 3;Solenoid valve is arranged on the outlet pipe
On 3;Input module is used to receive the volume information of the water receiving container inputted by user;Bar code generation module;Impression block
Block;Bar code scanner module 6 is arranged on the side wall in the water receiving storehouse 1;Control module, with the input module, described
Print module, the bar code generation module, the bar code scanner module 6, the flow sensor and the solenoid valve lead to
Letter connection;Wherein, when a water receiving container is placed in the water receiving storehouse, such as the bar code scanner module is scanned to one
Bar code, and identify volume information, then the control module controls the solenoid valve to open, and according to the flow sensor
Data on flows and the water yield that is flowed out by the outlet pipe of time span calculating opened of solenoid valve, when the water yield and institute
It is consistent to state volume information, then the control module controls the solenoid valve to close;As the bar code scanner module does not scan
One bar code, then the volume information that the control module is received according to the input module, control the bar code generating into
Module generates a bar code, and the bar code contains the volume information that the input module is received, the control module
Control the print module that the printing bar code is in strip yard label 7, which is glued to the water receiving container
Lateral wall on;The control module controls the solenoid valve to open afterwards, and according to the data on flows of the flow sensor
And the time span that solenoid valve is opened calculates the water yield flowed out by the outlet pipe, when the water yield and the volume information
Unanimously, then the control module controls the solenoid valve to close.
The present invention scans water receiving container using bar code scanner module, if scanning to a bar code, automatically
Volume information is identified from the bar code, control module controls solenoid valve to open specific time span according to volume information,
So that the water yield of outflow is consistent with volume information.The present invention realizes automatically controlling for water yield.
And when no scanning is to bar code, illustrate that the water receiving container was not used, then need to be used at this time manually to defeated
Enter input volume information in module, bar code generation module generates a bar code, print module according to the volume information of input
The printing bar code is come out, which is glued label and be attached on the lateral wall of water receiving container by user.It is connect when next time using this
During water container, bar code scanner module will scan bar code, and control automatic water-supply by control module.When generation one
After new bar code, control module directly controls solenoid valve unlatching, and the data on flows for combining flow sensor makes solenoid valve
Specific time span is opened, so that water yield is consistent with volume information.
In addition, when water receiving container has had bar coded sticker, in order to ensure that bar code scanner module can scan item
Shape code label, user is when water receiving container is positioned in water receiving storehouse, it is necessary to pay attention to the angles and positions that water receiving container is placed.
Preferably, in the direct drinking fountain based on bar code, the bottom in the water receiving storehouse face it is described in
For the position tool of mandrel line there are one /V pit 5, which is used to indicate the placement location of the water receiving container, so that
The axis of the water receiving container is overlapped with the central axis.Based on the design, user is being put into water receiving container into water receiving storehouse
When, water receiving container can be aligned in the position specified according to the instruction of /V pit, to improve the precision for detecting and calculating.But
In no /V pit, the vessel port of water receiving container also has to align with the water outlet of outlet pipe, otherwise cannot water receiving, because
This in this case, the axis of water receiving container is also overlapped with central axis substantially.But when there is /V pit, water container is docked
Positioning can be easier.
Preferably, infrared LED there are one being set in the direct drinking fountain based on bar code, in the /V pit
Fluorescent tube, the infrared LED fluorescent tube continuously send out feux rouges under the power supply of battery.Infrared LED fluorescent tube can provide clearer finger
Show, user is made to be easier to align the axis of water receiving container with central axis, so that detection and result of calculation are more accurate.
Preferably, in order to reduce deposition of the dust in water receiving storehouse, in the direct drinking fountain based on bar code, institute
It states water receiving storehouse and door 2 able to turn on or off is provided in one side, after water receiving container is put into water receiving storehouse, user should close door.
Preferably, the direct drinking fountain based on bar code, further includes:Prompting device leads to the control module
Letter connection;If the bar code scanner module is not scanned to a bar code, the control module controls the prompting device to send
First standby signal, user to be prompted to input volume information to the input module.If user is known on the water receiving container
There is bar code, then illustrate that the placement location of current water receiving container is problematic so that bar code scanner module can not scan
Bar coded sticker, then user can adjust position and the angle of water receiving container, and input a confirmation signal by input module,
Bar code scanner module is made to scan again.
Preferably, in the direct drinking fountain based on bar code, the prompting device is buzzer.
Although the embodiments of the present invention have been disclosed as above, but its be not restricted in specification and embodiment it is listed
With it can be fully applied to various fields suitable for the present invention, for those skilled in the art, can be easily
Realize other modification, therefore without departing from the general concept defined in the claims and the equivalent scope, it is of the invention and unlimited
In specific details and shown here as the legend with description.