Disclosure of Invention
Aiming at the defects of the existing alarm device, the invention provides an alarm host control circuit with a mobile phone communication function, which can control a plurality of defense areas and has a plurality of alarm modes.
The technical scheme adopted for solving the technical problems is as follows:
an alarm host control circuit with a mobile phone communication function is provided, comprising: . The system comprises a main control module, and peripheral modules, a power supply module, an interaction module, a defense area detection module, a wireless remote control module, a telephone communication module, a GSM module and an audio module which are connected with the main control module, wherein the interaction module is used for man-machine interaction, the defense area detection module can detect the situation in the defense area and provide basis for the main control module to send out an alarm, the defense area detection module comprises a wired detection circuit and a wireless detection circuit, the wireless remote control module can receive a wireless remote control signal sent out by a user, the telephone communication module can give an alarm and realize the telephone remote operation of the user, the telephone communication module comprises a telephone wiring circuit and a dialing circuit, the GSM module can communicate with a mobile phone and send out an alarm, and the audio module is used for remote voice broadcasting and on-site monitoring.
Further, the main control module comprises a chip U1, an indirect crystal oscillator Y1 between 3 pins and 4 pins of the chip U1, an indirect crystal oscillator Y2 between 5 pins and 6 pins of the chip U1, a first lead of the 1 pin of the chip U1 is grounded through a capacitor C83, a second lead is connected with 3 pins of a diode D6, the 1 pin of the diode D6 is connected with 3.3V voltage, the 2 pins of the diode D6 are grounded through a battery BAT, and the model of the chip U1 is STM32F103RBT6.
Further, the power module includes interfaces J1 and CON1 and chips U13 and U14, the interface J1 is a lithium battery interface, the interface CON1 is a 9V power adapter input interface, 9V voltage is provided for the chip U13 and the interface J1, the input end of the chip U13 is connected with 9V voltage, the output end is connected with 5V voltage, the input end of the chip U14 is connected with 5V voltage, the output end is connected with 3.3V voltage, the model of the chip U13 is LM2576-5, and the model of the chip U14 is AMS1117-3.3.
Further, the peripheral module comprises a memory circuit, a debugging interface circuit, an encryption circuit, an indication circuit and a switching value output circuit, wherein the memory circuit comprises a chip U9, pins 5 and 6 of the chip U9 are respectively connected with pins 24 and 25 of the chip U1, the model number of the chip U9 is 24C16B, the debugging interface circuit comprises an interface CON3, pins 3 and 2 of the interface CON3 are respectively connected with pins 60 and 28 of the chip U1 through resistors R51 and R49, pins 4, 6 and 7 of the interface CON3 are respectively connected with pins 7, 42 and 43 of the chip U1, the encryption circuit comprises a chip U11, pins 6 and 8 of the chip U11 are respectively connected with pins 54 of the chip U1, pins 3 are connected with pin 34 of the chip U1 through a resistor R62, pin 4 is connected with pin 1 of a diode D15, pin 3 of the diode D15 is connected with pin 34 of the chip U1, the indication circuit comprises a chip U19, the indicating circuit comprises a chip U19 and indicating lamps D21, D30, D31, D32, D33, D34 and D36, wherein 1 pin of the indicating lamps D21, D30, D31, D32, D33, D34 and D36 are respectively connected with 3.3V voltage through a resistor of 1KΩ,2 pin of the indicating lamps D21, D30, D31, D32 and D33 are respectively connected with an IO port of the chip U19, 2 pin of the indicating lamp D34 is grounded, 2 pin of the indicating lamp D36 is connected with 38 pin of the chip U1, 8 pin of the chip U19 is connected with 2 pin of a diode D35, 3 pin of the diode D35 is connected with 62 pin of the chip U1, the switching value output circuit comprises triodes Q7, Q17 and a relay SW2, the base electrode of the triodes Q17 is connected with 12 pin of the chip U19 through a resistor R28, the emitter is grounded, the collector electrode is connected with the voltage of the relay SW2 pin of the relay SW2, and the pin of the relay SW2 is connected with the voltage of the pin 1V 5, the 3 and 4 pins are respectively connected with the 3 and 4 pins of the connector CON5, the base electrode of the triode Q7 is connected with the 9 pin of the chip U19 through a resistor R61, the emitter electrode is grounded, and the collector electrode is connected with the 2 pin of the connector CON 5.
Further, the interaction module comprises a key circuit and a display circuit, the key circuit comprises keys K1-K16, two ends of the keys K1-K16 are respectively connected with an IO port of the chip U1, the display circuit comprises a liquid crystal display module U2, pins 4, 5, 6, 10, 11, 12, 13, 14, 15, 16 and 17 of the liquid crystal display module U2 are respectively connected with pins 41, 42, 43, 14, 15, 16, 17, 20, 21, 22 and 23 of the chip U1, pin 20 of the liquid crystal display module U2 is connected with a collector electrode of a triode Q8 through a resistor R63, an emitter electrode of the triode Q8 is grounded, and a base electrode of the triode Q8 is connected with pin 50 of the chip U1 through a resistor R64.
Further, the wireless remote control module comprises a chip U20, pins 4, 5, 6, 7 and 8 of the chip U20 are respectively connected with pins 52, 46, 58, 49 and 11 of the chip U1, and the model of the chip U20 is A7108.
Further, the protection zone detection module comprises a wired protection zone detection circuit and a wireless protection zone detection circuit, the wired protection zone detection circuit comprises a chip U12 and an interface CON4, pins 15, 14, 13, 12, 1 and 5 of the chip U12 are connected with pins 2, 3, 4, 5, 6 and 7 of the interface CON4 through a resistor of 10KΩ and a diode of a model IN4148 respectively, the pin 3 of the chip U12 is connected with the pin 3 of the chip U5, a first lead of the pin 2 of the chip U5 is grounded through a resistor R35, a second lead is connected with a voltage of 3.3V through a resistor R34, the pin 1 of the chip U5 is connected with a pin 45 of the chip U1, the model of the chip U12 is 74HC4051, the chip U5 is model LM393, the wireless protection zone detection circuit comprises a chip U10, the chip U10 adopts a super-regenerative receiving module of MHZ, the pins 2 and 3 of the chip U10 are connected with each other, the pin 1 is connected with the pin 3, the pin 1 is connected with the pin 5 through the pin 5, the pin 5 is connected with the pin 5, and the pin 5 is connected with the pin 5 through the pin 5.
Further, the audio module comprises a recording circuit, a voice broadcasting circuit, an audio switching circuit and an audio amplifying circuit, the recording circuit comprises a chip U8, 4 and 5 pins of the chip U8 are respectively connected with 2 and 1 pins of a pickup M1 through capacitors C12 and C11, 3 and 12 pins of the chip U8 are respectively connected with 40 and 33 pins of the chip U1, 13 pins of the chip U8 are connected with 11 pins of the chip U1 through a diode D20, the model number of the chip U8 is ISD1820PY, the voice broadcasting circuit comprises a chip U7, 8 pins of the chip U7 are connected with 2 pins of the diode D15 through a resistor R84 and a diode D7, 12 pins of the chip U25 are respectively connected with a first end of a capacitor C48 through a resistor R79, a first lead wire of a second end of the capacitor C48 is connected with a resistor R80, the chip SP 7 is connected with the chip C9 through a capacitor C9, the model number of the chip SP 7 is connected with the chip SP 25 through a capacitor C9 and a loudspeaker C7, the model number of the chip SP 7 is connected with the chip SP 25 through a capacitor C9 and the capacitor C7, the model number of the chip SP 7 is connected with the chip SP 25 is connected with the chip C7 through the capacitor C7, and the model number of the chip SP 7 is connected with the chip 7, and the chip SP is connected with the chip SP 25 is connected with the chip 7 through the capacitor C4.
Further, the telephone wiring circuit comprises an interface CON2 and a relay SW1, wherein the 1 pin of the relay SW1 is connected with 5V voltage, the 2 pin is connected with the collector of a triode Q9, the emitter of the triode Q9 is grounded, the base is connected with the 6 pin of a chip U19 through a resistor R65, the 3 pin and the 4 pin of the relay SW1 are respectively connected with the 4 pin and the 3 pin of the interface CON2, the 5 pin and the 7 pin are respectively connected with the 1 pin and the 2 pin of a rectifier bridge D1, the 6 pin and the 8 pin are respectively connected with the 2 pin and the 1 pin of a rectifier bridge D8, the 3 pin and the 4 pin of the rectifier bridge D8 are respectively connected with the 1 pin and the 2 pin of an optocoupler U22 through resistors R66 and R68, the 3 pin of the optocoupler U22 is grounded, the 4 pin of the 3 pin of the rectifier bridge D1 is connected with the 4 pin of an optocoupler U23, the second pin is connected with the collector of the triode Q3, the 3 pin of the optocoupler U23 is connected with the base of the triode Q3, the 1 pin is connected with the collector of the triode Q5 through a resistor R106, the emitter of the triode Q5 is connected with the 5V voltage, the base is connected with the collector of the triode Q10 through a resistor R107, the emitter of the triode Q10 is grounded, the base is connected with the 35 pin of the chip U1 through a resistor R12, the first lead of the emitter of the triode Q3 is connected with the 4 pin of the common mode inductor T1 through a capacitor C89, the second lead is connected with the collector of the triode Q2, the first lead of the 4 pin of the rectifier bridge D1 is connected with the base of the triode Q2 through a capacitor C90, the second lead is connected with the emitter of the triode Q2, the emitter of the triode Q2 is connected with the 3 pin of the common mode inductor T1 through a resistor R67, the first lead of the 2 pin of the common mode inductor T1 is connected with the collector of the triode Q1, the second lead is connected with the collector of the chip U8 through a capacitor C85 and a resistor R176, the base electrode of the triode Q16 is connected with the 3 pin of the chip U7 through a resistor R53, a diode D18 and a resistor R75; the dialing circuit comprises chips U3 and U4, pins 11, 12, 13 and 14 of the chip U3 are respectively connected with pins 26, 27, 55 and 56 of the chip U1, a pin 2 is connected with an emitter of the triode Q16 through a resistor R6 and a capacitor C87, a pin 7 is connected with a pin 3 of the chip U4 through a capacitor C4, a pin 7 of the chip U4 is connected with a base of the triode Q1 through a resistor R7 and a capacitor C86, pins 5 and 6 are connected with pins 59 and 61 of the chip U1, the type of the chip U3 is HT9170D, and the type of the chip U4 is HT9200A.
Further, the GSM module includes a chip U6 and an interface U18, 12 and 13 pins of the chip U6 are connected to 30 and 29 pins of the chip U1, a first lead of 29 pins of the chip U6 is connected to 2 pins of the chip U7 through a resistor R119 and a capacitor C65, a second lead is connected to 7 pins of the chip U8 through a resistor R118 and a capacitor C64, a first lead of 30 pins of the chip U6 is connected to 3 pins of the chip U7 through a resistor R117 and a capacitor C63, a second lead is connected to 9 pins of the chip U8 through a resistor R116 and a capacitor C62, 31 pins of the chip U6 is connected to 5 pins of the chip U25 through a capacitor C69 and a resistor R120, 32 pins are connected to 14 pins of the chip U25 through a resistor C70 and a resistor R121, 1 pin 1 of the interface U8 is connected to 23 pins of the chip U6 through a resistor R115, 3 pins are connected to ground, 4 pins are connected to 24 pins of the chip U6 through a resistor R112, and are connected to 9 pins of the chip U6 through a resistor R25, and the chip U6 is connected to the chip model number of the chip U6 is connected to the chip U6 through a resistor R111.
Compared with the prior art, the invention has the beneficial effects that:
1. the invention has 6 wired defense areas and 16 wireless defense areas, when the defense areas are triggered by alarm conditions, the alarm host machine can automatically realize remote alarm in various forms such as telephone line calling, GSM mobile phone card calling, short message sending and the like, and meanwhile, alarm whistle alarm is ready;
2. the invention supports the man-machine interaction of the display and keys of the small LCD liquid crystal screen and the voice broadcasting function, thereby being convenient for the operation of users;
3. the invention supports remote control operation and can realize disarming of remote telephone or short message arming.
Description of the embodiments
In order that the invention may be readily understood, a more particular description thereof will be rendered by reference to specific embodiments that are illustrated in the appended drawings. The preferred embodiments of the present invention are illustrated in the drawings, however, the present invention may be embodied in many different forms and is not limited to the embodiments described in the present specification. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
The present invention will be described in detail below with reference to the accompanying drawings. Embodiment 1, as shown in fig. 1-16, provides an alarm host control circuit with a mobile phone communication function, comprising: the system comprises a main control module, and peripheral modules, a power supply module, an interaction module, a defense area detection module, a wireless remote control module, a telephone communication module, a GSM module and an audio module which are connected with the main control module, wherein the interaction module is used for man-machine interaction, the defense area detection module can detect the situation in the defense area and provide basis for the main control module to send out an alarm, the defense area detection module comprises a wired detection circuit and a wireless detection circuit, the wireless remote control module can receive a wireless remote control signal sent out by a user, the telephone communication module can give an alarm and realize the telephone remote operation of the user, the telephone communication module comprises a telephone wiring circuit and a dialing circuit, the GSM module can communicate with a mobile phone and send out an alarm, and the audio module is used for remote voice broadcasting and on-site monitoring.
In embodiment 2, as shown in fig. 1, the main control module includes a chip U1, an indirect crystal oscillator Y2 between 3 pins and 4 pins of the chip U1, an indirect crystal oscillator Y1 between 5 pins and 6 pins of the chip U1, a first lead of the 1 pin of the chip U1 is grounded via a capacitor C83, a second lead is connected to 3 pins of a diode D6, 1 pin of the diode D6 is connected to 3.3V voltage, 2 pins of the diode D6 are grounded via a battery BAT, and the model number of the chip U1 is STM32F103RBT6.
In this embodiment, the chip U1 is a main controller, Y1 is the working clock of the MCU, and is mainly used to provide the main clock of the system, Y2 is the clock provided by the RTC, and is mainly used for LCD clock display, and the diode D6 and the battery BAT form a backup battery circuit, and is mainly used for continuous timing of the RTC when the main machine is powered off.
In embodiment 3, as shown in fig. 2, the power module includes interfaces J1 and CON1 and chips U13 and U14, the interface J1 is a lithium battery interface, the interface CON1 is a 9V power adapter input interface, 9V voltage is provided for the chips U13 and the interface J1, the input end of the chip U13 is connected with 9V voltage, the output end is connected with 5V voltage, the input end of the chip U14 is connected with 5V voltage, the output end is connected with 3.3V voltage, the model of the chip U13 is LM2576-5, and the model of the chip U14 is AMS1117-3.3.
In this embodiment, the power adapter interface CON1 inputs 9V voltage to step down through the DC-DC circuit of the chip U13, and then step down by the chip U14, so as to realize a serial voltage stabilizing circuit, realize power supply of the whole machine, J1 is a lithium battery interface, and the alarm host can realize battery power supply, and can not stop working due to power failure of alternating current, and switch to realize cruising under the condition of power failure.
In embodiment 4, as shown in fig. 5 to 9, the peripheral module includes a memory circuit, a debug interface circuit, an encryption circuit, an indication circuit and a switching value output circuit, the memory circuit includes a chip U9, pins 5 and 6 of the chip U9 are respectively connected to pins 24 and 25 of the chip U1, a model number 24C16B of the chip U9, the debug interface circuit includes an interface CON3, pins 3 and 2 of the interface CON3 are respectively connected to pins 60 and 28 of the chip U1 via resistors R51 and R49, pins 4, 6 and 7 of the interface CON3 are respectively connected to pins 7, 42 and 43 of the chip U1, the encryption circuit includes a chip U11, pins 6 and 8 of the chip U11 are respectively connected to pins 54 of the chip U1, pins 3 are respectively connected to pin 34 of the chip U1 via a resistor R62, pins 4 are connected to pin 1 of a diode D15, pins 3 of the diode D15 are respectively connected to pin 34 of the chip U1, the indication circuit includes a chip U19, the indicating circuit comprises a chip U19 and indicating lamps D21, D30, D31, D32, D33, D34 and D36, wherein the 1 pins of the indicating lamps D21, D30, D31, D32, D33, D34 and D36 are respectively connected with 3.3V voltage through a resistor of 1KΩ, the 2 pins of the indicating lamps D21, D30, D31, D32 and D33 are respectively connected with the IO port of the chip U19, the 2 pin of the indicating lamp D34 is grounded, the 2 pin of the indicating lamp D36 is connected with the 38 pin of the chip U1, the 8 pin of the chip U19 is connected with the 2 pin of a diode D35, the 3 pin of the diode D35 is connected with the 62 pin of the chip U1, the model number of the chip U19 is SN8P2511BS, the switching value output circuit comprises triodes Q7, Q17 and a relay SW2, the base of the triode Q17 is connected with the 12 pin of the chip U19 through a resistor R28, the collector of the relay is grounded, the collector of the triode SW is grounded, the 1 pin of the relay SW2 is connected with 5V voltage, the 3 pin and the 4 pin are respectively connected with the 3 pin and the 4 pin of the connector CON5, the base electrode of the triode Q7 is connected with the 9 pin of the chip U19 through a resistor R61, the emitter electrode is grounded, and the collector electrode is connected with the 2 pin of the connector CON 5.
In this embodiment, the storage circuit may store relevant parameters set by a user on the host, and is mainly used for a function of power-off memory related setting, debugging may be performed on program settings in the main control module through the debug interface circuit, the encryption circuit may implement ID algorithm encryption in combination with the main control chip, the indication circuit communicates with the main control module, and control LEDs to display a current working state of the alarm host, where the indication lamps D21, D30, D31, D32, D33, D34, and D36 are respectively used to indicate states of arming, disarming, keep on, alarm, host fault, power supply, and wireless signals, in the switching value output circuit, the interface CON5 is a siren and switching value signal interface, the triode Q7 outputs a signal to drive the siren under the alarm condition, and the SW2 relay may output some switching value signals through the host setting to control devices that the user wants to control.
In embodiment 5, as shown in fig. 3-4, the interaction module includes a key circuit and a display circuit, the key circuit includes keys K1-K16, two ends of the keys K1-K16 are respectively connected with the IO port of the chip U1, the display circuit includes a liquid crystal display module U2, pins 4, 5, 6, 10, 11, 12, 13, 14, 15, 16 and 17 of the liquid crystal display module U2 are respectively connected with pins 41, 42, 43, 14, 15, 16, 17, 20, 21, 22 and 23 of the chip U1, pin 20 of the liquid crystal display module U2 is connected with a collector of a triode Q8 through a resistor R63, an emitter of the triode Q8 is grounded, and a base is connected with pin 50 of the chip U1 through a resistor R64.
In this embodiment, the interaction module is configured to implement man-machine interaction between the alarm host and the user, where the LCD display may display time and user setting information, and the user may set a function required by the user through a key.
In embodiment 6, as shown in fig. 11, the wireless remote control module includes a chip U20, pins 4, 5, 6, 7 and 8 of the chip U20 are respectively connected to pins 52, 46, 58, 49 and 11 of the chip U1, and the model of the chip U20 is a7108.
It can be understood that the alarm host can receive the wireless remote control signal of the user through the wireless remote control module, so that the basic operation of the remote control of the user is realized.
IN embodiment 7, as shown IN fig. 10 and 12, the protection area detection module includes a wired protection area detection circuit and a wireless protection area detection circuit, the wired protection area detection circuit includes a chip U12 and an interface CON4, pins 15, 14, 13, 12, 1 and 5 of the chip U12 are respectively connected to pins 2, 3, 4, 5, 6 and 7 of the interface CON4 through a resistor of 10kΩ and a diode of model IN4148, the 3 pin of the chip U12 is connected to pin 3 of the chip U5, the first lead of pin 2 of the chip U5 is connected to ground through a resistor R35, the second lead is connected to pin 3.3V through a resistor R34, pin 1 of the chip U5 is connected to pin 45 of the chip U1, the model of the chip U12 is 74HC4051, the model of the chip U5 is 393, the wireless protection area detection circuit includes a chip U10, the chip U10 adopts a super-reproduction receiving module of MHZ, pin 2 and pin 3 of the chip U5 are connected to pin 3, pin 1 of the chip U5 is connected to pin 5 through a resistor R35, pin 1 of the chip U5 is connected to pin 5, pin 5 is connected to pin 5, and pin 5 is connected to pin 5.
In this embodiment, the wired defense area detection circuit is used for detecting an external wired defense area, the interface CON4 is used for receiving an outgoing defense area detector, the chip 74HC4051 is an eight-choice analog switch, once the defense area detects that an intrusion exists, a corresponding diode reversely inputs a signal to switch the chip U12, and the chip U5 outputs a signal to the main control module, so as to achieve the purpose of alarming, the circuit has 6 main signal inputs, 6 wired defense areas can be connected, and 6 hosts can alarm only by any one; the chip U10 in the wireless defense area detection circuit adopts a super-regenerative receiving module of 315MHz, and can receive signals of a wireless sensor signal defense area, so that wireless defense area alarm is detected, the signals of the chip U10 are output to the main control module through the LM393 comparator, wireless defense area detection alarm is realized, and the chip U10 can detect 16 wireless defense areas simultaneously.
In embodiment 8, as shown in fig. 16, the audio module includes a recording circuit, a voice broadcast circuit, an audio switching circuit and an audio amplifying circuit, the recording circuit includes a chip U8, pins 4 and 5 of the chip U8 are respectively connected with pins 2 and 1 of a pickup M1 through capacitors C12 and C11, pins 3 and 12 of the chip U8 are respectively connected with pins 40 and 33 of the chip U1, pins 13 of the chip U8 are connected with pins 11 of the chip U1 through a diode D20, the type of the chip U8 is ISD1820PY, the voice broadcast circuit includes a chip U7, pins 8 of the chip U7 are connected with pins 2 of the diode D15 through a resistor R84 and a diode D7, pins of the chip U7 are connected with pins 065 of YX3, the audio switching circuit includes a chip U25, pins 12 of the chip U25 are connected with pins 40 and 33 through a resistor R79, a first lead of the second end of the chip C48 is connected with pins of the chip C25 through a capacitor C49 and a resistor R80, pins of the chip SP 7 are connected with pins 4 through a resistor SP 7 and a capacitor SP 25, and pins 2 of the chip SP 25 are connected with pins 4 through a resistor SP 7 and a capacitor SP 25, and a pin 4 of the chip SP 2 are connected with pins 7 of the chip SP 2 through a capacitor SP 25, and a pin 4 are connected with pins 7, and a pin 4 of the chip SP 2 are connected with pins 7, and a chip SP 2 are connected with pins of the chip SP 7, and a chip SP 2 are connected with pins of the chip SP 2 and a chip SP 2.
In this embodiment, the speaker SP1 is configured to implement a field voice broadcast function when an alarm is given or when some functions are operated; the voice broadcasting circuit is mainly used for voice broadcasting, and can realize remote voice broadcasting when dialing a phone to give an alarm besides on-site voice dialing when giving an alarm; the recording circuit is mainly used for recording a section of voice, broadcasting the voice when the alarm host alarms, generally recording information such as a user home address and the like, and the pickup M1 is used for recording, and can also be used for remote conversation intercom of the alarm host and on-site monitoring functions; in the audio switching circuit, a chip U25 is a logic gate chip and is used for switching audio signals; in the audio amplifying circuit, the chip U16 is an audio power amplifier, and is mainly used for amplifying an audio signal and then pushing the loudspeaker SP1.
In embodiment 9, as shown in fig. 13, 14 and 16, the telephone connection circuit includes an interface CON2 and a relay SW1, pin 1 of the relay SW1 is connected to 5V voltage, pin 2 is connected to the collector of a transistor Q9, the emitter of the transistor Q9 is grounded, the base is connected to pin 6 of the chip U19 via a resistor R65, pins 3 and 4 of the relay SW1 are respectively connected to pins 4 and 3 of the interface CON2, pins 5 and 7 are connected to pins 1 and 2 of a rectifier bridge D1, pins 6 and 8 are connected to pins 2 and 1 of a rectifier bridge D8, pins 3 and 4 of the rectifier bridge D8 are respectively connected to pins 1 and 2 of an optocoupler U22 via resistors R66 and R68, pin 3 of the optocoupler U22 is grounded, pin 4 is connected to pin 4 of the chip U12, pin 3 of the rectifier bridge D1 is connected to pin 4 of the optocoupler U23, pin 3 is connected to the collector of the transistor Q3, the 2 pin is grounded, the 1 pin is connected with the collector of the triode Q5 through a resistor R106, the emitter of the triode Q5 is connected with 5V voltage, the base is connected with the collector of the triode Q10 through a resistor R107, the emitter of the triode Q10 is grounded, the base is connected with the 35 pin of the chip U1 through a resistor R12, the first lead of the emitter of the triode Q3 is connected with the 4 pin of the common mode inductance T1 through a capacitor C89, the second lead is connected with the collector of the triode Q2, the first lead of the 4 pin of the rectifier bridge D1 is connected with the base of the triode Q2 through a capacitor C90, the second lead is connected with the emitter of the triode Q2, the emitter of the triode Q2 is connected with the 3 pin of the common mode inductance T1 through a resistor R67, the first lead of the 2 pin of the common mode inductance T1 is connected with the collector of the triode Q1, the second lead is connected with the collector of the triode Q16, the base electrode of the triode Q1 is connected with the 9 pin of the chip U8 through a capacitor C85 and a resistor R176, and the base electrode of the triode Q16 is connected with the 3 pin of the chip U7 through a resistor R53, a diode D18 and a resistor R75; the dialing circuit comprises chips U3 and U4, pins 11, 12, 13 and 14 of the chip U3 are respectively connected with pins 26, 27, 55 and 56 of the chip U1, a pin 2 is connected with an emitter of the triode Q16 through a resistor R6 and a capacitor C87, a pin 7 is connected with a pin 3 of the chip U4 through a capacitor C4, a pin 7 of the chip U4 is connected with a base of the triode Q1 through a resistor R7 and a capacitor C86, pins 5 and 6 are connected with pins 59 and 61 of the chip U1, the type of the chip U3 is HT9170D, and the type of the chip U4 is HT9200A.
In this embodiment, the telephone wiring circuit is mainly used for a telephone alarm function of the alarm host, the interface CON2 is a telephone LINE and a home telephone LINE interface circuit, and under normal conditions, a home telephone is connected to the home telephone LINE through the relay SW1, when an alarm occurs, the relay SW1 is closed, and the alarm host can alarm by making a call through the circuit, and the alarm host detects whether the telephone LINE is plugged (through the signal check_line) or whether a call is made (through the signal RING), and the alarm host is realized through the telephone wiring circuit; in the dialing circuit, the chip U4 is used for dialing when the host computer dials a call, the chip U3 is mainly used for remote operation of a user, and can realize key tone decoding of the user telephone, for example, through setting, in the telephone conversation between the user and the alarm host computer, the user prompts to press the corresponding functions of the keys 1-9, and the user presses the corresponding keys, so that some functional operations of the alarm host computer can be realized.
In embodiment 10, as shown in fig. 15-16, the GSM module includes a chip U6 and an interface U18, 12 and 13 pins of the chip U6 are connected to 30 and 29 pins of the chip U1, a first lead of 29 pins of the chip U6 is connected to 2 pins of the chip U7 via a resistor R119 and a capacitor C65, a second lead is connected to 7 pins of the chip U8 via a resistor R118 and a capacitor C64, a first lead of 30 pins of the chip U6 is connected to 3 pins of the chip U7 via a resistor R117 and a capacitor C63, a second lead is connected to 9 pins of the chip U8 via a resistor R116 and a capacitor C62, 31 pins of the chip U6 is connected to 5 pins of the chip U25 via a capacitor C69 and a resistor R120, 32 pins are connected to 14 pins of the chip U25 via a resistor R70 and a resistor R121, 1 pin of the interface U8 is connected to 23 pins of the chip U8 via a resistor R112, 2 pins are connected to 3 pins of the chip U6 via a resistor R115, 4 pins are connected to 3 pins of the chip U6 via a resistor R25, and a resistor R24 is connected to the chip U6 via a resistor R14, and a model of the chip U6 is connected to the chip 6 via a resistor R14.
In this embodiment, the interface U18 is a mobile phone card slot, the chip U6 is a GSM chip, and the combination of the chip U6 and the chip U6 forms a GSM communication circuit, the chip U6 and the main control module adopt serial communication, and communicate by using AT instructions, thereby realizing GSM phone and short message alarm, and meanwhile, the GSM module can realize a field voice call function in combination with an audio circuit.
The working principle of the invention is as follows:
the system is electrified, the wired defense area detection circuit and the wireless defense area detection circuit monitor the controlled defense areas respectively, when the defense areas are warned, the alarm host computer gives an alarm to a user through the telephone wiring circuit and the GSM module, the alarm information can be played through telephone dialing 110 when necessary, the recording circuit can record the alarm voice information, the GSM module can realize the on-site voice calling function by combining the audio circuit, the user can set the system on site through the interaction module, and the alarm host computer can also be set remotely through the wireless remote control module and the dialing circuit.
The above-described features are continuously combined with each other to form various embodiments not listed above, and are regarded as the scope of the present invention described in the specification; and, it will be apparent to those skilled in the art from this disclosure that modifications and variations can be made without departing from the scope of the invention defined in the appended claims.