CN100401346C - Method of hand-writing lighting characters and its device - Google Patents
Method of hand-writing lighting characters and its device Download PDFInfo
- Publication number
- CN100401346C CN100401346C CNB2005100596877A CN200510059687A CN100401346C CN 100401346 C CN100401346 C CN 100401346C CN B2005100596877 A CNB2005100596877 A CN B2005100596877A CN 200510059687 A CN200510059687 A CN 200510059687A CN 100401346 C CN100401346 C CN 100401346C
- Authority
- CN
- China
- Prior art keywords
- controller
- data
- slave controller
- control
- stroke
- 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.)
- Expired - Fee Related
Links
Images
Abstract
The present invention relates to a realizing method and a device thereof for advertisement characters, particularly to a method and a device thereof for realizing handwritten luminous characters. In the present invention, a character pen is divided into a plurality of stroke sections, and controllers are respectively used for controlling the luminous display of each stroke section according to given sequences and colors. The effect that the handwriting sequences of a person are imitated to display is integrally realized, the luminous characters have the humanization and the intelligence, and thereby, the different use requirements of different users can be satisfied. Besides, because each controller is composed of a main controller and an auxiliary controller, the main controllers are used for controlling the auxiliary controllers to work, the auxiliary controllers are respectively used for controlling the display of the stroke sections, and the control of the stroke sections is flexible and various.
Description
Technical field
The present invention relates to a kind of implementation method of advertisement word, especially realize the method and the device thereof of hand-writing lighting characters.
Background technology
At present, all luminescent characters all are can only solid color or seven kinds of colors show or in same plane of structure or vertical plane variable color simultaneously, but all can not imitate handwritten stroke carries out innervation in proper order and represents, it is very single and stiff that this display effect seems, can't satisfy the multiple request for utilization in the different environments for use.
Summary of the invention
The present invention has overcome above-mentioned shortcoming, and a kind of method and device thereof of the hand-writing lighting characters that can the echographia effect shows is provided.
The present invention solves the technical scheme that its technical matters takes: a kind of method that realizes hand-writing lighting characters may further comprise the steps:
1) stroke with literal is divided into some stroke sections, and the number of described stroke section is more than or equal to the stroke number of literal;
2) by controller each literal section parameters to display is set;
3) carry out luminous demonstration according to the setting control stroke section of controller;
Described step 2), 3) in controller can be divided into master controller and slave controller, master controller is to the slave controller transmitting control commands, the work of control slave controller, the demonstration of slave controller control stroke section.
The workflow of described master controller can be as follows:
A) initialization master routine;
B) reading of data;
C) send the demonstration control data to slave controller;
The workflow of described slave controller can be as follows:
I. receive the control data that sends from master controller;
Ii. send video data according to control data by display subroutine.
In the workflow of described slave controller, also can comprise a data differentiation process and a forwarding subroutine, described discriminating data process is before display subroutine, be used to the data type of judging that described slave controller receives, when after the data that receive obtain verification, confirming as the control data of this slave controller, just enter display subroutine, otherwise enter the forwarding subroutine, control information is forwarded to the next stage slave controller.
Also can include one in the described master routine between initialization master routine and the reading of data process call subroutine number and a chooser program process are set,, reach multiple display effect by a plurality of subroutines being set and carrying out a plurality of subroutines successively one by one.
A kind of control device of realizing hand-writing lighting characters, comprise that one is used to control the controller of whole device work and the display circuit of a plurality of demonstration luminous characters, described a plurality of display circuit is as a plurality of stroke sections, the combination back constitutes the stroke of whole literal, described controller can comprise master controller and slave controller, described master controller comprises a single-chip microcomputer, transmitting-receiving control and peripheral circuit thereof, and described slave controller comprises a single-chip microcomputer, two transceiver modules, two Darlington chip for driving and peripheral circuit thereof.
Described Picture element lamp bar can be three the tunnel, and every road is a plurality of light-emitting components of same color, and described light-emitting component is a light emitting diode.
The present invention is divided into some stroke sections by the stroke with literal, control showing of each stroke section respectively by controller according to order of setting and colour light emitting, realize the effect that the hand-written order of imitation people shows on the whole, make luminescent characters have more the hommization intellectuality, thereby satisfy different users's different user demands.In addition,,, control the demonstration of a plurality of stroke sections more respectively by slave controller, make more versatile and flexible the control of stroke section by a plurality of slave controller work of main controller controls because described controller is made of master controller and slave controller.
Description of drawings
Fig. 1 is the main program flow chart of master controller among the present invention
Fig. 2 is data read subroutine flow chart among the present invention
Fig. 3 sends subroutine flow chart among the present invention
Fig. 4 is the main program flow chart of slave controller among the present invention
Fig. 5 is display subroutine process flow diagram among the present invention
Fig. 6 transmits subroutine flow chart among the present invention
Fig. 7 is schematic block circuit diagram among the present invention
Fig. 8 is circuit theory diagrams among the present invention
Fig. 9 is a literal exemplary plot of the present invention
Embodiment
As shown in Figure 1, the present invention realizes by the following method: the stroke that will need the literal that shows, be divided into some stroke sections, each section is made up of the Picture element lamp bar that one or more pieces are connected in parallel, every Picture element lamp bar has three signal controlling ports of RGB, control the color of described Picture element lamp bar output rgb signal control Picture element lamp bar by master controller and slave controller, when described Picture element lamp bar is exported same color signal to each section Picture element lamp bar by the word stroke order, just can reach hand-written sense organ effect, just form as the dynamic effect as hand-written.
The control block diagram of described controller as shown in Figure 7, circuit theory diagrams as shown in Figure 8, constitute by master controller and slave controller, described each stroke section is made of the Picture element lamp bar of one or more parallel connections, master controller is connected on a plurality of slave controllers that link to each other in turn, send control information and data message to slave controller, described each slave controller links to each other with four Picture element lamp bars, controls the sequence of light and the glow color of every Picture element lamp bar.
Described master controller is made of a single-chip microcomputer U2, RS485 interface chip U1 and peripheral circuit thereof, and the DI end of described RS485 interface chip U1 directly links to each other with the data sending terminal TXD end of described single-chip microcomputer U2.Serial signal between master controller and slave controller is by the transmission of interface chip U1, and the A of described interface chip U1, B port (RS485 balance transmission) are signal sending end, and described single-chip microcomputer U2 is that data sending terminal sends signal by the TXD end.
Described slave controller is by two RS485 interface chip U6, U7, single-chip microcomputer U3, two Darlington transistor chip for driving U4, U5 and peripheral circuit thereof constitute, the corresponding respectively input end that is connected to two Darlington chip for driving U4, U5 of 12 control end P10~P17, P31~P37 of described single-chip microcomputer, be that the Y1~Y6 end of U4 and Y1~Y6 of U5 hold, output terminal Q1~Q3, the Q4~Q6 of U4 and output terminal Q1~Q3, the Q4~Q6 of U5 respectively with 4 corresponding connections of Picture element lamp bar.The input end of the RS485 interface chip U7 of first slave controller links to each other with two output terminals of RS485 interface chip U1 in the described master controller by the shadow data line, output DI end is connected to the data sending terminal RXD end of described single-chip microcomputer U3, the DI end of another RS485 interface chip U6 and the TXD end of described single-chip microcomputer, two output terminals A, B hold corresponding respectively A, the B end signal receiving port that is connected to the interface chip U7 ' of next stage slave controller, and the like, by a plurality of slave controllers of main controller controls.Serial signal between described slave controller is connected transmission by the interface chip U7 ' of interface chip U6 and next stage slave controller, and described single-chip microcomputer U3 is by RXD end (data receiver) received signal, and TXD end (data sending terminal) sends signal.Described single-chip microcomputer U3 chip is by programmed control, make it in corresponding A1, A2, A3, B1, B2, B3, C1, C2, C3, D1, D2, the D312 road control signal of producing of P10~P17, P31~P37 end, go to control output terminal Q1~Q3, the Q4~Q6 of Darlington transistor chip for driving U4 and output terminal Q1~Q3 of Darlington transistor chip for driving U5, the break-make of Q4~Q6, thereby make the different signal of RGB control signal output ends output.
Described every group of Picture element lamp bar is RGB three tunnel altogether, every road is that 5 light emitting diode polyphones of same color constitute, the positive terminal of every road light emitting diode links to each other with working power VCC, and negative pole end is contacted and connected the output terminal of described Darlington chip for driving behind the buffer resistance.When Darlington chip for driving output low level, the LED conducting is luminous, when Darlington chip for driving output high level, LED by.
The control procedure of master controller as shown in Figure 1, after the tabulation of initialization call subroutine and the number of call subroutine being set, enter each subroutine flow process one by one, described each subroutine is set and is controlled display effects such as different colors, sequence of light, and each subroutine flow process is finished data read flow process and data transmission flow successively.Described data read flow process as shown in Figure 2, reading corresponding data one by one after the length of the number of having set slave controller and the data that will transmit; The data transmission flow begins the data that byte-by-byte reads from the data read flow process to the slave controller transmission as shown in Figure 3 at the initialization serial ports with after setting the byte number that sends.
The concrete transfer mode and the control mode of described master controller data are as follows:
1) it is as follows to read subroutine reading of data form:
N data | MSB | |
|||||||
1 | 1R | 1G | 1B | 2R | 2G | | 3R | 3G | |
2 | 3B | 4R | 4G | 4B | nc | nc | nc | nc |
1R, 1G, 1B, 2R, 2G, 2B, 3R, 3G, 3B, 4R, 4G, 4B corresponding respectively the rgb signal of 4 groups of Picture element lamp bars on the slave controller, when corresponding position is 1, represent brightly, be to represent dark at 0 o'clock.For example: the 1st data are that 10000000, the 2 data are 00000000 o'clock, and corresponding slave controller output just is the 1st group of Picture element lamp shiny red, and other 3 groups all do not work.
2) transmit frame data layout:
The 1st byte is: the slave controller numbering, for example: 00000001 just chooses the 1st slave controller, and slave controller will demonstrate desired state, otherwise just passes to next slave controller.
2nd, 3 bytes are to show desired data, and form is as 1) shown in.
3) hand-written order realizes:
With " people " is example, as shown in Figure 9, first draws " Pie " casts aside, and it is divided into 4 sections, drawing " ヘ " to second presses down, it is divided into 3 sections, and each section is made up of a Picture element lamp bar, as shown in Figure 5: wherein 1.1,1.2,1.3 1.4 represent first 4 sections Picture element lamp bars drawing respectively, are connected to be numbered on 1 the slave controller; 2.1 2.2,2.3 represent second 3 sections Picture element lamp bars drawing respectively, are connected to be numbered on 2 the slave controller.
Suppose that current each Picture element lamp all glows, so at this moment send 00000001,01010010,01000000,1.1 section Picture element lamp just becomes green, and other several sections just is red, then send 00000001,01001010,01000000,1.1,1.2 the Picture element lamp of section just becomes green, other several sections just is red, then sends 00000001,01001001,01000000,1.1 1.2,1.3 sections Picture element lamp just becomes green, then send 00000001,01001001,00100000,1.1,1.2,1.3 1.4 lamps just become green, other several sections just is red, at this moment just having finished first of herringbone draws, visually just produce a kind of effect of writing backward order, second when drawing as long as first byte of writing first frame data when drawing is changed into 00000010 just can be realized backward in proper order, form a kind of visual effect of writing on the whole thereby make.
The control flow of slave controller as shown in Figure 4, after being set, the serial ports receive mode begins to receive data length, receive byte data then one by one, whether the check byte of judging the setting that is comprised in the data that receive again is the data of this slave controller of correspondence, if then enter display subroutine, if otherwise enter the forwarding subroutine, control data is forwarded in the next stage slave controller by interface chip, judge corresponding check byte again by the next stage slave controller, if the control data of next stage then enters corresponding display subroutine, if otherwise enter the forwarding subroutine, control data is forwarded to by interface chip in the slave controller of next stage again, and the like.Described display subroutine flow process as shown in Figure 5, at first video data length is delivered to the I/O interface one by one with the data of this length again, the light emitting diode in control Darlington chip for driving U4, the U5 Picture element lamp bar is according to color of setting and the luminous demonstration of order; Shown in transmit subroutine as shown in Figure 6, at the initialization serial ports be provided with and one by one data forwarding gone out after sending byte number.
It is as follows with I/O mouth relation that described slave controller receives data:
N data | 1R | 1G | 1B | 2R | 2G | | 3R | 3G | |
1 | A1 | A2 | A3 | B1 | B2 | B3 | C1 | |
|
2 | C3 | D1 | D2 | D3 | NC | NC | NC | NC |
The slave controller method for numbering serial is as follows: when first byte of frames received certificate is 00000001, controller will be delivered to the I/O mouth to ensuing data, if but receive be other (00000000 does not use), program will subtract one to this byte data and be communicated with other data then and be sent to next block controller together, has so just realized a controller numbering.
The present invention will make luminescent characters have more hommization by the control of the plain lamp bar of controller object, and intelligent dynamic technology makes the luminescent characters that people see, as there being the people writeing with a pen out.Certainly, when not needing handwriting functions,, make luminescent characters can show that also solid color or seven kinds of colors represent by setting to controller and Picture element lamp bar.
Claims (7)
1. method that realizes hand-writing lighting characters is characterized in that: may further comprise the steps:
1) stroke with literal is divided into some stroke sections, and the number of described stroke section is more than or equal to the stroke number of literal;
2) by controller each literal section parameters to display is set;
3) carry out luminous demonstration according to the setting control stroke section of controller;
Described step 2), 3) in controller be divided into master controller and slave controller, master controller is to the slave controller transmitting control commands, the work of control slave controller is again by the demonstration of slave controller control stroke section.
2. the method for realization hand-writing lighting characters according to claim 1 is characterized in that: the workflow of described master controller is as follows:
1) initialization master routine;
2) reading of data;
3) send the demonstration control data to slave controller.
3. the method for realization hand-writing lighting characters according to claim 1 is characterized in that: the workflow of described slave controller is as follows:
1) receives the control data that sends from master controller;
2) send video data according to control data by display subroutine.
4. the method for realization hand-writing lighting characters according to claim 3, it is characterized in that: in the workflow of described slave controller, also comprise a data differentiation process and a forwarding subroutine, described discriminating data process is before display subroutine, be used to the data type of judging that described slave controller receives, when after the data that receive obtain verification, confirming as the control data of this slave controller, just enter display subroutine, otherwise enter the forwarding subroutine, control information is forwarded to the next stage slave controller.
5. the method for realization hand-writing lighting characters according to claim 2, it is characterized in that: also include one in the described master routine between initialization master routine and the reading of data process call subroutine number and a chooser program process are set, by a plurality of subroutines being set and carrying out a plurality of subroutines successively one by one, reach multiple display effect.
6. control device of realizing hand-writing lighting characters, it is characterized in that: comprise that one is used to control the controller of whole device work and the display circuit of a plurality of demonstration luminous characters, described a plurality of display circuit is as a plurality of stroke sections, the combination back constitutes the stroke of whole literal, described controller comprises master controller and slave controller, described master controller comprises a single-chip microcomputer, transmitting-receiving control and peripheral circuit thereof, and described slave controller comprises a single-chip microcomputer, two transceiver modules, two Darlington chip for driving and peripheral circuit thereof.
7. the control device of realization hand-writing lighting characters according to claim 6 is characterized in that: described display circuit is three the tunnel, and every road is a plurality of light-emitting components of same color, and described light-emitting component is a light emitting diode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100596877A CN100401346C (en) | 2005-03-31 | 2005-03-31 | Method of hand-writing lighting characters and its device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100596877A CN100401346C (en) | 2005-03-31 | 2005-03-31 | Method of hand-writing lighting characters and its device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1652168A CN1652168A (en) | 2005-08-10 |
CN100401346C true CN100401346C (en) | 2008-07-09 |
Family
ID=34876831
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100596877A Expired - Fee Related CN100401346C (en) | 2005-03-31 | 2005-03-31 | Method of hand-writing lighting characters and its device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100401346C (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3925777A (en) * | 1974-09-23 | 1975-12-09 | Pressman D R | Electronic clock employing repeating sequential single digit display |
CN2032754U (en) * | 1988-04-08 | 1989-02-15 | 葛松山 | Electronic advertisement device with imitating genuine calligraphy and painting |
JPH08220982A (en) * | 1995-02-20 | 1996-08-30 | Hitachi Media Electron:Kk | Matrix display device |
JP2002041022A (en) * | 2000-07-19 | 2002-02-08 | Matsushita Electric Ind Co Ltd | Display device of character string, display method of character string and recording medium that record program |
-
2005
- 2005-03-31 CN CNB2005100596877A patent/CN100401346C/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3925777A (en) * | 1974-09-23 | 1975-12-09 | Pressman D R | Electronic clock employing repeating sequential single digit display |
CN2032754U (en) * | 1988-04-08 | 1989-02-15 | 葛松山 | Electronic advertisement device with imitating genuine calligraphy and painting |
JPH08220982A (en) * | 1995-02-20 | 1996-08-30 | Hitachi Media Electron:Kk | Matrix display device |
JP2002041022A (en) * | 2000-07-19 | 2002-02-08 | Matsushita Electric Ind Co Ltd | Display device of character string, display method of character string and recording medium that record program |
Also Published As
Publication number | Publication date |
---|---|
CN1652168A (en) | 2005-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101702275A (en) | Short-wave digital radio station network simulated training system | |
CN101561110B (en) | LED lamp system based on primary function mode and system for generating light effect data | |
CN102338342A (en) | Internal control type LED (light-emitting diode) nixie tube system and control method thereof | |
CN2528185Y (en) | Controller for multicolour LED decorative lamp | |
CN100401346C (en) | Method of hand-writing lighting characters and its device | |
CN104936361B (en) | A kind of totally digitilized LED illumination light source driving control system and technical scheme | |
CN101111109A (en) | Method for controlling color and brightness of LED and control system thereof | |
CN101431446A (en) | Network state indicating circuit | |
CN104853489A (en) | Light emitting diode driving circuit and driving system | |
CN101241657A (en) | 3D display system and its display control method | |
CN102984846A (en) | Lighting control system and lighting devices and centering controller | |
CN2927597Y (en) | Luminescent diode network controlling system | |
CN2552115Y (en) | Multifunctional electronic perpetual calendar | |
CN216087071U (en) | Multi-LED control circuit, controllable lamp chessboard and controllable lamp electronic go chessboard | |
CN203413439U (en) | LED (light emitting diode) lamp strip | |
CN201190912Y (en) | Flexible light band | |
CN201177927Y (en) | Three-dimensional display system | |
CN211557557U (en) | Automotive interior multichannel atmosphere lamp control circuit | |
CN101237734A (en) | 1/3 time division LED display control technology and corresponding control system | |
CN215379290U (en) | Three-color lamp control circuit | |
CN1104672C (en) | Signal treating system | |
CN217721533U (en) | Single-wire controlled synchronous lamp string | |
CN209084549U (en) | Novel step lamp | |
CN201589121U (en) | LED full-color curtain lamp controlled by connecting buses in parallel | |
CN103902072B (en) | Writing device and its light-emitting diode display panel and lettering pen |
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080709 Termination date: 20120331 |