CN105357410A - GSM network control system for multiple household electrical appliances based on single chip microcomputer - Google Patents

GSM network control system for multiple household electrical appliances based on single chip microcomputer Download PDF

Info

Publication number
CN105357410A
CN105357410A CN201510694991.2A CN201510694991A CN105357410A CN 105357410 A CN105357410 A CN 105357410A CN 201510694991 A CN201510694991 A CN 201510694991A CN 105357410 A CN105357410 A CN 105357410A
Authority
CN
China
Prior art keywords
chip microcomputer
gsm
household electrical
module
decoding circuit
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.)
Pending
Application number
CN201510694991.2A
Other languages
Chinese (zh)
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.)
Donghua University
National Dong Hwa University
Original Assignee
Donghua University
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 Donghua University filed Critical Donghua University
Priority to CN201510694991.2A priority Critical patent/CN105357410A/en
Publication of CN105357410A publication Critical patent/CN105357410A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • H04M11/007Telephonic communication systems specially adapted for combination with other electrical systems with remote control systems

Abstract

The invention relates to a GSM network control system for multiple household electrical appliances based on a single chip microcomputer, wherein the single chip microcomputer is respectively connected with a GSM communication module, a decoding circuit and a relay module; the GSM communication module is connected with the decoding circuit; after being successfully accessed to a network, the GSM module enters a standby state; when a call is incoming, the GSM module enters a RING state; the single chip microcomputer reads the state of the GSM module and operates the GSM module to put through the call through an instruction; after the call is put through, the decoding circuit decodes a key value and sends the key value to the single chip microcomputer; the single chip microcomputer performs password verification; if verification is failed, the single chip microcomputer sends an instruction to hang up the call, such that the operation at this time is ended; if verification is success, the key value operated by a user is read; a control signal is sent to the relay module; the state of the relay module is changed; and thus, switching of household electrical appliances is realized. According to the invention, the operation security of the household electrical appliances is improved; and control intelligentization of the household electrical appliances is realized.

Description

A kind of SCM Based many household electrical appliance GSM network control system
Technical field
The present invention relates to remote household electrical appliance control technology field, particularly relate to a kind of SCM Based many household electrical appliance GSM network control system.
Background technology
Along with developing rapidly of society, increasing electrical equipment enters into each family, and as electric cooker, air-conditioning, refrigerator, washing machine etc., these household electrical appliances bring great convenience to people's life, but sometimes also can increase many worries.Because part household electrical appliances belong to high-power household electrical appliances, turn off them if forget after being away from home, not only can waste electric energy, and the life-span of household electrical appliances can be affected.Just think, morning, working just remembered that the electric cooker of family is forgotten to have closed after going out, and this not only can affect the life-span, and there is certain potential safety hazard; After Hours with hot water and water heater can not be allowed to be kept on all etc.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of SCM Based many household electrical appliance GSM network control system, improves the fail safe to household electrical appliance operation, achieves the intellectuality that household electrical appliance control.
The technical solution adopted for the present invention to solve the technical problems is: provide a kind of SCM Based many household electrical appliance GSM network control system, comprise single-chip microcomputer, described single-chip microcomputer is connected with relay module with GSM communication module, decoding circuit respectively, and described GSM communication module is connected with decoding circuit; Described gsm module enters holding state after successful access network, when phone is squeezed into, state that gsm module enters " RING ", described single-chip microcomputer reads the state of gsm module, and handle gsm module connection phone by instruction, after closing of the circuit, decoding circuit is decoded to button value, and sending to single-chip microcomputer, single-chip microcomputer carries out password authentification; If authentication failed, single-chip microcomputer transmission instruction is hung up the telephone and is terminated this operation; If be proved to be successful, read the key assignments of user operation and transmit control signal to relay module, changing the state of relay module, realize the switch of household electrical appliance.
Described GSM communication module adopts SIM900a chip, and its external communication interface comprises a serial line interface, earphone analog signal interface, a microphone analog signal interface and a 900MHz antennal interface; Described 900MHz antennal interface connects in antenna access GSM network, realizes telephonic communication; Described serial line interface and microcontroller communication, the information that completes sends and command reception; The double-audio signal received sends to decoding circuit to realize audio decoder by described earphone analog signal interface; Described microphone analog signal interface realizes the expansion of phonetic function.
Described decoding circuit adopts MT8870 chip.
Described single-chip microcomputer is also connected with LED light; Described LED light is used to indicate the state of gsm module.
Beneficial effect
Owing to have employed above-mentioned technical scheme, the present invention compared with prior art, there is following advantage and good effect: the present invention take single-chip microcomputer as core, the Long-distance Control to household electrical appliance such as air-conditioning, electric light, electric cookers all can be completed in the area that any GSM network covers, do not need separately to build Communication Control network, save cost, operating process needs password authentification, improve the fail safe to household electrical appliance operation, achieve the intellectuality that household electrical appliance control, bring to family life comfortable and convenient greatly, there is higher actual application value.
Accompanying drawing explanation
Fig. 1 is system block diagram of the present invention;
Fig. 2 is decoding circuit schematic diagram in the present invention;
Fig. 3 is breaker in middle circuit theory diagrams of the present invention;
Fig. 4 is program flow diagram of the present invention.
Embodiment
Below in conjunction with specific embodiment, set forth the present invention further.Should be understood that these embodiments are only not used in for illustration of the present invention to limit the scope of the invention.In addition should be understood that those skilled in the art can make various changes or modifications the present invention, and these equivalent form of values fall within the application's appended claims limited range equally after the content of having read the present invention's instruction.
Embodiments of the present invention relate to a kind of SCM Based many household electrical appliance GSM network control system, as shown in Figure 1, comprise single-chip microcomputer, GSM communication module, decoding circuit, LED light, relay module.GSM communication module adopts GSM900 communication network, and after successful access network, enter holding state and shown by LED light, when phone is squeezed into, GSM communication module enters " RING " state.Single-chip microcomputer reads the state of GSM communication module, and handles GSM communication module connection phone by AT instruction.After connecting, first user needs by key-press input three passwords, and button value can be decoded and send to single-chip microcomputer by parallel interface by decoding circuit, and single-chip microcomputer carries out password authentification.If authentication failed, single-chip microcomputer transmission AT instruction is hung up the telephone and is terminated this operation; If be proved to be successful, enter control program.Single-chip microcomputer read user operation key assignments and transmit control signal change corresponding relay status, realize Household appliance switch.
Wherein, gsm module adopts SIM900a chip, and its external communication interface comprises a serial line interface, earphone analog signal interface, a microphone analog signal interface and a 900MHz antennal interface; Described 900MHz antennal interface connects in antenna access GSM network, realizes telephonic communication; Described serial line interface and microcontroller communication, the information that completes sends and command reception; The double-audio signal received sends to decoding circuit to realize audio decoder by described earphone analog signal interface; Described microphone analog signal interface realizes the expansion of phonetic function.
Dual-tone multifrequency phone is encoded to adopting touch-tone signal during button, therefore identifies that this signal just needs to carry out decoding to it.MT8870 is a kind of coding chip that MITEL company produces, and can receive dtmf signal, is a complete dtmf receiver.After it have received dtmf signal, signal is divided into high frequency band and low-frequency band by inside, and this signal is delivered to digital decoder, then signal is delivered to digital decoder to solve key value, then the key value solved is exported with four lines (Q1, Q2, Q3, Q4) in binary mode.The circuit diagram of decoding circuit as shown in Figure 2.In fig. 2, std is the delay output of MT8870, after decoding completes, will produce high level, can automatically return low after continuing for some time.This signal is uprised an expression decoding terminated by low, can carry out decoding output.Std can be connected in the external interrupt of single-chip microcomputer after anti-phase, utilize interruption subfunction to read transformation result.Q4 ~ Q1 represents that the binary value that decoding exports, Q4 are high-order, and Q1 is low level.
The control objectives of this tele-control system is household electrical appliance, is in fact exactly the break-make controlling AC power in corresponding supply socket.In design, the control pin of single-chip microcomputer controls relay, by the open contacts connecting system of relay, just can utilize the AC power on Single-chip Controlling socket.The circuit diagram of this part as shown in Figure 3.In figure 3, con1, con2, con3 represent the control end that single-chip microcomputer extracts, and are connected after anti-phase with Darlington transistor (raising driving force).Twice anti-phase logically reaches logically homophase, now goes the break-make of control relay by the control pin of single-chip microcomputer.
Single-chip microcomputer is the control core of system, is responsible for the work coordinating whole circuit.Although each electronic circuit introduced above can both work alone to a certain extent, be only that stand alone type can not play a role, therefore need single-chip microcomputer from time dimension, order dimension to coordinate the work of each electronic circuit.In present embodiment, the single-chip microcomputer of AT89C51 series selected by single-chip microcomputer.
The design of the main program of present embodiment is as follows: by the workflow of native system, can draw programming flowchart.Flow process is roughly as follows: first will do initialization to system, judge whether successfully access network, if unsuccessfully return initialization; If success, then enter holding state automatically automatically.Then system wait external telephone call, inputs numeral and carries out password authentification, if authentication failed, hang up the telephone after access success, represent and access unsuccessfully; If be proved to be successful, identify the numeral of user by key-press input, then realize the control to external household electrical appliance by relay, after having controlled, phone is hung up automatically, thus achieves a remote control using telephone.Particular flow sheet refers to accompanying drawing 4.
Initialization comprises the initialization directive of GSM communication module, controlled soket control end, timer initialization, interrupts initialization.After system electrification, GSM communication module is because being in holding state.Native system thinks that AC power disconnects by controlled soket when just starting, so should be set to high level by time initial for socket control end.
Decoding portion can realize translation user input, and single-chip microcomputer inputs several times certain and carries out combination and just can obtain long word and accord with, the such as input password when password authentification.Input menu number during choice menus.C51 is used to programme by KeiluVision2.
Concrete operations of the present invention are as follows:
By LY-51s development board, and the main hardware such as GSM communication module and MT8870 ATD, connect hardware circuit figure first on request, then use C51 programming by KeiluVision2, by program burn writing in single-chip microcomputer, switch on power and can test.One piece of SIM card is put into gsm module, and another mobile phone in the distance calls to this SIM card, and through the 10s time delay of setting, this SIM card connects phone.This moment, GSM enters " RING " state.Single-chip microcomputer reads the state of GSM, and handles gsm module connection phone by AT instruction.Then by the password of voice message requirement input setting, if mistake, then single-chip microcomputer transmission AT instruction is hung up the telephone and is terminated this operation; If password is correct, enter the control program of single-chip microcomputer, tone is sent by mobile phone input digit, this tone reads key assignments by the decoding of MT8870 ATD, be input to single-chip microcomputer P0 mouth, single-chip microcomputer P2 mouth completes the control to household electrical appliance by relay again, realizes the Long-distance Control effect of phone.
This equipment applies in household, telephone remote control system take single-chip microcomputer as core, the Long-distance Control to household electrical appliance such as air-conditioning, electric light, electric cookers all can be completed in the area that any GSM network covers, do not need separately to build Communication Control network, saved cost, operating process needs password authentification, improve the fail safe to household electrical appliance operation, achieve the intellectuality that household electrical appliance control, bring to family life comfortable and convenient greatly, there is higher actual application value.

Claims (4)

1. SCM Based many household electrical appliance GSM network control system, comprise single-chip microcomputer, it is characterized in that, described single-chip microcomputer is connected with relay module with GSM communication module, decoding circuit respectively, and described GSM communication module is connected with decoding circuit; Described gsm module enters holding state after successful access network, when phone is squeezed into, state that gsm module enters " RING ", described single-chip microcomputer reads the state of gsm module, and handle gsm module connection phone by instruction, after closing of the circuit, decoding circuit is decoded to button value, and sending to single-chip microcomputer, single-chip microcomputer carries out password authentification; If authentication failed, single-chip microcomputer transmission instruction is hung up the telephone and is terminated this operation; If be proved to be successful, read the key assignments of user operation and transmit control signal to relay module, changing the state of relay module, realize the switch of household electrical appliance.
2. SCM Based many household electrical appliance GSM network control system according to claim 1, it is characterized in that, described GSM communication module adopts SIM900a chip, and its external communication interface comprises a serial line interface, earphone analog signal interface, a microphone analog signal interface and a 900MHz antennal interface; Described 900MHz antennal interface connects in antenna access GSM network, realizes telephonic communication; Described serial line interface and microcontroller communication, the information that completes sends and command reception; The double-audio signal received sends to decoding circuit to realize audio decoder by described earphone analog signal interface; Described microphone analog signal interface realizes the expansion of phonetic function.
3. SCM Based many household electrical appliance GSM network control system according to claim 1, is characterized in that, described decoding circuit adopts MT8870 chip.
4. SCM Based many household electrical appliance GSM network control system according to claim 1, it is characterized in that, described single-chip microcomputer is also connected with LED light; Described LED light is used to indicate the state of gsm module.
CN201510694991.2A 2015-10-22 2015-10-22 GSM network control system for multiple household electrical appliances based on single chip microcomputer Pending CN105357410A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510694991.2A CN105357410A (en) 2015-10-22 2015-10-22 GSM network control system for multiple household electrical appliances based on single chip microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510694991.2A CN105357410A (en) 2015-10-22 2015-10-22 GSM network control system for multiple household electrical appliances based on single chip microcomputer

Publications (1)

Publication Number Publication Date
CN105357410A true CN105357410A (en) 2016-02-24

Family

ID=55333265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510694991.2A Pending CN105357410A (en) 2015-10-22 2015-10-22 GSM network control system for multiple household electrical appliances based on single chip microcomputer

Country Status (1)

Country Link
CN (1) CN105357410A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2891025Y (en) * 2005-11-29 2007-04-18 李锋祖 Intelligent control system for home security
US20110085651A1 (en) * 2009-10-09 2011-04-14 Scott Holmes Stapleford Remotely Activated On-Hold Circuit
CN201867948U (en) * 2010-09-01 2011-06-15 吴勇 Intelligent wireless burglar alarm remote control device
CN204350111U (en) * 2014-12-30 2015-05-20 王秀玲 A kind of Intelligent telephone control system based on DTMF

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2891025Y (en) * 2005-11-29 2007-04-18 李锋祖 Intelligent control system for home security
US20110085651A1 (en) * 2009-10-09 2011-04-14 Scott Holmes Stapleford Remotely Activated On-Hold Circuit
CN201867948U (en) * 2010-09-01 2011-06-15 吴勇 Intelligent wireless burglar alarm remote control device
CN204350111U (en) * 2014-12-30 2015-05-20 王秀玲 A kind of Intelligent telephone control system based on DTMF

Similar Documents

Publication Publication Date Title
CN104035403B (en) Ibeacon technology based intelligent home control system and method
CN101222556B (en) Method and system for implementing long-distance wireless remote control based on mobile terminal
CN106504497A (en) A kind of intelligent wall switch system and its control method
CN206975493U (en) A kind of intelligent domestic system based on Voice command
CN207882730U (en) Household appliance controlling system based on cell phone network
CN105491096A (en) Method and device for controlling device states
CN107817690A (en) A kind of smart home switch panel
CN105357410A (en) GSM network control system for multiple household electrical appliances based on single chip microcomputer
CN102857652A (en) Mobile network-based switch control system and method
CN202602771U (en) Remote intelligent domestic appliance control system based on cell phone mutual trust
CN204595574U (en) A kind of Intelligent housing Circuits System
CN201491093U (en) Remote control system for home appliances
CN204945658U (en) A kind of household electrical appliances upgrade-system and household electrical appliances updating apparatus
CN204836270U (en) Cell phone case and cell -phone
CN104077901A (en) Method for controlling device power supply and control terminal
CN202615155U (en) Power supply controller of power line of remote intelligent household appliances
CN207457719U (en) A kind of intelligent home control system
CN204349954U (en) The intelligent switch of a kind of wireless remote control, touch sensible mode
CN205194975U (en) But remote control socket device
CN106647426A (en) Single-chip microcomputer control household appliance system
CN2437088Y (en) Apparatus for remote controlling domestic electric appliances with telephone
CN206639007U (en) A kind of energy-saving electrical source converter based on WiFi
CN106707780A (en) Intelligent household appliance controller, control gateway and intelligent household appliance system
CN211126165U (en) Intelligent WiFi socket
CN103516923A (en) Remote intelligent household appliance control system based on phone mutual trust

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160224

RJ01 Rejection of invention patent application after publication