Summary of the invention
Based on this, be necessary to provide a kind of air-conditioner controller of realizing intelligent remote control air-conditioning.
a kind of air-conditioner controller, comprise: the temperature sensor of monitoring indoor environment temperature, communication module with the handheld terminal communication connection, receive remote signal and carry out the remote control reception head that demodulation obtains the remote-controled digital code value, obtain the temperature data of temperature sensor and send to the main control chip of handheld terminal by communication module, described main control chip comprises: main circuit, and connect and export first input/output interface of digital square-wave of the remote-controled digital code value of corresponding described remote control reception head with described main circuit, reach and be connected and export the second input/output interface of square wave CF signal with described main circuit, described air-conditioner controller also comprises: be connected with described main control chip, and will be described the computing circuit that carries out modulation treatment of square wave CF signal of the digital square-wave of the first input/output interface output and described the second input/output interface output, and be connected with described computing circuit and the modulation signal of computing circuit reduced the radiating circuit that obtains the remote signal that air-conditioning identifies.
In a preferred embodiment, described communication module be gsm module, 3G module, wifi module any one or multiple.
In a preferred embodiment, described radiating circuit is infrared transmitting circuit.
In a preferred embodiment, described infrared transmitting circuit comprises: the triode Q1 of the first input/output interface of the described main control chip of base stage access, the FET Q2 that grid is connected with the second input/output interface of described main control chip, triode Q4 that base stage is connected with the source electrode of described FET Q2, triode Q3 that emitter stage accesses the source electrode of described FET Q2, reach two capacitor C that is connected in parallel 1 and C2; The drain electrode of the described FET Q2 of the emitter stage of described triode Q1 access, access simultaneously the grid of described FET Q2, the emitter stage of the grounded collector of described triode Q3, the described triode Q4 of its base stage access, the colelctor electrode of described triode Q4 accesses the power end of described main control chip by infrarede emitting diode.
In a preferred embodiment, described FET Q2 is by the second input/output interface of the described main control chips of resistance R 4 access, and the emitter stage of described triode Q1 is linked into the grid of described FET Q2, the drain electrode by the resistance R 3 described FET Q2 of access simultaneously by resistance R 4; The base stage of described triode Q1 also is linked into the base stage of resistance R 1 and described triode Q1 by the first input/output interface of the resistance R 1 described main control chip of access, the drain electrode of described FET Q2 simultaneously by resistance R 2.
In a preferred embodiment, the source electrode of described FET Q2 is linked into the base stage of described triode Q4, the emitter stage that its another branch road is linked into described triode Q3 by resistance R 4; After converging, passes through at the emitter stage of the base stage of described triode Q3 and described triode Q4 resistance R 5 ground connection.
In a preferred embodiment, the positive pole of described infrarede emitting diode is by the power end of the described main control chip of fuse FB1 access; The capacitor C 1 and the C2 one end ground connection that are connected in parallel, the other end is by the power end of the described main control chip of fuse FB1 access.
In a preferred embodiment, described main control chip is 80C51 kernel single-chip microcomputer.
In a preferred embodiment, be connected and communicate by letter by AT command set by serial ports between described main control chip and described communication module.
In a preferred embodiment, also comprise the SIM socket module that communicates to connect with described communication module.
Above-mentioned air-conditioner controller makes its band monitoring temperature and Long-distance Control by set temperature sensor and communication module, has good practicality, ease for use, and cost performance and user experience and unified well; The built-in communication module of air-conditioner controller such as gsm communication module are responsible for and mobile phone communicates, receive the control instruction that the user sends by mobile phone remote and the information of returning to user's request, be similar to remote controller or be exactly an air-conditioning, the user can arrange the controller number and phone number is bound one by one; By the remote control reception head, main control chip can be learnt the remote control code value of any brand air-conditioning, and the remote control reception head carries out demodulation with the 38KHz infrared remote-controlled signal and obtains the remote-controled digital code value, and main control chip can be identified and record; During air-conditioner controller emission infrared remote-controlled signal, an IO mouth of main control chip i.e. the digital square-wave of the first corresponding remote control code value of input/output interface output, another IO mouth i.e. the second input/output interface output 38KHz square wave CF signal, by peripheral computing circuit, two signals are carried out modulation treatment, then be the reducible infrared remote-controlled signal that air-conditioning can be identified that obtains through radiating circuit; Be built-in with temperature sensor, can monitor the variation of indoor environment temperature.When the user inquires about real time temperature, main control chip obtains temperature data and sends to the user by communication module again, be presented on mobile phone software interface, the user just can judge according to the variation of environment temperature whether air-conditioning works or close like this, whether need further to reduce temperature or heighten temperature, so that the user is when arriving, indoor temperature is pleasant; Air-conditioner controller of the present utility model is with low cost, and cost performance is high: this product can work independently on the one hand, does not need to be equipped with other numerous and jumbled system equipments; Low, the mature and reliable of the internal control chip of the product of air-conditioner controller itself and communication module price on the other hand, and the complete machine power consumption is little, energy-conserving and environment-protective.
The specific embodiment
As shown in Figures 1 and 2, the air-conditioner controller 100 of the utility model one embodiment comprises: the temperature sensor 20 of monitoring indoor environment temperature, with the communication module 40 of handheld terminal communication connection, receive remote signal carry out demodulation obtain the remote-controled digital code value remote control reception head 60, obtain the temperature data of temperature sensor and send to the main control chip 80 of handheld terminal by communication module 40.
Further, the remote control reception head 60 of the present embodiment carries out demodulation with the 38KHz infrared remote-controlled signal and obtains the remote-controled digital code value, so that main control chip 80 can be identified and record.
Further, the main control chip 80 of the present embodiment comprises: main circuit, connect with main circuit and export corresponding remote control reception head 60 the remote-controled digital code value digital square-wave the first input/output interface, and be connected and export the second input/output interface of square wave CF signal with main circuit.
Further, the second input/output interface output 38KHz square wave CF signal of main control chip 80.
Further, air-conditioner controller 100 also comprises: be connected with main control chip 80 and with the computing circuit that carries out modulation treatment of the square wave CF signal of the digital square-wave of the first input/output interface output and the output of the second input/output interface, and be connected with computing circuit and the modulation signal of computing circuit is reduced the radiating circuit 90 that obtains the remote signal that air-conditioning identifies.
Further, the computing circuit of the present embodiment is the AND operation circuit, is the peripheral circuit of main control chip 80.
Further, the communication module 40 of the present embodiment can for gsm module, 3G module, wifi module any one or multiple.
Further, the radiating circuit 90 of the present embodiment is infrared transmitting circuit.
As shown in Figure 2, further, the infrared transmitting circuit of the present embodiment comprises: the FET Q2 that the triode Q1 of the first input/output interface of base stage access main control chip 80, grid are connected with the second input/output interface of institute main control chip 80, the triode Q4 that base stage is connected with the source electrode of FET Q2, triode Q3 that emitter stage accesses the source electrode of FET Q2, reach two capacitor C that is connected in parallel 1 and C2.
Further, the drain electrode of the emitter stage of triode Q1 access FET Q2, access simultaneously the grid of FET Q2.The emitter stage of the grounded collector of triode Q3, its base stage access triode Q4.The colelctor electrode of triode Q4 accesses the power end of main control chip 80 by infrarede emitting diode.
Further, FET Q2 is by the second input/output interface of resistance R 4 access main control chips 80.The emitter stage of triode Q1 is linked into the grid of FET Q2, the drain electrode by resistance R 3 access FET Q2 simultaneously by resistance R 4.The base stage of triode Q1 also is linked into the common port of the base stage of resistance R 1 and triode Q1 by the first input/output interface of resistance R 1 access main control chip 80, the drain electrode of FET Q2 simultaneously by resistance R 2.
Further, the source electrode of FET Q2 is linked into the base stage of triode Q4, the emitter stage that its another branch road is linked into triode Q3 by resistance R 4; After converging, passes through at the emitter stage of the base stage of triode Q3 and triode Q4 resistance R 5 ground connection.
Further, the positive pole of the infrarede emitting diode of the present embodiment is by the power end VCC of fuse FB1 access main control chip 80; The capacitor C 1 and the C2 one end ground connection that are connected in parallel, the other end is by the power end VCC of fuse FB1 access main control chip 80.
Further, the FET Q2 of the present embodiment is N channel field-effect pipe.
Further, the main control chip 80 of the present embodiment is model 80C51 kernel single-chip microcomputer.
Further, be connected and communicate by letter by AT command set by serial ports between the main control chip 80 of the present embodiment and communication module 40.
Further, the air-conditioner controller 100 of the present embodiment also comprises: with the SIM socket module of communication module 40 communication connections.The SIM slot of SIM socket module can insert the SIM 99 of GSM/CDMA.
The utility model extracts air-conditioning remote control function the most popular with users in current intelligent domestic system, and is optimized uniquely and improve, and designs air-conditioner controller of the present utility model and as a product independently.Air-conditioner controller 100 of the present utility model also is with monitoring temperature and GSM Long-distance Control, practicality, ease for use, cost performance and user is experienced unified well.
Air-conditioner controller 100 of the present utility model adopts the single-chip microcomputer of 80C51 kernel as main control chip 80, wherein, single-chip microcomputer ROM need ensure enough spaces and place remote control code value and software document, built-in communication module 40 is as the gsm communication module, connect by serial ports between the two, communicate take AT command set as agreement.Air-conditioner controller 100 of the present utility model also is built-in with the SIM slot, can insert the SIM of GSM/CDMA.The parts of whole system are with low cost, are easy to buying.
The built-in communication module 40 of air-conditioner controller 100 of the present utility model is responsible for as the gsm communication module and mobile phone communicates, and receives the control instruction that the user sends by mobile phone remote and the information of returning to user's request.And support Android and IOS system, and friendly interface is directly perceived, is similar to remote controller or is exactly an air-conditioning, and the user can directly click by touch screen and oneself want the button that operates, and the user can arrange the controller number and phone number is bound one by one.
Before air-conditioner controller of the present utility model 100 used, the user need first allow the remote controller code value of its learning objective air-conditioning, and what keypress function will be with mobile phone software interface is corresponding one by one.By remote control reception head 60, main control chip 80 can be learnt the remote control code value of any brand air-conditioning, and remote control reception head 60 carries out demodulation with the 38KHz infrared remote-controlled signal and obtains the remote-controled digital code value, and main control chip 80 can be identified and record.During air-conditioner controller 100 emission infrared remote-controlled signal of the present utility model, an IO mouth of main control chip 80 i.e. the digital square-wave of the first corresponding remote control code value of input/output interface output, another IO mouth i.e. the second input/output interface output 38KHz square wave CF signal, by peripheral AND operation circuit, two signals are carried out modulation treatment, be specially infrared transmitting circuit through radiating circuit 90 again, namely reduciblely obtain the infrared remote-controlled signal that air-conditioning can be identified.
During remote keying as the user at the mobile phone interface operational correspondence, can automatic translation to be corresponding control instruction send to air-conditioner controller 100 of the present utility model so that short message way is long-range with mobile phone terminal software, after receiving, communication module 40 passes to main control chip 80 by serial ports again, the corresponding remote control mode that main control chip 80 will be succeeded in school before is specially infrared transmitting circuit by radiating circuit 90 and sends, to reach the purpose of controlling air-conditioning.
Air-conditioner controller 100 of the present utility model also is built-in with temperature sensor 20, can monitor the variation of indoor environment temperature.When the user inquired about real time temperature, main control chip 80 obtained temperature data and sends to the user by communication module 40 as gsm module again, is presented on mobile phone software interface.The user just can judge according to the variation of environment temperature whether air-conditioning works or close, and whether needs further to reduce temperature or heightens temperature like this, so that the user is when arriving, indoor temperature is pleasant.
The user is without when operation, and air-conditioner controller 100 of the present utility model is in the standby resting state, and Overall Power Consumption is very low, can adopt the internal battery power supply.
Air-conditioner controller 100 of the present utility model is with low cost, and cost performance is high: this product can work independently on the one hand, does not need to be equipped with other numerous and jumbled system equipments; On the other hand with regard to product itself, the single-chip microcomputer of 80C51 kernel and gsm module are all that output is high, price is low, the product of mature and reliable; The complete machine power consumption is little in addition, energy-conserving and environment-protective.
Air-conditioner controller 100 of the present utility model is namely taken i.e. use, puts freedom, and environment for use is required loosely not need household is carried out any repacking; And working stability, mobile phone and air-conditioner controller 100 can be bound one to one, and be safe and reliable.Supporting mobile phone terminal software interface is friendly, and is succinctly easy-to-use, can carry out straighforward operation intuitively, and all control instructions are all come forward process by daemon software.Air-conditioner controller 100 of the present utility model adopts the Bidirectional closed-loop control model, temperature sensor 20 makes the user can the indoor variations in temperature of Real Time Monitoring, confirm the normal while of air-conditioning work, can also carry out further adjustment action according to the demand of oneself, really promote the user and experience.Because the remotely controlled function of air-conditioner controller 100 of the present utility model is open, the user has if required, and this product not only can be used for controlling air-conditioning, can also be used for other household electrical appliance, and autgmentability is strong.
Communication module of the present utility model can be set to gsm module or 3G module or WIFI module as required.The utility model also can not use mobile phone terminal software, directly defines several operation notes or automatic telephone voice and operates.But nothing is the interface intuitively, uses inconvenience, and advantage is that any mobile phone, fixed line can carry out Long-distance Control.
The above embodiment has only expressed several embodiment of the present utility model, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the utility model the scope of the claims.Should be pointed out that for the person of ordinary skill of the art, without departing from the concept of the premise utility, can also make some distortion and improvement, these all belong to protection domain of the present utility model.Therefore, the protection domain of the utility model patent should be as the criterion with claims.