CN104143316A - Mobile phone Bluetooth LED follow-up display communication method - Google Patents
Mobile phone Bluetooth LED follow-up display communication method Download PDFInfo
- Publication number
- CN104143316A CN104143316A CN201410384367.8A CN201410384367A CN104143316A CN 104143316 A CN104143316 A CN 104143316A CN 201410384367 A CN201410384367 A CN 201410384367A CN 104143316 A CN104143316 A CN 104143316A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- module
- field
- mobile phone
- led
- 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.)
- Pending
Links
Classifications
-
- Y02B60/50—
Landscapes
- Telephone Function (AREA)
Abstract
The invention relates to the communication field, in particular to a mobile phone Bluetooth LED follow-up display communication method. The method aims to solve the problems that display information of an existing LED dot-matrix display screen can not be conveniently modified, equipment wiring and the equipment layout are complex and disorderly and the LED dot-matrix display screen can not be conveniently moved. According to the method, by establishing wireless data communication connection between a mobile phone and an LED display screen through a Bluetooth module, the information of the LED dot-matrix display screen can be easily and freely modified. Compared with the common LED dot-matrix display screen, the LED display screen has the advantages that the information can be conveniently modified, operation is easy and the flexibility is good; based on mobile phone Bluetooth control, the LED display screen further has the advantages of being small in size, light in weight, low in power consumption, practical and economical, saving space and the like. The method is suitable for the communication field.
Description
Technical field
The present invention relates to the communications field.
Background technology
LED dot matrix display screen is mainly used in the places such as supermarket, market, school, dining room, hotel, amusement, if the demonstration informational needs changing is above connected to computing machine or indirectly revises by computing machine, seems very inconvenient for domestic consumer; Wired LED dot matrix display screen also can be because of cabling or layout and the too fat to move confusion that seems, and inconvenience is mobile, and background computer is also wanted the occupying volume external space in addition.
Summary of the invention
The present invention is in order to solve existing LED dot matrix display screen amendment demonstration information inconvenience, equipment cabling, the too fat to move confusion of layout, and the problem that inconvenience is mobile, thus provide a kind of Bluetooth of mobile phone LED with aobvious communication means.
Bluetooth of mobile phone LED is with aobvious communication means, and the method is by realizing with lower device, and described device comprises that host computer Bluetooth of mobile phone Android application module 1, bluetooth are from module 2, master controller 3, LED dot matrix display panel 4 and power supply;
Bluetooth of mobile phone primary module 1-1 in host computer Bluetooth of mobile phone Android application module 1 and bluetooth are from module 2 wireless connections, bluetooth is connected with master controller 3 by serial communication interface from module 2, the control signal output terminal of master controller 3 connects the control signal input end of LED dot matrix display panel 4, and power supply is for powering to master controller 3 and LED dot matrix display panel 4;
Master controller 3 comprises one-chip computer module, hummer module, ISP interface module, high pass dot matrix word library modular converter, drive circuit module, decoding scheme module and LED interface module;
Hummer module is used for reminding user's bluetooth to send prompt tone from module 2 completes reception data;
ISP interface module is for programming and on-line debugging to one-chip computer module;
High pass dot matrix word library modular converter is for converting LED dot-matrix to Chinese character;
Drive circuit module, for signal is amplified to processing, is used for driving LED dot matrix display panel 4 by the signal driver after amplifying;
Decoding scheme module is for becoming required output signal by code translation;
LED interface module is carried out dot matrix display data transmissions for master controller 3 and LED dot matrix display panel 4;
The Frame that step 1, Bluetooth of mobile phone primary module 1-1 adopt RS-232C agreement to send continuously to channel; The form of described every frame data is:
Instruction type field, U1 field, U2 field, U3 field, U4 field and U5 field;
Each field comprises 2 byte information, described U1 field, U2 field, U3 field, U4 field and U5 field are used for depositing host computer and send to slave computer coding, described instruction type field sends to the instruction of slave computer for recording host computer, described U1 field, U2 field, U3 field, U4 field and U5 field all send to the data of slave computer for recording host computer;
Step 2, bluetooth from module 2 for receiving data frames, the concurrent master controller 3 that is fed to, master controller 3 sends control command to LED dot matrix display panel 4 according to the instruction type in Frame;
Step 3, LED dot matrix display panel 4 the U1 field to every frame data, U2 field, U3 field, U4 field and U5 field under the control of master controller 3 show.
The invention has the beneficial effects as follows: the present invention sets up mobile phone by bluetooth module and is connected with the wireless data communications of LED display, realize the simple and relax amendment of LED dot matrix display screen information, there is information amendment convenient compared with common LED dot matrix display screen, easy to operate, the characteristic such as dirigibility is good, the present invention is based on Bluetooth of mobile phone control, also there is volume little, lightweight, save space, low in energy consumption, the features such as Applied economy.
As shown in Figure 6, LED display panel adopts independent design, long 386mm, wide 76mm, arranges 4 mounting holes, and each mounting hole diameter is 4mm, display panel adopts the thick PCB board design of 2mm, and panel is provided with the capable image matrix of 80 row x16, and picture element adopts 3.0mm high-brightness LED lamp pearl, long 3mm, wide 1.4mm, low light attenuation, scattering angle are large, environmental protection and energy saving, and sweep current is in 30mA situation, luminous flux is 10-11lm, and LED lamp pearl is put by 45 degree slant settings.
Brief description of the drawings
Fig. 1 is the process flow diagram of Bluetooth of mobile phone LED with aobvious communication means;
Fig. 2 is the workflow diagram of embodiment two;
Fig. 3 is the workflow diagram of embodiment three;
Fig. 4 is the workflow diagram of embodiment four;
Fig. 5 is upper-layer protocol data layout;
Fig. 6 is LED dot matrix display panel 4 structural drawing.
Embodiment
Embodiment one: present embodiment is described below in conjunction with Fig. 1 and Fig. 5, Bluetooth of mobile phone LED described in present embodiment is with aobvious communication means, the method is by realizing with lower device, and described device comprises that host computer Bluetooth of mobile phone Android application module 1, bluetooth are from module 2, master controller 3, LED dot matrix display panel 4 and power supply;
Bluetooth of mobile phone primary module 1-1 in host computer Bluetooth of mobile phone Android application module 1 and bluetooth are from module 2 wireless connections, bluetooth is connected with master controller 3 by serial communication interface from module 2, the control signal output terminal of master controller 3 connects the control signal input end of LED dot matrix display panel 4, and power supply is for powering to master controller 3 and LED dot matrix display panel 4;
Master controller 3 comprises one-chip computer module, hummer module, ISP interface module, high pass dot matrix word library modular converter, drive circuit module, decoding scheme module and LED interface module;
Hummer module is used for reminding user's bluetooth to send prompt tone from module 2 completes reception data;
ISP interface module is for programming and on-line debugging to one-chip computer module;
High pass dot matrix word library modular converter is for converting LED dot-matrix to Chinese character;
Drive circuit module, for signal is amplified to processing, is used for driving LED dot matrix display panel 4 by the signal driver after amplifying;
Decoding scheme module is for becoming required output signal by code translation;
LED interface module is carried out dot matrix display data transmissions for master controller 3 and LED dot matrix display panel 4;
The Frame that step 1, Bluetooth of mobile phone primary module 1-1 adopt RS-232C agreement to send continuously to channel; The form of described every frame data is:
Instruction type field, U1 field, U2 field, U3 field, U4 field and U5 field;
Each field comprises 2 byte information, described U1 field, U2 field, U3 field, U4 field and U5 field are used for depositing host computer and send to slave computer coding, described instruction type field sends to the instruction of slave computer for recording host computer, described U1 field, U2 field, U3 field, U4 field and U5 field all send to the data of slave computer for recording host computer;
Step 2, bluetooth from module 2 for receiving data frames, the concurrent master controller 3 that is fed to, master controller 3 sends control command to LED dot matrix display panel 4 according to the instruction type in Frame;
Step 3, LED dot matrix display panel 4 the U1 field to every frame data, U2 field, U3 field, U4 field and U5 field under the control of master controller 3 show.
Principle of work: the bluetooth in being searched around first Bluetooth of mobile phone primary module 1-1 searches is from module 2, find after bluetooth equipment, match with it, after having matched, main equipment can be to making a call from equipment, after link establishment success, between master-slave equipment, can carry out data communication, Bluetooth of mobile phone primary module 1-1 sends to bluetooth from module 2 by demonstration information, and master controller, from bluetooth from module 2 reception information, converts thereof into lattice information and refreshes LED dot matrix display panel.In communication process, main equipment can be initiated chain rupture, disconnects Bluetooth link.
Embodiment two: below in conjunction with Fig. 2, present embodiment is described, present embodiment is further qualified with aobvious communication means the Bluetooth of mobile phone LED described in embodiment one, in present embodiment, the concrete process of step 1 is:
The Bluetooth of mobile phone primary module 1-1 of step one by one, in host computer Bluetooth of mobile phone Android application module 1 carries out application initialization;
Step 1 two, Bluetooth of mobile phone primary module 1-1 carry out bluetooth discovery designated equipment, and judge whether searching designated equipment, and judged result is yes, and Bluetooth of mobile phone primary module 1-1 carries out bluetooth connection; Judged result is no, and Bluetooth of mobile phone primary module 1-1 re-starts bluetooth discovery designated equipment; Bluetooth of mobile phone primary module 1-1 carries out judging whether successful connection in bluetooth connection procedure, and judged result is yes, the data to be sent such as; Judged result is no, again the designated equipment of trembling is connected.
Embodiment three: below in conjunction with Fig. 3, present embodiment is described, present embodiment is further qualified with aobvious communication means the Bluetooth of mobile phone LED described in embodiment one, in present embodiment, the concrete process of step 2 is:
Step 2 one, bluetooth are carried out initialization from module 2 ports;
Step 2 two, judge whether bluetooth is established Bluetooth communication from module 2, and judged result is yes, bluetooth is carried out being connected of equipment from module 2 with Bluetooth of mobile phone primary module 1-1; Judged result is no, again bluetooth is carried out to being connected of equipment from module 2 with Bluetooth of mobile phone primary module 1-1;
Step 2 three, judge that bluetooth carries out the whether success that is connected of equipment from module 2 and Bluetooth of mobile phone primary module 1-1, judged result be yes, and bluetooth is from wait reception data between module 2 and Bluetooth of mobile phone primary module 1-1; Judged result is no, again bluetooth is carried out to being connected of equipment from module 2 with Bluetooth of mobile phone primary module 1-1.
Embodiment four: below in conjunction with Fig. 4, present embodiment is described, present embodiment is further qualified with aobvious communication means the Bluetooth of mobile phone LED described in embodiment one, in present embodiment, the concrete process of step 3 is:
Step 3 one, bluetooth pass to master controller 3 by the data-signal receiving by serial communication interface from module 2;
Step 3 two, master controller 3 convert the data-signal receiving to dot matrix demonstration information and send to LED dot matrix display panel 4;
Step 3 three, LED dot matrix display panel 4 refresh demonstration according to dot matrix demonstration information.
In present embodiment, native system communication module adopts wireless serial bluetooth slave module HC-06, default parameters: slave, 9600, N, 8,1.Pairing password: 1234.Concrete Bluetooth communication protocol is encapsulated in this module.Serial communication data layout, baud rate 9600bps, no parity position, 8 bit data positions, 1 position of rest.
Upper-layer protocol data layout comprises 6 fields: instruction type field, U1 field, U2 field, U3 field, U4 field, U5 field.Each field comprises 2 byte information, and Ux (x=1..5) sends to the Unicode coding of master controller for depositing host computer, and it is instruction or data that instruction type field is used for distinguishing the information that host computer sends to master controller.Master controller is resolved instruction type field after all receiving 12 bytes, if U1-U5 field is given up in instruction (instruction type field value is " CM "); If data (instruction type field value is " DD "), continue to convert U1-U5 field to dot matrix and show information, as shown in Figure 5.
Embodiment five, present embodiment are further qualified with aobvious communication means the Bluetooth of mobile phone LED described in embodiment one, and LED dot matrix display panel 4 is outdoor high-brightness LED lamp pearl dot matrix.
In present embodiment, LED dot matrix display panel 4 has two kinds of replacing structures: 3mm dot matrix and 5mm dot matrix, and wherein the former demonstration information is finer and smoother, but display font is less; The latter's display font is larger, but shows slightly coarse.
Embodiment six, present embodiment are further qualified with aobvious communication means the Bluetooth of mobile phone LED described in embodiment one, and master controller 3 adopts chip microcontroller.
Embodiment seven, present embodiment are further qualified with aobvious communication means the Bluetooth of mobile phone LED described in embodiment one, and master controller 3 adopts PIC series monolithic to realize.
Embodiment eight, present embodiment are further qualified with aobvious communication means the Bluetooth of mobile phone LED described in embodiment one, and it is the chip microcontroller of PIC18F4580 that master controller 3 adopts model.
Single-chip microcomputer in present embodiment is selected PIC18F4580, and it is abundant that it controls pin, and low in energy consumption, antijamming capability is strong, has reduced the novel cost of this reality, has improved the stability of system operation.
Single-chip microcomputer is selected PIC18F4580, built-in 32K program storage, and 1.5K data-carrier store, 36 I/O pins, can deposit and process more dot matrix font information.
Claims (4)
1. Bluetooth of mobile phone LED is with aobvious communication means, the method is by realizing with lower device, and described device comprises that host computer Bluetooth of mobile phone Android application module (1), bluetooth are from module (2), master controller (3), LED dot matrix display panel (4) and power supply;
Bluetooth of mobile phone primary module (1-1) in host computer Bluetooth of mobile phone Android application module (1) and bluetooth are from module (2) wireless connections, bluetooth is connected with master controller (3) by serial communication interface from module (2), the control signal output terminal of master controller (3) connects the control signal input end of LED dot matrix display panel (4), and power supply is for powering to master controller (3) and LED dot matrix display panel (4);
Master controller (3) comprises one-chip computer module, hummer module, ISP interface module, high pass dot matrix word library modular converter, drive circuit module, decoding scheme module and LED interface module;
Hummer module is used for reminding user's bluetooth to send prompt tone from module (2) completes reception data;
ISP interface module is for programming and on-line debugging to one-chip computer module;
High pass dot matrix word library modular converter is for converting LED dot-matrix to Chinese character;
Drive circuit module, for signal is amplified to processing, is used for driving LED dot matrix display panel (4) by the signal driver after amplifying;
Decoding scheme module is for becoming required output signal by code translation;
LED interface module is carried out dot matrix display data transmissions for master controller (3) and LED dot matrix display panel (4);
It is characterized in that:
The Frame that step 1, Bluetooth of mobile phone primary module (1-1) adopt RS-232C agreement to send continuously to channel; The form of described every frame data is:
Instruction type field, U1 field, U2 field, U3 field, U4 field and U5 field;
Each field comprises 2 byte information, described U1 field, U2 field, U3 field, U4 field and U5 field are used for depositing host computer and send to slave computer coding, described instruction type field sends to the instruction of slave computer for recording host computer, described U1 field, U2 field, U3 field, U4 field and U5 field all send to the data of slave computer for recording host computer;
Step 2, bluetooth from module (2) for receiving data frames, the concurrent master controller (3) that is fed to, master controller (3) sends control command to LED dot matrix display panel (4) according to the instruction type in Frame;
Step 3, LED dot matrix display panel (4) the U1 field to every frame data, U2 field, U3 field, U4 field and U5 field under the control of master controller (3) show.
2. Bluetooth of mobile phone LED according to claim 1, with aobvious communication means, is characterized in that: the concrete process of step 1 is:
The Bluetooth of mobile phone primary module (1-1) of step one by one, in host computer Bluetooth of mobile phone Android application module (1) carries out application initialization;
Step 1 two, Bluetooth of mobile phone primary module (1-1) carry out bluetooth discovery designated equipment, and judge whether searching designated equipment, and judged result is yes, and Bluetooth of mobile phone primary module (1-1) carries out bluetooth connection; Judged result is no, and Bluetooth of mobile phone primary module (1-1) re-starts bluetooth discovery designated equipment; Bluetooth of mobile phone primary module (1-1) carries out judging whether successful connection in bluetooth connection procedure, and judged result is yes, the data to be sent such as; Judged result is no, again the designated equipment of trembling is connected.
3. Bluetooth of mobile phone LED according to claim 1, with aobvious communication means, is characterized in that: the concrete process of step 2 is:
Step 2 one, bluetooth are carried out initialization from module (2) port;
Step 2 two, judge whether bluetooth is established Bluetooth communication from module (2), and judged result is yes, bluetooth is carried out being connected of equipment from module (2) with Bluetooth of mobile phone primary module (1-1); Judged result is no, again bluetooth is carried out to being connected of equipment from module (2) with Bluetooth of mobile phone primary module (1-1);
Step 2 three, judge that bluetooth carries out the whether success that is connected of equipment from module (2) and Bluetooth of mobile phone primary module (1-1), judged result is yes, and bluetooth receives data from waiting between module (2) and Bluetooth of mobile phone primary module (1-1); Judged result is no, again bluetooth is carried out to being connected of equipment from module (2) with Bluetooth of mobile phone primary module (1-1).
4. Bluetooth of mobile phone LED according to claim 1, with aobvious communication means, is characterized in that: the concrete process of step 3 is:
Step 3 one, bluetooth pass to master controller (3) by the data-signal receiving by serial communication interface from module (2);
Step 3 two, master controller (3) convert the data-signal receiving to dot matrix demonstration information and send to LED dot matrix display panel (4);
Step 3 three, LED dot matrix display panel (4) refresh demonstration according to dot matrix demonstration information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410384367.8A CN104143316A (en) | 2014-08-06 | 2014-08-06 | Mobile phone Bluetooth LED follow-up display communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410384367.8A CN104143316A (en) | 2014-08-06 | 2014-08-06 | Mobile phone Bluetooth LED follow-up display communication method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104143316A true CN104143316A (en) | 2014-11-12 |
Family
ID=51852476
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410384367.8A Pending CN104143316A (en) | 2014-08-06 | 2014-08-06 | Mobile phone Bluetooth LED follow-up display communication method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104143316A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106488395A (en) * | 2016-11-28 | 2017-03-08 | 石狮市森科智能科技有限公司 | A kind of LED display methods based on Bluetooth transmission protocol |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102724357A (en) * | 2012-05-28 | 2012-10-10 | 深圳市聚智德科技有限公司 | Light emitting diode (LED) dot matrix display screen control method and system based on mobile terminal |
-
2014
- 2014-08-06 CN CN201410384367.8A patent/CN104143316A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102724357A (en) * | 2012-05-28 | 2012-10-10 | 深圳市聚智德科技有限公司 | Light emitting diode (LED) dot matrix display screen control method and system based on mobile terminal |
Non-Patent Citations (3)
Title |
---|
章玲: "基于手机蓝牙控制的LED广告屏设计", 《机电技术》 * |
章玲: "基于手机蓝牙控制的LED广告屏设计", 《机电技术》, 30 August 2013 (2013-08-30) * |
蔡植善: "一种采用蓝牙技术控制的LED点阵屏设计", 《电气自动化》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106488395A (en) * | 2016-11-28 | 2017-03-08 | 石狮市森科智能科技有限公司 | A kind of LED display methods based on Bluetooth transmission protocol |
CN106488395B (en) * | 2016-11-28 | 2019-09-27 | 石狮市森科智能科技有限公司 | A kind of LED display methods based on Bluetooth transmission protocol |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102289359B (en) | Wireless light emitting diode (LED) display screen control system based on ZigBee | |
CN203775493U (en) | A household intelligent led lighting device | |
CN107015507B (en) | Comprehensive expansion system of central controller | |
CN103997578A (en) | 3D cubic LED lamp displayer based on smart phone platform control | |
WO2017206738A1 (en) | Bluetooth controller | |
CN203134324U (en) | Mobile phone controlled LED display device | |
CN201993902U (en) | Light-emitting diode (LED) display screen wireless remote control debugging system | |
JP5800153B2 (en) | Power supply device and lighting control system for controlling lighting fixture | |
WO2017206637A1 (en) | Bluetooth control power source | |
CN104143316A (en) | Mobile phone Bluetooth LED follow-up display communication method | |
CN203554745U (en) | Intelligent illumination controlling device | |
CN203930320U (en) | The intelligent projector of a kind of console mode LED | |
CN204695290U (en) | A kind of LED lattice display screen system based on MSP430 | |
CN104595855A (en) | Intelligent lighting system based on wireless network control | |
CN102157132B (en) | Panel-controlled display system | |
CN210629870U (en) | Temperature time control and voice recognition system based on Internet of things | |
TWI742478B (en) | Dynamic light field system and its use method | |
CN206741908U (en) | A kind of control device for display screen | |
CN209560317U (en) | Intelligent radio switching system based on Android control | |
CN207008338U (en) | A kind of central controller integrates extension system | |
CN207298511U (en) | The desk lamp of information prompting function | |
CN111199663A (en) | Device and system for remotely controlling intelligent blackboard through mobile terminal | |
CN204573924U (en) | Based on the intelligent illuminating system of wireless network control | |
CN206411652U (en) | It is a kind of based on be wirelessly transferred control signal processing screen control system | |
CN110398945A (en) | A kind of system that intelligent sound controls LED bulb and household electrical appliance |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20141112 |