CN104950742A - Digital water curtain wiring system and control method - Google Patents
Digital water curtain wiring system and control method Download PDFInfo
- Publication number
- CN104950742A CN104950742A CN201510218121.8A CN201510218121A CN104950742A CN 104950742 A CN104950742 A CN 104950742A CN 201510218121 A CN201510218121 A CN 201510218121A CN 104950742 A CN104950742 A CN 104950742A
- Authority
- CN
- China
- Prior art keywords
- digital
- water
- driver
- electromagnetic
- water valve
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Control Of Non-Electrical Variables (AREA)
- Bathtubs, Showers, And Their Attachments (AREA)
Abstract
The invention discloses a digital water curtain wiring system which comprises a lower water tank and an upper water tank. The lower water tank is connected with the upper water tank by a water pipe, electromagnetic water valves are arranged in the upper water tank and are arrayed according to a horizontal matrix form, a diode is serially connected onto each electromagnetic water valve, a wire of each electromagnetic water valve is connected with an anode pin of the corresponding diode, a cathode pin of each diode is close to an edge of the corresponding electromagnetic water valve, the cathode pins of all the diodes are connected with one another in parallel and then are connected with a driver, other wires of the electromagnetic water valves are connected with one another in parallel and then are connected with the driver, two sensors are arranged on a side of the upper water tank along the vertical direction, water level information of the upper water tank can be acquired by the two sensors, the two sensors are connected with a water pump by signal wires, the water pump is arranged in the lower water tank, the upper water tank is further connected with a control system, the control system comprises a single chip microcomputer, and the driver can drive a switching power supply of each electromagnetic water valve under the control of the single chip microcomputer. The digital water curtain wiring system has the advantage that problems of complexity in control and high cost due to various wires of digital water curtains in the prior art can be solved by the aid of the digital water curtain wiring system.
Description
Technical field
The invention belongs to digital water curtain display technique field, be specifically related to a kind of digital water curtain wiring system, the invention still further relates to a kind of control method of digital water curtain wiring system.
Background technology
Digital water curtain (or claiming digital water curtain, digital water wall, waterfall printer, digital waterfall etc.) originates from a kind of interactive building--" the digital water booth " that Massachusetts Institute Technology shows Spain's Saragossa World's Fair in 2008, body of wall and the roof of " water booth " are numerically controlled water curtain, and water curtain can show image and word by pre-set programs.Through development in a few years, external digital water curtain, can realize showing meticulous word, pattern etc., and have negative and positive two kinds of technique of expression, and can human-computer interaction, touch handwriting input, can realize the perfect adaptation of water curtain, light, music, it, American-European, Japanese, gets the nod in a lot of industry.
Domestic digital water curtain technical elements mainly relies on external introduction, and technology has much room for improvement, and the document of domestic Values water curtain research is little, and wherein how indefinite technical elements is also, mostly is conceptual document.An electromagnetic water valve in existing digital water curtain needs to connect two lines, joins a driving, and the digital water curtain of up to a hundred electromagnetic water valve compositions just needs up to a hundred lines and up to a hundred drivings, and the therefore various complexity of programming, cost is high.
Summary of the invention
The object of this invention is to provide a kind of digital water curtain wiring system, solve the digital water curtain wiring existed in prior art various cause controlling complicated, and the problem that cost is high.
Another object of the present invention is to provide a kind of control method of digital water curtain wiring system.
First technical scheme of the present invention is, a kind of digital water curtain wiring system: comprise the lower header and upper water box that are connected by water pipe, electromagnetic water valve is provided with in upper water box, each electromagnetic water valve is all in series with diode, the wherein single line of electromagnetic water valve connects the positive pole pin of diode, the negative pole pin of all diodes is all near one side of electromagnetic water valve, and be connected with driver after the negative pole pin parallel connection of all diodes, also be connected with driver after another root line parallel of each electromagnetic water valve, upper water box side is vertically provided with two sensors, two sensors are all connected by signal wire with the water pump arranged in lower header, upper water box is connection control system also, control system comprises single-chip microcomputer, the Switching Power Supply of each electromagnetic water valve of Single-chip Controlling driver drives.
The feature of the present invention first technical scheme is also,
Single-chip microcomputer model is Arduino Mega 2560.
Sensor is liquid level sensor.
Driver is L298N module.
The vertical height of electromagnetic water valve is 2 ~ 13m.
Second technical scheme of the present invention is, a kind of control method of digital water curtain wiring system, based on digital water curtain wiring system, is specifically implemented according to following steps:
Step 1: be connected to driver by after the parallel connection of all diode cathode pins, each negative pole pin respectively draws single line, is defined as y1 successively, y2, y3, y4 ... yi, is connected to driver after all electromagnetic water valves not being connected the single line parallel connection of diode, and draws respective the end of a thread, be defined as x1 successively, x2, x3, x4 ... xi;
Step 2: definition single-chip microcomputer numeral I/O mouth 6,8,10 ... 2i, 2i+4, } be one-dimension array pinx [i], its control and drive system signal input, the signal output of driver meets the x1 of electromagnetic water valve, x2, x3 ... the i root line of xi, the digital I/O mouth { 5,7,9 of definition single-chip microcomputer, 2i+1 ... 2i+3} is another one-dimension array piny [i], the signal input of its control and drive system, the signal output of driver meets the y1 of diode, y2, y3 ... the i root line of yi;
Step 3, start delivery to the electromagnetic water valve in step 2, need the part lighted to represent with 1,1 represents high level, does not need the part lighted to represent with 0, and 0 expression low level, if the display of neighbouring two row or multirow is identical, then merges into one group of delivery;
Step 4, mould step 3 obtained give one-dimension array HLxi [i] and HLyi [i];
Step 5, use repeatedly circulation perform the one-dimension array HLyi [i] and HLxi [i] that obtain in step 4, often perform one-dimension array HLyi [i] once, perform all HLxi [i] once.
The invention has the beneficial effects as follows, a kind of digital water curtain wiring system, compared with existing common connection, the line that this mode of connection is drawn greatly reduces, and then number of drives is reduced, and programming complexity, difficulty reduce, program is optimized, efficiency is high, and power consumption is also reduced, thus cost is reduced, the control method of digital water curtain wiring system, used control program, compared with the existing more succinct, 3-dimensional digital water curtain can be realized and show.
Accompanying drawing explanation
Fig. 1 is a kind of digital water curtain wiring system of the present invention structural representation;
Fig. 2 is that control method a line 16 of a kind of digital water curtain wiring system of the present invention is arranged as example wiring diagram;
Fig. 3 is the embodiment wiring diagram of the control method of a kind of digital water curtain wiring system of the present invention;
Fig. 4 is the mode of connection schematic diagram that after the control method of a kind of digital water curtain wiring system of the present invention simplifies, four lines four arranges;
Fig. 5 is the mode of connection schematic diagram that after the control method of a kind of digital water curtain wiring system of the present invention simplifies, two row eight arrange.
In figure, 1. water pump, 2. lower header, 3. water pipe, 4. upper water box, 5. sensor, 6. electromagnetic water valve, 7. diode, 8. control system, 9. single-chip microcomputer, 10. driver, 11. Switching Power Supplies.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.
A kind of digital water curtain wiring system of the present invention, as shown in Figure 1, comprise the lower header 2 and upper water box 4 that are connected by water pipe 3, row's electromagnetic water valve 6 is provided with in upper water box 4, the vertical height of electromagnetic water valve 6 is 2 ~ 13m, each electromagnetic water valve 6 is all in series with diode 7, the wherein single line of electromagnetic water valve 6 connects the positive pole pin of diode 7, the negative pole pin of all diodes 7 is all near one side of electromagnetic water valve, and be connected with driver 10 after the negative pole pin parallel connection of all diodes 7, also be connected with driver 10 after another root line parallel of each electromagnetic water valve 6, upper water box 4 side is vertically provided with two sensors 5, two sensors 5 are liquid level sensor, two sensors 5 obtain upper water box 4 water level information, two sensors 5 are all connected by signal wire with the water pump 1 arranged in lower header 2, upper water box 4 is connection control system 8 also, control system 8 comprises single-chip microcomputer 9, single-chip microcomputer 9 model is Arduino Mega 2560, single-chip microcomputer is that 5V-9V powers, single-chip microcomputer 9 control and drive system 10 drives the Switching Power Supply 11 of each electromagnetic water valve 6, driver 10 is L298N module.
The control method of a kind of digital water curtain wiring system of the present invention, based on digital water curtain wiring system, specifically implement according to following steps:
Step 1: be connected to driver 10 by after the parallel connection of all diode 7 negative pole pins, each negative pole pin respectively draws single line, is defined as y1 successively, y2, y3, y4 ... yi, is connected to driver 10 after all electromagnetic water valves 6 not being connected the single line parallel connection of diode 7, and draw respective the end of a thread, be defined as x1 successively, x2, x3, x4 ... xi, as shown in Figure 2;
Step 2: the digital I/O mouth { 6 of definition single-chip microcomputer 9,8,10 ... 2i ... 2i+4, be one-dimension array pinx [i], its control and drive system 10 signal input, the signal output of driver 10 meets the x1 of electromagnetic water valve 6, x2, x3 ... the i root line of xi, the digital I/O mouth { 5,7,9 of definition single-chip microcomputer 9,2i+1,2i+3} is another one-dimension array piny [i], the signal input of its control and drive system 10, and the signal output of driver 10 meets the y1 of diode 7, y2, y3 ... the i root line of yi;
Step 3, start delivery to the electromagnetic water valve 6 in step 2, need the part lighted to represent with 1,1 represents high level, does not need the part lighted to represent with 0, and 0 expression low level, if the display of neighbouring two row or multirow is identical, then merges into one group of delivery;
Step 4, mould step 3 obtained give one-dimension array HLxi [i] and HLyi [i];
Step 5, use repeatedly circulation perform the one-dimension array HLyi [i] and HLxi [i] that obtain in step 4, often perform one-dimension array HLyi [i] once, perform all HLxi [i] once.
Each electromagnetic water valve 6 is all in series with diode 7, the effect of series diode is to make electromagnetic water valve unilateal conduction, this mode of connection can be energized and open any one electromagnetic water valve, an electromagnetic water valve is ranked second for a line 16 to open, then need to y1 low level, x2 high level, other xi low levels, y1 and x1, x2, x16 totally 17 lines are connected on plug-in type connection terminal, the connection terminal other end connects line, for being connected with control system, is convenient to like this be separated electromagnetic water valve and control system, be conducive to safeguarding, dismounting.
For Arduino Mega 2560 single-chip microcomputer, circuit design is described, the scheme of programming and control: single-chip microcomputer is that 5V-9V powers, definition single-chip microcomputer digital I/O port { 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52} is one-dimension array pinx [16], it controls totally 16 signal inputs of four driver L298N, totally 16 signal outputs of four driver L298N meet the x1 of electromagnetic water valve, x2, x3 ... x15, 16 lines of x16, define digital I/O mouth { 23, 25, 27, 29} is another one-dimension array piny [4], it controls totally 4 signal inputs of a driver L298N, totally 4 signal outputs of driver L298N meet the y1 of electromagnetic water valve one by one, y2, y3, 4 lines of y4, wherein only use y1 single line, for y1 is connect low level, electromagnetic water valve voltage is 24V, therefore the power supply terminal of L298N connects 24V power supply, output port voltage is made to be 24V or 0V.
Electromagnetic water valve in digital water curtain selects the electromagnetic water valve of ultra-high frequency, low pressure, life-span length, the circuit of electromagnetic water valve and the use of driver significantly can be reduced for it designs mode of connection, complexity, the difficulty of programming reduce, thus reduce cost, support can be built by various material, its bottom puts down water tank, and upper strata supports upper water box and electromagnetic water valve, is furnished with light above support with surrounding.
Choosing of water pump will be noted: water lift of pump is greater than the overall clear height of this device, will consider the flow losses of pipeline during selection, and the flow of its unit interval is larger than the specific discharge sum of all electromagnetic water valves.The water level of upper water box should keep certain height, to ensure that the pressure of electromagnetic water valve water delivering orifice is substantially for definite value, separately on rear side of upper water box, establish about two sensors in a distance, obtain upper water box water level information, when upper water box water level is started working lower than water pump during lower sensor, and quit work higher than water pump during upper sensor, above water pump water inlet and upper water box, screen pack is installed, prevent impurity to be mixed in water, at lower header, splash proof network is installed, prevent overboard faling apart from spattering.
In control system, single-chip microcomputer is Arduino Mega 2560, and single-chip microcomputer is that 5V-9V powers, a kind of AVR single chip, it has 54 digital I/O mouths, in-chip FLASH capacity 256KB, work clock 16MHz, SRAM is 8K, EEPROM is 4K, and later stage single-chip microcomputer will be replaced by ARM STM32f103zet6, and driver is L298N module, one piece of exportable 4 road low and high level of L298N, and the low and high level exported between L298N also can drive electromagnetic water valve.
Distance between multiple electromagnetic water valves of digital water curtain cross direction profiles forms the level picture number of word or pattern, the time of electromagnetic water valve break-make forms the vertical picture number of word or pattern, in order to show word or the pattern of a suitable size, wherein, the vertical height of electromagnetic water valve and electromagnetic water valve total length are positively related relations, electromagnetic water valve is vertically highly higher, electromagnetic water valve total length should be longer, vertical height should at 3 ~ 12 meters, thus, delay time in program between circulation is after simple computation, verify the optimum delay time in an experiment, delay time is not a definite value, delay time is above short, delay time below increases gradually.
The control method of this digital water curtain wiring system invented reduces the cost of digital water curtain, digital water curtain is made more to have wide market application foreground, stronger display effect and impact, can be applicable to the multiple uses such as amusement, advertisement, displaying, can be applicable to the places such as science and technology center, exhibition center, market, also can with building perfect adaptation, form a kind of new architectural design, all right environment purification, produces a large amount of negative ion, regulate humidity, purify air.
The control method of digital water curtain wiring system of the present invention can also be simplified, arrange for a line 16, as Fig. 4, for drawing conveniently, electromagnetic water valve one four lines four is arranged placement, reality is that a line 16 arranges placement, electromagnetic water valve mode of connection is, in figure, the single line of each electromagnetic water valve of each row of electromagnetic water valve is connected a diode, model is 1N4001, then be connected in parallel, draw four with line, be defined as y1, y2, y3, y4, often the single line of each electromagnetic water valve of row electromagnetic water valve is connected in parallel extraction four with line, be defined as x1, x2, x3, x4.
For Arduino Mega 2560 single-chip microcomputer, circuit design is described, the scheme of programming and control: single-chip microcomputer is that 5V-9V powers, definition single-chip microcomputer numeral I/O mouth { 22, 24, 26, 28} is one-dimension array pinx [4], it controls 4 signal inputs of a driver L298N, 4 signal outputs of a driver L298N meet the x1 of electromagnetic water valve, x2, x3, 4 lines of x14, define digital I/O mouth { 23, 25, 27, 29, be another one-dimension array piny [16], it controls 4 signal inputs of a driver L298N, 4 signal outputs of a driver L298N meet the y1 of electromagnetic water valve, y2, y3, 4 lines of y4, electromagnetic water valve voltage is 24V, therefore the power supply terminal of L298N connects 24V power supply, output port voltage is made to be 24V or 0V, in order to the matrix ranking method of the electromagnetic water valve with design combines, devise this program, first word to display is determined, pattern, for " west " word, delivery bottom it, the part lighted is needed to represent with 1, 1 represents high level, the part lighted is not needed to represent with 0, 0 represents low level, if the display of neighbouring two row or multirow is identical, one group of delivery can be merged into, last delivery result is:
{ 0,0,1,0} and { 0,1,1,1};
{ 0,0,0,0} and { 1,0,1,1};
{ 0,0,0,0} and { 1,1,0,1};
{ 0,1,0,0} and { 1,1,1,0};
{ 0,0,1,1} and { 0,1,1,1};
{ 0,0,0,0} and { 1,0,1,1};
{ 0,0,0,0} and { 1,1,0,1};
{ 1,0,0,0} and { 1,1,1,0};
{ 0,0,1,0} and { 0,1,1,1};
{ 1,0,0,0} and { 1,0,1,1};
{ 0,0,1,1} and { 1,1,0,1};
{ 1,0,0,0} and { 1,1,1,0};
{ 0,0,1,0} and { 0,1,1,1};
{ 0,1,0,0} and { 1,0,1,1};
{ 0,1,0,0} and { 1,1,0,1};
{ 1,0,0,0} and { 1,1,1,0};
{ 0,0,1,1} and { 0,1,1,1};
{ 1,1,1,1} and { 1,0,1,1};
{ 1,1,1,1} and { 1,1,0,1};
{ 1,0,0,0} and { 1,1,1,0};
{ 0,0,0,0} and { 0,1,1,1};
{ 0,1,0,0} and { 1,0,1,1};
{ 0,1,0,0} and { 1,1,0,1};
{ 0,0,0,0} and { 1,1,1,0};
{ 0,1,1,1} and { 0,1,1,1};
{ 1,1,1,1} and { 1,0,1,1};
{ 1,1,1,1} and { 1,1,0,1};
{ 1,1,0,0} and { 1,1,1,0};
Imparting one-dimension array HLxi [4], HLyi [4] are:
HLx1[16]={0,0,1,0};
HLx2[16]={0,0,0,0};
HLx3[16]={0,0,0,0};
HLx4[16]={0,1,0,0};
HLx5[16]={0,0,1,1};
HLx6[16]={0,0,0,0};
HLx7[16]={0,0,0,0};
HLx8[16]={1,0,0,0};
HLx9[16]={0,0,1,0};
HLx10[16]={1,0,0,0};
HLx11[16]={0,0,1,1};
HLx12[16]={1,0,0,0};
HLx13[16]={0,0,1,0};
HLx14[16]={0,1,0,0};
HLx15[16]={0,1,0,0};
HLx16[16]={1,0,0,0};
HLx17[16]={0,0,1,1};
HLx18[16]={1,1,1,1};
HLx19[16]={1,1,1,1};
HLx20[16]={1,0,0,0};
HLx21[16]={0,0,0,0};
HLx22[16]={0,1,0,0};
HLx23[16]={0,1,0,0};
HLx24[16]={0,0,0,0};
HLx25[16]={0,1,1,1};
HLx26[16]={1,1,1,1};
HLx27[16]={1,1,1,1};
HLx28[16]={1,1,0,0};
With
HLy1[16]={0,1,1,1};
HLy2[16]={1,0,1,1};
HLy3[16]={1,1,0,1};
HLy4[16]={1,1,1,0};
HLy5[16]={0,1,1,1};
HLy6[16]={1,0,1,1};
HLy7[16]={1,1,0,1};
HLy8[16]={1,1,1,0};
HLy9[16]={0,1,1,1};
HLy10[16]={1,0,1,1};
HLy11[16]={1,1,0,1};
HLy12[16]={1,1,1,0};
HLy13[16]={0,1,1,1};
HLy14[16]={1,0,1,1};
HLy15[16]={1,1,0,1};
HLy16[16]={1,1,1,0};
HLy17[16]={0,1,1,1};
HLy18[16]={1,0,1,1};
HLy19[16]={1,1,0,1};
HLy20[16]={1,1,1,0};
HLy21[16]={0,1,1,1};
HLy22[16]={1,0,1,1};
HLy23[16]={1,1,0,1};
HLy24[16]={1,1,1,0};
HLy25[16]={0,1,1,1};
HLy26[16]={1,0,1,1};
HLy27[16]={1,1,0,1};
HLy28[16]={1,1,1,0};
Then perform one-dimension array HLxi [16] simultaneously, HLy1 [16], demonstrate " west " word, complete routine is different because single-chip microcomputer is different, the display of other words or pattern all can obtain in this way, word, the display of pattern need according to every row or often row high-velocity scanning power and open, this short cut technique decreases wiring and driver more, but program abstraction, performance requirement for hardware such as electromagnetic water valves is stricter, the mode of connection that can arrange with two row eight connects, as Fig. 5, the arrangement of electromagnetic water valve remains a row, both wiring is decreased like this, also simplify program, also not too high for hardware performance requirements.
Embodiment
Step 1, first determine that electromagnetic water valve 6 sprays word that water column will show for " west ", will be connected to driver 10 after the parallel connection of all diode 7 negative pole pins, each negative pole pin respectively draws single line, be defined as y1 successively, y2, y3, y4 ... y16, driver 10 is connected to after all electromagnetic water valves 6 not being connected the single line parallel connection of diode 7, and draw respective the end of a thread, be defined as x1 successively, x2, x3, x4 ... x16;
Step 2: the digital I/O mouth { 22 of definition single-chip microcomputer 9, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52} is one-dimension array pinx [16], control totally 16 signal inputs of four driver L298N, totally 16 signal outputs of four driver L298N meet the x1 of electromagnetic water valve, x2, x3 ... x15, 16 lines of x16, the digital I/O mouth { 23 of definition single-chip microcomputer 9, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53} is another one-dimension array piny [i], the signal input of its control and drive system 10, the signal output of driver 10 meets the y1 of diode 7, y2, y3 ... 16 lines of y16,
Step 3, delivery is started to the electromagnetic water valve 6 in step 2, need the part lighted to represent with 1,1 expression high level, do not need the part lighted to represent with 0,0 represents low level, if the display of neighbouring two row or multirow is identical, then merge into one group of delivery, last delivery result is:
{0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0};
{0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0};
{0,0,1,1,0,0,0,0,0,0,0,0,1,0,0,0};
{0,0,1,0,1,0,0,0,0,0,1,1,1,0,0,0};
{0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0};
{0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0};
{0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0};
{0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0};
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
With
{1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
{0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
{0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0};
{0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0};
{0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0};
{0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0};
{0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0};
{0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0};
{0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0};
{0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0};
{0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0};
{0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0};
{0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0};
{0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0};
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0};
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1};
Step 4, mould step 3 obtained give one-dimension array HLxi [16] and HLyi [16], and finally obtaining one-dimension array is:
HLx1[16]={0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0};
HLx2[16]={0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0};
HLx3[16]={0,0,1,1,0,0,0,0,0,0,0,0,1,0,0,0};
HLx4[16]={0,0,1,0,1,0,0,0,0,0,1,1,1,0,0,0};
HLx5[16]={0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0};
HLx6[16]={0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0};
HLx7[16]={0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0};
HLx8[16]={0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0};
HLx9[16]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
With
HLy1[16]={1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
HLx2[16]={0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
HLx3[16]={0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0};
HLx4[16]={0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0};
HLx5[16]={0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0};
HLx6[16]={0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0};
HLx7[16]={0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0};
HLx8[16]={0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0};
HLx9[16]={0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0};
HLx10[16]={0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0};
HLx11[16]={0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0};
HLx12[16]={0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0};
HLx13[16]={0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0};
HLx14[16]={0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0};
HLx15[16]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0};
HLx16[16]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1};
Step 5, use repeatedly circulation perform the one-dimension array HLxi [16] and HLyi [16] that obtain in step 4, often perform one-dimension array HLyi [16], perform all HLxi [16] once, finally show result as shown in Figure 3.
Claims (6)
1. a digital water curtain wiring system, it is characterized in that, based on digital water curtain wiring system, described digital water curtain wiring system structure is: comprise the lower header (2) and upper water box (4) that are connected by water pipe (3), row's electromagnetic water valve (6) is provided with in upper water box (4), each electromagnetic water valve (6) is all in series with diode (7), the wherein single line of electromagnetic water valve (6) connects the positive pole pin of diode (7), the negative pole pin of all diodes (7) is all near one side of electromagnetic water valve, and be connected with driver (10) after the negative pole pin parallel connection of all diodes (7), also be connected with driver (10) after another root line parallel of each electromagnetic water valve (6), upper water box (4) side is vertically provided with two sensors (5), two sensors (5) are all connected by signal wire with the water pump (1) arranged in lower header (2), upper water box (4) is connection control system (8) also, described control system (8) comprises single-chip microcomputer (9), single-chip microcomputer (9) control and drive system (10) drives the Switching Power Supply (11) of each electromagnetic water valve (6).
2. a kind of digital water curtain wiring system according to claim 1, is characterized in that, described single-chip microcomputer (9) model is Arduino Mega 2560.
3. a kind of digital water curtain wiring system according to claim 1, is characterized in that, described sensor (5) is liquid level sensor.
4. a kind of digital water curtain wiring system according to claim 1, is characterized in that, described driver (10) is L298N module.
5. a kind of digital water curtain wiring system according to claim 1, is characterized in that, the vertical height of described electromagnetic water valve (6) is 2 ~ 13m.
6. a digital water curtain wiring system control method, is characterized in that, based on digital water curtain wiring system, specifically implements according to following steps:
Step 1: be connected to driver (10) by after the parallel connection of all diodes (7) negative pole pin, each negative pole pin respectively draws single line, is defined as y1 successively, y2, y3, y4 ... yi, is connected to driver (10), and draws respective the end of a thread after all electromagnetic water valves (6) not being connected the single line parallel connection of diode (7), be defined as x1 successively, x2, x3, x4 ... xi;
Step 2: definition single-chip microcomputer (9) digital I/O mouth { 6, 8, 10, 2i, 2i+4, be one-dimension array pinx [i], its control and drive system (10) signal input, the signal output of driver (10) meets the x1 of electromagnetic water valve (6), x2, x3 ... the i root line of xi, the digital I/O mouth { 5 of definition single-chip microcomputer (9), 7, 9, 2i+1, 2i+3} is another one-dimension array piny [i], the signal input of its control and drive system (10), the signal output of driver (10) meets the y1 of diode (7), y2, y3 ... the i root line of yi,
Step 3, delivery is started to the electromagnetic water valve (6) in step 2, need the part lighted to represent with 1,1 expression high level, the part lighted is not needed to represent with 0,0 represents low level, if the display of neighbouring two row or multirow is identical, then merges into one group of delivery;
Step 4, mould step 3 obtained give one-dimension array HLxi [i] and HLyi [i];
Step 5, use repeatedly circulation perform the one-dimension array HLyi [i] and HLxi [i] that obtain in step 4, often perform one-dimension array HLyi [i] once, perform all HLxi [i] once.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510218121.8A CN104950742B (en) | 2015-04-30 | 2015-04-30 | A kind of digital water curtain wiring system and control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510218121.8A CN104950742B (en) | 2015-04-30 | 2015-04-30 | A kind of digital water curtain wiring system and control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104950742A true CN104950742A (en) | 2015-09-30 |
CN104950742B CN104950742B (en) | 2017-11-03 |
Family
ID=54165471
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510218121.8A Expired - Fee Related CN104950742B (en) | 2015-04-30 | 2015-04-30 | A kind of digital water curtain wiring system and control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104950742B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017076003A (en) * | 2015-10-13 | 2017-04-20 | 株式会社光栄 | Wall surface display device |
CN106622835A (en) * | 2017-02-15 | 2017-05-10 | 北京塞诺阳光科技有限公司 | Three-dimensional water curtain system |
JP2017209152A (en) * | 2016-05-23 | 2017-11-30 | ホーチキ株式会社 | Evacuation facility |
JP2019040102A (en) * | 2017-08-25 | 2019-03-14 | 名古屋電機工業株式会社 | Display method and display device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE29701132U1 (en) * | 1997-01-23 | 1997-04-10 | Dresch, Klaus, 79669 Zell | Water curtain, water screen for light and laser show with oscillating nozzle system |
CN101430846A (en) * | 2008-09-19 | 2009-05-13 | 江苏大学 | High-density digital water curtain display system |
CN101518768A (en) * | 2008-07-21 | 2009-09-02 | 杭州明珠音乐喷泉有限公司 | Elevation water character or water pattern fountain system and forming method of water characters or water patterns |
CN201673646U (en) * | 2009-12-29 | 2010-12-15 | 福州福大兴电脑技术开发有限公司 | Digital water wall device |
CN102184691A (en) * | 2011-05-09 | 2011-09-14 | 浙江大学 | Interactive water curtain producing method and device |
CN202097066U (en) * | 2011-05-06 | 2012-01-04 | 张吉辉 | Water curtain device |
CN203520100U (en) * | 2013-10-24 | 2014-04-02 | 石家庄学院 | PLC-based 3D digital water curtain system |
CN204270629U (en) * | 2014-04-18 | 2015-04-15 | 王东颖 | The digital water wall device of man-machine interactive |
-
2015
- 2015-04-30 CN CN201510218121.8A patent/CN104950742B/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE29701132U1 (en) * | 1997-01-23 | 1997-04-10 | Dresch, Klaus, 79669 Zell | Water curtain, water screen for light and laser show with oscillating nozzle system |
CN101518768A (en) * | 2008-07-21 | 2009-09-02 | 杭州明珠音乐喷泉有限公司 | Elevation water character or water pattern fountain system and forming method of water characters or water patterns |
CN101430846A (en) * | 2008-09-19 | 2009-05-13 | 江苏大学 | High-density digital water curtain display system |
CN201673646U (en) * | 2009-12-29 | 2010-12-15 | 福州福大兴电脑技术开发有限公司 | Digital water wall device |
CN202097066U (en) * | 2011-05-06 | 2012-01-04 | 张吉辉 | Water curtain device |
CN102184691A (en) * | 2011-05-09 | 2011-09-14 | 浙江大学 | Interactive water curtain producing method and device |
CN203520100U (en) * | 2013-10-24 | 2014-04-02 | 石家庄学院 | PLC-based 3D digital water curtain system |
CN204270629U (en) * | 2014-04-18 | 2015-04-15 | 王东颖 | The digital water wall device of man-machine interactive |
Non-Patent Citations (1)
Title |
---|
靳炜,等: "基于ARM架构的图形水幕系统", 《计算机测量与控制》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017076003A (en) * | 2015-10-13 | 2017-04-20 | 株式会社光栄 | Wall surface display device |
JP2017209152A (en) * | 2016-05-23 | 2017-11-30 | ホーチキ株式会社 | Evacuation facility |
CN106622835A (en) * | 2017-02-15 | 2017-05-10 | 北京塞诺阳光科技有限公司 | Three-dimensional water curtain system |
JP2019040102A (en) * | 2017-08-25 | 2019-03-14 | 名古屋電機工業株式会社 | Display method and display device |
JP7002710B2 (en) | 2017-08-25 | 2022-01-20 | 名古屋電機工業株式会社 | Display method and display device |
Also Published As
Publication number | Publication date |
---|---|
CN104950742B (en) | 2017-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104950742A (en) | Digital water curtain wiring system and control method | |
CN108520728A (en) | Backlight adjusting method, device, computing device, display equipment and storage medium | |
CN104807212A (en) | Solar water heater and electric water heater combined application system and energy-saving control device thereof | |
CN104808543A (en) | Three-dimensional digital water curtain control method | |
CN204270629U (en) | The digital water wall device of man-machine interactive | |
CN205376087U (en) | Take two -layer advertising umbrella of LED display screen | |
CN104616606A (en) | Enterprise water curtain culture wall | |
CN112214858B (en) | Automatic CAD (auto computer aided design) -based automatic arrangement method for photovoltaic panels in irregular field | |
CN200964441Y (en) | Prebaked aluminum cell cross crust breaking baiting device | |
CN103853880B (en) | Visual air speed building design method | |
CN206003459U (en) | Large-scale outdoor LED display screen | |
CN207052174U (en) | true water circulation system applied to sand table model | |
CN209151690U (en) | One plant Intelligent culture device | |
CN205406008U (en) | Various screen display of water heater LED shows module | |
CN208538457U (en) | A kind of locomotive general assembly line multi information prompting device device | |
CN206879701U (en) | A kind of plant cultivating device | |
CN206961112U (en) | A kind of multi-standard interface system | |
CN107939437B (en) | A kind of constructing tunnel building site dust-extraction unit | |
CN2556456Y (en) | Three-way joint | |
CN105042740A (en) | Self-adaptation energy-saving air-conditioner system with combination of rock bed and evaporative cooling | |
CN203896940U (en) | Wall-mounted plant cultivating device | |
CN204751076U (en) | Feed bin and use material stock device of this feed bin | |
CN202216575U (en) | Air-cooling platform of direct air-cooling unit of power plant | |
CN203673832U (en) | Three-dimensional pattern display device capable of being dynamically programmed | |
CN108887037A (en) | A kind of greenhouse air exchange system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171103 Termination date: 20200430 |
|
CF01 | Termination of patent right due to non-payment of annual fee |