A kind ofly automatically can generate the direct drinking fountain with scanning bar code
Technical field
The present invention relates to a kind of direct drinking fountain, particularly relate to and a kind ofly automatically can generate the direct drinking fountain with scanning bar code.
Background technology
Direct drinking fountain is that one purifies water, makes it the machinery equipment that can directly drink.It is the one of appliance water, by multistage purification, enables running water reach the effect of straight drink.In a lot of community, this direct drinking fountain is all installed at present, is very easy to the life of people.But at present the water outlet and cutting off the water of direct drinking fountain is all controlled by user, namely user decides when water outlet according to the volume of entrained water receiving container, when cuts off the water.The automaticity of this direct drinking fountain is not high enough, and it is convenient not to use.
Summary of the invention
For above-mentioned technical problem, the present invention has designed and developed a kind of cocoa and has automatically generated the direct drinking fountain with scanning bar code.
Technical scheme provided by the invention is:
Automatically can generate the direct drinking fountain with scanning bar code, comprise:
Water receiving storehouse, it is cubical shape, for putting into a water receiving container;
Outlet pipe, its by the top in described water receiving storehouse along the central axis in described water receiving storehouse to downward-extension;
Flow sensor, it is arranged on described outlet pipe;
Magnetic valve, it is arranged on described outlet pipe;
Input module, it is for receiving the volume information of the water receiving container inputted by user;
Bar code generation module;
Print module;
Bar code scanner module, it is arranged in an accommodating chamber, and described accommodating chamber is arranged on the below in described water receiving storehouse, and the middle part of the bottom in described water receiving storehouse is for be made up of transparent plastic, and described water receiving storehouse and described accommodating chamber are separated by this middle part;
Control module, itself and described input module, described print module, described bar code generation module, described bar code scanner module, described flow sensor and described magnetic valve communicate to connect;
Wherein, when a water receiving container is placed in described water receiving storehouse, as as described in bar code scanner module scan a bar code, and identify volume information, then described control module controls the unlatching of described magnetic valve, and calculate according to the time span that data on flows and the magnetic valve of described flow sensor are opened the water yield flowed out by described outlet pipe, when this water yield is consistent with described volume information, then described control module controls described closed electromagnetic valve;
As described in bar code scanner module do not scan a bar code, the then volume information that receives according to described input module of described control module, control described bar code and generate CMOS macro cell bar code, described bar code contains the volume information that described input module receives, described control module controls described print module by this printing bar code slivering bar-code label, and this bar coded sticker is glued on the bottom of described water receiving container; Described control module controls the unlatching of described magnetic valve afterwards, and calculate according to the time span that data on flows and the magnetic valve of described flow sensor are opened the water yield flowed out by described outlet pipe, when this water yield is consistent with described volume information, then described control module controls described closed electromagnetic valve.
Preferably, in the described direct drinking fountain that can automatically generate with scanning bar code, described middle part is rounded, and diameter is 10 to 20 centimetres.
Preferably, in the described direct drinking fountain that can automatically generate with scanning bar code, described water receiving storehouse is provided with door able to turn on or off in side.
Preferably, described can generate the direct drinking fountain with scanning bar code automatically, also comprises:
Prompting device, itself and described control module communicate to connect;
As described in bar code scanner module do not scan a bar code, described control module controls described prompting device and sends the first cue, to point out user to described input module input volume information.
Preferably, in the described direct drinking fountain that can automatically generate with scanning bar code, described prompting device is buzzer.
Of the present invention can automatically generation utilizes bar code scanner module to scan the bar code be pasted on water receiving container bottom with the direct drinking fountain of scanning bar code, to obtain the volume information of water receiving container, control module Controlling solenoid valve opens reasonable time, when water yield is consistent with volume information, opening and closing magnetic valve, thus realize the supply to specific water yield.When bar code scanner module cannot scan a bar code, illustrate that the volume information of this water receiving container is unknown, then now need user to input volume information to input module, then generate a bar code by bar code generation module for this water receiving container.Present invention achieves the automatic input of the volume of docking water receptacle, and automatically control the water yield of supply according to volume.And bar coded sticker is pasted onto the bottom of water receiving container by the present invention, bar code scanner module is placed in the accommodating chamber be positioned at below water receiving storehouse, the middle part of the bottom in water receiving storehouse is for be made up of transparent plastic, bar code scanner module can scan bar coded sticker exactly, thus avoid the inaccurate situation causing bar code scanner module can not scan bar code in position that water receiving container occurs, improve the accuracy of judgement degree of direct drinking fountain.
Accompanying drawing explanation
Fig. 1 is the structural representation with the water receiving storehouse of the direct drinking fountain of scanning bar code that can automatically generate of the present invention.
Fig. 2 of the present inventionly can generate the structural representation with the direct drinking fountain of scanning bar code automatically.
Detailed description of the invention
Below in conjunction with accompanying drawing, the present invention is described in further detail, can implement according to this with reference to description word to make those skilled in the art.
As depicted in figs. 1 and 2, the invention provides and a kind ofly automatically can generate the direct drinking fountain with scanning bar code, comprising: water receiving storehouse 1, it is cubical shape, for putting into a water receiving container 4; Outlet pipe 3, its by the top 9 in described water receiving storehouse 1 along the central axis in described water receiving storehouse to downward-extension; Flow sensor, it is arranged on described outlet pipe 3; Magnetic valve, it is arranged on described outlet pipe 3; Input module, it is for receiving the volume information of the water receiving container inputted by user; Bar code generation module; Print module; Bar code scanner module 6, it is arranged in an accommodating chamber 8, described accommodating chamber 8 is arranged on the below in described water receiving storehouse 1, and the middle part 10 of the bottom in described water receiving storehouse 1 is for be made up of transparent plastic, and described water receiving storehouse and described accommodating chamber are separated by this middle part 10; Control module, itself and described input module, described print module, described bar code generation module, described bar code scanner module 6, described flow sensor and described magnetic valve communicate to connect; Wherein, when a water receiving container is placed in described water receiving storehouse, as as described in bar code scanner module scan a bar code, and identify volume information, then described control module controls the unlatching of described magnetic valve, and calculate according to the time span that data on flows and the magnetic valve of described flow sensor are opened the water yield flowed out by described outlet pipe, when this water yield is consistent with described volume information, then described control module controls described closed electromagnetic valve; As described in bar code scanner module do not scan a bar code, the then volume information that receives according to described input module of described control module, control described bar code and generate CMOS macro cell bar code, described bar code contains the volume information that described input module receives, described control module controls described print module by this printing bar code slivering bar-code label 7, and this bar coded sticker 7 is glued on the bottom 5 of described water receiving container; Described control module controls the unlatching of described magnetic valve afterwards, and calculate according to the time span that data on flows and the magnetic valve of described flow sensor are opened the water yield flowed out by described outlet pipe, when this water yield is consistent with described volume information, then described control module controls described closed electromagnetic valve.
The present invention utilizes a bar code scanner module scanning water receiving container, if scan a bar code, then automatically, from this bar code, identify volume information, control module opens specific time span according to volume information Controlling solenoid valve, thus makes the water yield of outflow consistent with volume information.Present invention achieves the automatic control of water yield.
And when not scanning bar code, illustrate that this water receiving container did not use, then now need for manually inputting volume information in input module, bar code generation module generates a bar code according to the volume information of input, by this printing bar code out, this bar code is glued label and is attached on the bottom of water receiving container print module by user.When using this water receiving container next time, bar code scanner module can scan bar code, and control automatic water-supply by control module.After the bar code that generation one is new, the direct Controlling solenoid valve of control module is opened, and makes magnetic valve open specific time span, to make water yield consistent with volume information in conjunction with the data on flows of flow sensor.
In addition, when water receiving container has had bar coded sticker, in order to ensure that bar code scanner module can scan bar coded sticker, user, when being positioned in water receiving storehouse by water receiving container, should be noted that the angle that water receiving container is placed and position.
And bar coded sticker is pasted onto the bottom of water receiving container by the present invention, bar code scanner module is placed in the accommodating chamber be positioned at below water receiving storehouse, the middle part of the bottom in water receiving storehouse is for be made up of transparent plastic, and bar code scanner module can scan bar coded sticker exactly.Based on above-mentioned design, user is when placing water receiving container, do not need the placed angle considering water receiving container, as long as the bottleneck of water receiving container aligns with outlet pipe, the bar coded sticker being arranged on the bottom of water receiving container just can be scanned by bar code scanner module, thus avoid the inaccurate situation causing bar code scanner module can not scan bar code in position that water receiving container occurs, improve the accuracy of judgement degree of direct drinking fountain.
Preferably, in the described direct drinking fountain that can automatically generate with scanning bar code, described middle part is rounded, and diameter is 10 to 20 centimetres.Consider that water receiving volume of a container can not be excessive, when middle part 10 is rounded, and when its diameter is 10 to 20 centimetres, it is substantially large than the bottom area of water receiving container, thus make bar code scanner module can be registered to bar coded sticker easily, and realize scanning.
Preferably, in order to reduce the deposition of dust in water receiving storehouse, in the described direct drinking fountain that can automatically generate with scanning bar code, described water receiving storehouse is provided with door 2 able to turn on or off in side, after water receiving container is put into water receiving storehouse, door should be closed by user.
Preferably, described can generate the direct drinking fountain with scanning bar code automatically, also comprises: prompting device, and itself and described control module communicate to connect; As described in bar code scanner module do not scan a bar code, described control module controls described prompting device and sends the first cue, to point out user to described input module input volume information.If user knows, and this water receiving container has bar code, so illustrate that the placement location of current water receiving container has problem, bar code scanner module is made to 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 scanned again.
Preferably, in the described direct drinking fountain that can automatically generate with scanning bar code, described prompting device is buzzer.
Although embodiment of the present invention are open as above, but it is not restricted to listed in description and embodiment utilization, it can be applied to various applicable the field of the invention completely, for those skilled in the art, can easily realize other amendment, therefore do not deviating under the universal that claim and equivalency range limit, the present invention is not limited to specific details and illustrates here and the legend described.