CN100583933C - Remote control and warning apparatus for telephone - Google Patents
Remote control and warning apparatus for telephone Download PDFInfo
- Publication number
- CN100583933C CN100583933C CN200810113783A CN200810113783A CN100583933C CN 100583933 C CN100583933 C CN 100583933C CN 200810113783 A CN200810113783 A CN 200810113783A CN 200810113783 A CN200810113783 A CN 200810113783A CN 100583933 C CN100583933 C CN 100583933C
- Authority
- CN
- China
- Prior art keywords
- chip
- signal
- chip microcomputer
- input
- dtmf
- 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.)
- Expired - Fee Related
Links
- 238000004891 communication Methods 0.000 claims description 7
- 230000002457 bidirectional effect Effects 0.000 claims description 3
- 230000001755 vocal effect Effects 0.000 claims description 3
- 230000008901 benefit Effects 0.000 abstract description 6
- 238000001514 detection method Methods 0.000 abstract description 2
- 230000000284 resting effect Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 6
- 230000008676 import Effects 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 5
- 230000002618 waking effect Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000005611 electricity Effects 0.000 description 3
- 238000013519 translation Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000005265 energy consumption Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 102100028043 Fibroblast growth factor 3 Human genes 0.000 description 1
- 108050002021 Integrator complex subunit 2 Proteins 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
A telephone remote control and alarm device, which belongs to field of intelligent appliance and family security system, which is characterized in that data is accessed to a management chip to realize ring detection and automatic pick-up hang-up, the telephone line is connected with a dual-tone receiving-transmitting chip, a sound chip and a single-chip. The single-chip controls ring counting, pick-up hang-up, the dual-tone receiving-transmitting chip and the sound chip, cipher and outward dialing number are memorized and modified by the built-in EEPROM. After checking the cipher and confirming the identity, user key-press command is received and transmitted to the gateway through a port, which realizes appliance control and status enquiry. When an alarm signal is sent from the gateway, the single-chip receives abbreviated codes from the network management through the port, outwards dialing numbers corresponding to the abbreviated codes in the EEPROM are read and are automatically dialed. After a period of time delay, alarm prompting tone is played. After hang-up, the single-chip automatically turns into a resting state, which has advantages of good confidentiality, high reliability, compact volume and low power consumption.
Description
Technical field
The present invention relates to a kind of telephone remote control and warning device, belong to intelligent appliance system and family safety-protection system field, realize intelligent appliance control and system safety warning in order to cooperate home gateway.
Background technology
The popularity rate height of the current phone of China adopts phone to have inborn advantage as the medium of signal remote transmission.Especially the generally use of mobile phone can communicate by the gateway in telephone wire and the family whenever and wherever possible, makes telephone remote control have advantage incomparable on time and the space for network remote control, and reliability and stability are also higher.
In the existing telephone remote control technology, most of function is comprehensive inadequately, and the circuit that has generally used triode, relay etc. to design voluntarily, and bulky, quiescent dissipation is big, reliability is not high.As application number is 99257923.6 invention, utilizes bell signal to start the electricity consumption apparatus, has not both had voice suggestion and has not also had cryptoguard, inadequately intelligence.Application number is 03202479.7 invention, has only realized utilizing the simple function of chip I SD1420 toward telephone wire broadcast alarm voice, has not both realized that quiescent dissipation was not considered in dialing yet automatically.Application number is 96241401.8 invention, does not have voice suggestion, the external circuit complexity.Application number is 02117006.1 patent, dislodging machine module, input and output conversion all are to take out by relay, the triode of design voluntarily, and the external circuit complexity is bulky, and speech quality is unintelligible, does not inquire about the outer function of dialling the number of tame electricity condition and inquiry.
Summary of the invention
The present invention is exactly a solution that proposes at above problem, has realized instruction of reception user keystroke control and system safety warning function, has voice suggestion and cipher protection function concurrently, has considered quiescent dissipation and overvoltage protection problem simultaneously.
The invention is characterized in, contain: data access-in management chip MH88435, single-chip microcomputer, DTMF touch-tone signal transceiving chip, speech chip and power supply, wherein:
The MH88435 chip, be provided with: the port TIP and the RING that connect telephone line, dual-tone multifrequency input end of analog signal VR-, voice signal input VR+, the input of off-hook command signal LC, the output of DTMF analog signal VX, the output of ringing pulse signal RV, and the output of off-hook marking signal LCD, this MH88435 is communicated with telephone line with DTMF transceiving chip, speech chip and single-chip microcomputer;
Single-chip microcomputer, employing includes EEPROM, the chip ATMEGA32 of counter T1, be provided with: the input PB1 of described ringing pulse signal RV, the input PB4 of described off-hook marking signal LCD, the output PB7 of described off-hook command signal LC, the speech chip control signal output ends, dual-tone multifrequency control letter output, data terminal with described DTMF transceiving chip bidirectional interconnect, in addition, also be provided with serial ports TXD/RXD with gateways interconnect, and power input, this single-chip microcomputer receives ringing pulse from described MH88435 by built-in counter T1, by built-in EEPROM storage password with dial the number outward, by parallel port control MH88435 dislodging machine, control the transmitting-receiving operation of described DTMF transceiving chip, the broadcast of controlling described speech chip with stop, on this single-chip microcomputer, be provided with following button control command: household appliance control instruction and household electrical appliances status poll instruction, by serial communication protocol and described gateway communication, the result is used the verbal announcement user; The password modify instruction, outward dial the number modify instruction, outward dial the number query statement and on-hook instruction directly in machine, handle after return results again, after operation was finished, on-hook also entered park mode;
DTMF touch-tone signal transceiving chip adopts the MT8888 chip, is provided with the output of described VR-signal and the input of VX signal, and this MT8888 chip receives the dtmf signal from telephone wire, and single-chip microcomputer is passed in decoding; When gateway security is reported to the police, receive the outer of described single-chip microcomputer by the parallel port and dial the number, be converted into the standard DTMF signal, the analog signal VR-input by described MH88435 sends on the telephone wire;
Speech chip adopts the WTV170-16P speech chip, is provided with the input of described Single-chip Controlling signal, and the output of described voice signal VR+;
Power supply adopts LM1117_3.3-5V to do power management module, powers to described single-chip microcomputer by described power supply.
That the present invention has is low in energy consumption, good confidentiality, reliability height, advantage that volume is little.
Description of drawings
Fig. 1 is the connection diagram of apparatus of the present invention.
Fig. 2 is the circuit theory diagrams (MH88435 peripheral circuit) of apparatus of the present invention.
Fig. 3 is the circuit theory diagrams (MT8888 peripheral circuit) of apparatus of the present invention.
Fig. 4 is the circuit theory diagrams a and the b (WTV170 and LM1117 peripheral circuit) of apparatus of the present invention.
Fig. 5 is the circuit theory diagrams (single chip computer AT mega64 peripheral circuit) of apparatus of the present invention.
Embodiment
The present invention can be understood as a smart phone module, be necessary to introduce on the whole its operation principle: telephone wire is divided into TIP and two lines of RING, as long as two lines guarantee that loop resistance is not more than 2000 Ω after connecting, feed current is not less than 18mA, just can realize off-hook.The dtmf signal that voice signal and MT8888 send all is the AC signal realization that superposes on this DC loop simply.The exchange function identifies dtmf signal, and is decoded into corresponding digital, thereby realizes dialing.Equally, MT8888 also can decipher from switch or subscriber phone and be superimposed upon dtmf signal on the DC channel, is transferred to single-chip microcomputer.Single-chip microcomputer communicates by serial communication protocol and gateway, realizes functions such as tame electric control and system safety warning.Thereby set up so virtual path:
User's---subscriber phone---switch---phone module---gateway---household electrical appliances
Describe in detail below and realize device of the present invention.
Circuit all is made up of chip and external circuit thereof, and circuit is succinct, be easy to realize.MH88435 is integrated ring detection, the control of dislodging machine and 2 lines-4 line translation function, the AVR single-chip microcomputer has EEPROM in the sheet.Single-chip microcomputer and speech chip all have low-power consumption mode.Not only complete function, volume are small and exquisite to make circuit, and reliability height, lamprophonia, low in energy consumption.
The present invention realizes telephone remote control and system safety warning function according to following steps successively:
Step (1) dislodging machine control circuit is initially in hook state, and single-chip microcomputer is in park mode, might be counted device 1 or serial ports and interrupt waking up.When single-chip microcomputer is waken up, judge if counter 1 interrupts waking up, illustrated that phone dials in, enter step (2); If serial ports interrupts waking up, illustrate that gateway sent warning message, enter step (5);
Step (2): single-chip microcomputer judges whether ring reaches pre-determined number.If in official hour, do not reach pre-determined number, called subscriber off-hook or calling subscriber's on-hook are described, get back to initial condition; If reach pre-determined number, off-hook then.
Step (3): the play cuing voice, wait for that the user imports password with the dual tone phone button, MT8888 begins to receive user cipher, and single-chip microcomputer is given in decoding.Single-chip microcomputer is compared the password of storing among the password that receives and its inner EEPROM, if import three mistakes or import overtimely, then initial condition is returned in on-hook; If identical, then begin to receive user instruction.
Step (4): the user is by button, at the control household electrical appliances, inquire about tame electricity condition, revise password, dial the number outside dialling the number, inquire about outside revising and six kinds of operations of on-hook in select.If select preceding two kinds of operations, single-chip microcomputer is issued gateway to control information by serial communication protocol, and the operating result that gateway is returned, the verbal announcement user; If back four kinds of operations, single-chip microcomputer is directly handled in sheet, and return results.Program is provided with overtime judgement and various false judgment, has preset the different suggestion voice of kind more than 30.After operation is finished, system's on-hook, single-chip microcomputer enters park mode, returns initial condition.
Step (5): after single-chip microcomputer is waken up by serial ports, send data immediately and return gateway to confirm whether report to the police.If within a period of time, do not receive the affirmation of gateway, illustrate to have received error code, return initial condition; If receive after the affirmation information of gateway, then receive the code that condenses from gateway.
Step (6): in sheet, read outer the dialling the number of this code representative of condensing the EEPROM, off-hook, and time-delay a period of time wait circuit is stable.To dial the number outward by MT8888 is converted to double-audio signal, sends on the telephone wire.Play several times alarm voice after time-delay a period of time continuously, finish warning work.Automatic hand-up after speech play finishes, single-chip microcomputer enters park mode, gets back to initial condition.
The device of realizing said method includes: data access-in management chip, dtmf signal transceiving chip, speech chip, control single chip computer and power module.Wherein:
Data access-in management chip adopts chip MH88435, and telephone line is communicated with DTMF transceiving chip, speech chip and single-chip microcomputer.It has realized that ring detects and the output ringing pulse, and automatic picking off and hanging machine and 2 lines-4 line translation function can be separated input and output signal;
The dtmf signal transceiving chip adopts chip MT8888, and when receiving the user keystroke control instruction, it receives the dtmf signal from telephone wire by the analog output of MH88435, and the parallel port of single-chip microcomputer is passed in decoding; When system safety was reported to the police, it received the outer of single-chip microcomputer by the parallel port and dials the number, and is converted into the standard DTMF signal, and the analog input end by MH88435 sends on the telephone wire;
Speech chip adopts chips W TV170-16P, and when sample frequency was 6kHz, it stored length and reaches 170s, stores 128 sections voice at most.Speech play finishes, and enters battery saving mode automatically, and electric current 2-3uA has reduced power consumption.WTV series is homemade speech chip, and lamprophonia is compared the advantage that has on the price with traditional ISD family chip.And only need import the voice numbering by the single-chip microcomputer parallel port, and need not import the physical address of sheet stored into, simple to operate.WTV170 is the one-off programming speech chip, can not change after the voice typing, and the demand that tame electric control is not recorded, using does not have the chip of sound-recording function can meet the demands fully, has reduced cost again;
Control single chip computer adopts AVR single chip computer AT mega64, has the JTAG DLL (dynamic link library), supports online programming.The advantage of this chip is that cost is low, power consumption is little, has multiple interfaces such as bus, SPI, serial ports, one-cycle instruction, and the speed of service is fast, and has EEPROM and FLASH in the sheet, demand according to the invention.It is by the ringing pulse of counter reception from MH88435; By built-in EEPROM stored password with dial the number outward; By parallel port control MH88435 dislodging machine, MT8888 receives and the broadcast that sends dtmf signal and voice with stop; Communicate by serial ports and gateway.After the on-hook, single-chip microcomputer enters resting state automatically, and waiting timer 1 or serial ports interrupt waking up;
Power module adopts the LM1117-3.3 chip to power to speech chip, the direct 5V power supply of remaining chip.
Referring to Fig. 1, the connection diagram of telephone remote control and warning device.Because hardware components all is made up of each chip and necessary peripheral circuit thereof, integrated every function does not have the structure of complexity.The pin annexation that concisely and has at length reflected each chip among the figure.
Referring to Fig. 2, chip MH88435 has realized that ring detects and output ringing pulse, automatic picking off and hanging machine and 2 lines-4 line translation function.MH88435 detects after the ring, and by RV end output ringing pulse, the T1 that is connected to single-chip microcomputer by 1K resistance holds, the beginning Ring-down count; The PB7 end of the LC termination single-chip microcomputer of MH88435 is realized the control of dislodging machine; The PB4 end of the LCD termination single-chip microcomputer of MH88435 is for single-chip microcomputer inquiry dislodging machine state.Article two, telephone wire is received TIP and the RING end of MH88435 respectively, and bidirectional diode D1 has realized overvoltage protection.The conversion of 2 lines-4 line has been carried out in MH88435 inside, has realized the isolation of input/output signal.Analog output VX is received the dtmf signal receiving terminal IN-of MT8888, and analog input end is difference input VR+ and VR-.VR+ receives the AMP-N end of speech chip, and voice signal is sent on the telephone wire; VR-receives the TONE end of MT8888, and dtmf signal is sent on the telephone wire.After like this two-way input signal being separated, avoided the phase mutual interference effectively.
Referring to Fig. 3, chip MT8888 has realized the reception and the transmission of dtmf signal.The WR of MT8888, CS, RS0, RD end connect the PA0-PA3 end of single-chip microcomputer respectively, provide control information by single-chip microcomputer; The D0-D3 end of MT8888 connects the PA4-PA7 of single-chip microcomputer respectively, is used for the transfer of data with single-chip microcomputer; The IRQ/CP end is connected to the INT2 end of single-chip microcomputer, is used for external interrupt.The reception of dtmf signal all is connected on the telephone wire by MH88435 with transmission.
Referring to Fig. 4, chips W TV170-16P has realized voice play function.Power management chip LM1117-3.3 is converted to 3.3V with the 5V on the circuit board, is the WTV170 power supply.The RES of WTV170, CS, CLK, DATA, BUSY end are connected to the PD3-PD7 end of single-chip microcomputer respectively by 1K resistance.Wherein, RES, CS, CLK end is used to receive the control information of single-chip microcomputer, so long as playback and stop playback and instruct; The DATA termination is received the data of single-chip microcomputer, to determine to play which section voice; Whether BUSY is an output, finish for the single-chip microcomputer voice inquirement.Voice signal is connected on the telephone wire by MH88435.
Referring to Fig. 5, chip ATmega64 is a control single chip computer, comprises reset circuit, crystal oscillating circuit and JTAG DLL (dynamic link library) circuit.It is the core of control circuit, sends data message and carry out data transmit-receive for MH88435, MT8888, WTV170; By serial ports TXD, RXD end, by serial communication protocol, communicate with gateway, comprise the code that condenses that sends tame electric control or Query Information and outside gateway obtains, dial the number to gateway; Use built-in EEPROM to preserve password and dial the number outward, provide cryptographic core to and modification, modification of dialling the number outward and query function; Single Chip Microcomputer (SCM) program provides various overtime and false judgment, and can enter park mode automatically after end of conversation, to reduce power consumption.
Claims (2)
1. a telephone remote is controlled and warning device, it is characterized in that, contains: data access-in management chip MH88435, and single-chip microcomputer, DTMF touch-tone signal transceiving chip, speech chip and power supply, wherein:
The MH88435 chip, be provided with: the port TIP and the RING that connect telephone line, dual-tone multifrequency input end of analog signal VR-, voice signal input VR+, the input of off-hook command signal LC, the output of DTMF analog signal VX, the output of ringing pulse signal RV, and the output of off-hook marking signal LCD, this MH88435 is communicated with telephone line with DTMF transceiving chip, speech chip and single-chip microcomputer;
Single-chip microcomputer, employing includes EEPROM, the chip ATMEGA32 of counter T1, be provided with: the input PB1 of described ringing pulse signal RV, the input PB4 of described off-hook marking signal LCD, the output PB7 of described off-hook command signal LC, the speech chip control signal output ends, the dual-tone multifrequency control signal output ends, data terminal with described DTMF transceiving chip bidirectional interconnect, in addition, also be provided with serial ports TXD/RXD with gateways interconnect, and power input, this single-chip microcomputer receives ringing pulse from described MH88435 by built-in counter T1, by built-in EEPROM storage password with dial the number outward, by parallel port control MH88435 dislodging machine, control the transmitting-receiving operation of described DTMF transceiving chip, the broadcast of controlling described speech chip with stop, on this single-chip microcomputer, be provided with following button control command: household appliance control instruction and household electrical appliances status poll instruction, by serial communication protocol and described gateway communication, the result is used the verbal announcement user; The password modify instruction, outward dial the number modify instruction, outward dial the number query statement and on-hook instruction directly in machine, handle after return results again, after operation was finished, on-hook also entered park mode;
DTMF touch-tone signal transceiving chip adopts the MT8888 chip, is provided with the output of described dual-tone multifrequency analog signal and the input of VX signal, and this MT8888 chip receives the dtmf signal from telephone wire, and single-chip microcomputer is passed in decoding; When gateway security is reported to the police, receive the outer of described single-chip microcomputer by the parallel port and dial the number, be converted into the standard DTMF signal, the analog signal VR-input by described MH88435 sends on the telephone wire;
Speech chip adopts the WTV170-16P speech chip, is provided with the input of described Single-chip Controlling signal, and the output VR+ of described voice signal;
Power supply adopts LM1117_3.3-5V to do power management module, powers to described single-chip microcomputer by described power supply.
2. described a kind of telephone remote control of claim 1 and warning device is characterized in that, described single-chip microcomputer links to each other with a programming power supply by jtag interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810113783A CN100583933C (en) | 2008-05-30 | 2008-05-30 | Remote control and warning apparatus for telephone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810113783A CN100583933C (en) | 2008-05-30 | 2008-05-30 | Remote control and warning apparatus for telephone |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101282389A CN101282389A (en) | 2008-10-08 |
CN100583933C true CN100583933C (en) | 2010-01-20 |
Family
ID=40014659
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810113783A Expired - Fee Related CN100583933C (en) | 2008-05-30 | 2008-05-30 | Remote control and warning apparatus for telephone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100583933C (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101872177B (en) * | 2010-06-29 | 2012-03-14 | 聊城大学 | Home intelligent control and security system |
CN102202125A (en) * | 2011-06-10 | 2011-09-28 | 工业和信息化部电子第五研究所华东分所 | Caller identification and voice automatic report system |
CN102833136A (en) * | 2011-06-15 | 2012-12-19 | 中兴通讯股份有限公司 | Digital home control method and wireless terminal |
CN103745555A (en) * | 2014-01-07 | 2014-04-23 | 苏州经贸职业技术学院 | Automatic alarm system for carbon dioxide based on single-chip microcomputer and method thereof |
CN104007729A (en) * | 2014-05-22 | 2014-08-27 | 美的集团股份有限公司 | Broadcast control method and broadcast control device |
CN109819130A (en) * | 2017-11-21 | 2019-05-28 | 长沙乐昌林电子科技有限公司 | A kind of intelligent Remote Control System based on Holtek-MCU |
CN109559471A (en) * | 2018-12-29 | 2019-04-02 | 滨州学院 | A kind of home phone number anti-theft alarm system and alarm method |
-
2008
- 2008-05-30 CN CN200810113783A patent/CN100583933C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN101282389A (en) | 2008-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100583933C (en) | Remote control and warning apparatus for telephone | |
CN101917530B (en) | Telephone remote key-press and voice double mode controller | |
CN101917529B (en) | Remote intelligent telephone controller based on internet of things in homes | |
CN201142707Y (en) | Telephone controller with speech recognition function | |
CN101803852B (en) | Intelligent curtain with safety protection alarm function | |
CN201213282Y (en) | Remote control and alarm apparatus for telephone | |
CN201710098U (en) | Intelligent curtain with safety precaution alarm function | |
CN101707641B (en) | Multifunctional IP voice communication telephone device | |
CN102196105A (en) | Telephone voice assisting system | |
CN103701973B (en) | A kind of convenient calling terminal of intelligence | |
CN203241778U (en) | A household electrical appliance remote control apparatus | |
CN2911823Y (en) | Host and sub-device of remote smart controlled/monitored alarmer | |
CN107566592A (en) | A kind of exchange method and terminal of fixed telephone terminal data | |
CN201191407Y (en) | USB watchdog with remote alarm | |
CN203243420U (en) | Regional power supply management controller based on PSTN | |
CN201557157U (en) | On-line operating state monitoring device for fixed telephone | |
CN201528982U (en) | Microcomputer multifunctional remote control automatic electric rice cooker | |
CN204721521U (en) | A kind of based on voice-operated intelligent hotel guest room television system | |
CN203968184U (en) | The intelligent assembly of a kind of common fixed line base and a kind of intelligentized fixed line base | |
CN2914513Y (en) | Telephone remote control and warning system | |
CN103533159A (en) | System for intelligentizing non-intelligentized telephone | |
CN202197345U (en) | Telephone intelligent control device | |
CN207801963U (en) | A kind of switch remote rebooting device based on phone control | |
CN201481127U (en) | Control circuit of microcomputer multifunctional remote-control automatic electric cooker | |
CN208572204U (en) | SCM Based telephone remote control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100120 Termination date: 20190530 |
|
CF01 | Termination of patent right due to non-payment of annual fee |