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
interface
level signal
bluetooth module
controller
infrared
Prior art date
Application number
CN201810975485.4A
Other languages
Chinese (zh)
Inventor
龙逸
Original Assignee
深圳和而泰小家电智能科技有限公司
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 深圳和而泰小家电智能科技有限公司 filed Critical 深圳和而泰小家电智能科技有限公司
Priority to CN201810975485.4A priority Critical patent/CN108877185A/en
Publication of CN108877185A publication Critical patent/CN108877185A/en

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

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 A kind of Bluetooth remote control method and circuit CN108877185A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

Publication Number Publication Date
CN108877185A true CN108877185A (en) 2018-11-23

Family

ID=64321566

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN108877185A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112053544A (en) * 2020-09-16 2020-12-08 深圳市爱尚智联科技有限公司 Single-wire bidirectional half-duplex Bluetooth BLE remote control module and remote control method

Citations (9)

* 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
CN105352121A (en) * 2015-11-13 2016-02-24 安徽师范大学 Remote control system and method based on mobile phone terminal
CN105955063A (en) * 2016-07-15 2016-09-21 苏州咖啦魔哆信息技术有限公司 Household electrical appliance control system based on bluetooth earphone
CN205751226U (en) * 2015-09-06 2016-11-30 北京信息职业技术学院 Learning type infrared remote control device based on intelligent mobile terminal
CN206162860U (en) * 2016-10-28 2017-05-10 恬家(上海)信息科技有限公司 Radio frequency changes infrared remote control circuit

Patent Citations (9)

* 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
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
CN105955063A (en) * 2016-07-15 2016-09-21 苏州咖啦魔哆信息技术有限公司 Household electrical appliance control system based on bluetooth earphone
CN206162860U (en) * 2016-10-28 2017-05-10 恬家(上海)信息科技有限公司 Radio frequency changes infrared remote control circuit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
林粤伟 等: "基于Android手持设备的智能家居遥控系统研制", 《电子产品世界》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112053544A (en) * 2020-09-16 2020-12-08 深圳市爱尚智联科技有限公司 Single-wire bidirectional half-duplex Bluetooth BLE remote control module and remote control method

Similar Documents

Publication Publication Date Title
CN103914972B (en) A kind of domestic electric appliances controller and its infrared learning method
US9979497B2 (en) Audio playing method and apparatus based on Bluetooth connection
CN104808499B (en) A kind of method and control device based on linkage rule control smart home device
CN102932695B (en) A kind of remote control thereof, intelligent terminal and intelligent remote control system
CN107302251A (en) A kind of intelligent movable power supplies and the method that usb data communication is carried out with it
TWI271659B (en) Memory card equipped with a multi-interface function and method for choosing a compatible transmission mode
CN104636777B (en) ID card information obtains system
CN109377987B (en) Interaction method, device, equipment and storage medium between intelligent voice equipment
US8544752B2 (en) Nonvolatile memory card adaptable to plural specifications
CN103744729B (en) The computer system of system capable of switching operation
TWI387880B (en) Memory interface card with sim functions
CN104144109B (en) A kind of apparatus control method, device and system
CN110231861A (en) For providing the method and apparatus of power to electronic equipment
CN104583951A (en) Accessory booting over usb
CN104081368A (en) Mobile device automatic detection apparatus and method
US20050210195A1 (en) System, apparatus and method for sharing media
JP4588427B2 (en) Memory system and data transmission speed setting method between host and memory card
CN103824099A (en) Method and system for connecting and controlling equipment automatically by intelligent terminal via identification tags
CN105118257A (en) Intelligent control system and method
CN101099157A (en) Accessory authentication for electronic devices
CN105739318A (en) Intelligent socket, intelligent household control system and control method thereof
CN106814639A (en) Speech control system and method
CN103581706B (en) The application installation method of intelligent television and system
CN106411621A (en) Internet of Things device, network configuring method, apparatus, system and terminal for the same
CN205847375U (en) A kind of smart projector realizing handset program speech control

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