Embodiment
Below in conjunction with accompanying drawing, the invention will be further described:
As shown in Figure 1, the present invention is mainly made up of single-chip microcomputer U1, gsm module ZIF1, the P2.2 pin of single-chip microcomputer is connected in 2 pin of human body infrared induction module SS1, and 1,3 pin of human body infrared induction module are respectively positive source and power cathode, and it is connected with the positive and negative electrode of rechargeable battery V1 respectively.
The P2.1 pin of single-chip microcomputer is connected with 5 pin of dead electricity sensor RLY1, and dead electricity sensor is electromagnetic relay, and its coil 1,2 pin connect respectively the positive and negative electrode of direct supply input V2, and 3 pin connect rechargeable battery V1 positive pole, and 4 pin are unsettled.
The P2.0 pin of single-chip microcomputer is connected with 3 pin of vibration transducer ND1,1 pin of vibration transducer connects the negative pole of rechargeable battery V1, series resistor R1 connect the positive pole of rechargeable battery V1 at 5 pin between 2 pin and 5 pin, resistance value more sensitivity is higher, after 4 pin serial connection capacitor C 3, connect the negative pole of rechargeable battery V1, capacitance is larger, and delay time is longer.
Gsm module has 40 pin, 1,2,3,4,5 pin are power supply input, 6,7,8,9,10 pin are power supply ground, and 11,12 pin are charging, and 13 pin are external output voltage, 14 pin are the thermistor of ACCU-TEMP negative temperature coefficient, 15 pin are that IGT starts, and 16,17,18,19,20,21,22,23 pin are data I/O, and 24,25,26,27,28,29 pin are sim card socket, 30,31,32 pin are for controlling, and 35,36,37,38 pin are speech interface.18 pin (RXD0), 19 pin (TXD0) of gsm module are serial communication pin, and it is connected with 10 pin (RXD), 11 pin (TXD) of single-chip microcomputer respectively.15 pin (IGT) of gsm module are connected with the P1.0 pin of single-chip microcomputer, control thus the startup of gsm module.
Because control and the signal of communication of single-chip microcomputer and gsm module need to carry out logic level transition, therefore between is also provided with the level shifting circuit being made up of open collector impact damper SN1, SN2, SN3, SN4 and resistance R 5, R6, R7, R8.
V1 is rechargeable battery, working power is provided to whole device, and guarantees that external power source powering-off state lower device still can work.Direct supply input V2 will be V1 charging after 380V AC rectification.
Capacitor C 1, C4 and crystal oscillator X1 composition single-chip microcomputer oscillatory circuit; Resistance R 3, R4, capacitor C 2, switch S 1 form reset circuit of SCM.
Under normal circumstances, the output pin of human body infrared induction module, dead electricity sensor and vibration transducer is low level signal, and single-chip microcomputer does not now obtain sensor signal, does not also send instruction to gsm module, and now, transformer is in a safe condition.In the time having theft to occur, offender approaches transformer, cut off one time cable, when phase shifting transformer, three sensors move successively, and P2.0, P2.1, the P2.2 pin of single-chip microcomputer just become high level signal from original low level signal, immediately, single-chip microcomputer internal program is carried out, and sends AT instruction to gsm module, and gsm module also wireless transmission can comprise that the information of the content such as place, time and alarm are to Surveillance center's terminal.