CN108877185A - A kind of Bluetooth remote control method and circuit - Google Patents

A kind of Bluetooth remote control method and circuit Download PDF

Info

Publication number
CN108877185A
CN108877185A CN201810975485.4A CN201810975485A CN108877185A CN 108877185 A CN108877185 A CN 108877185A CN 201810975485 A CN201810975485 A CN 201810975485A CN 108877185 A CN108877185 A CN 108877185A
Authority
CN
China
Prior art keywords
level signal
interface
bluetooth module
controller
infrared
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
Application number
CN201810975485.4A
Other languages
Chinese (zh)
Other versions
CN108877185B (en
Inventor
龙逸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Heertai Intelligent Technology Co Ltd Small Appliances
Original Assignee
Shenzhen Heertai Intelligent Technology Co Ltd Small Appliances
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Heertai Intelligent Technology Co Ltd Small Appliances filed Critical Shenzhen Heertai Intelligent Technology Co Ltd Small Appliances
Priority to CN201810975485.4A priority Critical patent/CN108877185B/en
Publication of CN108877185A publication Critical patent/CN108877185A/en
Application granted granted Critical
Publication of CN108877185B publication Critical patent/CN108877185B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The present invention relates to control technology field, a kind of Bluetooth remote control method and circuit are disclosed.Wherein, which is applied to bluetooth module, and the bluetooth module is equipped with signal pins, and the signal pins are used to connect controller by infrared interface;The method includes:Receive the control command that intelligent terminal is sent;By the control command according to default infrared coding model, level signal is converted to;The level signal is transmitted to the controller by the signal pins, so that the controller executes the control command.By the above-mentioned means, the embodiment of the present application can easily control equipment.

Description

A kind of Bluetooth remote control method and circuit
Technical field
The present invention relates to control technology fields, more particularly to a kind of Bluetooth remote control method and circuit.
Background technique
Many household appliances are generally difficult to contact, such as air-conditioning, fan, wall lamp etc., are usually provided on wall, manpower is difficult to Directly carry out contact control.Therefore, many household electrical appliances needs are controlled by way of remote control.
The remote control of household appliances product generallys use over the horizon communication system and is controlled, by the way that infrared hair is arranged on a remote control Pipe is penetrated, infrared receiving terminal is set on household appliances master control borad, so that the control for enabling household appliances to receive remote controler is believed Number, to execute corresponding movement.
The present inventor has found during realizing the embodiment of the present invention:Current infrared control mode, due to Infrared light has directionality, needs user to hold remote controler and is remotely controlled control against product, inconvenient in the extreme.
Summary of the invention
The embodiment of the present invention, can be easily mainly solving the technical problems that provide a kind of Bluetooth remote control method and circuit Equipment is controlled.
In order to solve the above technical problems, a technical solution used in the embodiment of the present invention is:A kind of Bluetooth remote control is provided Method is applied to bluetooth module, and the bluetooth module is equipped with signal pins, and the signal pins are used to connect by infrared interface Controller;The method includes:Receive the control command that intelligent terminal is sent;By the control command according to default infrared coding Model is converted to level signal;The level signal is transmitted to the controller by the signal pins, so that the control Device processed executes the control command.
Wherein, the method also includes:Broadcast the identity of the bluetooth module so that the intelligent terminal with it is described Bluetooth module establishes connection.
Wherein, the method also includes:According to the address information of the bluetooth module, two dimensional code is generated, so that the intelligence Two dimensional code described in energy terminal recognition and the bluetooth module establish connection.
Wherein, the control command includes:Command id information, order control information and command checksum information, it is described to incite somebody to action The control command is converted to level signal according to default transformation model, including:By the command id information, order control Information and command checksum information are respectively converted into binary code;It is defeated by default timing according to the logic level of the binary code The level signal out.
Wherein, the level signal includes low level signal and high level signal;The patrolling according to the binary code Level is collected, by level signal described in default sequential export, including:According to the logic level 0 of the binary code, low level is exported Signal continues the first preset duration, then exports high level signal and continues the second preset duration;According to patrolling for the binary code Level 1 is collected, output low level signal continues third preset duration, then exports high level signal and continues the 4th preset duration.
In order to solve the above technical problems, another technical solution used in the embodiment of the present invention is:It is distant to provide a kind of bluetooth Circuit is controlled, including:Bluetooth module, infrared interface and controller, the bluetooth module are equipped with signal pins, and the signal pins are used The controller is connected in passing through the infrared interface;Wherein, the bluetooth module is used for:Receive the control that intelligent terminal is sent Order;By the control command according to default infrared coding model, level signal is converted to;The level signal is passed through described Signal pins are transmitted to the controller, so that the controller executes the control command.
Wherein, the circuit further includes mainboard, and the infrared interface, the controller are set to the mainboard.
Wherein, the bluetooth module is additionally provided with power pins, grounding pin, and the infrared interface includes first interface, Two interfaces and third interface;The power pins are connect with the first interface, and the grounding pin and the second interface connect It connects, the second interface ground connection, the signal pins are connect with the third interface;The bluetooth module is specifically used for:By institute It states level signal and is transmitted to the third interface by the signal pins, so that the controller is transmitted to, so that the control Device processed executes the control command.
Wherein, the circuit further includes first capacitor, and the first capacitor is separately connected the second interface and described Three interfaces.
Wherein, the connection of the bluetooth module and the infrared interface is to be detachably connected.
The beneficial effect of the embodiment of the present invention is:It is in contrast to the prior art, the embodiment of the present invention is by making bluetooth The signal pins of module connect controller by infrared interface, and the control command that bluetooth module sends intelligent terminal is according to default Infrared transformation model is converted to level signal, and level signal is made to be transmitted to controller by signal pins, former infrared to imitate The level signal of module allows the controller to directly handle the data information transmitted after bluetooth module access infrared interface, without control Device reprogramming processed, bluetooth module is the function of being able to achieve former infrared module, so as to by the way that former infrared module to be changed to Bluetooth module and realize Bluetooth remote control, easily equipment can be controlled.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is the structural schematic diagram of Bluetooth remote control system provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram of Bluetooth remote control circuit provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of Bluetooth remote control method provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of the application scenarios of Bluetooth remote control method provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of Bluetooth remote control device provided in an embodiment of the present invention.
Specific embodiment
To facilitate the understanding of the present invention, in the following with reference to the drawings and specific embodiments, the present invention will be described in more detail. It should be noted that be expressed " being fixed on " another element when element, it can directly on the other element or therebetween There may be one or more elements placed in the middle.When an element is expressed " connection " another element, it, which can be, directly connects It is connected to another element or there may be one or more elements placed in the middle therebetween.
Unless otherwise defined, technical and scientific term all used in this specification is led with technology of the invention is belonged to The normally understood meaning of the technical staff in domain is identical.Used term is only in the description of the invention in this specification The purpose of description specific embodiment is not intended to the limitation present invention.
The remote control of household appliances product generallys use over the horizon communication system and is controlled, by the way that infrared hair is arranged on a remote control Pipe is penetrated, infrared receiving terminal is set on household appliances master control borad, so that the control for enabling household appliances to receive remote controler is believed Number, to execute corresponding movement.
The mainboard of household appliances is often provided with specific infrared interface, to connect infrared receiving terminal, due to infrared receiver Head is generally three pins, then the interface is 3PIN interface, and infrared receiving terminal is directly plugged on 3PIN interface, then infrared to connect Receiving head can be communicated with the controller on mainboard.
But current infrared control mode, it needs user to hold remote controler and is remotely controlled control against product, in the extreme It is inconvenient;Moreover, encoding consistent remote controler can control product, certain safety problem is brought.
Based on this, the embodiment of the present invention proposes a kind of Bluetooth remote control method and circuit, the Bluetooth remote control method and circuit It can be removed by the infrared receiving terminal on mainboard, after installing bluetooth module, allow the controller to directly to handle bluetooth module and connect Enter the data information transmitted after infrared interface, is not necessarily to controller reprogramming, it, can be easily to setting to realize Bluetooth remote control It is standby to be controlled.
Specifically, with reference to the accompanying drawing, the embodiment of the present invention is further elaborated.
Referring to Fig. 1, Fig. 1 is the structural schematic diagram of Bluetooth remote control system provided in an embodiment of the present invention.As shown in Figure 1, The Bluetooth remote control system 300 includes Bluetooth remote control circuit 100 and intelligent terminal 200.Bluetooth remote control circuit 100 can be with intelligent end End 200 is attached by bluetooth approach, so that Bluetooth remote control circuit 100 and intelligent terminal 200 be made to be able to carry out information transmission.
Wherein, intelligent terminal 200 can exist in a variety of forms, including but not limited to:(1) mobile communication equipment:It is this kind of The characteristics of equipment is that have mobile communication function, and to provide speech, data communication as main target.This Terminal Type includes: Smart phone, functional mobile phone etc..(2) super mobile personal computer equipment:This kind of equipment belongs to the scope of personal computer, There are calculating and processing function, generally also has mobile Internet access characteristic.This Terminal Type includes:PDA, MID and UMPC equipment etc..(3) Portable entertainment device:This kind of equipment can be shown and broadcasting content.Such equipment includes:Audio, video player, palm trip Gaming machine, e-book and intelligent toy.(4) other electronic devices with data interaction function.
Wherein, Bluetooth remote control circuit 100 can be set to any suitable, with infrared interface, it can be realized infrared distant The electrical equipment for controlling function, for example, TV, pendent lamp, air-conditioning etc..
Specifically, as shown in Fig. 2, the Bluetooth remote control circuit 100 includes:Bluetooth module 110, infrared interface 120 and control Device 130, bluetooth module 110 are connect by infrared interface 120 with controller 130.
Wherein, bluetooth module 110 can be in office how suitable, have signal output interface, any kind of bluetooth Obtained from improving on the basis of chip, in the present embodiment, bluetooth module 110 is on the basis of CC2541 Bluetooth chip On improve and obtain.Bluetooth module 110 is used for:Receive the control command that intelligent terminal is sent;By control command according to pre- If infrared coding model, is converted to level signal;Level signal is transmitted to controller 130 by signal pins 112, so that control Device 130 processed holds control command.
Specifically, bluetooth module 110 is equipped with signal pins 111, power pins 112 and grounding pin 113.Signal pins 111 for connecting controller 130 by infrared interface 120, and power pins 112 are used for connecting power supply, grounding pin 113 In ground connection.Wherein, signal pins 111 can be any GPIO pin on bluetooth module 110, and power pins 112 can be indigo plant The Vcc pin of tooth module 110, grounding pin 113 can be the GND pin of bluetooth module 110.
Wherein, infrared interface 120 includes first interface 121, second interface 122 and third interface 123.First interface 121, Second interface 122 and third interface 123 can be pad or spliced eye.When bluetooth module 110 is connected to infrared interface When 120, power pins 112 are connect with first interface 121, and grounding pin 113 is connect with second interface 122, and second interface 122 ground connection, signal pins 113 are connect with third interface 123, so that level signal is passed through signal pins 113 by bluetooth module 110 It is transmitted to third interface 123, so that controller 130 is transmitted to, so that controller 130 executes control command.
Optionally, when infrared interface 120 is spliced eye, the connection of bluetooth module 110 and infrared interface 120 is removable Unload connection.Infrared interface 120 further includes interface shells 124, and first interface 121, second interface 122 and third interface 123 are set to In interface shells 124, former infrared receiving terminal is easily removed from infrared interface 120, bluetooth module 110 can be convenient Connect with infrared interface 120, so as to which former infrared receiving terminal is easily changed to bluetooth module 110.
Optionally, in order to enable signals to steadily transmit, Bluetooth remote control circuit 100 further includes:First capacitor C1 and Two capacitor C2.First capacitor C1 is separately connected second interface 122 and third interface 123, and the second capacitor C2 is separately connected second and connects Mouth 122 and third interface 123.Wherein, the capacitance of first capacitor C1 is 100NF, but is not limited to 100NF, the second capacitor C2's Capacitance is 47UF, but is not limited to 47UF, can be selected according to the actual situation.Pass through the electricity of setting first capacitor C1 and second Hold C2 to be filtered power input, to enable signals to steadily transmit.
Wherein, controller 130 may include processor, the specific integrated circuit with control processing function (Application-Specific Integrated Circuit, ASIC), field-programmable gate array (Field Programmable Gate Array, FPGA), single-chip microcontroller etc..Controller 130 passes through infrared interface 120 and bluetooth module 110 Connection, to receive the level signal of the transmission of bluetooth module 110.
Optionally, Bluetooth remote control circuit 100 can also include:Memory.Memory may include volatile memory (English Text:Volatile memory), such as random access memory (English:Random-access memory, abbreviation:RAM), such as Static random access memory (English:Static random-access memory, abbreviation:SRAM), double data rate is same Walk dynamic random access memory (English:Double Data Rate Synchronous Dynamic Random Access Memory, abbreviation:DDR SDRAM) etc.;Memory also may include nonvolatile memory (English:non-volatile Memory), such as flash memory is (English:Flash memory), hard disk (English:Hard disk drive, abbreviation: HDD) or solid state hard disk is (English:Solid-state drive, abbreviation:SSD), Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable read only memory, EEPROM);Memory can also wrap Include the combination of the memory of mentioned kind.Memory can be independent memory, be also possible to chip (such as processor chips) Internal memory or a certain module with store function.Can store in memory computer program, computer instruction, Operating system, data, database etc..Memory can carry out partitioned storage to it.
Wherein, Bluetooth remote control circuit 100 further includes:Mainboard 140.Infrared interface 120 and controller 130 are fixed at mainboard On 140, the connection of infrared interface 120, controller 130 and mainboard 140 can be grafting or welding etc..In this example, Mainboard 140 is the motherboard in household electrical appliance, may include various circuits, chip etc., for realizing each of household electrical appliance Kind function.
Optionally, Bluetooth remote control circuit 100 can also include:Power supply.Power supply is set on mainboard 140, for being mainboard Modules power supply, wherein power supply connect with controller 120, for for controller 120 power supply, and pass through infrared interface 120 For the power supply of bluetooth module 110.
In the present embodiment, by making the signal pins 111 of bluetooth module 110 connect controller by infrared interface 120 130, the control command that bluetooth module 110 sends intelligent terminal 200 is level signal according to default infrared coding model conversion, And level signal is made to be transmitted to controller 130 by signal pins 111, to imitate the level signal of former infrared module, make to control Device 130 can directly handle bluetooth module 110 and access the data information transmitted after infrared interface 120, change journey without controller Sequence, bluetooth module 110 is the function of being able to achieve former infrared module, so as to by the way that former infrared module is changed to bluetooth module And realize the Bluetooth remote control of intelligent terminal 200, it can easily be controlled.
Referring to Fig. 3, Fig. 3 is the flow diagram of Bluetooth remote control method provided in an embodiment of the present invention.As shown in figure 3, The Bluetooth remote control method is applied to the Bluetooth remote control circuit 100 in above-described embodiment, and this method includes:
410, the control command that intelligent terminal is sent is received.
After Bluetooth remote control circuit 100 and intelligent terminal 200 establish connection, the control life that intelligent terminal 200 is sent is received It enables.Wherein, control command can be opening control command, closing control command or the function switch control life to electrical equipment Enable etc..
Wherein, control command may include command id information, order control information and command checksum information, for example, control System order includes tri- bytes of 0x86,0x80,0x28, and 0x86 is command id information, and 0x80 is order control information, and 0x28 is Command checksum information.The control command sent by receiving intelligent terminal, so that intelligent terminal be enable to carry out electrical equipment Control.
420, the control command is converted into level signal according to default infrared coding model.
Wherein, preset infrared coding model be it is default it is being arranged, control command can be converted to and meet infrared protocol The algorithm model of level signal.Default infrared coding model may include multiple, such as may include all common in the market The infrared coding model of electric appliance.
In the present embodiment, step 420 includes:421, by the command id information, order control information and order school It tests information and is respectively converted into binary code;422, according to the logic level of the binary code, by electricity described in default sequential export Ordinary mail number.
Wherein, it since control command is generally heuristicimal code, then needs control command being converted to binary code, for example, Assuming that control command is 0x86, being converted to binary code is 10000110.
Wherein, the logic level of binary code includes logic level 0 and logic level 1, and level signal includes high level letter Number and low level signal, then step 422 specifically includes:4221, according to the logic level 0 of the binary code, low level is exported Signal continues the first preset duration, then exports high level signal and continues the second preset duration;4222, according to the binary code Logic level 1, output low level signal continue third preset duration, then output high level signal continue the 4th it is default when It is long.
When first preset duration, the second preset duration, third preset duration and the 4th preset duration are preset Between length, be capable of matching controller Central Plains processing infrared receiving terminal output level signal.With the low electricity of the first preset duration Ordinary mail number and the high level signal of the second preset duration indicate logic level 0, with the low level signal of third preset duration and the The high level signal of four preset durations indicates logic level 1, to export binary code.
In the present embodiment, the first preset duration is 0.5142ms, and the second preset duration is 0.6016ms, and third is default Shi Changwei 0.5158ms, the 4th preset duration are 1.713ms, that is, with 0.5142ms low level signal and 0.6016ms high level Signal indicates logic level 0, indicates logic level 1 with 0.5158ms low level signal and 1.713ms high level signal.For example, When binary code is 10000110, the level signal of output is:0.5142ms low level signal and 0.6016ms high level letter Number (0), 0.5158ms low level signal and 1.713ms high level signal (1), 0.5158ms low level signal and 1.713ms high Level signal (1), 0.5142ms low level signal and 0.6016ms high level signal (0), 0.5142ms low level signal and 0.6016ms high level signal (0), 0.5142ms low level signal and 0.6016ms high level signal (0), the low electricity of 0.5142ms Ordinary mail number and 0.6016ms high level signal (0), 0.5158ms low level signal and 1.713ms high level signal (1).
430, the level signal is transmitted to the controller by the signal pins, so that the controller executes The control command.
After being converted to level signal, level signal is transmitted to third interface 123 by signal pins 111, thus It is transmitted to controller 130, so that controller 130 executes control command.Controller 130 directly being capable of basis after receiving level signal The level signal received executes the operation of control command, changes its original program without controller 130.
In the present embodiment, by making the signal pins 111 of bluetooth module 110 connect controller by infrared interface 120 130, the control command that bluetooth module 110 sends intelligent terminal 200 is level signal according to default infrared coding model conversion, And level signal is made to be transmitted to controller 130 by signal pins 111, to imitate the level signal of former infrared module, make to control Device 130 can directly handle bluetooth module 110 and access the data information transmitted after infrared interface 120, change journey without controller Sequence, bluetooth module 110 is the function of being able to achieve former infrared module, so as to by the way that former infrared module is changed to bluetooth module And realize the Bluetooth remote control of intelligent terminal 200, it can easily be controlled.
In some embodiments, intelligent terminal 200 and bluetooth module 110 need first to establish connection, just can be carried out communication.? Before step 410, which further includes:440, the bluetooth module identity is broadcasted, so that the intelligence is eventually Connection is established with the bluetooth module in end.
Wherein, broadcast can be the broadcast of attachable non-directional or attachable directional broadcasting etc..Broadcast bluetooth mould The identity of block, is specifically as follows:Search has the intelligent terminal 200 of Bluetooth function, often searches an intelligent terminal 200 and sends out A broadcast is sent, so that intelligent terminal 200 is matched with bluetooth module, to establish connection.Optionally, bluetooth module 110 It can be attached with an intelligent terminal 200, alternatively, bluetooth module 110 is attached with multiple intelligent terminals 200 simultaneously, work as indigo plant When tooth module 110 is attached with multiple intelligent terminals 200 simultaneously, multiple intelligent terminals 200 can be sent out bluetooth module 110 Send control instruction.Further, it in order to improve the safety of bluetooth module 110, is built in intelligent terminal 200 and bluetooth module 110 Before vertical connection, controller 130 carries out authentication to intelligent terminal 200, so that specific intelligent terminal 200 could be to bluetooth Module 110 sends control information, to improve the safety of Bluetooth remote control.
In some embodiments, intelligent terminal 200 can also establish connection with bluetooth module 110 by other means.? Before step 410, which further includes:450, according to the address information of the bluetooth module, two dimensional code is generated, with The intelligent terminal is set to identify that the two dimensional code and the bluetooth module establish connection.
Wherein, the address MC of bluetooth module 110 is unique, according to the address information of bluetooth module 110, can be generated only One corresponding two dimensional code.Optionally, Bluetooth control circuit 100 further includes display module, and display module is connect with controller 130, Controller 130 can also be used to:After step 450, display module two-dimensional code display is controlled.Intelligent terminal 200 passes through scanning And identify two dimensional code, to establish connection with bluetooth module 110.
Referring to Fig. 4, Fig. 4 is the flow diagram of the application scenarios of Bluetooth remote control method provided in an embodiment of the present invention. When user does not need the infrared remote control using TV, by the infrared receiving terminal on the mainboard 140 of TV from infrared interface 120 It disassembles, and bluetooth module 110 is accessed into infrared interface 120, bluetooth module 110 is made to pass through infrared interface 120 and controller 130 connections, to control TV by mobile phone.
As shown in figure 4, the Bluetooth remote control method is applied to the Bluetooth remote control system 300 in above-described embodiment, this method packet It includes:
510, bluetooth module 110 broadcasts the identity of bluetooth module 110, and mobile phone scans the identity to bluetooth module 110 After mark, connection is established with bluetooth module 110;
520, mobile phone sends control command to bluetooth module 110;
For example, control command is zapping order, control instruction includes tri- bytes of 0x86,0x80,0x28;
530, bluetooth module 110 receives the control command that mobile phone is sent;
540, bluetooth module 110 is converted to level signal by control command according to default infrared coding model;
Wherein, it is 10000110,10000000,00101000 that 0x86,0x80,0x28, which are converted to binary code, based on pre- If the level signal of infrared coding model, output is:The low 1.713ms high of 0.5142ms low 0.6016ms high (0) 0.5158ms (1) the low 0.6016ms high (0) of low 0.6016ms high (0) 0.5142ms of the low 1.713ms high of 0.5158ms (1) 0.5142ms The low 1.713ms high (1) of low 0.6016ms high (0) 0.5158ms of 0.5142ms low 0.6016ms high (0) 0.5142ms, The low 0.6016ms high (0) of low 0.6016ms high (0) 0.5142ms of 0.5142ms low 0.6016ms high (0) 0.5142ms The low 0.6016ms high (0) of low 0.6016ms high (0) 0.5142ms of 0.5142ms low 0.6016ms high (0) 0.5142ms The low 1.713ms high (1) of 0.5142ms low 0.6016ms high (0) 0.5158ms, the low 0.6016ms high of 0.5142ms (0) Low 1.713ms high (1) 0.5142ms of low 0.6016ms high (0) 0.5158ms of 0.5142ms low 0.6016ms high (0) 0.5142ms Low 1.713ms high (1) 0.5142ms of low 0.6016ms high (0) 0.5158ms is low, and 0.6016ms high (0) 0.5142ms is low 0.6016ms high (0);
550, level signal is transmitted to controller 130 by signal pins 111 by bluetooth module 110;
560, controller 130 executes zapping operation according to the corresponding module that level signal controls TV.
In the present embodiment, by making the signal pins 111 of bluetooth module 110 connect controller by infrared interface 120 130, the control command that bluetooth module 110 sends intelligent terminal 200 is level signal according to default infrared coding model conversion, And level signal is made to be transmitted to controller 130 by signal pins 111, to imitate the level signal of former infrared receiving terminal, make to control Device 130 processed can directly handle bluetooth module 110 and access the data information transmitted after infrared interface 120, change journey without controller Sequence, bluetooth module 110 is the function of being able to achieve former infrared receiving terminal, so as to by the way that former infrared receiving terminal is changed to bluetooth Module and the Bluetooth remote control for realizing mobile phone, can easily be controlled.
Referring to Fig. 5, Fig. 5 is a kind of structural schematic diagram of Bluetooth remote control device provided in an embodiment of the present invention.Such as Fig. 5 institute Show, which includes receiving module 610, conversion module 620 and transmission module 630.
Wherein, receiving module 610 is used to receive the control command of intelligent terminal transmission;Conversion module 620 is used for will be described Control command is converted to level signal according to default infrared coding model;Transmission module 630 is for passing through the level signal The signal pins are transmitted to the controller, so that the controller executes the control command.
Method provided by the embodiment of the present invention can be performed in above-mentioned apparatus, has the corresponding functional module of execution method and has Beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to method provided by the embodiment of the present invention.
It should be noted that the apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit that part illustrates may or may not be physically separated, and component shown as a unit can be or can also Not to be physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to reality Need that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.
By the description of above embodiment, those of ordinary skill in the art can be understood that each embodiment can borrow Help software that the mode of general hardware platform is added to realize, naturally it is also possible to pass through hardware.Those of ordinary skill in the art can manage All or part of the process in the solution realization embodiment method is can be by the relevant hardware of computer program instructions come complete At the program can be stored in computer-readable storage medium, and the program is when being executed, it may include such as each method Embodiment process.Wherein, the storage medium can be magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Finally it should be noted that:Above embodiments are only to illustrate the technical solution of the application, rather than its limitations;At this It under the thinking of application, can also be combined between the technical characteristic in above embodiments or different embodiment, step can be with It is realized with random order, and there are many other variations of the different aspect of the application as described above, for simplicity, they do not have Have and is provided in details;Although the application is described in detail with reference to the foregoing embodiments, the ordinary skill people of this field Member should understand that:It is still possible to modify the technical solutions described in the foregoing embodiments, or to part of skill Art feature is equivalently replaced;And these are modified or replaceed, each reality of the application that it does not separate the essence of the corresponding technical solution Apply the range of a technical solution.

Claims (10)

1. a kind of Bluetooth remote control method, which is characterized in that be applied to bluetooth module, the bluetooth module is equipped with signal pins, institute Signal pins are stated for connecting controller by infrared interface;
The method includes:
Receive the control command that intelligent terminal is sent;
By the control command according to default infrared coding model, level signal is converted to;
The level signal is transmitted to the controller by the signal pins, so that the controller executes the control Order.
2. the method according to claim 1, wherein the method also includes:
The identity of the bluetooth module is broadcasted, so that the intelligent terminal and the bluetooth module establish connection.
3. the method according to claim 1, wherein the method also includes:
According to the address information of the bluetooth module, two dimensional code is generated, so that the intelligent terminal identifies the two dimensional code and institute It states bluetooth module and establishes connection.
4. method according to claim 1-3, which is characterized in that the control command includes:Command id letter Breath, order control information and command checksum information,
It is described by the control command according to default infrared coding model, be converted to level signal, including:
The command id information, order control information and command checksum information are respectively converted into binary code;
According to the logic level of the binary code, by level signal described in default sequential export.
5. according to the method described in claim 4, it is characterized in that, the level signal includes low level signal and high level letter Number;
The logic level according to the binary code, by level signal described in default sequential export, including:
According to the logic level 0 of the binary code, exports low level signal and continue the first preset duration, then export high level Signal continues the second preset duration;
According to the logic level 1 of the binary code, exports low level signal and continue third preset duration, then export high level Signal continues the 4th preset duration.
6. a kind of Bluetooth remote control circuit, which is characterized in that including:Bluetooth module, infrared interface and controller, the bluetooth module Equipped with signal pins, the signal pins are used to connect the controller by the infrared interface;
Wherein, the bluetooth module is used for:
Receive the control command that intelligent terminal is sent;
By the control command according to default infrared coding model, level signal is converted to;
The level signal is transmitted to the controller by the signal pins, so that the controller executes the control Order.
7. circuit according to claim 6, which is characterized in that the circuit further includes mainboard, the infrared interface, described Controller is set to the mainboard.
8. circuit according to claim 7, which is characterized in that the bluetooth module is additionally provided with power pins, grounding pin, The infrared interface includes first interface, second interface and third interface;
The power pins are connect with the first interface, and the grounding pin is connect with the second interface, and described second connects Mouth ground connection, the signal pins are connect with the third interface;
The bluetooth module is specifically used for:The level signal is transmitted to the third interface by the signal pins, from And it is transmitted to the controller, so that the controller executes the control command.
9. circuit according to claim 8, which is characterized in that the circuit further includes first capacitor, the first capacitor It is separately connected the second interface and the third interface.
10. according to the described in any item circuits of claim 6-9, which is characterized in that the bluetooth module and the infrared interface Connection be detachably connected.
CN201810975485.4A 2018-08-24 2018-08-24 Bluetooth remote control method and circuit Active CN108877185B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810975485.4A CN108877185B (en) 2018-08-24 2018-08-24 Bluetooth remote control method and circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810975485.4A CN108877185B (en) 2018-08-24 2018-08-24 Bluetooth remote control method and circuit

Publications (2)

Publication Number Publication Date
CN108877185A true CN108877185A (en) 2018-11-23
CN108877185B CN108877185B (en) 2021-06-22

Family

ID=64321566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810975485.4A Active CN108877185B (en) 2018-08-24 2018-08-24 Bluetooth remote control method and circuit

Country Status (1)

Country Link
CN (1) CN108877185B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110488980A (en) * 2019-08-23 2019-11-22 大连成者科技有限公司 A kind of optical projection system man-machine interactive system
CN112037497A (en) * 2020-09-16 2020-12-04 深圳市爱尚智联科技有限公司 Bluetooth BLE and infrared integrated remote control assembly and remote control method
CN112053544A (en) * 2020-09-16 2020-12-08 深圳市爱尚智联科技有限公司 Single-wire bidirectional half-duplex Bluetooth BLE remote control module and remote control method
CN113314117A (en) * 2021-06-18 2021-08-27 深圳市爱尚智联科技有限公司 Voice recognition and Bluetooth BLE integrated remote control module and remote control method

Citations (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2819655Y (en) * 2005-06-16 2006-09-20 高洪卫 External radio bluetooth earphone for various cell phones
US20060288370A1 (en) * 2005-05-10 2006-12-21 Rothschild Leigh M System and method for controlling a plurality of electronic devices
CN201130985Y (en) * 2007-12-26 2008-10-08 深圳华为通信技术有限公司 Mobile phone, receiving apparatus and communication system
CN201397574Y (en) * 2009-04-21 2010-02-03 西安迅腾科技有限责任公司 Data acquisition and transmission instrument with infrared remote control function
CN102354443A (en) * 2011-09-26 2012-02-15 南京物联传感技术有限公司 Wireless infrared (IR) remote control device and operating method thereof
CN202856845U (en) * 2012-11-15 2013-04-03 华北电力大学 Bluetooth-based smart home system
CN203169986U (en) * 2013-04-23 2013-09-04 金纯� Multi-functional intelligent bluetooth gamepad
CN203325449U (en) * 2013-07-05 2013-12-04 中国华录集团有限公司 Blue ray player controlled by using smart terminal
CN103473915A (en) * 2013-09-30 2013-12-25 陈榕锦 Household appliance remote control device based on mobile phone Bluetooth technology
CN103559787A (en) * 2013-10-21 2014-02-05 深圳创维数字技术股份有限公司 Household appliance control method and terminal
US20140159877A1 (en) * 2011-12-07 2014-06-12 Jung-Tang Huang Bluetooth controllable electrical appliance
CN104242880A (en) * 2014-09-15 2014-12-24 小米科技有限责任公司 Signal generating method and device and electronic device
CN204242391U (en) * 2014-09-18 2015-04-01 哈尔滨恒誉名翔科技有限公司 Intelligent mobile phone Bluetooth turns infrared writing-down device for meters
CN204719965U (en) * 2015-06-23 2015-10-21 深圳市银河表计股份有限公司 A kind of USB turns 38kHz modulated infrared light communication interface circuit
CN105352121A (en) * 2015-11-13 2016-02-24 安徽师范大学 Remote control system and method based on mobile phone terminal
CN105605738A (en) * 2016-01-12 2016-05-25 深圳市德赛工业研究院有限公司 Air conditioner control system
CN105955063A (en) * 2016-07-15 2016-09-21 苏州咖啦魔哆信息技术有限公司 Household electrical appliance control system based on bluetooth earphone
CN205680275U (en) * 2016-06-21 2016-11-09 厦门华联电子有限公司 A kind of miniature patch infrared remote control receiver
CN205751226U (en) * 2015-09-06 2016-11-30 北京信息职业技术学院 Learning type infrared remote control device based on intelligent mobile terminal
CN205951821U (en) * 2016-07-25 2017-02-15 南京信息工程大学 Car anticollision early -warning system that opens door based on bluetooth
CN206162860U (en) * 2016-10-28 2017-05-10 恬家(上海)信息科技有限公司 Radio frequency changes infrared remote control circuit
CN107632949A (en) * 2017-09-30 2018-01-26 广东欧珀移动通信有限公司 Data wire identification circuit, method and terminal
CN108054587A (en) * 2017-12-01 2018-05-18 王琦进 Infrared induction intelligent socket control system and its control method based on Bluetooth technology
CN108270129A (en) * 2016-12-30 2018-07-10 泰科电子(上海)有限公司 Connector
CN207638900U (en) * 2017-11-23 2018-07-20 深圳市中科蓝讯科技有限公司 Blue Tooth remote controller

Patent Citations (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060288370A1 (en) * 2005-05-10 2006-12-21 Rothschild Leigh M System and method for controlling a plurality of electronic devices
CN2819655Y (en) * 2005-06-16 2006-09-20 高洪卫 External radio bluetooth earphone for various cell phones
CN201130985Y (en) * 2007-12-26 2008-10-08 深圳华为通信技术有限公司 Mobile phone, receiving apparatus and communication system
CN201397574Y (en) * 2009-04-21 2010-02-03 西安迅腾科技有限责任公司 Data acquisition and transmission instrument with infrared remote control function
CN102354443A (en) * 2011-09-26 2012-02-15 南京物联传感技术有限公司 Wireless infrared (IR) remote control device and operating method thereof
US20140159877A1 (en) * 2011-12-07 2014-06-12 Jung-Tang Huang Bluetooth controllable electrical appliance
CN202856845U (en) * 2012-11-15 2013-04-03 华北电力大学 Bluetooth-based smart home system
CN203169986U (en) * 2013-04-23 2013-09-04 金纯� Multi-functional intelligent bluetooth gamepad
CN203325449U (en) * 2013-07-05 2013-12-04 中国华录集团有限公司 Blue ray player controlled by using smart terminal
CN103473915A (en) * 2013-09-30 2013-12-25 陈榕锦 Household appliance remote control device based on mobile phone Bluetooth technology
CN103559787A (en) * 2013-10-21 2014-02-05 深圳创维数字技术股份有限公司 Household appliance control method and terminal
CN104242880A (en) * 2014-09-15 2014-12-24 小米科技有限责任公司 Signal generating method and device and electronic device
CN204242391U (en) * 2014-09-18 2015-04-01 哈尔滨恒誉名翔科技有限公司 Intelligent mobile phone Bluetooth turns infrared writing-down device for meters
CN204719965U (en) * 2015-06-23 2015-10-21 深圳市银河表计股份有限公司 A kind of USB turns 38kHz modulated infrared light communication interface circuit
CN205751226U (en) * 2015-09-06 2016-11-30 北京信息职业技术学院 Learning type infrared remote control device based on intelligent mobile terminal
CN105352121A (en) * 2015-11-13 2016-02-24 安徽师范大学 Remote control system and method based on mobile phone terminal
CN105605738A (en) * 2016-01-12 2016-05-25 深圳市德赛工业研究院有限公司 Air conditioner control system
CN205680275U (en) * 2016-06-21 2016-11-09 厦门华联电子有限公司 A kind of miniature patch infrared remote control receiver
CN105955063A (en) * 2016-07-15 2016-09-21 苏州咖啦魔哆信息技术有限公司 Household electrical appliance control system based on bluetooth earphone
CN205951821U (en) * 2016-07-25 2017-02-15 南京信息工程大学 Car anticollision early -warning system that opens door based on bluetooth
CN206162860U (en) * 2016-10-28 2017-05-10 恬家(上海)信息科技有限公司 Radio frequency changes infrared remote control circuit
CN108270129A (en) * 2016-12-30 2018-07-10 泰科电子(上海)有限公司 Connector
CN107632949A (en) * 2017-09-30 2018-01-26 广东欧珀移动通信有限公司 Data wire identification circuit, method and terminal
CN207638900U (en) * 2017-11-23 2018-07-20 深圳市中科蓝讯科技有限公司 Blue Tooth remote controller
CN108054587A (en) * 2017-12-01 2018-05-18 王琦进 Infrared induction intelligent socket control system and its control method based on Bluetooth technology

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
林粤伟 等: "基于Android手持设备的智能家居遥控系统研制", 《电子产品世界》 *
温子祺 等: "《ARM Cortex-M4微控制器深度实践》", 31 January 2018 *
钟秉翔 等: "《单片机应用技术与实践》", 30 September 2016 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110488980A (en) * 2019-08-23 2019-11-22 大连成者科技有限公司 A kind of optical projection system man-machine interactive system
CN110488980B (en) * 2019-08-23 2024-03-22 大连成者科技有限公司 Human-computer interaction system of projection system
CN112037497A (en) * 2020-09-16 2020-12-04 深圳市爱尚智联科技有限公司 Bluetooth BLE and infrared integrated remote control assembly and remote control method
CN112053544A (en) * 2020-09-16 2020-12-08 深圳市爱尚智联科技有限公司 Single-wire bidirectional half-duplex Bluetooth BLE remote control module and remote control method
CN112053544B (en) * 2020-09-16 2022-02-25 深圳市爱尚智联科技有限公司 Single-wire bidirectional half-duplex Bluetooth BLE remote control module and remote control method
CN112037497B (en) * 2020-09-16 2022-04-15 深圳市爱尚智联科技有限公司 Bluetooth BLE and infrared integrated remote control assembly and remote control method
CN113314117A (en) * 2021-06-18 2021-08-27 深圳市爱尚智联科技有限公司 Voice recognition and Bluetooth BLE integrated remote control module and remote control method

Also Published As

Publication number Publication date
CN108877185B (en) 2021-06-22

Similar Documents

Publication Publication Date Title
CN108877185A (en) A kind of Bluetooth remote control method and circuit
CN107566226A (en) A kind of methods, devices and systems for controlling smart home
CN102651165A (en) Wireless learning type infrared repeating system and working method thereof
CN102932695A (en) Remote control method, intelligent terminal and intelligent remote control system
CN202584411U (en) Wireless learning infrared repeater system
CN102867402A (en) Method for remotely controlling electrical appliance by using mobile communication terminal
CN108600057A (en) A kind of method and system perceiving control household electrical appliance based on WiFi
CN106911768A (en) Intelligent equipment, intelligent home system and setting method and device thereof
CN106025727B (en) A kind of intelligent socket with speech identifying function
CN107261490A (en) Realize intelligent toy interactive method, client and intelligent toy
CN103559787A (en) Household appliance control method and terminal
CN108594731A (en) A kind of intelligent electric appliance control method based on NFC
CN110492575A (en) For the quick charging system and method for handheld device, handheld device
CN108054794A (en) Charging and discharging method and device for intelligent terminal, terminal and storage medium
CN112486105B (en) Equipment control method and device
CN112188461A (en) Control method and device for near field communication device, medium and electronic equipment
CN105809233B (en) A kind of intelligent modules card and its application method
CN103970103A (en) Intelligent home scene control method and system and scene controller
CN109842515A (en) A kind of method, server and the computer storage medium of more equipment distributions
CN104270188A (en) Beidou satellite communication equipment
CN104111908B (en) USB device and work system, operation mode conversion method, data communications method
CN106060815A (en) Data transmission method, mobile terminal and data transmission system
CN111338673B (en) Equipment debugging method and device, electronic equipment and storage medium
CN106027753B (en) Control method and device for click-to-read story teller
CN105373720B (en) A kind of module control method and device applied to mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant