CN103794178B - A kind of LED light cube driving method of multi-directionally cascade - Google Patents
A kind of LED light cube driving method of multi-directionally cascade Download PDFInfo
- Publication number
- CN103794178B CN103794178B CN201410064774.0A CN201410064774A CN103794178B CN 103794178 B CN103794178 B CN 103794178B CN 201410064774 A CN201410064774 A CN 201410064774A CN 103794178 B CN103794178 B CN 103794178B
- Authority
- CN
- China
- Prior art keywords
- light cube
- cube
- master controller
- led
- display
- 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.)
- Active
Links
Landscapes
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Control Of El Displays (AREA)
Abstract
The present invention relates to the LED light cube driving method disclosing a kind of multi-directionally cascade, comprise at least two light cube, two microcontrollers, a master controller, a power supply and corresponding connecting line, described method is: be first each light cube setting numbering; Then master controller need show data by spi bus and will be sent to coupled light cube, data are sent to other light cube be connected with this light cube by described light cube again, other light cube send the light cube be attached thereto again to, by that analogy, data are sent to the light cube of all cascades by spi bus; Each light cube basis separately reference numeral chooses the display data of this numbering correspondence; Last master controller is controlled the light cube simultaneous display of all cascades by transmission high level or low level signal or is synchronously closed down.The LED light cube driving method of the inventive method multi-directionally cascade is simply efficient, can realize to four direction cascade, is spliced into a large light cube.
Description
Technical field
The present invention relates to display technique field, the LED light cube driving method of specifically a kind of multi-directionally cascade.
Background technology
Light cube, a kind of by the stereo display array of stacked for multiple LED array composition, general light cube is all 8 LED according to the cubes of equidistantly arrangement by length, width and height.The light cube of a 8*8*8 is made up of 512 LED, and the light cube of a 16*16*16 is made up of 4096 LED.For the light cube of 8*8*8, simple 3D figure can be shown, and user can show various dynamic effect by it by oneself coding.For the light cube of 16*16*16, because LED number ratio 8*8*8 is many 8 times, abundanter dynamic three-dimensional picture can be shown, dynamic three-dimensional word can also be shown.This light cube can as zingy stereoscopic landscape lamp, may be used for display three-dimensional picture and be convenient to viewing, even can show real 3D animation.
But light at present on the market cube is mainly all 8*8*8 dot matrix, and be 16*16*16 dot matrix on a small quantity, these dot matrix all exist 2 deficiencies.
1, the content that such dot matrix quantity can show is very limited, can only show very simple animation, such as arrow, smiling face, word etc., cannot show abundanter pattern.
2, current light cube is can not cascade or can only unidirectional cascade, namely can only be cascaded into straight line towards a direction, cannot to other direction cascades.Therefore cannot splice a large light cube, also just cannot show the content of more horn of plenty.
For overcoming the above problems, need to propose a kind of can the LED light cube driving method of multi-direction cascade.A large light cube can be cascaded into like this towards four direction.The technology of this cascade is based on the many methods of attachment from machine of a main frame of the serial communications such as SPI.Each light cube be one from machine, by host computer control.
Through retrieval, we find that there is three patents and this patent has the common part of part, but have essential difference with this patent.Number of patent application is 201320235516.5, patent name for " a kind of extendible omnipotent LED template and consisting of " although the LED dot matrix described also can splice, but what its described is the structural design of the LED template that can expand, and this patent description is the driving method that multiple three-dimensional LED dot matrix carries out cascade, there is the difference of essence with this patent, what the driving method of this patent adopted is that serial communication mode communicates mutually, each light cube can be controlled by a main switchboard and be spliced into a large light cube, this large light cube can show more abundanter 3D animation effects, and patent " a kind of extendible omnipotent LED template and consisting of " describes is the expansion of configuration aspects, do not relate to driving method, the LED light cube of the participation cascade that this patent describes itself is three-dimensional solid LED dot matrix, cube cascade of multiple light can be spliced into a larger light cube, because this large light cube is also solid, inside is made up of very many LED, all animations that can show real three-dimensional, and the three-dimensional LED advertising lamp that patent " a kind of extendible omnipotent LED template and consisting of " describes builds a solid by six LED templates, be equivalent to cubical six surfaces, although structure is three-dimensional, but the content of six face displays is all the content of the plane of two dimension, obviously real 3-D effect is not had.Number of patent application is 201010566911.2, patent name is " a kind of three-dimensional LED display " and number of patent application is 201110218720.1, patent name for " stacked LED display and the three-dimensional display based on LED technology " although in describe all relate to three-dimensional LED dot matrix, and this patent description is the driving method that multiple three-dimensional LED dot matrix carries out cascade, those two patents are all the methods for designing describing single 3 D LED dot matrix, do not relate to the Cascading Methods that multiple three-dimensional LED dot matrix does not relate to multiple three-dimensional LED dot matrix yet, the difference of essence is had with this patent.Because they do not relate to the cascade of multiple light cube, they can not demonstrate more larger abundanter 3D animations.
Summary of the invention
The object of the invention is to solve current light cubic lattice limited amount and can not the shortcoming of multi-direction cascade, the invention provides a kind of can the LED light cube driving method of left and right four direction cascade forwards, backwards.
For achieving the above object, technical scheme of the present invention is: a kind of LED light cube driving method of multi-directionally cascade, comprise and at least two light cube, two microcontrollers, master controller, at least one power supply and a corresponding connecting line are provided, it is characterized in that: realize according to the following steps
S01: be each light cube setting numbering;
S02: display data are sent to the microcontroller of coupled first order light cube by master controller by spi bus;
Data by that analogy, are sent to the microcontroller of the light cube of all cascades by S03: display reportedly to be delivered to the microcontroller of second level light cube by the electrical cable of first order light cube by described master controller by spi bus;
S04: each light cube basis separately reference numeral chooses the display data of this numbering correspondence, and control display by described master controller.
In embodiments of the present invention, in described step S04, master controller controls display is control the light cube simultaneous display of all cascades or synchronously close down by drawing high or drag down level, to demonstrate various pattern simultaneously.
In embodiments of the present invention, the connected mode of described light cube is: described master controller connects first order light cube, described first order light cube is at least connected with a second level light cube, then is connected in the light cube net be made up of light cube cascade by described second level light cube.
In embodiments of the present invention, described light cube is a kind of stacked LED array of display; Described stacked LED array of display is at least parallelly superimposed as three-dimensional structure by two LED array of display are equidistant; Described LED array of display is at least made up of two 2*2 LED array; Described stacked LED array of display bottom surface is PCB.
In embodiments of the present invention, described PCB is square; Described each PCB is equipped with circuit and a microcontroller of driving LED; The centre on described PCB four limit is respectively provided with the interface that is connected to master controller or other light cube.
In embodiments of the present invention, described microcontroller is embedded microcontroller, and this microcontroller is connected to each interface; Described microcontroller controls all LED of light cube by logical device in PCB.
In embodiments of the present invention, described microcontroller at least can draw 4 I/O mouths.
In embodiments of the present invention, described each interface includes VCC, SYN, SCLK, MOSI, MISO and GND six tie points, and these six tie points are all electrically connected in PCB; Described SYN, SCLK, MOSI and MISO four points of connection are all connected with the corresponding tie point of other interfaces by two logic inverters; Described SCLK, MOSI and MISO are the communication interfaces based on spi bus.
In embodiments of the present invention, described master controller is embedded microcontroller, and this master controller at least comprises two communication interfaces.
In embodiments of the present invention, described two communication interfaces, one of them communication interface comprises VCC, SYN, SCLK, MOSI, MISO and GND six tie points, and this communication interface is connected to light cube; Another communication interface is USB port, serial ports or network interface, and this communication interface is connected to PC equipment.
Compared to prior art, the present invention has following beneficial effect: the present invention be light cube provide a kind of can the method for multi-direction cascade, make up light cubic lattice quantity few and can only the problem of one direction cascade; Can splice a large light cube by the present invention, can more content be shown, abundanter three-dimensional animation effect; This programme method realizes simple, efficient.
Accompanying drawing explanation
Fig. 1 is the structural drawing of single light cube.
Fig. 2 is the stereographic map embodiment of three light cube cascades.
Fig. 3 is the circuit theory diagrams of three light cube cascades.
Fig. 4 is the vertical view embodiment of four light cube cascades.
Description of reference numerals: 1 is LED; 2 is individual layer LED array of display; 3,12,13,14,15,16,17 light cube is; 4 is microcontroller; 5 is interface; 6 is power interface; 7 is the interface be connected with light cube; 8 is master controller; 9 is the interface be connected with PC; 10 is logic inverter; 11 is PCB.
Embodiment
Below in conjunction with accompanying drawing, technical scheme of the present invention is specifically described.
The invention provides a kind of LED light cube driving method of multi-directionally cascade, comprise and at least two light cube, two microcontrollers, master controller, at least one power supply and a corresponding connecting line are provided, it is characterized in that: realize according to the following steps,
S01: be each light cube setting numbering;
S02: display data are sent to the microcontroller of coupled first order light cube by master controller by spi bus;
Data by that analogy, are sent to the microcontroller of the light cube of all cascades by S03: display reportedly to be delivered to the microcontroller of second level light cube by the electrical cable of first order light cube by described master controller by spi bus;
S04: each light cube basis separately reference numeral chooses the display data of this numbering correspondence, and control display by described master controller.
In described step S04, master controller controls display is control the light cube simultaneous display of all cascades by drawing high or drag down level or synchronously close down, and goes out various pattern with simultaneous display.
The connected mode of described light cube is: described master controller connects first order light cube, and described first order light cube is at least connected with a second level light cube, then is connected in the light cube net be made up of light cube cascade by described second level light cube.
Be below specific embodiments of the invention.
As Figure 1-Figure 4, light cubes 3 is a kind of stacked LED array of display, described stacked LED array of display is at least superimposed as three-dimensional structure by two individual layer LED array of display 2, described individual layer LED array of display 2 has 2*2 LED1 composition at least, and described stacked LED array of display bottom surface is PCB 11; This PCB 11 there are LED drive circuit and microcontroller 4, are controlled the display of light cubes 3 by described microcontroller 4.
Each individual layer LED array of display 2 is parallel stacked according to predetermined distance, and the distance between each LED1 is also equal with preset distance, and preset distance is 0.5-10cm.
PCB 11 is also provided with four identical interfaces 5 to draw, described each interface 5 is positioned at the centre at each edge in PCB 11.
As shown in Figure 2, the invention discloses a kind of LED light cube driving method of multi-directionally cascade, comprise in the microcontroller 4(the present embodiment on light cubes 3, bottom surface pcb board, this microcontroller 4 is embedded microcontroller), interface 5, power interface 6, connecting line, master controller 8 on the pcb board of bottom surface, the interface 7 be connected with light cube and the interface 11 be connected with PC; Described light cubes 3 has four interfaces 5, and described four interfaces 5 lay respectively in the middle of four edges of pcb board; Described master controller 8 is connected to a light cubes 12 by the interface 7 be connected with light cube, is connected to light cubes 3 and light cubes 13 by the interface 5 of described light cubes 12; Three light cube of such Fig. 2 all have electrical connection with controller 8; According to this Cascading Methods, light cubes 12, light cubes 3 and light cubes 13 can continue other light cube of cascade.
Interface 5 can be connected to a master controller 8 by connecting line; Described master controller 8 is embedded microcontrollers; Described master controller 8 has and has two communication interfaces at least, and one of them is 7 consistent with the interface 5 on light cubes 3 the light cube interface connected, and has VCC, SYN, SCLK, MOSI, MISO, GND six tie points, can be connected on the interface 5 of light cubes 3; Another interface 9 be connected with PC of described master controller 8 can be USB interface, serial ports, network interface etc., and the described interface 9 be connected with PC can be connected to PC; SYN, SCLK, MOSI, MISO four points of connection is connected to the microcontroller 4 in described PCB 11 respectively through logic inverter 10; Each light cube is directly communicated by SPI communication protocol; Described SYN is line synchro, plays the synchro control to each light cube.
As shown in the vertical view of four light cube cascades of Fig. 4, master controller 8 and light cubes 14 is connected, light cubes 14 again with light cubes 15, light cube 16 cascades, light cubes 15 and light cubes 16 again all with light cube 17 cascades, such Fig. 4 master controller 8 just has electrical connection with four light cube; Other interfaces 5 of four light of Fig. 4 cube again can other light cube of cascade, just multiple light cube can be spliced into a large light cube according to this Cascading Methods; Master controller 8 can be connected to PC by the interface 9 be connected with PC, and the data that PC can show and instruction send to master controller 8, is then controlled the display of all light cube by master controller 8.
Shown in the circuit theory diagrams that master controller as Fig. 3 is connected with three light cube, each interface 5 having 6 tie points, is VCC, SYN, SCLK, MOSI, MISO, GND respectively; VCC and GND electrical connection during cascade; SYN, SCLK, MOSI, the MISO of microcontroller 4 on master controller 8 and light cube have passed through twice logic inverter 10; In figure, the sense of SYN, SCLK, MOSI is to master controller 8 by the microcontroller 4 on light cube by the sense of MISO in the microcontroller 4, figure on master controller 8 to light cube; In Fig. 3, the microcontroller 4 of master controller 8 and 3 light cube is all connected, and described 3 light cube are connected in parallel, so the microcontroller 4 of data 3 light of sending of master controller 8 cube can receive; SCLK, MOSI, MISO are three lines of spi bus, just transmit data by SPI communication protocol between the microcontroller 4 of master controller 8 and each light cube; In Fig. 3, each light cube has preset oneself numbering, when sending data, data send by master controller 8, the microcontroller 4 of the light of cascade cube can receive data, the microcontroller 4 of each light cube chooses one's own part data for display according to the numbering of oneself, unwanted data is abandoned; Master controller 8 notifies all light cube simultaneous display of cascade by the level drawing high or drag down SYN line or synchronously closes down; According to this circuit connecting mode, can the multiple light cube of cascade always, and the circuit of each light cube to connect be in parallel, therefore can communicate with master controller 8.
Described master controller 8 can also be connected with computer by connecting line, controls master controller 8 by the host computer of computer by USB interface or serial ports or network interface, then controls the display of the light cubes 3 of all cascades.
Be more than preferred embodiment of the present invention, all changes done according to technical solution of the present invention, when the function produced does not exceed the scope of technical solution of the present invention, all belong to protection scope of the present invention.
Claims (10)
1. a LED light cube driving method for multi-directionally cascade, comprises and provides at least two light cube, two microcontrollers, master controller, at least one power supply and a corresponding connecting line, it is characterized in that: realize according to the following steps,
S01: be each light cube setting numbering;
S02: display data are sent to the microcontroller of coupled first order light cube by master controller by spi bus;
Data by that analogy, are sent to the microcontroller of the light cube of all cascades by S03: display reportedly to be delivered to the microcontroller of second level light cube by the electrical cable of first order light cube by described master controller by spi bus;
S04: each light cube basis separately reference numeral chooses the display data of this numbering correspondence, and control display by described master controller.
2. the LED light cube driving method of a kind of multi-directionally cascade according to claim 1, it is characterized in that: in described step S04, master controller controls display is control the light cube simultaneous display of all cascades or synchronously close down by drawing high or drag down level, to demonstrate various pattern simultaneously.
3. the LED light cube driving method of a kind of multi-directionally cascade according to claim 1, it is characterized in that: the connected mode of described light cube is: described master controller connects first order light cube, described first order light cube is at least connected with a second level light cube, then is connected in the light cube net be made up of light cube cascade by described second level light cube.
4. the LED light cube driving method of a kind of multi-directionally cascade according to claim 1, is characterized in that: described light cube is a kind of stacked LED array of display; Described stacked LED array of display is at least parallelly superimposed as three-dimensional structure by two LED array of display are equidistant; Described LED array of display is at least made up of 2*2 LED; Described stacked LED array of display bottom surface is PCB.
5. the LED light cube driving method of a kind of multi-directionally cascade according to claim 4, is characterized in that: described PCB is square; Described each PCB is equipped with circuit and a microcontroller of driving LED; The centre on described PCB four limit is respectively provided with the interface that is connected to master controller or other light cube.
6. the LED light cube driving method of a kind of multi-directionally cascade according to claim 5, is characterized in that: described microcontroller is embedded microcontroller, and this microcontroller is connected to each interface; Described microcontroller controls all LED of light cube by logical device in PCB.
7. the LED light cube driving method of a kind of multi-directionally cascade according to claim 6, is characterized in that: described microcontroller at least can draw 4 I/O mouths.
8. the LED light cube driving method of a kind of multi-directionally cascade according to claim 5 or 6, it is characterized in that: described each interface includes VCC, SYN, SCLK, MOSI, MISO and GND six tie points, these six tie points are all electrically connected in PCB; Described SYN, SCLK, MOSI and MISO four points of connection are all connected with the corresponding tie point of other interfaces by two logic inverters; Described SCLK, MOSI and MISO are the communication interfaces based on spi bus.
9. the LED light cube driving method of a kind of multi-directionally cascade according to claim 1, it is characterized in that: described master controller is embedded microcontroller, this master controller at least comprises two communication interfaces.
10. the LED light cube driving method of a kind of multi-directionally cascade according to claim 9, it is characterized in that: described two communication interfaces, one of them communication interface comprises VCC, SYN, SCLK, MOSI, MISO and GND six tie points, and this communication interface is connected to light cube; Another communication interface is USB port, serial ports or network interface, and this communication interface is connected to PC equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410064774.0A CN103794178B (en) | 2014-02-26 | 2014-02-26 | A kind of LED light cube driving method of multi-directionally cascade |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410064774.0A CN103794178B (en) | 2014-02-26 | 2014-02-26 | A kind of LED light cube driving method of multi-directionally cascade |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103794178A CN103794178A (en) | 2014-05-14 |
CN103794178B true CN103794178B (en) | 2015-10-14 |
Family
ID=50669774
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410064774.0A Active CN103794178B (en) | 2014-02-26 | 2014-02-26 | A kind of LED light cube driving method of multi-directionally cascade |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103794178B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105679231B (en) * | 2015-12-31 | 2019-06-28 | 西安诺瓦星云科技股份有限公司 | Terminal device access control system and LED display system |
CN105810147B (en) * | 2016-05-26 | 2018-07-20 | 苏发照明工程集团有限公司 | A kind of LED light cube of wireless power and wireless control |
CN110456710A (en) * | 2019-08-20 | 2019-11-15 | 深圳市银河风云网络***股份有限公司 | A kind of light cube intelligence control system based on wireless telecommunications |
CN110992842B (en) * | 2019-11-23 | 2022-04-26 | 武汉纺织大学 | Method for rapidly manufacturing LED colorful light cube |
CN112634815B (en) * | 2020-12-01 | 2022-09-20 | 黑龙江建筑职业技术学院 | Driving device and driving method of three-dimensional LED (light-emitting diode) stereoscopic display device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
ES2197895T3 (en) * | 2000-03-16 | 2004-01-16 | BJB GMBH & CO. KG | LIGHTING CONSTRUCTION KIT FOR LIGHTING, ADVERTISING OR INDICATION PURPOSES AND ELECTRICAL PLUG CONNECTOR FOR A SUCH LIGHTING CONSTRUCTION KIT. |
KR100881142B1 (en) * | 2008-01-08 | 2009-02-02 | (주)엘이디웍스 | Led display apparatus |
CN203279076U (en) * | 2013-05-24 | 2013-11-06 | 无锡商业职业技术学院 | Three-dimensional imaging device |
CN203311815U (en) * | 2013-07-09 | 2013-11-27 | 黑龙江科技大学 | Three-dimensional advertisement screen of ATmaga16-based single-chip microcomputer |
-
2014
- 2014-02-26 CN CN201410064774.0A patent/CN103794178B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
ES2197895T3 (en) * | 2000-03-16 | 2004-01-16 | BJB GMBH & CO. KG | LIGHTING CONSTRUCTION KIT FOR LIGHTING, ADVERTISING OR INDICATION PURPOSES AND ELECTRICAL PLUG CONNECTOR FOR A SUCH LIGHTING CONSTRUCTION KIT. |
KR100881142B1 (en) * | 2008-01-08 | 2009-02-02 | (주)엘이디웍스 | Led display apparatus |
CN203279076U (en) * | 2013-05-24 | 2013-11-06 | 无锡商业职业技术学院 | Three-dimensional imaging device |
CN203311815U (en) * | 2013-07-09 | 2013-11-27 | 黑龙江科技大学 | Three-dimensional advertisement screen of ATmaga16-based single-chip microcomputer |
Also Published As
Publication number | Publication date |
---|---|
CN103794178A (en) | 2014-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103794178B (en) | A kind of LED light cube driving method of multi-directionally cascade | |
CN205956792U (en) | Seamless concatenation light source module | |
CN206698331U (en) | Multi-screen image processing unit | |
TWD156013S (en) | Gateway | |
CN102204262A (en) | Generation of occlusion data for image properties | |
TWD156127S (en) | Gateway | |
CN103412874A (en) | Method and system for achieving three-dimensional page | |
CN203722989U (en) | Heat radiation apparatus of dual-layer optical module | |
CN101490735A (en) | Display device | |
CN202460088U (en) | Holographic projection body feeling interactive system | |
CN105931574A (en) | Wiring method of LED (light-emitting diode) special-shaped screen | |
CN204424619U (en) | USB hub | |
CN202855260U (en) | LED display screen full color transmission system | |
CN102779355A (en) | Method for realizing three-dimensional pie chart dynamic presentation | |
CN100555334C (en) | Shade drafting method and device | |
CN214541301U (en) | Factory propaganda simulation sand table device | |
CN203569963U (en) | Intelligent transparent building | |
CN103634583A (en) | 3D animation film forced working creation platform | |
CN204066193U (en) | A kind of virtual scene driving device | |
CN107645638B (en) | Video processor and backplane communication method | |
CN101990346A (en) | System for controlling light by three-dimensional software | |
CN205193696U (en) | 10, 000, 000, 000 network boards | |
CN205194990U (en) | A hardware change over switch for node computer video presentation of cluster | |
CN204302587U (en) | A kind of virtual three-dimensional model showcase | |
CN204993964U (en) | System for utilize three -dimensional software control light |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |