A kind of direct drinking fountain based on bar code
Technical field
The present invention relates to a kind of direct drinking fountain, particularly relate to a kind of direct drinking fountain based on bar code.
Background technology
Direct drinking fountain is that one purifies water, makes it the machinery and equipment that can directly drink.It is the one of appliance water, by stage purification, enables tap 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 matters, the present invention design and develop a kind of can based on the direct drinking fountain of bar code.
Technical scheme provided by the invention is:
Based on a direct drinking fountain for bar code, comprising:
Water receiving storehouse, it is cubical shape, for putting into a water receiving container;
Rising 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 rising pipe;
Solenoid valve, it is arranged on described rising pipe;
Load 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 on the sidewall in described water receiving storehouse;
Control module, itself and described load module, described print module, described bar code generation module, described bar code scanner module, described flow sensor and described solenoid 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 solenoid valve, and calculate according to the time span that data on flows and the solenoid valve of described flow sensor are opened the aquifer yield flowed out by described rising pipe, when this aquifer 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 load 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 load 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 lateral wall of described water receiving container; Described control module controls the unlatching of described solenoid valve afterwards, and calculate according to the time span that data on flows and the solenoid valve of described flow sensor are opened the aquifer yield flowed out by described rising pipe, when this aquifer yield is consistent with described volume information, then described control module controls described closed electromagnetic valve.
Preferably, described based in the direct drinking fountain of bar code, the bottom in described water receiving storehouse has a spacing pit in the position facing described central axis, this spacing pit is used to indicate the placement location of described water receiving container, to make the axis of described water receiving container and described central axes.
Preferably, described based in the direct drinking fountain of bar code, be provided with an infrared LED fluorescent tube in described spacing pit, described infrared LED fluorescent tube continues to send ruddiness under the power supply of battery.
Preferably, described based in the direct drinking fountain of bar code, described water receiving storehouse is provided with door able to turn on or off in side.
Preferably, the described direct drinking fountain based on bar code, 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 load module input volume information.
Preferably, described based in the direct drinking fountain of bar code, described prompting device is hummer.
Direct drinking fountain based on bar code of the present invention utilizes bar code scanner module to scan the bar code be pasted in water receiving container outside wall, to obtain the volume information of water receiving container, control module Controlling solenoid valve opens reasonable time, when aquifer yield is consistent with volume information, opening and closing solenoid valve, thus realize the supply to specific aquifer 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 load 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 aquifer yield of supply according to volume.
Accompanying drawing explanation
Fig. 1 is the structural representation in the water receiving storehouse of the direct drinking fountain based on bar code of the present invention.
Fig. 2 is the structural representation of the direct drinking fountain based on bar code of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail, can implement according to this with reference to instructions word to make those skilled in the art.
As depicted in figs. 1 and 2, the invention provides a kind of direct drinking fountain based on bar code, comprising: water receiving storehouse 1, it is cubical shape, for putting into a water receiving container 4; Rising 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 rising pipe 3; Solenoid valve, it is arranged on described rising pipe 3; Load 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 on the sidewall in described water receiving storehouse 1; Control module, itself and described load module, described print module, described bar code generation module, described bar code scanner module 6, described flow sensor and described solenoid 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 solenoid valve, and calculate according to the time span that data on flows and the solenoid valve of described flow sensor are opened the aquifer yield flowed out by described rising pipe, when this aquifer 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 load 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 load 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 lateral wall of described water receiving container; Described control module controls the unlatching of described solenoid valve afterwards, and calculate according to the time span that data on flows and the solenoid valve of described flow sensor are opened the aquifer yield flowed out by described rising pipe, when this aquifer 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 aquifer yield of outflow consistent with volume information.Present invention achieves the automatic control of aquifer 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 load 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 lateral wall 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 solenoid valve open specific time span, to make aquifer 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.
Preferably, described based in the direct drinking fountain of bar code, the bottom in described water receiving storehouse has a spacing pit 5 in the position facing described central axis, this spacing pit 5 is used to indicate the placement location of described water receiving container, to make the axis of described water receiving container and described central axes.Based on this design, water receiving container, when putting into water receiving container in water receiving storehouse, can be aligned in the position of specifying according to the instruction of spacing pit by user, to improve the precision detecting and calculate.But when not having spacing pit, the vessel port of water receiving container also must be alignd with the water delivering orifice of rising pipe, otherwise cannot water receiving, therefore in this case, the axis also basic and central axes of water receiving container.But when limited location pit, the location of docking water receptacle can be easier.
Preferably, described based in the direct drinking fountain of bar code, be provided with an infrared LED fluorescent tube in described spacing pit, described infrared LED fluorescent tube continues to send ruddiness under the power supply of battery.Infrared LED fluorescent tube can provide and indicate more clearly, and the easier axis by water receiving container of user is alignd with central axis, thus make detection and result of calculation more accurate.
Preferably, in order to reduce the deposition of dust in water receiving storehouse, described based in the direct drinking fountain of 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, the described direct drinking fountain based on bar code, 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 load 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 load module, bar code scanner module is scanned again.
Preferably, described based in the direct drinking fountain of bar code, described prompting device is hummer.
Although embodiment of the present invention are open as above, but it is not restricted to listed in instructions 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.