CN106061044A - Intelligent lamp control method and intelligent lamp control system based on DTMF mode - Google Patents
Intelligent lamp control method and intelligent lamp control system based on DTMF mode Download PDFInfo
- Publication number
- CN106061044A CN106061044A CN201610612598.9A CN201610612598A CN106061044A CN 106061044 A CN106061044 A CN 106061044A CN 201610612598 A CN201610612598 A CN 201610612598A CN 106061044 A CN106061044 A CN 106061044A
- Authority
- CN
- China
- Prior art keywords
- dtmf
- lamp control
- intelligent lamp
- module
- control method
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/10—Controlling the intensity of the light
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention discloses an intelligent lamp control method based on a DTMF mode, comprising the following steps: collecting audio data, and segmenting audio data stream at a certain time interval; putting three adjacent audio data units in a group; and selecting DTMF signals correspondingly controlling the color, brightness and frequency of a lamp for each group to determine the working mode of the lamp. An intelligent lamp control system based on a DTMF mode comprises an intelligent terminal, a Bluetooth module, an audio playback module, a microprocessor, an audio signal sampling circuit, a DTMF signal extracting and decoding module, and an LED control circuit. A variety of states of a RGBW lamp can be realized using a thrice dual-tone multi-frequency signaling processing mode, so the function of music rhythm is achieved. The method and the system are widely used in the field of lighting.
Description
Technical field
The present invention relates to lighting field, a kind of intelligent lamp control method based on DTMF pattern and control system.
Background technology
DTMF (Dual Tone Multi Frequency) touch-tone signal, telephone set and switch in telephone system
Between a kind of subscriber signaling, be generally used for send called number.
Touch-tone signal is made up of high frequency group and low frequency group, and just frequency group respectively comprises 4 frequencies.One high-frequency signal and
One low frequency signal superposition one composite signal of composition, represents a numeral.Dtmf signaling has 16 codings.Utilize dtmf signaling
The corresponding transmitter receiver of optional calling.Before using touch-tone signal, telephone system uses a series of interrupting pulse
Transmit called number, referred to as pulse dialing.Pulse dialing needs the operator in telecommunication bureau to have been manually done trunk connection.Double-tone
Multiple-frequency signal is AT&T Labs's invention, its purpose is to be automatically performed trunk call, and it is that a kind of push-button telephone makes
Dialing tone.This dialing tone utilizes the synthesis of the sound of two different frequencies to represent 0~the 9 of phone, *, # button (as
Shown in table 1).Dial telephone is possible not only to be sent to dialing tone the switch of telephone office, in order to phone number to be called to be described
Code, it is also possible to utilize automatic sound answering system to carry out number selection.When utilizing voip technology etc. to carry out sound compression transmission,
Transmission signal sound that can not be correct due to sound variation, hence with during the transmission signal sounds such as voip technology can not former state direct
Transmit, the numerical data conversion of necessity will be carried out.This function is referred to as dtmf relay.
Along with the change of people's consumption idea, pursuing the epoch of featured function at various media products, consumer is no longer
It is satisfied with single hearing enjoying, is more likely to the product having audio visual effect all good.Baffle Box of Bluetooth popular in existing market
Would generally combine with LED, or carry out the most color transformed, meet consumer to a certain extent current
Demand.Single in the color transformed aspect method controlling LED, the strongest with music rhythm cadence synchronization sense;And to sound waves
Graphic data carries out the fft algorithm of fast Flourier spectrum analysis and takies a lot of CPU, if frequency spectrum further extracts envelope letter
Number, add the requirement of real-time, then the response speed that CPU processes other instruction tasks is the fastest, and to hardware
Requiring height, required cost is higher, is not suitable for miscellaneous goods.It is therefore desirable to improve.
Summary of the invention
In order to solve above-mentioned technical problem, it is an object of the invention to provide a kind of intelligent lamp control method based on DTMF pattern
And control system.
The technical solution adopted in the present invention is: a kind of intelligent lamp control method based on DTMF pattern, including:
Gather voice data, and voice data stream is carried out at a time interval segmentation;
Three adjacent audio data unit are divided into one group;
Choose often group correspondence and control the color of light fixture, brightness and the dtmf signal of frequency, to determine the mode of operation of light fixture.
As the improvement of this technical scheme, by the voice data stream number consecutively of segmentation and be grouped.
As the improvement of this technical scheme, the color settings of described light fixture is 16 kinds of patterns, including 4 kinds of monochromes, 6 kinds double-colored
Mixing, 4 kind of three mixture of colours, four mixture of colours and light fixture do not work.
As the improvement of this technical scheme, described brightness includes 16 grades of brightness.
As the further improvement of this technical scheme, described 4 kinds of monochromes include redness, green, blue and white.
As the further improvement of this technical scheme, extract the color of light fixture, brightness and frequency signal respectively, form light fixture
A kind of mode of operation.
On the other hand, the present invention also provides for a kind of intelligent lamp control system based on DTMF pattern, including: intelligent terminal,
Bluetooth module, audio playing module, microprocessor, sampled audio signal circuit, dtmf signal extract and decoder module and LED control
Circuit processed;
Described dtmf signal extracts and is connected with the input of microprocessor with the outfan of decoder module;
The outfan of described microprocessor is connected with the input of LED control circuit;
Described light control module includes that MCU and bluetooth, described bluetooth are connected with MCU;
Described intelligent terminal is connected with audio playing module by bluetooth module;
Described bluetooth module is connected with decoder module with dtmf signal extraction by sampled audio signal circuit.
The invention has the beneficial effects as follows: a kind of based on DTMF pattern intelligent lamp control method and control that the present invention provides are
System, have employed the DTMF in communication technology, utilizes the dual-tone multifrequency signaling processing mode of three times can realize multiple RGBW lamp
State, thus realize music regular movements function.This programme, based on stable Bluetooth audio frequency data channel, adds one and controls intelligence
The mode of lamp, can realize music regular movements in the product of Baffle Box of Bluetooth and intelligent lamp, and low to hardware requirement, processing speed is more
Hurry up, and can have good concordance with the rhythm of music, client's demand for music regular movements function can be met.
Accompanying drawing explanation
Below in conjunction with the accompanying drawings the detailed description of the invention of the present invention is described further:
Fig. 1 is the method flow schematic diagram of one embodiment of the invention;
Fig. 2 is the module connection diagram of one embodiment of the invention.
Detailed description of the invention
It should be noted that in the case of not conflicting, the embodiment in the application and the feature in embodiment can phases
Combination mutually.
The present invention provides a kind of intelligent lamp control method based on DTMF pattern, by mobile phone and Baffle Box of Bluetooth light control module
Bluetooth module successful matching after, utilize mobile phone A PP play one section of about 100ms audio frequency, this section audio be used for extract DTMF
Signal, utilizes program to set the pattern of extracted signal.In mobile phone music player, play music simultaneously, pass through
The audio frequency of 100ms, takes the signaling method of DTMF to obtain desired signal.Wherein, table 1 illustrates the frequency of each dtmf signal
Rate.
Table 1
What audio signal was divided into several length phases waits time-based unit, the corresponding one group of dtmf signal of each time-based unit,
Adjacent three sections of time-based units T, T+1, T+2 are divided into one group, and three unit in each group are by the DTMF of its correspondence respectively
Control color R/G/B/W of LED, brightness L and frequency F (time interval t).
Such as: T road signal is set as selecting 16 kinds of lamp colors, being wherein respectively as follows: monochrome is 4 kinds, and R/G/B/W is double-colored
It is mixed into 6 kinds, RG/RB/RW/GB/GW/BW, trichroism it is mixed into 4 kinds, RGB/RBW/RGW/GBW, four mixture of colours a kind, RGBW, this
It is the situation of the color of 15 kinds of different lamps, the situation that a kind of lamp does not works entirely, come to 16 kinds.T+1 road signal sets
For selecting 16 grades of brightness, the most respectively the 1st grade, the 2nd grade, 3rd level ... the 15th grade, 16 grades of brightness.T+2 road signal sets
It is set to selection time interval t, respectively t/2t/3t......15t/16t, by that analogy.In the journey set by microprocessor
In sequence, according to the next concrete color of control R/G/B/W tetra-colored lights of the pattern of extracted signal, intensity gray scale, scintillation time etc..
The bright sudden strain of a muscle pattern selecting a kind of lamp needs the time extracting dtmf signaling, i.e. 300ms 3 times.After setting this pattern, by this
Individual Baffle Box of Bluetooth play music time, intelligent lamp can along with music regular movements the color of anomaloscope, brightness, scintillation time interval,
Thus realize music regular movements function.
Table 2
R | G | B | W | RG | RB | RW | GB |
GW | BW | RGB | RBW | RGW | GBW | RGBW | Entirely go out |
Table 3
1 grade | 2 grades | ...... | 15 grades | 16 grades |
Table 4
t | 2t | ...... | 15t | 16t |
In table 2, table 3 and 4 three forms of table, choose a kind of parameter respectively, i.e. constitute the state of a kind of lamp: color * is bright
Degree * frequency.
With reference to Fig. 1, it it is the method flow schematic diagram of one embodiment of the invention.A kind of intelligent lamp prosecutor based on DTMF pattern
Method, including:
Gather voice data, and voice data stream is carried out at a time interval segmentation;
Three adjacent audio data unit are divided into one group;
Choose often group correspondence and control the color of light fixture, brightness and the dtmf signal of frequency, to determine the mode of operation of light fixture.
As the improvement of this technical scheme, by the voice data stream number consecutively of segmentation and be grouped.
As the improvement of this technical scheme, the color settings of described light fixture is 16 kinds of patterns, including 4 kinds of monochromes, 6 kinds double-colored
Mixing, 4 kind of three mixture of colours, four mixture of colours and light fixture do not work.
As the improvement of this technical scheme, described brightness includes 16 grades of brightness.
As the further improvement of this technical scheme, described 4 kinds of monochromes include redness, green, blue and white.
As the further improvement of this technical scheme, extract the color of light fixture, brightness and frequency signal respectively, form light fixture
A kind of mode of operation.
First audio data samples is carried out;Then voice data stream is carried out at a time interval segmentation numbered T;
Voice data after segmentation is grouped;T and 3 is carried out complementation computing;If T%3=0, then extract dtmf signal and decode,
R/G/B/W selects signal to determine color mode;If T%3=1, then extract dtmf signal and decode, selecting brightness control signal;
If T%3=2, then extract dtmf signal and decode, selecting frequency control signal;According to the determination of three kinds of unlike signals, and then really
Determine the mode of operation of intelligent lamp.As an embodiment, numbering and 3 is carried out complementation computing, if its value is 0, then extract DTMA
Signal also decodes, and carries out color control signal selection;If its value is 1, then extracts DTMA signal and decode, carrying out brilliance control letter
Number select;If its value is 2, then extracts DTMA signal and decode, carrying out frequency control signal selection.
With reference to Fig. 2, it it is the module connection diagram of one embodiment of the invention.A kind of intelligent lamp based on DTMF pattern controls
System, including: intelligent terminal such as mobile phone, bluetooth module, audio playing module, microprocessor, sampled audio signal circuit, DTMF
Signal extraction and decoder module and LED control circuit;
Described dtmf signal extracts and is connected with the input of microprocessor with the outfan of decoder module;
The outfan of described microprocessor is connected with the input of LED control circuit;
Described light control module includes that MCU and bluetooth, described bluetooth are connected with MCU;
Described intelligent terminal is connected with audio playing module by bluetooth module;
Described bluetooth module is connected with decoder module with dtmf signal extraction by sampled audio signal circuit.
This bluetooth connection protocol uses traditional Baffle Box of Bluetooth connection protocol, convenient connection to match and stable.
The present invention achieves control intelligent lamp by the way of audio transmission data.And traditional Baffle Box of Bluetooth increases intelligence
The function of lamp control, simply individually does a bluetooth module, it is achieved with the communication of APP, or not having cell phone managing function, process is multiple
Miscellaneous.
The technical method of this maturation of DTMF is applied in music rhythm scene, is come respectively by three groups of dtmf signals
Control color R/G/B/W of LED, brightness degree and time interval, it is achieved the state of 16*16*16 kind lamp, it is achieved music regular movements
Function.
It is above the preferably enforcement of the present invention is illustrated, but the invention is not limited to described enforcement
Example, those of ordinary skill in the art also can make all equivalent variations on the premise of spirit of the present invention or replace
Changing, deformation or the replacement of these equivalents are all contained in the application claim limited range.
Claims (7)
1. an intelligent lamp control method based on DTMF pattern, it is characterised in that including:
Gather voice data, and voice data stream is carried out at a time interval segmentation;
Three adjacent audio data unit are divided into one group;
Choose often group correspondence and control the color of light fixture, brightness and the dtmf signal of frequency, to determine the mode of operation of light fixture.
Intelligent lamp control method based on DTMF pattern the most according to claim 1, it is characterised in that: by the audio frequency number of segmentation
According to flowing number consecutively and being grouped.
Intelligent lamp control method based on DTMF pattern the most according to claim 1 and 2, it is characterised in that: described light fixture
Color settings is 16 kinds of patterns, does not works including 4 kinds of monochromes, 6 kinds of double-colored mixing, 4 kind of three mixture of colours, four mixture of colours and light fixture.
Intelligent lamp control method based on DTMF pattern the most according to claim 3, it is characterised in that: described brightness includes 16
Level brightness.
Intelligent lamp control method based on DTMF pattern the most according to claim 4, it is characterised in that: described 4 kinds of monochromatic bags
Include redness, green, blue and white.
Intelligent lamp control method based on DTMF pattern the most according to claim 5, it is characterised in that: extract light fixture respectively
Color, brightness and frequency signal, a kind of mode of operation of composition light fixture.
7. an intelligent lamp control system based on DTMF pattern, it is characterised in that including: intelligent terminal, bluetooth module, audio frequency
Playing module, microprocessor, sampled audio signal circuit, dtmf signal extract and decoder module and LED control circuit;
Described dtmf signal extracts and is connected with the input of microprocessor with the outfan of decoder module;
The outfan of described microprocessor is connected with the input of LED control circuit;
Described light control module includes that MCU and bluetooth, described bluetooth are connected with MCU;
Described intelligent terminal is connected with audio playing module by bluetooth module;
Described bluetooth module is connected with decoder module with dtmf signal extraction by sampled audio signal circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610612598.9A CN106061044B (en) | 2016-07-28 | 2016-07-28 | A kind of intelligent lamp control method and control system based on DTMF patterns |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610612598.9A CN106061044B (en) | 2016-07-28 | 2016-07-28 | A kind of intelligent lamp control method and control system based on DTMF patterns |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106061044A true CN106061044A (en) | 2016-10-26 |
CN106061044B CN106061044B (en) | 2018-03-09 |
Family
ID=57196794
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610612598.9A Active CN106061044B (en) | 2016-07-28 | 2016-07-28 | A kind of intelligent lamp control method and control system based on DTMF patterns |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106061044B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106793405A (en) * | 2016-12-23 | 2017-05-31 | 浙江大学 | A kind of sound control illuminating system based on dtmf signal |
CN107995717A (en) * | 2016-10-27 | 2018-05-04 | 广州达森灯光股份有限公司 | APP wireless lamp control method and devices |
CN111526651A (en) * | 2020-04-23 | 2020-08-11 | 北京智米科技有限公司 | Intelligent lamp control method and device and lamp |
CN114422282A (en) * | 2021-12-25 | 2022-04-29 | 深圳市台电实业有限公司 | Conference equipment, client, teleconference system and LED indicator light control method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1885976A (en) * | 2005-06-24 | 2006-12-27 | 英华达(上海)电子有限公司 | Method for making sound graphic display and playing on mobile phone display screen |
JP2014110185A (en) * | 2012-12-04 | 2014-06-12 | Eco Trust Japan Co Ltd | Led line lamp control device, led line lamp, and method of controlling led line lamp |
CN104507237A (en) * | 2014-12-29 | 2015-04-08 | 古龙辉 | Voice-operated lighting scene effect realization method |
-
2016
- 2016-07-28 CN CN201610612598.9A patent/CN106061044B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1885976A (en) * | 2005-06-24 | 2006-12-27 | 英华达(上海)电子有限公司 | Method for making sound graphic display and playing on mobile phone display screen |
JP2014110185A (en) * | 2012-12-04 | 2014-06-12 | Eco Trust Japan Co Ltd | Led line lamp control device, led line lamp, and method of controlling led line lamp |
CN104507237A (en) * | 2014-12-29 | 2015-04-08 | 古龙辉 | Voice-operated lighting scene effect realization method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107995717A (en) * | 2016-10-27 | 2018-05-04 | 广州达森灯光股份有限公司 | APP wireless lamp control method and devices |
CN106793405A (en) * | 2016-12-23 | 2017-05-31 | 浙江大学 | A kind of sound control illuminating system based on dtmf signal |
CN106793405B (en) * | 2016-12-23 | 2019-04-02 | 浙江大学 | A kind of sound control illuminating system based on dtmf signal |
CN111526651A (en) * | 2020-04-23 | 2020-08-11 | 北京智米科技有限公司 | Intelligent lamp control method and device and lamp |
CN114422282A (en) * | 2021-12-25 | 2022-04-29 | 深圳市台电实业有限公司 | Conference equipment, client, teleconference system and LED indicator light control method |
Also Published As
Publication number | Publication date |
---|---|
CN106061044B (en) | 2018-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106061044B (en) | A kind of intelligent lamp control method and control system based on DTMF patterns | |
CN113613369B (en) | Light effect control method, device, equipment and storage medium | |
CN106376148A (en) | Control method and system of audio light fixture, and audio light fixture | |
CN204100177U (en) | A kind of sound controlled LED light | |
CN104243034B (en) | A kind of visible light communication system and visible light communication method | |
ATE469527T1 (en) | METHOD FOR SELECTING A RADIO NETWORK BY A MULTIMODAL TERMINAL, AND SYSTEM AND TERMINAL FOR USING THE METHOD | |
WO2005032107A3 (en) | Method and apparatus for providing pre-connection messaging and output | |
CN104601266B (en) | A kind of system of broadcast singal on-line monitoring and parallel demodulation | |
CN113613370A (en) | Atmosphere lamp control method and device, computer readable storage medium and terminal | |
CN104464741B (en) | A kind of audio signal turns the method and system of visual color information | |
CN113727501B (en) | Sound-based light dynamic control method, device, system and storage medium | |
CN108541098B (en) | Music lighting system based on audio difference value tone extraction method | |
CN103747149B (en) | Judge whether missed call needs mobile terminal and the method reminded | |
CN105451094B (en) | Subtitle color adjustment method and device | |
CN102595704A (en) | Nightscape lighting sound and light synchronous control system and control method thereof | |
CN105722269B (en) | Integral ceiling is wireless background music lamplight pointing method and system | |
CN204442647U (en) | A kind of audio processing equipment | |
CN108135050A (en) | A kind of pickup LED toning lamps | |
CN101282520A (en) | Method for playing MP3 music using mobile phone matching with fancy lantern twinkling color combination | |
CN107682588A (en) | Switching system, method and the signal measurement instrument of analog audio-video signal input and output | |
CN103325101A (en) | Extraction method and device of color characteristics | |
CN104869518A (en) | Wall-mounted loud-speaking talkback terminal and loud-speaking talkback system | |
CN101996615B (en) | Color enhancing method for display equipment | |
CN108260264A (en) | A kind of colorful energy-saving lamp control device based on three primary colours palette | |
CN106603855A (en) | FM music transmission realizing method and FM music transmission system for mobile terminals |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |