1. Technical Field
The present invention relates to data coding control field, and more particularly, to a method and system for writing address codes into LED display devices.
2. Description of Related Art
With the widespread use of an LED display device in various occasions and fields, users focus on the growing demands for reliability of the LED display device, one important assurance for the reliability is an architecture pattern of the LED display device. Due to shortcomings of the serial architecture pattern, in most cases a parallel architecture pattern is used in LED display devices in the prior art so as to form a complete LED display or decorating module, i.e. all LED display devices in parallel share the same signal bus. In order to achieve desired display effect, every LED display device should have its address code to capture the corresponding data stream from the signal bus thereby displaying according to the captured data stream. Therefore, a plurality of LED display devices in parallel need an address coding during production or installation of the plurality of the LED display devices, thereafter, the plurality of the LED display devices can be put into use. According to a writing mode of the address code in the prior art, address codes are written into LED display devices one by one by a coder. Writing operation of the address codes can be completed, however, the operation is time-consuming and inefficient, therefore, it is inconvenient for writing codes in mass production of the LED device, which will affect the production efficiency and tooling test efficiency.
The present invention aims at providing a method for writing address codes into LED display devices to overcome the shortcomings of poor efficiency of writing codes existing in the prior art, which are inconvenient for massively writing codes into LED display devices and further affect the production efficiency and tooling test efficiency.
The present invention is achieved by a method for writing address codes into LED display devices, the method includes:
generating a preset address code and a preset number in series connection according to user's settings; and
writing an address code into an primary LED display device and the LED display devices in series with the primary LED display device respectively according to the preset address code and the preset number in the series connection when all the LED display devices in parallel in a display module are connected in series with the same number of LED display devices respectively, and writing the address code into one or more LED display devices connected in parallel with the primary LED display device and the LED display devices connected in series with each of the one or more LED display devices in parallel with the primary LED display device successively in an address code ascending manner according to the preset address code and the preset number in the series connection.
The writing method for the address codes further includes:
writing the address code into one of the LED display devices in parallel according to the preset address code when the numbers of the LED display devices in series with respective LED display devices in parallel in the display module are not exactly the same or are totally different, and writing the address code into the LED display devices in series with the one of LED display devices successively in an address code ascending manner at a time according to the preset address code and the preset number in the series connection, and then returning to the step of generating a preset address code and a preset number in the series connection according to user's settings.
The writing method for the address codes further includes:
driving an LED in the LED display device to emit light of a first prompt color ,when the address codes are successfully written into the LED display devices in the LED display module.
The writing method for the address codes further includes:
driving an external display media connected to the LED display module to display the present address code when the address code is successfully written into the LED display device in the LED display module.
Another object of the embodiment of the present invention is to provide a system for writing address codes into LED display devices, the system includes:
a setting module, configured to generate a preset address code and a preset number in series connection according to user's settings; and
a main control module, configured to write an address code into an primary LED display device and the LED display devices in series with the primary LED display device respectively according to the preset address code and the preset number in the series connection when all the LED display devices in parallel in a display module are connected in series with the same number of LED display devices respectively, and write the address code into one or more LED display devices connected in parallel with the primary LED display device and the LED display devices connected in series with each of the one or more LED display devices in parallel with the primary LED display device successively in an address code ascending manner according to the preset address code and the preset number in the series connection.
when the numbers of the LED display devices in series with respective LED display devices in parallel in the display module are not exactly the same or are totally different, the main control module writes the address code into one of LED display devices in parallel according to the preset address code, and writes the address code into the LED display devices in series with the one of LED display devices successively in an address code ascending manner at a time according to the preset address code and the preset number in the series connection, and then returns to the setting module.
The writing system for the address codes further includes:
a light prompt driving module disposed in the LED display device, configured to drive an LED in the LED display device to emit light of a first prompt color when the address codes are successfully written into the LED display devices in the LED display module.
The writing system for the address codes further includes:
a display driver module, configured to an external display media connected to the LED display module to display the present address code when the address code is successfully written into the LED display device in the LED display module.
According to the embodiments of the present invention, when all the LED display devices in parallel in the display module are connected in series with the same number of LED display devices, the address code is written into the primary LED display device and the LED display devices in series with the primary LED display device respectively according to the preset address code and the preset number in the series connection, and the address code is successively written into one or more LED display devices connected in parallel with the primary LED display device and the LED display devices connected in series with each of the one or more LED display devices in parallel with the primary LED display device in an address code ascending manner. Thus address codes are written into the LED display devices at a time, it is not necessary to write address codes into the LED display devices one by one, therefore, the efficiency of writing codes is improved, the shortcomings of poor efficiency of writing codes which is inconvenient for massively writing codes into LED display devices and further affect the production efficiency and tooling test efficiency are overcome.
In order to make the objects, technical solutions and advantages of the invention clearer, the present invention will be further described hereafter with reference to the accompanied drawings and embodiments. It shall be understood that, the embodiments described herein are only intended to illustrate but not to limit the present invention.
According to the embodiments of the present invention, when all the LED display devices in parallel in the display module are connected in series with the same number of the LED display devices, the address code is written into the primary LED display device and the LED display devices in series with the primary LED display device respectively according to the preset address code and the preset number in the series connection, the address code is written into one or more LED display devices connected in parallel with the primary LED display device and the LED display devices connected in series with each of the one or more LED display devices in parallel with the primary LED display device successively in an address code ascending manner. Thus address codes are written into the LED display devices at a time, it is not necessary to write address codes into the LED display devices one by one; therefore, the efficiency of writing codes is improved.
In step S1, a preset address code and a preset number in series connection are generated according to user's settings.
The preset address code is an address code of an LED display device into which the address code is primarily written, the LED display device is one of all LED display devices in parallel, therefore, the preset address code is also referred to as an initial address code, the preset number in the series connection is the number of the LED display devices connected in series with each of the LED display devices in parallel.
In step S2, when all the LED display devices in parallel in a display module are connected in series with the same number of LED display devices respectively, the address code is written into the primary LED display device and the LED display devices in series with the primary LED display device respectively according to the preset address code and the preset number in the series connection, and then the address code is written into one or more LED display devices connected in parallel with the primary LED display device and the LED display devices connected in series with each of the one or more LED display devices in parallel with the primary LED display device successively in an address code ascending manner according to the preset address code and the preset number in the series connection.
With regard to step S2, actually, it can be understood that, the preset address code is acted as the address code of the primary LED display device, then the address code is written into the LED display devices in series with the primary LED display device successively in an address code ascending manner according to the preset number in the series connection, the address code of the following LED display device connected in parallel with the primary LED display device is obtained by increasing the address code of the previous LED display device, i.e. the LED display device which is connected in series with the primary LED display device and is the last one of the LED display devices in the same power supply branch.
In step S3, when the numbers of the LED display devices in series with respective LED display devices in parallel in the display module are not exactly the same or are totally different, the address code is written into one of LED display devices in parallel according to the preset address code, then the address code is written into the LED display devices in series with the one of LED display devices successively in an address code ascending manner at a time according to the preset address code and the preset number, and then return to step S1.
With regard to step S3, since the numbers of LED display devices in each power supply branch are not exactly the same or are totally different, it is impossible to automatically complete the writing of address codes into all the LED display devices by setting the address code and the number at a time. At a time, the address codes only can be written into one of the LED display devices in parallel and the LED display devices connected in series with the one of LED display devices in parallel, i.e. manual coding. In other words, during the writing of address codes every time, operators need to set the address code and the number in the series connection, then beginning from the primary LED display device in each power supply branch, i.e. one of the LED display devices in parallel, the address code is written into the LED display devices connected in series with the primary LED display device successively in an address code ascending manner according to the preset number. The efficiency of the writing address codes is not better than that of step S2; however, address codes still can be written into all the serial LED display devices in the same power supply branch at a time. Therefore, the efficiency also can be improved to some extent.
In step S4, when the address codes are successfully written into the LED display devices in the LED display module, an LED in the LED display device is driven to emit light of a first prompt color.
When the address codes are not successfully written into the LED display devices in the LED display module, the LED in the LED display device is driven to emit light of a second prompt color or controlled to emit no light.
The first color and the second color are different, for example, the first color is red, and the second is green.
According to another embodiment of the present invention, as shown in
Step 55, the preset address code and the preset number in the series connection are displayed.
Thus the preset address code of the LED display device and the preset number in the series connection can be learned clearly.
Exemplarily, the following will describe the method for writing address codes into LED display devices in detail.
(1) For the case of step S2, as shown in
(2) For the case of step S3, as shown in
In the embodiment, steps S101, S102 and S103 are the same with steps S1, S2 and S3 of
In step S104, when the address code is successfully written into the LED display device in the LED display module, an external display media connected to the LED display module is driven to display the present address code.
According to another embodiment of the present invention, as shown in
Step S105, the preset address code and the preset number in the series connection are displayed.
The system for writing address codes into LED display devices according to the embodiment of the present invention includes a setting module 100 and a main control module 200.
The setting module 100 is configured to generate a preset address code and a preset number in series connection according to user's settings.
The main control module 200 is configured to write an address code into an primary LED display device and the LED display devices in series with the primary LED display device respectively according to the preset address code and the preset number in the series connection when all the LED display devices in parallel in a display module are connected in series with the same number of LED display devices respectively, and write the address code into one or more LED display devices connected in parallel with the primary LED display device and the LED display devices connected in series with each of the one or more LED display devices in parallel with the primary LED display device successively in an address code ascending manner according to the preset address code and the preset number in the series connection.
when the numbers of the LED display devices in series with respective LED display devices in parallel in the display module are not exactly the same or are totally different, the main control module 200 writes the address code into one of
LED display devices in parallel according to the preset address code, and writes the address code into the LED display devices in series with the one of LED display devices successively in an address code ascending manner at a time according to the preset address code and the preset number in the series connection, and then returns to the setting module 100.
The writing system for address codes further includes:
a light prompt driving module 300 disposed in the LED display device, configured to drive an LED in the LED display device to emit light of a first prompt color when the address codes are successfully written into the LED display devices in the LED display module.
When the address codes are not successfully written into the LED display devices in the LED display module, the light prompt driving module 300 drives the LED in the LED display device to emit light of a second prompt color or controls the LED in the LED display device to emit no light.
In practical applications, the above-mentioned system can be implemented in particular as follows.
The setting module 100 can be an encode circuit with a multi-bit dial switch and a key, the multi-bit dial switch and the key can be operated to set the preset address code and the preset number in the series connection.
The main control module 200 can be a control circuit having a microprocessor and a converting circuit of output signals. When all the LED display devices in parallel in the display module are connected in series with the same number of the LED display devices, the main control module 200 automatically writes the address code into the LED display devices from the primary LED display device to the last LED display device successively in an address code ascending manner at a time according to the address code and the number in the series connection preset by the setting module 100. When the numbers of LED display devices in series with respective LED display devices in parallel in the display module are not exactly the same or are totally different, after the address code and the number are set by several times by the setting module 100, the main control module 200 only writes the address code into one of the LED display devices in parallel and the LED display devices connected in series with the one of LED display devices at a time. The converting circuit of output signals is mainly configured to convert writing signals output by a microcontroller to RS485 signals and TTL signals with voltage from 5V to 12V, and output the RS485 signals and TTL signals to the LED display device so as to complete the writing of address code.
The light prompt driving module 300 can be a drive circuit used for driving the LED to emit light. When the address codes are successfully written into the LED display devices, the LED in the LED display device is driven to emit light of the first prompt color such as green. When the address codes are not successfully written into the LED display devices, the LED in the LED display device is driven to emit light of the second prompt color such as red or controlled to emit no light.
It is to be noted that, when all switches in the multi-bit dial switch are switched to default states or grounded, i.e. all the LED display devices in parallel in the LED display module are not connected in series with any LED display devices, it is not necessary to preset the number in the series connection.
In order to clearly learn the preset address code of the LED display device and the preset number in the series connection, as shown in
A display module 400, configured to display the preset address code and the preset number in the series connection.
In practical applications, the above-mentioned system including the display module 400 can be implemented in particular as follows.
The setting module 100 can be an encode circuit having a plurality of keys, the plurality of keys can be operated to set the preset address code and the preset number in the series connection. According to this implementation different from relative to the above multi-bit dial switch, a plurality of keystrokes are needed to perform addition or subtraction on address codes and the number in the series connection. The setting can be completed; however, it is more complex than the implementation using the multi-bit dial switch.
The main control module 200 can be a control circuit having a microprocessor and a converting circuit of output signals. When all the LED display devices in parallel in the display module are connected in series with the same number of LED display devices respectively, the main control module 200 automatically writes the address code into the LED display devices from the primary LED display device to the last LED display device successively in an address code ascending manner at a time according to the address code and the number in the series connection preset by the setting module 100. When the numbers of LED display device in series with respective LED display devices in parallel in the display module are not exactly the same or are totally different, after the address code and the number are set by several times by the setting module 100, the main control module 200 only writes the address code into one of the LED display devices in parallel and the LED display devices in series with the one of LED display device at a time. The converting circuit of output signals is mainly configured to convert writing signals output by the microcontroller to the RS485 signals and TTL signals with voltage from 5V to 12V, and output the RS485 signals and TTL signals to the LED display device so as to complete the writing of address codes.
The light prompt driving module 300 can be a drive circuit used for driving the LED to emit light. When the address codes are successfully written into the LED display devices, the light prompt driving module 300 drives the LED in the LED display device to emit light of the first prompt color, such as green. When the address codes are not successfully written into the LED display devices, the light prompt driving module 300 drives the LED in the LED display device to emit light of the second prompt color such as red for or controls the LED in the LED display device to emit no light.
The display module 400 can be an LCD display or an LED display.
The implementation of the writing system of the address code according to the present invention are not limited to the above-mentioned implementations, in other implementations, a multi-bit dial switch can be used together with the LCD display or the LED display to display the address code and the number.
A system for writing address codes into LED display devices according to the embodiment of the present invention includes a setting module 110 and a main control module 210, the setting module 110 and the main control module 210 are the same with the setting module 100 and the main control module 200 respectively, which are not explained here. The writing system of the address code according to the embodiment of the present invention further includes:
A display driver module 310, configured to drive an external display media connected to the LED display module to display the present address code when the address code is successfully written into the LED display device in the LED display module.
In practical applications, the display driver module 310 can be a drive circuit of the external display media, and is used to drive the display media, such as the LED display, the LCD display or a display array comprised by a plurality of LEDs, to display the address code which has been successfully written into the LED display device.
According to another embodiment of the present invention, as shown in
a display module 410, configured to display the preset address code and the preset number in the series connection.
According to the embodiments of the present invention, when all the LED display devices in parallel in the display module are connected in series with the same number of LED display devices, the address code is written into the primary LED display device and the LED display devices in series with the primary LED display device respectively according to the preset address code and the preset number in the series connection, and the address code is written into one or more LED display devices connected in parallel with the primary LED display device and the LED display devices connected in series with each of the one or more LED display devices in parallel with the primary LED display device successively in an address code ascending manner. Thus address codes are written into the LED display devices at a time, it is not necessary to write address codes into the LED display devices one by one, therefore, the efficiency of writing codes is improved.
What described above are only preferred embodiments of the present disclosure but are not intended to limit the scope of the present disclosure, any modifications, equivalent replacements and improvements etc. made within the spirit and principle of the present invention, should be included in the protection scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
201310169176.5 | May 2013 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2013/090870 | 12/30/2013 | WO | 00 |