Summary of the invention
In view of this, the object of this invention is to provide a kind of multimode remote control device and method thereof, it can be realized under varying environment and working, and controls the multiple electric equipment that possesses respectively different remote control reception ports.
For achieving the above object, the invention provides technical scheme as follows:
The invention provides a kind of multimode remote control device, described telepilot is operated under infrared mode or 2.4G pattern, and described telepilot comprises:
Command reception module, for receiving and preserve user's input instruction;
Microprocessor, for be operated in infrared mode lower time when described telepilot, produces the first operational order according to described input instruction; When described telepilot is operated in 2.4G pattern lower time, according to described input instruction, produce the second operational order;
Infrared sending module, for be operated in infrared mode lower time when described telepilot, utilizes infrared mode to send described the first operational order;
2.4G sending module, for be operated in 2.4G pattern lower time when described telepilot, utilizes 2.4G carrier wave to send described the second operational order.
Further, telepilot of the present invention comprises a mode selecting key, and user is operated under infrared mode or 2.4G pattern according to telepilot described in described model selection key control.
Further, telepilot of the present invention comprises:
Infrared receiving module, the infrared signal sending for receiving electric equipment;
2.4G receiver module, the 2.4G signal sending for receiving electric equipment;
Mode selection module, is operated under infrared mode or 2.4G pattern for controlling described telepilot according to the signal intensity of described infrared signal and described 2.4G signal.
Further, telepilot of the present invention comprises:
Output module, for exporting according to described infrared signal or described 2.4G signal.
Further, telepilot of the present invention also comprises:
Power management module, under the control of described microprocessor, is operated in the power supply to infrared sending module and 2.4G sending module of power supply that infrared mode or 2.4G pattern control described telepilot according to described telepilot;
When described telepilot is operated in infrared mode, control the Power supply of described telepilot to described infrared transmission module, do not power to described 2.4G sending module; When described telepilot is operated in 2.4G pattern lower time, control the Power supply of described telepilot to described 2.4G sending module, do not power to described infrared transmission module.
Further, power management module of the present invention is switch element, the control end of described switch element connects described microprocessor, when described telepilot is operated in infrared mode, described microprocessor is controlled described switch element, make between the power supply of described telepilot and described infrared transmission module and form path, between the power supply of described telepilot and described 2.4G sending module, form and open circuit; When described telepilot is operated in 2.4G pattern, described microprocessor is controlled described switch element, makes between the power supply of described telepilot and described 2.4G sending module and forms path, between the power supply of described telepilot and described infrared transmission module, forms and opens circuit.
The present invention also provides a kind of multimode remote control method, and the telepilot of described method application is operated under infrared mode or 2.4G pattern, and described method comprises:
Receive and preserve user's input instruction;
When described telepilot is operated in infrared mode lower time, according to described input instruction, produce the first operational order; When described telepilot is operated in 2.4G pattern lower time, according to described input instruction, produce the second operational order;
When described telepilot is operated in infrared mode lower time, utilize infrared mode to send described the first operational order, when described telepilot is operated in 2.4G pattern lower time, utilize 2.4G carrier wave to send described the second operational order.
Further, the method for the invention also comprises: according to user instruction, control described telepilot and be operated under infrared mode or 2.4G pattern.
Further, the method for the invention also comprises:
Receive infrared signal and 2.4G signal that electric equipment sends;
According to the signal intensity of described infrared signal and described 2.4G signal, controlling described telepilot is operated under infrared mode or 2.4G pattern.
Further, the method for the invention also comprises:
According to described infrared signal or described 2.4G signal, export.
Telepilot provided by the present invention, owing to having infrared sending module and 2.4G sending module, when telepilot of the present invention is operated under infrared mode, can utilize infrared sending module to send the first operational order; When telepilot is operated under 2.4G pattern, can utilize 2.4G sending module to send the second operational order; Therefore, telepilot provided by the present invention both can utilize 2.4G carrier wave, realized remote-control electrical equipment effectively easily; Meanwhile, also can adopt infrared mode to electric equipment transmit operation instruction, the operation of control apparatus equipment.Like this, the present invention has just realized and all can work having 2.4G network and do not have under the environment of 2.4G network, meanwhile, also can control the multiple electric equipment respectively with 2.4G receiving port and infrared receiving port.
Embodiment
Telepilot of the present invention is operated under infrared mode, according to input instruction, produces the first operational order, utilizes infrared mode to send the first operational order; Telepilot is operated under 2.4G pattern, according to input instruction, produces the second operational order, utilizes 2.4G carrier wave to send the second operational order.Due to the advantage of 2.4G carrier wave in anti-interference, maximum transmission distance and power consumption, make telepilot of the present invention be operated in 2.4G pattern lower time, without the putting position of considering electric equipment, the distance of the angle of remote control and telepilot and electric equipment, thus realize remote-control electrical equipment effectively easily.Telepilot of the present invention also can be operated in infrared mode, throws away and adopts infrared mode to electric equipment transmit operation instruction, the operation of control apparatus equipment.Therefore, the present invention can realize and under varying environment, control multiple electric equipment.
Below in conjunction with concrete the drawings and specific embodiments, further illustrating the present invention realizes.
Embodiment mono-
The invention provides a kind of multimode remote control device, telepilot is operated under infrared mode or 2.4G pattern.When telepilot of the present invention is operated in infrared mode, can be by infrared mode to electric equipment transmit operation instruction, the operation of control apparatus equipment.When telepilot of the present invention is operated in 2.4G pattern, can be by 2.4G carrier wave to electric equipment transmit operation instruction, the operation of control apparatus equipment.Because 2.4G pattern is to carry out signal transmission by 2.4GHz radiowave, the power having due to electromagnetic wave is large, it can be realized at a distance, the transmission of non-angular restriction and direction restriction, and it can penetrate thing, and the reliability of its transmit operation instruction is better than infrared mode.
Referring to Fig. 1, telepilot 1 comprises:
Command reception module 11, for receiving and preserve user's input instruction.
The user input instruction that command reception module 11 receives comprises key-press input instruction, mouse input instruction, touch-screen input instruction and trace ball input instruction.User inputs user instruction by remote controller, and the command reception module 11 of telepilot 1 receives user's input instruction, and user's input instruction is saved in the internal memory of telepilot 1.
Microprocessor 12, for being operated under infrared mode when telepilot 1, produces the first operational order according to input instruction; When telepilot 1 is operated under 2.4G pattern, according to input instruction, produce the second operational order.
Further, microprocessor 12 comprises:
Resolution unit, for resolving input instruction, produces steering order.Particularly, when user input instruction is key-press input instruction, the simulating signal that microprocessor 12 is received according to IO mouth, carries out analog to digital conversion, obtains button code value, and produces the steering order that this button code value is corresponding.
Transmitting element, for being operated under infrared mode when telepilot 1, generates the first operational order according to steering order and sends to infrared sending module 13; When telepilot 1 is operated under 2.4G pattern, according to steering order, generate the second operational order and send to 2.4G sending module 14.
When telepilot 1 is operated under infrared mode, microprocessor 12 carries out infrared coding by steering order, forms a string 0 and 1 binary code forming, and generates the first operational order.Infrared coding mode adopts existing pulse width modulating technology conventionally.
When telepilot 1 is operated under 2.4G pattern, microprocessor 12 is modulated steering order, is loaded in 2.4G carrier frequency, and modulation technique can adopt existing minimum shift keying (MSK-Minimum Shift Keying).
Infrared sending module 13, for being operated under infrared mode when telepilot, utilizes infrared mode to send the first operational order.
Infrared sending module 13 sends to electric equipment by the first operational order, the control that makes telepilot 1 realize electric equipment.Particularly, infrared sending module 13 is generally infrarede emitting diode.
2.4G sending module 14, for being operated under 2.4G pattern when telepilot, utilizes 2.4G carrier wave to send the second operational order.
2.4G sending module 14 sends to electric equipment by the second operational order, the control that makes telepilot 1 realize electric equipment.Particularly, 2.4G sending module 14 is generally RF(radio frequency) antenna.
Telepilot of the present invention is operated in 2.4G pattern lower time, without the putting position of considering electric equipment, and the distance of the angle of remote control and telepilot and electric equipment, thus realize remote-control electrical equipment effectively easily.Telepilot of the present invention also can be operated in infrared mode, throws away and adopts infrared mode to electric equipment transmit operation instruction, the operation of control apparatus equipment.Therefore, the present invention can realize and under varying environment, control multiple electric equipment.
Embodiment bis-
Further, referring to Fig. 2, telepilot of the present invention comprises a mode selecting key, and user is operated under infrared mode or 2.4G pattern according to model selection key control telepilot.
Particularly, this mode selecting key can be a button, and when this button is pressed, telepilot is operated in infrared mode, and button is pressed again, and telepilot is operated under 2.4G pattern.Operation by user to button, realizes the switching of infrared mode and 2.4G pattern.
Particularly, this mode selecting key can also be a slide key, and when this slide key slides into one end, telepilot is operated in infrared mode, and slide key slides into other one end, and telepilot is operated under 2.4G pattern.Operation by user to slide key, realizes the switching of infrared mode and 2.4G pattern.
Embodiment tri-
Further, referring to Fig. 3, telepilot 1 also comprises:
Infrared receiving module 15, the infrared signal sending for receiving electric equipment.
Infrared receiving module 15 receives the infrared signal that electric equipment sends, and particularly, infrared receiving module 15 is infrared receiving port.
2.4G receiver module 16, the 2.4G signal sending for receiving electric equipment.
2.4G receiver module 16 receives the 2.4G signal that electric equipment sends, and particularly, 2.4G receiver module 16 is 2.4G receiving port.
Mode selection module 17, is operated under infrared mode or 2.4G pattern for controlling telepilot according to the signal intensity of infrared signal and 2.4G signal.
As electric equipment only sends infrared signal, mode selection module 17 can be selected to control telepilot and be operated in infrared mode; As electric equipment only sends 2.4G signal, mode selection module 17 can be selected to control telepilot and be operated under 2.4G pattern.
As same electric equipment sends infrared signal and 2.4G signal, telepilot 1 can receive infrared signal and 2.4G signal, and mode selection module 17 relatively receives the signal intensity of infrared signal and 2.4G signal.If infrared signal intensity is large, mode selection module 17 can be selected to control telepilot and be operated in infrared mode, if 2.4G signal intensity is large, mode selection module 17 can be selected to control telepilot and be operated under 2.4G pattern.
Further, telepilot 1 of the present invention also comprises output module 18, for exporting according to infrared signal or 2.4G signal.
When can not find telepilot 1, make electric equipment transmission infrared signal or 2.4G signal to telepilot 1, telepilot 1 is exported, and reminds the position at user's telepilot place.Conventionally output module 18 is luminotron or Audio Players.
Embodiment tetra-
Further, referring to Fig. 4, telepilot 1 also comprises:
Power management module 18, under the control at microprocessor 12, is operated in the power supply to infrared sending module 13 and 2.4G sending module 14 of power supply that infrared mode or 2.4G pattern control telepilot 1 according to telepilot 1.
When telepilot 1 is operated in infrared mode, control the Power supply of telepilot 1 to infrared transmission module 13, do not power to 2.4G sending module 14; When telepilot 1 is operated under 2.4G pattern, control the Power supply of telepilot 1 to 2.4G sending module 14, do not power to infrared transmission module 13.
The control signal that power management module 18 sends according to the microprocessor 12 of telepilot 1, controls the power supply of telepilot 1 to the power supply of infrared sending module 13 and 2.4G sending module 14.When telepilot 1 is operated in infrared mode, control the Power supply of telepilot 1 to infrared transmission module 13, do not power to 2.4G sending module 14.Like this, when telepilot 1 is operated in infrared mode, 14 power-off of 2.4G sending module, telepilot 1 can not send any operational order by 2.4G sending module 14.When telepilot 1 is operated under 2.4G pattern, control the Power supply of telepilot 1 to 2.4G sending module 14, do not power to infrared transmission module 13.Like this, when telepilot 1 is operated in 2.4G pattern, infrared transmission module 13 power-off, telepilot 1 can not send any operational order by infrared transmission module 13.Thereby, the power consumption of saving telepilot, the electric equipment maloperation of simultaneously avoiding transmit operation instruction errors to cause.
Further, power management module is switch element, and switch element is two-way key switch, and the control end of switch element connects microprocessor.
Referring to Fig. 5 A, when telepilot is operated in infrared mode, the GPIO(universal input/output interface of microprocessor) closing direction of the telegraph key closing end of gauge tap unit.When the GPIO output electronegative potential of microprocessor, make between the power supply of telepilot and infrared transmission module and form path, between the power supply of telepilot and 2.4G sending module, form and open circuit.
Referring to Fig. 5 B, when telepilot is operated in 2.4G pattern, the closing direction of the telegraph key closing end of the GPIO gauge tap unit of microprocessor.When the GPIO output noble potential of microprocessor, make between the power supply of telepilot and 2.4G sending module and form path, between the power supply of telepilot and infrared transmission module, form and open circuit.
Switch element, except adopting two-way key switch, can also adopt other switching devices, such as COMS pipe etc.
Embodiment five
Referring to Fig. 6, corresponding to above-mentioned telepilot, the present invention also provides a kind of multimode remote control method, and the telepilot of method application is operated under infrared mode or 2.4G pattern.
Method comprises:
601, receive and preserve user's input instruction.
The user input instruction receiving comprises key-press input instruction, mouse input instruction, touch-screen input instruction and trace ball input instruction.
602,, when telepilot is operated under infrared mode, according to input instruction, produce the first operational order.
603, when telepilot is operated under infrared mode, utilize infrared mode to send the first operational order.
When telepilot is operated under infrared mode, telepilot produces the first operational order according to input instruction, and utilizes infrared mode to send the first operational order.
Step 602 further comprises:
Resolve input instruction, produce steering order.For example, when user input instruction is key-press input instruction, the simulating signal that the microprocessor of telepilot is received according to IO mouth, carries out analog to digital conversion, obtains button code value, and produces the steering order that this button code value is corresponding.
When telepilot is operated under infrared mode, according to steering order, generate the first operational order.Particularly, when telepilot is operated under infrared mode, the microprocessor of telepilot carries out infrared coding by steering order, forms a string 0 and 1 binary code forming, and generates the first operational order.
604,, when telepilot is operated under 2.4G pattern, according to input instruction, produce the second operational order.
605, when telepilot is operated under 2.4G pattern, utilize 2.4G carrier wave to send the second operational order.
When telepilot is operated under 2.4G pattern, telepilot produces the second operational order according to input instruction, and utilizes 2.4G mode to send the second operational order.
Step 604 further comprises:
Resolve input instruction, produce steering order.For example, when user input instruction is key-press input instruction, the simulating signal that microprocessor 12 is received according to IO mouth, carries out analog to digital conversion, obtains button code value, and produces the steering order that this button code value is corresponding.
When telepilot is operated under 2.4G pattern, according to steering order, generate the second operational order.Particularly, when telepilot is operated under 2.4G pattern, the microprocessor of telepilot is modulated steering order, is loaded in 2.4G carrier frequency, generates the second operational order.
The step that step 602 and step 603 are carried out under infrared mode for telepilot is operated in; Step 604 and step 605 are operated in the step of carrying out under 2.4G pattern for telepilot.Between step 602, step 603 and step 604, step 605, there is no temporal precedence relationship.
Further, method also comprises: according to user instruction, control telepilot and be operated under infrared mode or 2.4G pattern.
Telepilot can be operated under infrared mode or 2.4G pattern according to user's selection.User completes the selection of infrared mode or 2.4G pattern by the mode selecting key of telepilot.
Further, method also comprises:
Receive infrared signal and 2.4G signal that electric equipment sends.
According to the signal intensity of infrared signal and 2.4G signal, controlling telepilot is operated under infrared mode or 2.4G pattern.
As same electric equipment sends infrared signal and 2.4G signal, telepilot can receive infrared signal and 2.4G signal, relatively receives the signal intensity of infrared signal and 2.4G signal.If infrared signal intensity is large, select to control telepilot and be operated in infrared mode, if 2.4G signal intensity is large, selects to control telepilot and be operated under 2.4G pattern.
Further, method also comprises:
According to infrared signal or 2.4G signal, export.
When can not find telepilot, make electric equipment transmission infrared signal or 2.4G signal to telepilot, telepilot is exported, and reminds the position at user's telepilot place.
These are only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.