Household electrical appliances infrared remote control systemTechnical field
The present invention relates to technical field, in particular to a kind of household electrical appliances infrared remote control system.
Background technique
Ordinary electrical home appliance remote controler can not carry out long-distance intelligent control at present, that is, can not meet people in mobile terminal such as mobile phoneIt is upper control household electrical appliances demand, and the intelligent remote controller occurred on the market exist when air-conditioning type number is not very common, need intoThe problem of tens matching operations of row.
Summary of the invention
The present invention provides a kind of household electrical appliances infrared remote control system, solves the problems, such as existing above-mentioned.
To solve the above problems, the embodiment of the present invention provides a kind of household electrical appliances infrared remote control system, comprising:
Terminal Control Element, for generating control instruction;
Cloud Server, for receiving and forwarding the control instruction of the Terminal Control Element to infrared coded data library, togetherWhen, receive and push the infrared code that the infrared coded data library returns;
Corresponding infrared code is read for responding the control instruction, and the infrared code of reading is returned in infrared coded data libraryIt is back to the Cloud Server;
WIFI unit, for receiving and forwarding the infrared code of the Cloud Server push to infrared emission unit;
Infrared emission unit, for receiving and emitting the infrared code of WIFI unit forwarding to household appliance.
As an implementation, the Cloud Server uses MQTT platform.
As an implementation, the WIFI unit uses ESP8266 chip.
As an implementation, the infrared signal of the GPI014 mouth transmitting 38Khz of the WIFI unit.
It as an implementation, further include sensor unit, the sensor unit couples the WIFI unit, is used forDetect indoor environment parameter.
As an implementation, the sensor unit includes temperature sensor, humidity sensor and optical sensor.
As an implementation, the infrared emission unit uses KY-005 transmitting module.
The beneficial effect of the present invention compared with the prior art is: by Terminal Control Element as remote controler, generationControl instruction calls the specific infrared control instruction for being stored in infrared coded data library, controls household appliance through WiFi technology, subtractsFew control matching.Meanwhile the system through sensor unit monitoring indoor environment, real-time remote monitoring indoor environment realize household electrical appliancesCloud control.
Detailed description of the invention
Fig. 1 is the module connection figure of household electrical appliances infrared remote control system of the invention;
Fig. 2 is the circuit diagram of the WIFI unit of household electrical appliances infrared remote control system of the invention;
Fig. 3 is the circuit diagram of the infrared emission unit of household electrical appliances infrared remote control system of the invention;
Fig. 4 is the circuit diagram of the sensor unit of household electrical appliances infrared remote control system of the invention;
Fig. 5 is the circuit diagram of the indicator unit of household electrical appliances infrared remote control system of the invention.
Attached drawing mark: 1, Terminal Control Element;2, Cloud Server;3, infrared coded data library;4, WIFI unit;5, infraredTransmitting unit;6, sensor unit.
Specific embodiment
Below in conjunction with attached drawing, the technical characteristic and advantage above-mentioned and other to the present invention are clearly and completely described,Obviously, described embodiment is only section Example of the invention, rather than whole embodiments.
As shown in Figure 1, a kind of household electrical appliances infrared remote control system, is mainly used for the long-range control of air-conditioning, but in this application,Including but not limited to air-conditioning, or the long-range control of other household electrical appliance, household electrical appliances infrared remote control system include terminal controlUnit 1, Cloud Server 2, infrared coded data library 3, WIFI unit 4 and infrared emission unit 5 processed, wherein terminal control listMember 1 is for generating control instruction;Cloud Server 2 is used to receive the control instruction of simultaneously forwarding terminal control unit 1 to infrared codingDatabase 3, meanwhile, receive and push the infrared code of the return of infrared coded data library 3;Infrared coded data library 3 is for responding controlCorresponding infrared code is read in system instruction, and the infrared code of reading is back to Cloud Server 2;WIFI unit 4 is for receiving and forwardingThe infrared code that Cloud Server 2 pushes is to infrared emission unit 5;Infrared emission unit 5 is for receiving and emitting the forwarding of WIFI unit 4Infrared code to household appliance.
In the present embodiment, Cloud Server 2 uses MQTT platform;As shown in Fig. 2, WIFI unit 4 uses ESP8266 corePiece, wherein the infrared signal of the GPI014 mouth transmitting 38Khz of WIFI unit 4;As shown in figure 3, infrared emission unit 5 uses KY-005 transmitting module.Terminal Control Element 1 is based on handset Wechat platform and generates control instruction.
The present invention also provides a kind of intelligent network distribution method, process is as follows: ESP8266 chip uses smart config technologyMake it through mobile phone configuration routing iinformation connection WIFI.One can be entered after electric-opening on ESP8266 chip 30 secondsDelay, user, which can choose, in being delayed configures routing iinformation to ESP8266 chip by mobile phone, if configuration successful, according toThis routing iinformation networking operation;If not configuring operation, at the end of delay, the routing iinformation that will be saved by previous distributionNetworking.When updating WIFI information, need to only it restart once, without operating any key.
It is as follows with network process using the WIFI unit of ESP8266 chip:
As illustrated in figures 4-5, in addition to said units, household electrical appliances infrared remote control system further includes sensor unit 6 and indicator light listFirst (not shown in figure 1), sensor unit 6 couples WIFI unit 4, for detecting indoor environment parameter.Sensor unit 6 includesTemperature sensor, humidity sensor and optical sensor are mainly used for obtaining the parameters such as room temperature, humidity, light source.MeanwhileAnd when certain parameter reaches certain threshold value, the room parameter will be raised or lowered by ESP8266 chip controls household electrical appliances, it is realExisting intelligentized control method.Indicator unit is used to show the working condition of household electrical appliances infrared remote control system, realizes human-computer interaction.
Household electrical appliances infrared remote control system of the present invention by Terminal Control Element as remote controler, call red by the control instruction of generationThe corresponding ultra-red order of outer coding database, controls household appliance through WiFi technology.Meanwhile indoor ring is monitored through sensor unitThe system in border, real-time remote monitoring indoor environment realize the cloud control of household electrical appliances.
Particular embodiments described above has carried out further the purpose of the present invention, technical scheme and beneficial effectsIt is described in detail, it should be understood that the above is only a specific embodiment of the present invention, the protection being not intended to limit the present inventionRange.It particularly points out, to those skilled in the art, all within the spirits and principles of the present invention, that is done any repairsChange, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.