CN108877185B - Bluetooth remote control method and circuit - Google Patents

Bluetooth remote control method and circuit Download PDF

Info

Publication number
CN108877185B
CN108877185B CN201810975485.4A CN201810975485A CN108877185B CN 108877185 B CN108877185 B CN 108877185B CN 201810975485 A CN201810975485 A CN 201810975485A CN 108877185 B CN108877185 B CN 108877185B
Authority
CN
China
Prior art keywords
bluetooth module
controller
interface
level signal
command
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.)
Active
Application number
CN201810975485.4A
Other languages
Chinese (zh)
Other versions
CN108877185A (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 Small Appliances Intelligent Technology Co ltd
Original Assignee
Shenzhen Heertai Small Appliances Intelligent Technology Co ltd
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 Small Appliances Intelligent Technology Co ltd filed Critical Shenzhen Heertai Small Appliances Intelligent Technology Co ltd
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

Images

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 invention relates to the technical field of control and discloses a Bluetooth remote control method and circuit. The Bluetooth remote control method is applied to a Bluetooth module, the Bluetooth module is provided with a signal pin, and the signal pin is used for being connected with a controller through an infrared interface; the method comprises the following steps: receiving a control command sent by an intelligent terminal; converting the control command into a level signal according to a preset infrared coding model; and transmitting the level signal to the controller through the signal pin so as to enable the controller to execute the control command. Through the mode, the device can be conveniently controlled.

Description

Bluetooth remote control method and circuit
Technical Field
The invention relates to the technical field of control, in particular to a Bluetooth remote control method and circuit.
Background
Many household electrical appliances, such as air conditioners, fans, wall lamps, etc., are usually difficult to be touched and are usually installed on a wall, and the hands are difficult to be directly controlled by touching. Therefore, many home appliances need to be controlled by means of a remote control.
The remote control of household electrical appliances is usually controlled in an infrared communication mode, an infrared transmitting tube is arranged on a remote controller, and an infrared receiving head is arranged on a main control panel of the household electrical appliances, so that the household electrical appliances can receive control signals of the remote controller to execute corresponding actions.
The inventor of the invention finds out that in the process of implementing the embodiment of the invention: the existing infrared control mode is inconvenient because infrared light has directivity and a user needs to hold a remote controller to carry out remote control on a product.
Disclosure of Invention
The embodiment of the invention mainly solves the technical problem of providing a Bluetooth remote control method and circuit, which can conveniently control equipment.
In order to solve the above technical problem, one technical solution adopted by the embodiments of the present invention is: the Bluetooth remote control method is applied to a Bluetooth module, wherein the Bluetooth module is provided with a signal pin, and the signal pin is used for being connected with a controller through an infrared interface; the method comprises the following steps: receiving a control command sent by an intelligent terminal; converting the control command into a level signal according to a preset infrared coding model; and transmitting the level signal to the controller through the signal pin so as to enable the controller to execute the control command.
Wherein the method further comprises: and broadcasting the identity of the Bluetooth module so as to enable the intelligent terminal to be connected with the Bluetooth module.
Wherein the method further comprises: and generating a two-dimensional code according to the address information of the Bluetooth module so that the intelligent terminal identifies the two-dimensional code and establishes connection with the Bluetooth module.
Wherein the control command comprises: the method for converting the control command into the level signal according to the preset conversion model comprises the following steps: respectively converting the command identification information, the command control information and the command verification information into binary codes; and outputting the level signal according to the logic level of the binary code and a preset time sequence.
Wherein the level signal comprises a low level signal and a high level signal; the outputting the level signal according to the logic level of the binary code and a preset time sequence comprises: outputting a low level signal for a first preset duration according to the logic level 0 of the binary code, and then outputting a high level signal for a second preset duration; and outputting a low level signal for a third preset duration according to the logic level 1 of the binary code, and then outputting a high level signal for a fourth preset duration.
In order to solve the above technical problem, another technical solution adopted in the embodiments of the present invention is: provided is a Bluetooth remote control circuit including: the Bluetooth module is provided with a signal pin, and the signal pin is used for being connected with the controller through the infrared interface; wherein, the bluetooth module is used for: receiving a control command sent by an intelligent terminal; converting the control command into a level signal according to a preset infrared coding model; and transmitting the level signal to the controller through the signal pin so as to enable the controller to execute the control command.
The circuit further comprises a mainboard, and the infrared interface and the controller are arranged on the mainboard.
The Bluetooth module is also provided with a power pin and a grounding pin, and the infrared interface comprises a first interface, a second interface and a third interface; the power supply pin is connected with the first interface, the grounding pin is connected with the second interface, the second interface is grounded, and the signal pin is connected with the third interface; the bluetooth module is specifically configured to: and transmitting the level signal to the third interface through the signal pin so as to transmit the level signal to the controller, so that the controller executes the control command.
The circuit further comprises a first capacitor, and the first capacitor is respectively connected with the second interface and the third interface.
The Bluetooth module is detachably connected with the infrared interface.
The embodiment of the invention has the beneficial effects that: different from the situation in the prior art, the embodiment of the invention enables the signal pin of the bluetooth module to be connected with the controller through the infrared interface, the bluetooth module converts the control command sent by the intelligent terminal into the level signal according to the preset infrared conversion model, and the level signal is transmitted to the controller through the signal pin to simulate the level signal of the original infrared module, so that the controller can directly process the data information transmitted after the bluetooth module is connected with the infrared interface, the program of the controller is not required to be changed, the bluetooth module can realize the function of the original infrared module, the bluetooth remote control can be realized by replacing the original infrared module with the bluetooth module, and the equipment can be conveniently controlled.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a schematic structural diagram of a bluetooth remote control system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a bluetooth remote control circuit according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a bluetooth remote control method according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of an application scenario of a bluetooth remote control method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a bluetooth remote control device according to an embodiment of the present invention.
Detailed Description
In order to facilitate an understanding of the invention, the invention is described in more detail below with reference to the accompanying drawings and specific examples. It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may be present.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
The remote control of household electrical appliances is usually controlled in an infrared communication mode, an infrared transmitting tube is arranged on a remote controller, and an infrared receiving head is arranged on a main control panel of the household electrical appliances, so that the household electrical appliances can receive control signals of the remote controller to execute corresponding actions.
The mainboard of household electrical appliances often is provided with specific infrared interface to connect infrared receiving head, because infrared receiving head generally is three PIN, then this interface is 3PIN interface, with infrared receiving head direct plug-in to 3PIN interface on, then infrared receiving head can communicate with the controller on the mainboard.
However, the current infrared control mode requires a user to hold a remote controller to remotely control a product, which is very inconvenient; moreover, remote controllers with consistent codes can control products, and certain safety problems are brought.
Based on this, the embodiment of the invention provides a bluetooth remote control method and circuit, which can be used for directly processing data information transmitted after the bluetooth module is connected to an infrared interface after the infrared receiving head on a mainboard is taken down and the bluetooth module is installed, and does not need to change programs, thereby realizing bluetooth remote control and conveniently controlling equipment.
Specifically, the embodiments of the present invention will be further explained below with reference to the drawings.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a bluetooth remote control system according to an embodiment of the present invention. As shown in fig. 1, the bluetooth remote control system 300 includes a bluetooth remote control circuit 100 and an intelligent terminal 200. The bluetooth remote control circuit 100 may be connected to the intelligent terminal 200 in a bluetooth manner, so that the bluetooth remote control circuit 100 and the intelligent terminal 200 can perform information transmission.
The intelligent terminal 200 may exist in various forms, including but not limited to: (1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones, functional phones, etc. (2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc. (3) A portable entertainment device: such devices can display and play content. This type of device comprises: audio, video players, handheld game consoles, electronic books, and intelligent toys. (4) And other electronic devices with data interaction functions.
The bluetooth remote control circuit 100 may be disposed in any suitable electrical equipment with an infrared interface, such as a television, a ceiling lamp, an air conditioner, etc., capable of implementing an infrared remote control function.
Specifically, as shown in fig. 2, the bluetooth remote control circuit 100 includes: bluetooth module 110, infrared interface 120 and controller 130, bluetooth module 110 is connected with controller 130 through infrared interface 120.
The bluetooth module 110 may be obtained by modifying any suitable bluetooth chip with a signal output interface, and in this embodiment, the bluetooth module 110 is obtained by modifying any suitable bluetooth chip with a CC2541 bluetooth chip. The bluetooth module 110 is configured to: receiving a control command sent by an intelligent terminal; converting the control command into a level signal according to a preset infrared coding model; the level signal is transmitted to the controller 130 through the signal pin 111 so that the controller 130 executes the control command.
Specifically, the bluetooth module 110 is provided with a signal pin 111, a power pin 113, and a ground pin 112. The signal pin 111 is used for connecting the controller 130 through the infrared interface 120, the power pin 113 is used for connecting a power supply, and the ground pin 112 is used for grounding. The signal pin 111 may be any GPIO pin on the bluetooth module 110, the power pin 113 may be a Vcc pin of the bluetooth module 110, and the ground pin 112 may be a GND pin of the bluetooth module 110.
The infrared interface 120 includes a first interface 121, a second interface 122, and a third interface 123. The first interface 121, the second interface 122 and the third interface 123 may be soldering points or insertion holes. When the bluetooth module 110 is connected to the infrared interface 120, the power pin 113 is connected to the first interface 121, the ground pin 112 is connected to the second interface 122, the second interface 122 is grounded, and the signal pin 111 is connected to the third interface 123, so that the bluetooth module 110 transmits a level signal to the third interface 123 through the signal pin 111, and thus to the controller 130, so that the controller 130 executes a control command.
Optionally, when the infrared interface 120 is a jack, the bluetooth module 110 is detachably connected to the infrared interface 120. The infrared interface 120 further includes an interface housing 124, and the first interface 121, the second interface 122 and the third interface 123 are disposed in the interface housing 124, so that the original infrared receiving head can be conveniently taken down from the infrared interface 120, and the bluetooth module 110 can be conveniently connected with the infrared interface 120, so that the original infrared receiving head can be conveniently replaced by the bluetooth module 110.
Optionally, in order to enable stable signal transmission, the bluetooth remote control circuit 100 further includes: a first capacitor C1 and a second capacitor C2. The first capacitor C1 is connected to the second interface 122 and the third interface 123, respectively, and the second capacitor C2 is connected to the second interface 122 and the third interface 123, respectively. The capacitance value of the first capacitor C1 is 100NF, but not limited to 100NF, and the capacitance value of the second capacitor C2 is 47UF, but not limited to 47UF, which can be selected according to actual situations. The power input is filtered by the first capacitor C1 and the second capacitor C2, so that the signals can be stably transmitted.
The controller 130 may include a processor, an Application-Specific Integrated Circuit (ASIC) having a control processing function, a Field Programmable Gate Array (FPGA), a single chip microcomputer, and the like. The controller 130 is connected to the bluetooth module 110 through the infrared interface 120, thereby receiving the level signal transmitted from the bluetooth module 110.
Optionally, the bluetooth remote control circuit 100 may further include: a memory. The Memory may include a volatile Memory (RAM), such as a Random-Access Memory (SRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (DDR SDRAM), and the like; the memory may also include a non-volatile memory (e.g., flash memory), a hard disk (HDD) or a solid-state drive (SSD), an Electrically Erasable Programmable read-only memory (EEPROM); the memory may also comprise a combination of memories of the kind described above. The memory may be a stand-alone memory, or a memory inside a chip (e.g., a processor chip) or a module with a memory function. The memory may have stored therein a computer program, computer instructions, an operating system, data, databases, etc. The memory may store it in partitions.
Wherein, bluetooth remote control circuit 100 still includes: a main board 140. The infrared interface 120 and the controller 130 are fixedly arranged on the motherboard 140, and the connection between the infrared interface 120 and the motherboard 140 and the connection between the controller 130 and the motherboard 140 can be plug-in connection or welding connection. In this example, the main board 140 is a main board in the household appliance, which may include various circuits, chips, etc. for implementing various functions of the household appliance.
Optionally, the bluetooth remote control circuit 100 may further include: a power source. The power supply is disposed on the motherboard 140 and configured to supply power to each module on the motherboard, wherein the power supply is connected to the controller 130 and configured to supply power to the controller 130 and to supply power to the bluetooth module 110 through the infrared interface 120.
In this embodiment, the signal pin 111 of the bluetooth module 110 is connected to the controller 130 through the infrared interface 120, the bluetooth module 110 converts the control command sent by the intelligent terminal 200 into a level signal according to a preset infrared coding model, and the level signal is transmitted to the controller 130 through the signal pin 111, so as to simulate the level signal of the original infrared module, so that the controller 130 can directly process the data information transmitted after the bluetooth module 110 is connected to the infrared interface 120, the controller does not need to change a program, the bluetooth module 110 can realize the function of the original infrared module, thereby realizing the bluetooth remote control of the intelligent terminal 200 by replacing the original infrared module with the bluetooth module, and being capable of conveniently controlling.
Referring to fig. 3, fig. 3 is a flowchart illustrating a bluetooth remote control method according to an embodiment of the present invention. As shown in fig. 3, the bluetooth remote control method is applied to the bluetooth remote control circuit 100 in the above embodiment, and the method includes:
410. and receiving a control command sent by the intelligent terminal.
After the bluetooth remote control circuit 100 establishes a connection with the intelligent terminal 200, a control command sent by the intelligent terminal 200 is received. The control command may be an opening control command, a closing control command, or a function switching control command for the electrical device, or the like.
The control command may include command identification information, command control information, and command check information, for example, the control command includes three bytes, i.e., 0x86, 0x80, and 0x28, where 0x86 is the command identification information, 0x80 is the command control information, and 0x28 is the command check information. The intelligent terminal can control the electrical equipment by receiving the control command sent by the intelligent terminal.
420. And converting the control command into a level signal according to a preset infrared coding model.
The preset infrared coding model is an algorithm model which is preset and can convert the control command into a level signal conforming to an infrared protocol. The preset infrared coding model may include a plurality of infrared coding models, for example, infrared coding models of all electric appliances commonly used in the market may be included.
In this embodiment, step 420 includes: 421. respectively converting the command identification information, the command control information and the command verification information into binary codes; 422. and outputting the level signal according to the logic level of the binary code and a preset time sequence.
Since the control command is generally hexadecimal code, the control command needs to be converted into binary code, for example, assuming that the control command is 0x86, the conversion is 10000110.
Wherein, the logic level of the binary code includes a logic level 0 and a logic level 1, and the level signal includes a high level signal and a low level signal, then step 422 specifically includes: 4221. outputting a low level signal for a first preset duration according to the logic level 0 of the binary code, and then outputting a high level signal for a second preset duration; 4222. and outputting a low level signal for a third preset duration according to the logic level 1 of the binary code, and then outputting a high level signal for a fourth preset duration.
The first preset time length, the second preset time length, the third preset time length and the fourth preset time length are preset time lengths and can be matched with level signals output by an infrared receiving head which is processed in a controller. And the logic level 0 is represented by a low level signal with a first preset duration and a high level signal with a second preset duration, and the logic level 1 is represented by a low level signal with a third preset duration and a high level signal with a fourth preset duration so as to output a binary code.
In the present embodiment, the first preset time period is 0.5142ms, the second preset time period is 0.6016ms, the third preset time period is 0.5158ms, and the fourth preset time period is 1.713ms, that is, the logic level 0 is represented by a 0.5142ms low level signal and a 0.6016ms high level signal, and the logic level 1 is represented by a 0.5158ms low level signal and a 1.713ms high level signal. For example, when the binary code is 10000110, the output level signal is: 0.5142ms low and 0.6016ms high (0), 0.5158ms low and 1.713ms high (1), 0.5158ms low and 1.713ms high (1), 0.5142ms low and 0.6016ms high (0), 0.5142ms low and 0.6016ms high (0), 0.5142ms low and 0.6016ms high (0), 0.5142ms low and 0.6016ms high (0), 0.5158ms low and 1.713ms high (1).
430. And transmitting the level signal to the controller through the signal pin so as to enable the controller to execute the control command.
After the level signal is converted, the level signal is transmitted to the third interface 123 through the signal pin 111 and is then transmitted to the controller 130, so that the controller 130 executes the control command. The controller 130 can directly execute the operation of the control command according to the received level signal after receiving the level signal without changing the original program of the controller 130.
In this embodiment, the signal pin 111 of the bluetooth module 110 is connected to the controller 130 through the infrared interface 120, the bluetooth module 110 converts the control command sent by the intelligent terminal 200 into a level signal according to a preset infrared coding model, and the level signal is transmitted to the controller 130 through the signal pin 111, so as to simulate the level signal of the original infrared module, so that the controller 130 can directly process the data information transmitted after the bluetooth module 110 is connected to the infrared interface 120, the controller does not need to change a program, the bluetooth module 110 can realize the function of the original infrared module, thereby realizing the bluetooth remote control of the intelligent terminal 200 by replacing the original infrared module with the bluetooth module, and being capable of conveniently controlling.
In some embodiments, the smart terminal 200 and the bluetooth module 110 need to establish a connection before communication can be performed. Before step 410, the bluetooth remote control method further comprises: 440. and broadcasting the Bluetooth module identity so as to enable the intelligent terminal to be connected with the Bluetooth module.
Wherein, the broadcast can be connectable non-directional broadcast, or connectable directional broadcast, etc. The identity of the broadcast bluetooth module may specifically be: searching for the intelligent terminal 200 having the bluetooth function, and transmitting a broadcast every time when one intelligent terminal 200 is searched, so that the intelligent terminal 200 is paired with the bluetooth module, thereby establishing connection. Optionally, the bluetooth module 110 may be connected to one intelligent terminal 200, or the bluetooth module 110 may be connected to a plurality of intelligent terminals 200 at the same time, and when the bluetooth module 110 is connected to a plurality of intelligent terminals 200 at the same time, the plurality of intelligent terminals 200 may all send a control instruction to the bluetooth module 110. Further, in order to improve the security of the bluetooth module 110, before the intelligent terminal 200 establishes a connection with the bluetooth module 110, the controller 130 performs authentication on the intelligent terminal 200, so that a specific intelligent terminal 200 can send control information to the bluetooth module 110, thereby improving the security of bluetooth remote control.
In some embodiments, the smart terminal 200 may also establish a connection with the bluetooth module 110 by other means. Before step 410, the bluetooth remote control method further comprises: 450. and generating a two-dimensional code according to the address information of the Bluetooth module so that the intelligent terminal identifies the two-dimensional code and establishes connection with the Bluetooth module.
The MC address of the bluetooth module 110 is unique, and a unique corresponding two-dimensional code can be generated according to the address information of the bluetooth module 110. Optionally, the bluetooth control circuit 100 further includes a display module, the display module is connected to the controller 130, and the controller 130 is further configured to: after step 450, the display module is controlled to display the two-dimensional code. The smart terminal 200 establishes a connection with the bluetooth module 110 by scanning and recognizing the two-dimensional code.
Referring to fig. 4, fig. 4 is a flowchart illustrating an application scenario of the bluetooth remote control method according to an embodiment of the present invention. When the user does not need to use the infrared remote control of the television, the infrared receiving head on the main board 140 of the television is detached from the infrared interface 120, and the bluetooth module 110 is connected to the infrared interface 120, so that the bluetooth module 110 is connected with the controller 130 through the infrared interface 120, and the television is controlled through the mobile phone.
As shown in fig. 4, the bluetooth remote control method is applied to the bluetooth remote control system 300 in the above embodiment, and the method includes:
510. the bluetooth module 110 broadcasts the identity of the bluetooth module 110, and the mobile phone establishes connection with the bluetooth module 110 after scanning the identity of the bluetooth module 110;
520. the mobile phone sends a control command to the bluetooth module 110;
for example, the control command is a zapping command, and the control command includes three bytes of 0x86, 0x80 and 0x 28;
530. the bluetooth module 110 receives a control command sent by the mobile phone;
540. the bluetooth module 110 converts the control command into a level signal according to a preset infrared coding model;
wherein, the binary codes converted from 0x86, 0x80 and 0x28 are 10000110, 10000000 and 00101000, and based on the preset infrared coding model, the output level signal is: 0.5142ms low 0.6016ms high (0) 0.5158ms low 1.713ms high (1) 0.5158ms low 1.713ms high (1) 0.5142ms low 0.6016ms high (0) 0.5142ms low 0.6016ms high (0) 0.5142ms low 0.6016ms high (0) 0.5142ms low 0.6016ms high (0) 0.5158ms low 1.713ms high (1), 0.5142ms low 0.6016ms high (0) 0.5142ms low 0.5142ms high (1), 0.5142ms low 0.5142ms high (0) 0.5142ms high (0.5142 ms) 0.5142ms high (1.713 ms high (1.72 ms) high 0.5142ms high (0.5142 ms) 0.5142ms high (0.5142 ms high (0.5142) 0.5142ms low 0.5142ms high (0.5142) 0.5142ms high (0.5142 ms 0.5142) low 0.5142ms high (0.5142) 0.5142ms high (360) 0.5142ms 0.5142 low 0.5142ms high (36;
550. the bluetooth module 110 transmits the level signal to the controller 130 through the signal pin 111;
560. the controller 130 controls the corresponding module of the television to perform the channel switching operation according to the level signal.
In this embodiment, the signal pin 111 of the bluetooth module 110 is connected to the controller 130 through the infrared interface 120, the bluetooth module 110 converts the control command sent by the intelligent terminal 200 into a level signal according to a preset infrared coding model, and the level signal is transmitted to the controller 130 through the signal pin 111, so as to simulate the level signal of the original infrared receiving head, so that the controller 130 can directly process the data information transmitted after the bluetooth module 110 is connected to the infrared interface 120, the controller does not need to change a program, the bluetooth module 110 can realize the function of the original infrared receiving head, thereby realizing the bluetooth remote control of the mobile phone by replacing the original infrared receiving head with the bluetooth module, and being capable of conveniently controlling.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a bluetooth remote control device according to an embodiment of the present invention. As shown in fig. 5, the apparatus 600 includes a receiving module 610, a converting module 620, and a transmitting module 630.
The receiving module 610 is configured to receive a control command sent by the intelligent terminal; the conversion module 620 is configured to convert the control command into a level signal according to a preset infrared coding model; the transmission module 630 is configured to transmit the level signal to the controller through the signal pin, so that the controller executes the control command.
The device can execute the method provided by the embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiment of the present invention.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that the embodiments may be implemented by software plus a general hardware platform, and may also be implemented by hardware. It will be understood by those skilled in the art that all or part of the processes in the methods for implementing the embodiments may be implemented by hardware associated with computer program instructions, and the programs may be stored in a computer readable storage medium, and when executed, may include processes of the embodiments of the methods as described. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; within the context of the present application, where technical features in the above embodiments or in different embodiments can also be combined, the steps can be implemented in any order and there are many other variations of the different aspects of the present application as described above, which are not provided in detail for the sake of brevity; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (7)

1. A Bluetooth remote control method is characterized by being applied to a Bluetooth remote control circuit, wherein the Bluetooth remote control circuit is arranged in a household appliance product and comprises a Bluetooth module, an infrared interface and a controller, the Bluetooth module is provided with a signal pin, and the signal pin is used for being connected with the controller through the infrared interface so that the controller can directly process data information transmitted by the Bluetooth module through the infrared interface;
the method comprises the following steps:
the controller carries out identity verification on the intelligent terminal so that the specific intelligent terminal sends control information to the Bluetooth module;
the Bluetooth module receives a control command sent by the intelligent terminal, and the control command comprises: command identification information, command control information and command verification information;
the Bluetooth module converts the command identification information, the command control information and the command verification information into binary codes respectively;
the Bluetooth module outputs level signals according to the logic level of the binary code and a preset time sequence, wherein the level signals comprise high level signals and low level signals;
the Bluetooth module transmits the level signal to the controller through the signal pin so as to enable the controller to execute the control command;
the outputting the level signal according to the logic level of the binary code and a preset time sequence comprises:
outputting a low level signal for a first preset duration according to the logic level 0 of the binary code, and then outputting a high level signal for a second preset duration;
outputting a low level signal for a third preset duration according to the logic level 1 of the binary code, and then outputting a high level signal for a fourth preset duration;
the first preset time length, the second preset time length, the third preset time length and the fourth preset time length are preset time lengths and are used for matching level signals output by an infrared receiving head in the controller.
2. The method of claim 1, further comprising:
and broadcasting the identity of the Bluetooth module so as to enable the intelligent terminal to be connected with the Bluetooth module.
3. The method of claim 1, further comprising:
and generating a two-dimensional code according to the address information of the Bluetooth module so that the intelligent terminal identifies the two-dimensional code and establishes connection with the Bluetooth module.
4. A bluetooth remote control circuit, comprising: the Bluetooth remote control circuit is arranged in a household appliance, the Bluetooth module is provided with a signal pin, and the signal pin is used for being connected with the controller through the infrared interface so that the controller can directly process data information transmitted by the Bluetooth module through the infrared interface;
the controller is used for carrying out identity authentication on the intelligent terminal so that the specific intelligent terminal can send control information to the Bluetooth module;
the Bluetooth module is used for:
receiving a control command sent by an intelligent terminal, wherein the control command comprises: command identification information, command control information and command verification information;
respectively converting the command identification information, the command control information and the command verification information into binary codes;
outputting level signals according to the logic level of the binary code and a preset time sequence, wherein the level signals comprise high level signals and low level signals;
transmitting the level signal to the controller through the signal pin so as to enable the controller to execute the control command;
the outputting the level signal according to the logic level of the binary code and a preset time sequence comprises:
outputting a low level signal for a first preset duration according to the logic level 0 of the binary code, and then outputting a high level signal for a second preset duration;
outputting a low level signal for a third preset duration according to the logic level 1 of the binary code, and then outputting a high level signal for a fourth preset duration;
the first preset time length, the second preset time length, the third preset time length and the fourth preset time length are preset time lengths and are used for matching level signals output by an infrared receiving head in the controller.
5. The circuit of claim 4, further comprising a motherboard, wherein the infrared interface and the controller are disposed on the motherboard.
6. The circuit of claim 5, wherein the Bluetooth module is further provided with a power pin and a ground pin, and the infrared interface comprises a first interface, a second interface and a third interface;
the power supply pin is connected with the first interface, the grounding pin is connected with the second interface, the second interface is grounded, and the signal pin is connected with the third interface;
the bluetooth module is specifically configured to: and transmitting the level signal to the third interface through the signal pin so as to transmit the level signal to the controller, so that the controller executes the control command.
7. The circuit of claim 6, further comprising a first capacitor, the first capacitor being connected to the first interface and the second interface, respectively.
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 CN108877185A (en) 2018-11-23
CN108877185B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110488980B (en) * 2019-08-23 2024-03-22 大连成者科技有限公司 Human-computer interaction system of projection system
CN112037497B (en) * 2020-09-16 2022-04-15 深圳市爱尚智联科技有限公司 Bluetooth BLE and infrared integrated remote control assembly 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

Citations (6)

* 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
CN201397574Y (en) * 2009-04-21 2010-02-03 西安迅腾科技有限责任公司 Data acquisition and transmission instrument with infrared remote control function
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

Family Cites Families (19)

* 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
CN201130985Y (en) * 2007-12-26 2008-10-08 深圳华为通信技术有限公司 Mobile phone, receiving apparatus and communication system
CN102354443B (en) * 2011-09-26 2013-02-06 南京物联传感技术有限公司 Wireless infrared (IR) remote control device and operating method thereof
TWM445818U (en) * 2011-12-07 2013-01-21 Chien Hui Chuan Bluetooth controllable electrical devices
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
CN104242880B (en) * 2014-09-15 2017-02-15 小米科技有限责任公司 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
CN105605738B (en) * 2016-01-12 2018-09-28 深圳市德赛工业研究院有限公司 A kind of air-conditioner control system
CN205680275U (en) * 2016-06-21 2016-11-09 厦门华联电子有限公司 A kind of miniature patch infrared remote control receiver
CN205951821U (en) * 2016-07-25 2017-02-15 南京信息工程大学 Car anticollision early -warning system that opens door based on bluetooth
CN108270129A (en) * 2016-12-30 2018-07-10 泰科电子(上海)有限公司 Connector
CN107632949B (en) * 2017-09-30 2019-10-25 Oppo广东移动通信有限公司 Data line 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

Patent Citations (6)

* 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
CN201397574Y (en) * 2009-04-21 2010-02-03 西安迅腾科技有限责任公司 Data acquisition and transmission instrument with infrared remote control function
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手持设备的智能家居遥控系统研制;林粤伟 等;《电子产品世界》;20150604(第6期);第37-39页 *

Also Published As

Publication number Publication date
CN108877185A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
EP2840455B1 (en) Method, apparatus and system for intelligently controlling device, and plug-and-play device
CN108877185B (en) Bluetooth remote control method and circuit
US10015261B2 (en) Method and terminal for controlling internet of things and controlled electronic device
US10481569B2 (en) Household appliance control method and device, and central processing device
CN203520624U (en) Remote controller expansion device internally provided with wireless fidelity (WIFI), and remote control system
CN108347719B (en) Bluetooth device connection method, device, storage medium, mobile terminal and server
CN104601838A (en) Voice and wireless control intelligent household appliance operation system
CN102867402A (en) Method for remotely controlling electrical appliance by using mobile communication terminal
CN103559787A (en) Household appliance control method and terminal
AU2013388030A1 (en) Method, apparatus, and system for intelligently controlling device, and plug-and-play device
CN112486105B (en) Equipment control method and device
CN103929695B (en) Household mosaic Bluetooth music play system and player method
CN115101071A (en) Low-power-consumption Bluetooth voice control terminal, method, device and equipment
CN104217560A (en) All-purpose remote controller module used for smartphone and operation method thereof
US9077929B2 (en) Portable electronic device based user-definable remote-control interface system and operating method thereof with a display and input unit adapted to show an interface allocation information map, the map being divided into a plurality of sub-areas
CN109218994B (en) Equivalent equipment Bluetooth communication method and device based on gateway
CN112017422B (en) Method for transmitting signal of mesh network and remote control system thereof
US20140097945A1 (en) Wireless Digital Signal-Controlled Switch System
CN105243832A (en) General programmable remote controller and programming method thereof
CN103209250A (en) Universal remote control system
CN205759653U (en) A kind of toy system based on Yun Zhi control
CN103259842A (en) Socket
CN103873648A (en) Universal remote control system
CN114885251A (en) TWS earphone system low-delay transmission method, device, equipment and storage medium
CN112863162A (en) Infrared signal transmitting device and method

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