Summary of the invention
The technical problem to be solved in the present invention is, provide a kind of can according to the steering order received, the infrared remote control module of the one or more electric equipment of remote control and there is the infrared control system of this infrared remote control module.
The technical solution adopted for the present invention to solve the technical problems is: construct a kind of infrared remote control module, can be used for the one or more electric equipment of remote control, comprising: memory module, infrared modular converter, infrared emission tube drive circuit, infrared transmission module and processor;
Described memory module, stores infrared code storehouse, and described infrared code storehouse comprises the first infrared coded data mated with described electric equipment;
Described processor, communicate to connect with described memory module and described infrared modular converter, for receiving steering order and being forwarded to described infrared modular converter, and select to obtain described first infrared coded data corresponding in described memory module according to described steering order, and be forwarded to described infrared modular converter;
Described infrared modular converter, for described first infrared coded data received is carried out encoding and modulating, form the second infrared coded data of required form, and described second infrared coded data is exported, also generate drive control signal according to the described steering order received and export;
Described infrared emission tube drive circuit and described infrared modular converter communicate to connect, for receiving described second infrared coded data and described drive control signal, and according to described drive control signal, the 3rd infrared coded data formed after described second infrared coded data being carried out amplify process, and described 3rd infrared coded data is exported;
Described infrared transmission module, is connected with described infrared emission tube drive circuit, for receiving and outwards launching infrared signal according to described 3rd infrared coded data.
In infrared remote control module of the present invention, described processor comprises:
MANET module, for hoc Wireless Local Area Network, connects described infrared modular converter and sends intelligent terminal and/or the enviromental monitoring equipment of described steering order;
Command reception judging unit, for receiving described steering order, and judges different steering orders to export respectively;
MANET control module, is connected with described MANET module communication, for receiving the networking steering order in described command reception judging unit output steering order, controls described MANET modular organisation WLAN (wireless local area network);
First retransmission unit, be connected with described MANET module communication, for receiving the modulation instructions in described steering order, and by described MANET module, described modulation instructions is sent to described infrared modular converter, to control described infrared modular converter, described first infrared coded data is carried out encoding and modulating, also generate described drive control signal.
In infrared remote control module of the present invention, described processor comprises the second retransmission unit, and described second retransmission unit and described command reception judging unit communicate to connect, and pass through I between described second retransmission unit and described memory module
2c bus connects;
Described second retransmission unit receives the infrared code call instruction in described command reception judging unit output steering order, and passes through I according to described infrared code call instruction
2after C bus obtains described first infrared coded data in corresponding described memory module, then pass through I
2c bus exports described first infrared coded data to described infrared modular converter.
In infrared remote control module of the present invention, described MANET module is: for set up blueteeth network bluetooth module, for setting up zigbee module, any one for setting up in the wifi module of wifi network of zigbee network.
In infrared remote control module of the present invention, described infrared remote control module also comprises for whole described infrared remote control module provides the power supply VDD of power supply.
In infrared remote control module of the present invention, described infrared modular converter comprises: infrared conversion chip, with I
2c bus connects;
Pull-up power supply MVDD;
First pull-up resistor R4, is connected on I
2between the SDA line of C bus and described pull-up power supply MVDD;
Second pull-up resistor R5, is connected on I
2between the SCK line of C bus and described pull-up power supply MVDD;
Second divider resistance R2, is connected on I
2between the BUSY line of C bus and the BUSY pin of described infrared conversion chip;
3rd divider resistance R3, a termination I
2the BUSY line of C bus, other end ground connection, described second divider resistance R2, the 3rd divider resistance R3 are divider resistance, for mating the level of described processor and described infrared conversion chip;
Described infrared remote control module also comprises infrared receiving module and the first divider resistance R1, and wherein, described infrared receiving module is infrared receiving tube D1;
The SMT pin of described power supply VDD, described infrared receiving tube D1, described first divider resistance R1, described infrared conversion chip is connected successively, and described first divider resistance R1 flows into the electric current of described infrared conversion chip SMT pin for limiting described power supply VDD.
In infrared remote control module of the present invention, described power supply VDD is the button cell with charge function, and the interface socket of described button cell is arranged on the skin of described infrared remote control module.
The present invention also provides a kind of infrared control system, comprises wireless router, intelligent terminal and/or enviromental monitoring equipment and the infrared remote control module described in above-mentioned any one,
Described intelligent terminal and/or enviromental monitoring equipment connect described wireless router, and described intelligent terminal and/or enviromental monitoring equipment send steering order to described wireless router;
Described wireless router connects described infrared remote control module, and steering order is forwarded to described infrared remote control module by described wireless router.
In infrared control system of the present invention, described infrared remote control module comprises MANET module; Described MANET module also comprises RF antenna, connects wireless router by described RF antenna.
In infrared control system of the present invention, described infrared control system comprises: the electric equipment of one or more available infrared control, the infrared signal that the infrared transmission module that described electric equipment receives described infrared remote control module sends, performs the operation corresponding with described steering order.
In infrared control system of the present invention, described intelligent terminal and/or enviromental monitoring equipment pass through wireless network or cable network, the described wireless router of long-range connection, and send described steering order to described wireless router;
Described intelligent terminal is one or more in mobile phone, panel computer, notebook computer, PDA;
Described enviromental monitoring equipment is one or more in temperature monitoring equipment, humidity detection equipment, PM2.5 monitoring equipment.
Implement the present invention and at least there is following beneficial effect: the present invention has infrared code storehouse in a storage module, when needing to control corresponding infrared equipment, only need select corresponding infrared coded data according to steering order from memory module, thus realize control to Different Red external equipment, have system simple, control advantage easily.
Further, carry out hoc Wireless Local Area Network by MANET module, thus intelligent terminal and/or enviromental monitoring equipment can connect with infrared modular converter, realize the control of household electrical appliances, data sharing control etc.
Further, this infrared remote control module is also provided with several infrared transmitting tubes at different directions, thus can control the infrared equipment of different azimuth, has the advantage that range of control is wide.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, in infrared remote control module first embodiment of the present invention, it comprises memory module 1, infrared modular converter 2, infrared emission tube drive circuit 3, infrared transmission module 4, processor 5.Understandable, these circuit, module can be arranged in a housing, and are placed into suitable position, so that carry out remote pilot to electric equipment.
This memory module 1 stores infrared code storehouse, and infrared code storehouse comprises some first infrared coded data.The infrared coding of this first infrared coded data and electric equipment matches, thus can by calling the corresponding straighforward operation that this first infrared coded data realizes electric equipment.Preferably, memory module 1 can be flash storage; Certainly, also other storage mediums can be adopted.
Processor 5 communicates to connect with memory module 1 and infrared modular converter 2.This processor 5, according to the steering order received, is selected to obtain first infrared coded data corresponding with this steering order, and the first infrared coded data obtained is forwarded to infrared modular converter 2 from memory module 1.Further, reception steering order is also forwarded to infrared modular converter 2 by this processor 5, processes for infrared modular converter 2.In the present embodiment, processor 5 can be MCU(MicrocontrollerUnit, micro-control unit) or the control processor such as single-chip microcomputer.
Infrared modular converter 2 communicates to connect with infrared emission tube drive circuit 3, processor 5.The first infrared coded data received carries out encoding and modulating by this infrared modular converter 2, forms the second infrared coded data of required form, and exports the second infrared coded data to infrared emission tube drive circuit 3.Further, infrared modular converter 2 also generates drive control signal according to the steering order received and exports infrared emission tube drive circuit 3 to.
Infrared emission tube drive circuit 3 and infrared modular converter 2, infrared transmission module 4 communicate to connect, receive the second infrared coded data and the drive control signal of the output of infrared modular converter 2, and according to drive control signal, the 3rd infrared coded data formed after second infrared coded data being carried out amplify process, and the 3rd infrared coded data is exported.
Infrared transmission module 4 is connected with infrared emission tube drive circuit 3, receives the 3rd infrared coded data that infrared emission tube drive circuit 3 exports, and outwards launches infrared signal according to the 3rd infrared coded data, and then controls corresponding electric equipment.Wherein, infrared transmission module 4 can comprise some infrared transmitting tube D2, D3 ..., Dm, and be arranged on different directions, so that relative with the electric equipment of surrounding, be convenient to electric equipment and receive infrared signal.Preferably, some infrared transmitting tube D2, D3 ..., Dm can in 360 degree evenly settings, m >=4.
As shown in Figure 1, in the present embodiment, this infrared remote control module also comprises infrared receiving module 7, power supply VDD6, ADC battery sampling circuit 9, battery capacity indication lamp 8 etc.; Certainly, these modules, circuit can carry out selection according to actual needs and arrange.
This infrared receiving module 7 is connected with infrared interconnecting module 2, connecting communication can be carried out with electric equipment, carry out arranging code, and then the infrared coding rule of electric equipment can be learnt, and changed by infrared modular converter 2, treated device is stored to the infrared code storehouse of memory module 1, forms the first infrared coded data matched with electric equipment.
This power supply VDD6 provides working power for whole infrared remote control module.In the present embodiment, power supply VDD6 can select button cell, and the interface socket of button cell is arranged on the skin of infrared remote control module.Preferably, the interface socket of button cell is arranged on the bottom of infrared remote control module, and is fixed by structure buckle.In the present embodiment, button cell provides 3V power supply to use to above-mentioned infrared remote control module.The present invention adopts high, the lightweight battery of built-in capacity, as li-Mn button cell CR series, any layout can be realized, as being attached to wall, be attached on home appliance, on ceiling light, avoid in prior art the defect such as use inconvenience, installation inconvenience needing external independent current source, there is the advantages such as easy to use, easy for installation.In addition, the MANET module of super low-power consumption can be coordinated, as bluetooth module, realize long continuation of the journey, improve the flying power of battery, extend the service time of infrared remote control module.
Conveniently provide battery level information to user, adopt ADC battery sampling circuit 9 pairs of battery electric quantities to monitor, and the current voltage of monitoring is sent to processor 5, and realize battery detection.
Further, battery capacity indication lamp 8 can also be set, be connected with processor 5, when the electricity of monitoring is too low, can be indicated by battery capacity indication lamp 8, be convenient to user and find that electricity owed by battery timely, timely replacing battery, so that whole infrared remote control module normally uses.This battery capacity indication lamp 8 can be LED.
Further, be the theory diagram of an embodiment of processor as shown in Figure 2, this processor 5 comprises MANET module 50, first retransmission unit 51, MANET control module 52, command reception judging unit 53, second retransmission unit 54, RF antenna 55 etc.
MANET module 50, for hoc Wireless Local Area Network, connects infrared modular converter 2, and the intelligent terminal of sending controling instruction and/or enviromental monitoring equipment.This processor 5 can also connect wireless router by RF antenna 55, passes through telecommunication network, communicate to connect with wireless router for intelligent terminal and/or enviromental monitoring equipment, the steering order that access intelligent terminal and/or enviromental monitoring equipment export.
Command reception judging unit 53 for receiving steering order, and carries out judging that the steering order by different exports respectively.
MANET control module 52 and MANET module 50 communicate to connect, and exporting networking steering order in steering order, controlling MANET module 50 hoc Wireless Local Area Network for receiving command reception judging unit 53.
First retransmission unit 51 communicates to connect with MANET module 50, for receiving the modulation instructions in steering order, and by MANET module 50, modulation instructions is sent to infrared modular converter 2, to control infrared modular converter 2, first infrared coded data is carried out encoding and modulating, after the first retransmission unit 51 receives modulation instructions, also generate drive control signal.
Second retransmission unit 54 and instruction receives judging unit 53 and communicates to connect, and and also passes through I between memory module 1
2c bus connects.
Second retransmission unit 54 receives command reception judging unit 53 and exports infrared code call instruction in steering order, and according to infrared code call instruction, passes through I
2after C bus obtains the first infrared coded data in corresponding memory module 1, then pass through I
2c bus exports the first infrared coded data to infrared modular converter 2.
Further, MANET module 50 is: for set up blueteeth network bluetooth module, for setting up zigbee module, any one for setting up in the wifi module of wifi network of zigbee network.By intelligent terminal and/or the composition such as enviromental monitoring equipment, infrared remote control module LAN, and then sharing of data can be realized by MANET module 50.Such as, MANET module 50 is bluetooth module; Corresponding bluetooth module is provided with in intelligent terminal and/or enviromental monitoring equipment, communication can be set up, thus the steering order that intelligent terminal and/or enviromental monitoring equipment produce can pass through bluetooth communication, be sent to after processing in infrared remote control module, form corresponding infrared signal, control corresponding electric equipment.
In the present embodiment, this processor 5 also comprises electric power detection unit 56, electric power detection unit 56 is connected with ADC battery sampling circuit 9 and battery capacity indication lamp 8, for detecting the current voltage of power supply VDD6, when current voltage does not meet the requirement preset, control battery capacity indication lamp 8 to work, carry out battery altering with reminding user.
As shown in Figure 3, be the circuit diagram of the infrared modular converter 2 of infrared remote control module of the present invention, infrared modular converter 2 comprises infrared conversion chip 21, pull-up power supply MVDD, the first pull-up resistor R4, the second pull-up resistor R5, the second divider resistance R2, the 3rd divider resistance R3.
Infrared conversion chip 21 and I
2c bus connects.
First pull-up resistor R4 is connected on I
2between the SDA line of C bus and pull-up power supply MVDD.
Second pull-up resistor R5 is connected on I
2between the SCK line of C bus and pull-up power supply MVDD.
Second divider resistance R2 is connected on I
2between the BUSY line of C bus and the BUSY pin of infrared conversion chip.
The one termination I of the 3rd divider resistance R3
2the BUSY line of C bus, other end ground connection, the second divider resistance R2, the 3rd divider resistance R3 are divider resistance, for the level of matched-field processors 5 and infrared conversion chip, prevent the electric current of infrared modular converter 2 from pouring in down a chimney to processor 5.
Further, as shown in figs. 1 and 3, infrared remote control module also comprises infrared receiving module 7 and the first divider resistance R1, wherein, infrared receiving module 7 can be an infrared receiving tube D1, infrared conversion chip 21 also has infrared learning function, thus the infrared signal that electric equipment sends can be received, carry out coding study, concrete, infrared remote control module calls the first infrared coded data from infrared code storehouse, send to electric equipment, as this electric equipment does not respond, then continue next calling in infrared code storehouse and organize the first infrared coded data, until electric equipment response, realize the function of coding study.
The SMT pin of power supply VDD6, infrared receiving tube D1, the first divider resistance R1, infrared conversion chip is connected successively, and the first divider resistance R1 flows into the electric current of infrared conversion chip SMT pin for limiting power supply VDD6.
Further, as shown in Figure 3, infrared modular converter 2 also comprises the electric capacity C1 for filtering, and this electric capacity C1 first end ground connection, the second end connect power supply VDD6.
Further, be the schematic diagram of an embodiment of the ADC battery sampling circuit of infrared remote control module as shown in Figure 4, ADC battery sampling circuit 9 comprises resistance the 6th resistance R6, the 7th resistance R7, the 8th resistance R8.
Processor 5, the 6th resistance R6, the 7th resistance R7, power supply VDD6 connect successively, 8th resistance R8 one end is connected with the tie point between the 6th resistance R6, the 7th resistance R7, other end ground connection, wherein, 6th resistance R6, the 8th resistance R8 form bleeder circuit, are judged the current voltage of power supply VDD6 by the 6th resistance R6 change in pressure drop.
When the voltage of power supply VDD6 changes, then the pressure drop on the 6th resistance R6 changes, and allows processor 5 judge power supply VDD6 current voltage by ADC analog to digital conversion mouth, thus realizes the monitoring to power supply VDD6.
Further, as shown in Figure 5, Fig. 5 shows infrared emission tube drive circuit figure, infrared emission tube drive circuit 3 comprises the 9th resistance R9, the tenth resistance R10, the second electric capacity C2, metal-oxide-semiconductor Q1, and with infrared transmitting tube D2, D3 ..., divider resistance R11 that Dm is corresponding, R12 ..., Rn, wherein n=m+9.
Power supply VDD6 is connected with the S pole of second electric capacity C2 one end, metal-oxide-semiconductor Q1, the tenth resistance R10 one end respectively, second electric capacity C2 other end ground connection, the G pole of metal-oxide-semiconductor Q1 is connected with the other end of the tenth resistance R10 and is connected the output pin of infrared conversion chip by the 9th resistance R9, the D pole of metal-oxide-semiconductor Q1 respectively by divider resistance R11, R12 ..., Rn connects corresponding infrared transmitting tube D2, D3 ..., Dm, infrared transmitting tube D2, D3 ..., Dm other end ground connection, metal-oxide-semiconductor Q1 receives conducting after drive control signal.Infrared conversion module 2 is by sending infrared pulse and low and high level signal, control conducting and the shutoff of metal-oxide-semiconductor Q1, thus control the break-make of power supply VDD6, drive infrared transmitting tube D2, D3 by the electric current of amplifying signal ..., Dm sends stronger infrared light, thus realizes infrared driving.
In another embodiment of the invention, also provide a kind of infrared control system, this system comprises the infrared remote control module of wireless router, intelligent terminal and/or enviromental monitoring equipment and above-mentioned any embodiment.
Intelligent terminal and/or enviromental monitoring equipment and wireless router communicate to connect, for sending steering order to wireless router.Intelligent terminal and/or enviromental monitoring equipment can pass through wireless network or cable network, long-range connection wireless router, and send steering order to wireless router.
Wherein, intelligent terminal can be one or more in mobile phone, panel computer, notebook computer, PDA.The operation interface that this intelligent terminal can be provided by APP, plug-in etc., input needs the steering order of the electric equipment controlled, and is sent to wireless router.This enviromental monitoring equipment can be one or more in temperature monitoring equipment, humidity detection equipment, PM2.5 monitoring equipment.This enviromental monitoring equipment can pass through the current environmental data of monitoring, as temperature, humidity, and PM2.5 etc., and current environment parameter is sent to infrared remote control module as steering order, thus remove remote control air conditioner again, humidifier, dehumidifier, the electric equipments such as air purifier.
New infrared remote control module in application embodiments of the invention, can allow and realize following function: the infrared code storehouse of utilization or the infrared learning function of telepilot, control multiple distinct device with infrared receiver function.This infrared remote control module is also provided with several infrared transmitting tubes at different directions, thus can control the infrared equipment of different azimuth.
Infrared remote control module of the present invention is provided with button cell, and thus without the need to plug-in power supply, product can be arranged arbitrarily.The high lightweight battery of built-in capacity, as li-Mn button cell CR series, can realize any layout, as being attached on wall, being attached on home appliance, being attached on ceiling light.
In addition, this infrared remote control module can with intelligent terminal (as mobile phone, dull and stereotyped etc.), electric equipment (as intelligent router, intelligent bulbs, smart jack etc.) radio communication, thus realize Long-distance Control, electric equipment control etc.
This infrared remote control module can select many infrared transmitting tubes, by the calculating of angle and distance, by selection and the layout placement of good infrared transmitting tube, can realize without the arbitrarily angled control in dead angle.
This programme is because adopt battery, and built-in MANET module 50 can select the bluetooth BLE scheme of super low-power consumption to realize long continuation of the journey; Utilize Bluetooth communication can carry out group-net communication with the intelligent terminal, enviromental monitoring equipment, infrared remote control module etc. of support bluetooth BLE scheme; The control signal passed from bluetooth can be changed into infrared code remote control infrared equipment by infrared revolving die block 2, wireless application and control scene are simply listed below:
1) mobile phone terminal installs corresponding remote control APP, by simply arrange be connected after, mobile phone can replace the telepilot of all devices self, and a mobile phone just can control all infrared equipments;
2), after being connected by bluetooth with enviromental monitoring equipment, data sharing can being carried out with other electric equipments, such as, can obtain the temperature humidity of current environment, thus the duty of the electric equipment such as automatic control air conditioner, humidifier;
3) user can this product in long-range connection in other places, thus the electric equipment of Long-distance Control family, as turned off electric light, turn off socket.
Understandable, above embodiment only have expressed the preferred embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention; It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can carry out independent assortment to above-mentioned technical characterstic, can also make some distortion and improvement, these all belong to protection scope of the present invention; Therefore, all equivalents of doing with the claims in the present invention scope and modification, all should belong to the covering scope of the claims in the present invention.