CN103578213B - A kind of Portable type automatic alarm based on 3-axis acceleration sensor - Google Patents

A kind of Portable type automatic alarm based on 3-axis acceleration sensor Download PDF

Info

Publication number
CN103578213B
CN103578213B CN201310508945.XA CN201310508945A CN103578213B CN 103578213 B CN103578213 B CN 103578213B CN 201310508945 A CN201310508945 A CN 201310508945A CN 103578213 B CN103578213 B CN 103578213B
Authority
CN
China
Prior art keywords
pin
module
triode
chip
supply voltage
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.)
Active
Application number
CN201310508945.XA
Other languages
Chinese (zh)
Other versions
CN103578213A (en
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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN201310508945.XA priority Critical patent/CN103578213B/en
Publication of CN103578213A publication Critical patent/CN103578213A/en
Application granted granted Critical
Publication of CN103578213B publication Critical patent/CN103578213B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of Portable type automatic alarm based on 3-axis acceleration sensor.Comprise cell phone, wireless communication module, single-chip minimum system, voice alarm module, 3-axis acceleration sensor module, intelligent switch power source module and heartbeat lamp and hummer module; Cell phone and wireless communication module wireless connections, single-chip minimum system respectively with wireless communication module, voice alarm module, 3-axis acceleration sensor module and heartbeat lamp and hummer model calling, wireless communication module, single-chip minimum system, voice alarm module, 3-axis acceleration sensor module and heartbeat lamp and hummer module are by intelligent switch power source module for power supply.The present invention can be connected on the valuables such as school bag, notebook computer, luggage case as suspension member, plays the effect of alarming anti-theft.Interface standard involved in the present invention, circuit is simple and easy, and it is convenient to control, and power consumption is extremely low, and with low cost, and compact is easy to carry about with one, and is with a wide range of applications.

Description

A kind of Portable type automatic alarm based on 3-axis acceleration sensor
Technical field
The present invention relates to a kind of Portable type automatic alarm, particularly relate to a kind of Portable type automatic alarm based on 3-axis acceleration sensor.
Background technology
In public places, due to owner of short duration leave and situation that the article that cause are lost is too numerous to enumerate, as the valuables such as computer are placed in library and study hall by thief direct " taking away ", the school bag that the classmate and for example run evening is placed on side, playground is conveniently stolen by thief, and in the boarding lounge on railway station waiting room and airport for another example, luggage case is by along walking.In above-mentioned scene, owner needs of short duration leaving, such as go to have dinner, motion exercise, visit the restroom, often do not only have thief at the scene when article are stolen, as long as enable surrounding population effectively recognize, whether article belong to the people taken it away, or owner receives prompting message, just can effectively prevent from stealing.
In existing theftproof system, also have some for the alarm of article anti-theft, main equipment is as follows:
1, mechanical lock, it is portable and easily pried open that the mechanical lock in antitheft equipment does not carry trouble.
2, according to the alarm equipment of articles of magnet attraction principle development, distance of reaction is not energetic, and precision is low, non-adjustable, insensitive.
3, parent-offspring prevents walking loss alarm, and the range accuracy of induction is very low, and is easily subject to external environmental interference, and such as in the market that the crowd is dense, in the environment that barrier is intensive, this anti-alarm of going astray from the group is easily very inaccurate.
The sharp-pointed chimes of doom of what 4, the chimes of doom of above alarm was with the most use is hummer, do not have voice reminder, user interactions is bad, not easily attracts much attention.
Summary of the invention
In order to solve the problem, the object of the present invention is to provide a kind of Portable type automatic alarm based on 3-axis acceleration sensor, be realized the portable voice alarm of controlled in wireless by bluetooth.
Technical scheme of the present invention is:
Apparatus of the present invention comprise cell phone, wireless communication module, single-chip minimum system, voice alarm module, 3-axis acceleration sensor module, intelligent switch power source module and heartbeat lamp and hummer module; Cell phone and wireless communication module wireless connections, single-chip minimum system respectively with wireless communication module, voice alarm module, 3-axis acceleration sensor module and heartbeat lamp and hummer model calling, wireless communication module, single-chip minimum system, voice alarm module, 3-axis acceleration sensor module and heartbeat lamp and hummer module are by intelligent switch power source module for power supply.
Described intelligent switch power source module: power cathode ground connection, positive source is connected with the emitter-base bandgap grading of triode Q1, the collector of triode Q1 is connected with one end of fuse F1, the fuse F1 other end exports+5V supply voltage, the base stage of triode Q1 is connected with the emitter-base bandgap grading of triode Q1 through resistance R9, the base stage ground connection after resistance R10, button K2 successively of triode Q1, the base stage of triode Q1 is connected with the collector of triode Q2, the emitter grounding of triode Q2 ,+5V supply voltage is connected with the base stage of triode Q2 after resistance R6, resistance R8; + 5V supply voltage is connected with 3 pin of power supply voltage stabilizing chip U3,2 pin of power supply voltage stabilizing chip U3,3 pin ground connection after electric capacity C6, electric capacity C5 respectively, the 1 pin ground connection of power supply voltage stabilizing chip U3; Interfaces of connecting wires includes two contacts, connected by external connection line between two contacts, + 5V supply voltage is connected with a tip node of interfaces of connecting wires, other end contact ground connection after resistance R7 of interfaces of connecting wires, the other end contact of interfaces of connecting wires is connected with 3 pin of single-chip microcomputer U5 in single-chip minimum system, and 2 pin of power supply voltage stabilizing chip U3 export+3.3V supply voltage.
Described single-chip minimum system: be in series with crystal oscillator Y1 between 14 pin of single-chip microcomputer U5 and 15 pin, 14 pin of single-chip microcomputer U5 and 15 pin are ground connection after series capacitance C9 and electric capacity C10 respectively, 29 pin, 37 pin of single-chip microcomputer U5 are connected with+5V supply voltage, 4 pin of single-chip microcomputer U5, the equal ground connection of 16 pin; 1 pin of download interface P1 connects+5V supply voltage, and 2 pin of download interface P1,3 pin are connected with 5 pin of single-chip microcomputer U5,7 pin respectively, the 4 pin ground connection of download interface P1.
Described 3-axis acceleration sensor module: 1 pin of 3-axis acceleration sensor U4, 6 pin are connected with+3.3V supply voltage, ground connection after the 1 foot meridian capacitor C8 of 3-axis acceleration sensor U4, 13 pin of 3-axis acceleration sensor U4, 14 pin are respectively through resistance R16, be connected with+3.3V supply voltage after resistance R15, 2 pin of 3-axis acceleration sensor U4, 4 pin, 5 pin and 12 pin ground connection, 6 pin of 3-axis acceleration sensor U4, resistance R14 is in series with between 7 pin, 13 pin of 3-axis acceleration sensor U4, 14 pin respectively with 12 pin of single-chip microcomputer U5 in single-chip minimum system, 13 pin connect.
Described wireless communication module: be in series with electric capacity C11 between 12 pin of serial ports bluetooth module U6 and 13 pin, 12 pin of serial ports bluetooth module U6 are connected with+3.3V supply voltage, 13 pin of serial ports bluetooth module U6,21 pin, the equal ground connection of 22 pin, 24 pin of serial ports bluetooth module U6 are ground connection after resistance in series R20, LED D3 successively, and 1 pin of serial ports bluetooth module U6,2 pin are connected with 5 pin of single-chip microcomputer U5 in single-chip minimum system, 7 pin respectively.
Described voice alarm circuit: 1 pin of speech chip U2 is connected with+5V supply voltage after button K1, be connected with 13 pin of speech chip U2 after+5V supply voltage resistance in series R11, LED D1,4 pin of speech chip U2 are connected with the two ends of microphone MIC1 with after 5 pin respectively series capacitance C2, electric capacity C3, the 6 foot meridian capacitor C4 ground connection of speech chip U2,7 pin, 9 pin of speech chip U2 are connected with loudspeaker LS1, the 8 pin ground connection of speech chip U2,10 pin of speech chip U2,11 pin are ground connection after resistance in series R12, electric capacity C7 respectively; 11 pin of speech chip U2 connect+5V supply voltage, be connected with one end of microphone MIC1 through resistance R2 again after+5V supply voltage resistance in series R5, the other end of microphone MIC1 is connected with 13 pin of speech chip U2 successively after resistance R3, is connected after+5V supply voltage resistance in series R5 through electric capacity C1 with 13 pin of speech chip U2 again.
Described heartbeat lamp and hummer module: comprise heartbeat lamp module and buzzer warning module;
Heartbeat lamp module comprises: the base stage of triode Q3 is connected with 25 pin of single-chip microcomputer U5 in single-chip minimum system after resistance R17, the collector ground connection after LED D2, resistance R18 successively of triode Q3, and the emitter-base bandgap grading of triode Q3 connects+5V supply voltage;
Buzzer warning module comprises: the base stage of triode Q4 is connected with 23 pin of single-chip microcomputer U5 in single-chip minimum system after resistance R19, and collector ground connection after hummer F2 of triode Q4, the emitter-base bandgap grading of triode Q4 is all connected with+5V supply voltage.
The voltage of described power supply is 3.8V ~ 6V, and peak anode current is more than 20mA
Described power acquisition No. seven dry cell batteries, No. five dry cell batteries or button cell group.
Described triode Q1, triode Q3, triode Q4 are PNP triode, and described triode Q2 is NPN triode.
The model of described power supply voltage stabilizing chip U3 is AM1117-3.3, the model of described single-chip microcomputer U5 is STC89C52RC, the model of described 3-axis acceleration sensor U4 is ADXL345, the model of described serial ports bluetooth module U6 is BLK-MD-BC04-B, and the model of described speech chip U2 is ISD1820.
As hanging on the article of needs protection in the middle part of described connecting line.
The beneficial effect that the present invention has is:
1) intelligent switch power source circuit makes external key start shooting, and shutdown is by monolithic processor controlled, prevents thief from closing alarm, ensure that the low-power consumption of alarm simultaneously.
2) adopt blue tooth wireless communication, each alarm can arrange password by user by cell phone, ensure that the security of wireless telecommunications.
3) user can record individualized voice within ten seconds as chimes of doom, and also have buzzer warning, audio alert can cause the attention of surrounding population in time simultaneously, and fright is to thief simultaneously, plays anti-theft function.
4) when extraneous violence damage alarm and object connecting line, triggered alarm immediately, sends chimes of doom, still plays alarm function when ensure that external world alarm.
5) with low cost, compact, is easy to carry about with one.
Accompanying drawing explanation
Fig. 1 is model calling graph of a relation of the present invention;
Fig. 2 is workflow diagram of the present invention;
Fig. 3 is the circuit diagram of single-chip minimum system;
Fig. 4 is the circuit diagram of intelligent switch power source module;
Fig. 5 is the circuit diagram of voice alarm module;
Fig. 6 is the circuit diagram of 3-axis acceleration sensor module;
Fig. 7 is the circuit diagram of wireless communication module;
Fig. 8 is the circuit diagram of heartbeat lamp module;
Fig. 9 is the circuit diagram of hummer module;
Figure 10 is the interface schematic diagram of cell phone end;
In figure: 1, cell phone, 2, wireless communication module, 3, single-chip minimum system, 4, voice alarm module, 5,3-axis acceleration sensor module, 6, intelligent switch power source module, 7, heartbeat lamp and hummer module.
Embodiment
Below in conjunction with drawings and embodiments, the present invention is further described.
As shown in Figure 1, apparatus of the present invention comprise cell phone 1, wireless communication module 2, single-chip minimum system 3, voice alarm module 4,3-axis acceleration sensor module 5, intelligent switch power source module 6 and heartbeat lamp and hummer module 7; Cell phone 1 and wireless communication module 2 wireless connections, single-chip minimum system 3 is connected with wireless communication module 2, voice alarm module 4,3-axis acceleration sensor module 5 and heartbeat lamp and hummer module 7 respectively, and wireless communication module 2, single-chip minimum system 3, voice alarm module 4,3-axis acceleration sensor module 5 and heartbeat lamp and hummer module 7 are powered by intelligent switch power source module 6.
As shown in Figure 4, described intelligent switch power source module 6: power cathode ground connection, positive source is connected with the emitter-base bandgap grading of triode Q1, the collector of triode Q1 is connected with one end of fuse F1, the fuse F1 other end exports+5V supply voltage, the base stage of triode Q1 is connected with the emitter-base bandgap grading of triode Q1 through resistance R9, the base stage ground connection after resistance R10, button K2 successively of triode Q1, the base stage of triode Q1 is connected with the collector of triode Q2, the emitter grounding of triode Q2 ,+5V supply voltage is connected with the base stage of triode Q2 after resistance R6, resistance R8; + 5V supply voltage is connected with 3 pin of power supply voltage stabilizing chip U3,2 pin of power supply voltage stabilizing chip U3,3 pin ground connection after electric capacity C6, electric capacity C5 respectively, the 1 pin ground connection of power supply voltage stabilizing chip U3; Interfaces of connecting wires includes two contacts, connected by external connection line between two contacts, + 5V supply voltage is connected with a tip node of interfaces of connecting wires, other end contact ground connection after resistance R7 of interfaces of connecting wires, the other end contact of interfaces of connecting wires is connected with 3 pin of single-chip microcomputer U5 in single-chip minimum system 3, and 2 pin of power supply voltage stabilizing chip U3 export+3.3V supply voltage.
As shown in Figure 3, described single-chip minimum system 3: be in series with crystal oscillator Y1 between 14 pin of single-chip microcomputer U5 and 15 pin, 14 pin of single-chip microcomputer U5 and 15 pin are ground connection after series capacitance C9 and electric capacity C10 respectively, 29 pin, 37 pin of single-chip microcomputer U5 are connected with+5V supply voltage, 4 pin of single-chip microcomputer U5, the equal ground connection of 16 pin; 1 pin of download interface P1 connects+5V supply voltage, and 2 pin of download interface P1,3 pin are connected with 5 pin of single-chip microcomputer U5,7 pin respectively, the 4 pin ground connection of download interface P1.
As shown in Figure 6, described 3-axis acceleration sensor module 5: 1 pin of 3-axis acceleration sensor U4, 6 pin are connected with+3.3V supply voltage, ground connection after the 1 foot meridian capacitor C8 of 3-axis acceleration sensor U4, 13 pin of 3-axis acceleration sensor U4, 14 pin are respectively through resistance R16, be connected with+3.3V supply voltage after resistance R15, 2 pin of 3-axis acceleration sensor U4, 4 pin, 5 pin and 12 pin ground connection, 6 pin of 3-axis acceleration sensor U4, resistance R14 is in series with between 7 pin, 13 pin of 3-axis acceleration sensor U4, 14 pin respectively with 12 pin of single-chip microcomputer U5 in single-chip minimum system 3, 13 pin connect.
As shown in Figure 7, described wireless communication module 2: be in series with electric capacity C11 between 12 pin of serial ports bluetooth module U6 and 13 pin, 12 pin of serial ports bluetooth module U6 are connected with+3.3V supply voltage, 13 pin of serial ports bluetooth module U6,21 pin, the equal ground connection of 22 pin, 24 pin of serial ports bluetooth module U6 are ground connection after resistance in series R20, LED D3 successively, and 1 pin of serial ports bluetooth module U6,2 pin are connected with 5 pin of single-chip microcomputer U5 in single-chip minimum system 3,7 pin respectively.
As shown in Figure 5, described voice alarm circuit 4: 1 pin of speech chip U2 is connected with+5V supply voltage after button K1, be connected with 13 pin of speech chip U2 after+5V supply voltage resistance in series R11, LED D1,4 pin of speech chip U2 are connected with the two ends of microphone MIC1 with after 5 pin respectively series capacitance C2, electric capacity C3, the 6 foot meridian capacitor C4 ground connection of speech chip U2,7 pin, 9 pin of speech chip U2 are connected with loudspeaker LS1, the 8 pin ground connection of speech chip U2,10 pin of speech chip U2,11 pin are ground connection after resistance in series R12, electric capacity C7 respectively; 11 pin of speech chip U2 connect+5V supply voltage, be connected with one end of microphone MIC1 through resistance R2 again after+5V supply voltage resistance in series R5, the other end of microphone MIC1 is connected with 13 pin of speech chip U2 successively after resistance R3, is connected after+5V supply voltage resistance in series R5 through electric capacity C1 with 13 pin of speech chip U2 again.
Described heartbeat lamp and hummer module 7: comprise heartbeat lamp module and buzzer warning module;
As shown in Figure 8, heartbeat lamp module comprises: the base stage of triode Q3 is connected with 25 pin of single-chip microcomputer U5 in single-chip minimum system 3 after resistance R17, the collector ground connection after LED D2, resistance R18 successively of triode Q3, the emitter-base bandgap grading of triode Q3 connects+5V supply voltage;
As shown in Figure 9, buzzer warning module comprises: the base stage of triode Q4 is connected with 23 pin of single-chip microcomputer U5 in single-chip minimum system 3 after resistance R19, collector ground connection after hummer F2 of triode Q4, the emitter-base bandgap grading of triode Q4 is all connected with+5V supply voltage.
The voltage of described power supply is 3.8V ~ 6V, and peak anode current is more than 20mA.
Described power acquisition No. seven dry cell batteries, No. five dry cell batteries or button cell group.
Described triode Q1, triode Q3, triode Q4 are PNP triode, and described triode Q2 is NPN triode.
The model of described power supply voltage stabilizing chip U3 is AM1117-3.3, the model of described single-chip microcomputer U5 is STC89C52RC, the model of described 3-axis acceleration sensor U4 is ADXL345, the model of described serial ports bluetooth module U6 is BLK-MD-BC04-B, and the model of described speech chip U2 is ISD1820.
Described interfaces of connecting wires external connecting wire, as hanging on the article of needs protection.There is plain conductor in connecting line, connected by hidden discount in the middle part of connecting line, connecting line conducting when connecting line gets up, thus make+5V supply voltage in Fig. 4 through interfaces of connecting wires U1 ground connection after resistance R7, form path.Or when connecting line is destroyed as the hidden discount of cutting off between connecting line is opened, then the U1 in Fig. 4 disconnects, thus makes R7 kind not have electric current to flow through.
Described connecting line can hang over any position of protected object.Alarm of the present invention can be connected on the valuables such as school bag, notebook computer, luggage case as suspension member, and enable alarm when owner needs to be gone for a season in public, alarm of the present invention can play the effect of alarming anti-theft.
Described wireless communication module 2 adopts bluetooth to carry out radio communication.The serial ports bluetooth module used initiatively can be searched by other bluetooth equipments, other bluetooth equipments connect after searching the serial ports bluetooth module on alarm, need during first connection to input initial password, after serial ports bluetooth module on alarm confirms initial password, namely serial ports bluetooth equipment establishes wireless connections with the equipment being connected it, now both can carry out wireless telecommunications by bluetooth, when equipment after first connection connects the serial ports bluetooth equipment of this alarm again, do not need again to input initial password and connect.After the serial ports bluetooth module of other equipment and alarm connects, need the password that input user sets for alarm, after only having alarm to confirm the password of user's setting, other equipment can obtain the authority of operation alarm, can send instruction and make alarm open monitor state and close alarm.
In described single-chip minimum system 3,4 pins of single-chip microcomputer U5 are reset pins, the direct ground connection of this pin, and alarm can not be resetted because reset pin powers on when powering on.
Described cell phone can adopt the cell phone of band Bluetooth function.User can be connected by cell-phone customer terminal and control alarm.As shown in Figure 10, the communications protocol of agreement that each button of cell-phone customer terminal is corresponding, " connection " button can be opened Bluetooth of mobile phone and start to search visible bluetooth equipment around, the bluetooth equipment that input password and Modify password text box can realize mobile phone terminal and alarm matches, after pairing, " startup " button makes alarm in the monitoring state, the Close button sends the order of cutting off the electricity supply to alarm, " removing " button makes the word in the message box of " status information " reset, and " exiting " button exits mobile phone application.
The perception of alarm of the present invention to displacement is the acceleration information gathered based on 3-axis acceleration sensor.After 3-axis acceleration sensor collects spatial triaxial accekeration, obtain object displacement by the Numerical Methods of twice Simpson's integration.When object displacement exceedes the threshold value of setting, namely alarm sends audio alert sound, and hummer also sends sharp-pointed chimes of doom simultaneously, causes the attention of surrounding population in time, and fright is to thief simultaneously, plays anti-theft function.
In the present invention, cell phone sends user cipher by blue teeth wireless to alarm, and after password authentification, cell phone can control alarm by instruction.When alarm is in the monitoring state, if when the object connecting this alarm is moved more than one meter distance by someone, controller sends the personalized chimes of doom of user oneself recording by sound circuit, hummer sends ear-piercing tweeting sound simultaneously, with the people around this prompting alarm, the people of mobile article is thief is not owner.If thief destroys the connecting line of article and alarm, so this alarm is reported to the police always.When not using alarm, send out code with cell-phone customer terminal, alarm cuts out alarm by the dynamo-electric road of intelligent switch.
The specific embodiment of the invention course of work is as shown in Figure 2:
1) before owner leaves item to be protected, press key K2, and keep more than 1 second.
As shown in Figure 4, when button K2 is not pressed, do not have bias voltage between the emitter-base bandgap grading of Q1 and base stage, so Q1 is in off-state, whole system is in off-position, and electric current is zero, and power consumption is zero.When button K2 presses, have bias voltage 2.5V between the emitter-base bandgap grading of Q1 and base stage, make Q1 be in saturation conduction state, now 2 pin voltage of fuse F1 are+5V, can provide electric current for other modules of alarm.After the single-chip microcomputer U5 of single-chip minimum system powers on, immediately 1 pin of the single-chip microcomputer U5 of single-chip minimum system is drawn high, bias voltage is provided to the base stage of Q2 and emitter-base bandgap grading, thus make Q2 be in saturation conduction, thus the base stage of Q1 can be ignored with the pressure reduction on ground, now unclamp K2 button, because Q1 maintains conducting state, whole alarm still can work on.If execution shutdown command, then 1 pin of the single-chip microcomputer U5 of single-chip minimum system is set low, bias voltage now between the base stage of Q2 and emitter-base bandgap grading disappears, the emitter-base bandgap grading of Q2 and collector disconnect, thus the bias voltage between the base stage of Q1 and emitter-base bandgap grading also disappears, the emitter-base bandgap grading of Q1 and collector is caused to disconnect, whole system power-off.So whole alarm in off position time, power consumption is zero, ensures the low-power consumption of system with this.
2) through 1) after on alarm all modules all power on, to wait for and the client of cell phone is matched.Owner opens the Bluetooth function of cell phone, and search is visible bluetooth equipment around, and the bluetooth equipment acquiescence BLK by name of each alarm, searches element and select to connect after the bluetooth equipment name of alarm.If after bluetooth successful connection, alarm sends the prompting printed words of " successful connection please input alarm password " by bluetooth, and cell-phone customer terminal receives and is shown on screen.Then owner inputs the password of alarm on mobile phone, and is sent by bluetooth, after alarm receives password, deciphers and mate with the password being stored in the inner EEPROM of STC89C52 according to agreement.If the match is successful for password, then return the prompting of " the match is successful, and you can open or close alarm ", now owner can be opened by bluetooth or close alarm.If it fails to match for password, then return " code error please re-enter or close alarm ", now owner can continue input password or close alarm.When non-alarm for opening, if alarm did not receive communication information in five minutes, then automatic closing and alarm device, 1 pin by the single-chip microcomputer U5 of single-chip minimum system sets low, whole system power-off.
3) through 2) if successful matching and alarm for opening, so alarm and in the monitoring state.Time in the monitoring state, 3-axis acceleration sensor circuit in warning, as shown in Figure 5, by with the accekeration of frequency sampling space X YZ tri-axle of 100Hz, the original acceleration value obtained will through a digital filter, obtain accekeration, then obtain sensor displacement in space by the Numerical Methods of twice Simpson's integration.If displacement exceedes the threshold value of setting, such as threshold value is set as one meter, then alarm controls voice alarm circuit immediately, sends chimes of doom.If more than one meter of distance, then do not report to the police, this integrated value obtained by accekeration resets once for every two minutes.
4) 3) principle of the audio alert process described in process is as shown in Figure 3 and Figure 5.When extraneous triggered alarm is reported to the police, 2 pins of the single-chip microcomputer U5 of single-chip minimum system produce a rising edge pulse, after ISD1820 receives this rising edge signal, drive the loudspeaker LS1 of 8 ohm, thus the chimes of doom of played pre-recorded.Meanwhile, 23 pins of the single-chip microcomputer U5 of single-chip minimum system drag down, and drive the hummer in Fig. 7, make it send sharp-pointed chimes of doom.When alarm powers on, owner can also record personalized audio alert sound.Fig. 5 shows, presses K1 and does not unclamp, and speaking facing to microphone can by the sound typing ISD1820 of oneself, and each record length, within ten seconds, can cut off the voice messaging after ten seconds automatically more than ten seconds, and each recording can cover voice content last time automatically.Voice and the buzzer warning sound of triggered alarm will frighten thief greatly, and chimes of doom can cause around the attention of crowd immediately simultaneously, and people will recognize that the people of mobile object is not owner but thief, thus take report to the police and drive the measures such as thief.While triggering voice and buzzer warning, alarm sends prompt messages to the cell phone client of owner by bluetooth serial ports module, and owner returns to item to be protected scene after receiving the information of warning immediately.
5) under the situation that powers on, no matter alarm is in and opens monitor state or under cutting out monitor state, as long as the connecting line of the interfaces of connecting wires of Fig. 4 is broken, cause forming open circuit between on interfaces of connecting wires two contacts, 3 pins of the single-chip microcomputer U5 of single-chip minimum system are pulled to low level.After the single-chip microcomputer U5 of single-chip minimum system detects that 3 pins become low level from high level, 2 pins of the single-chip microcomputer U5 of single-chip minimum system produce a rising edge pulse, after ISD1820 receives this rising edge signal, drive the loudspeaker LS1 of 8 ohm, thus the chimes of doom of played pre-recorded.Meanwhile, 23 pins of the single-chip microcomputer U5 of single-chip minimum system drag down, and drive the hummer in Fig. 7, make it send sharp-pointed chimes of doom.By above type of alarm, when thief cuts off the connecting line of alarm and protected object, alarm still plays antitheft effect.
6) through 3) after, when owner's returned articles lay down location, repeat 2) middle step, make it connect alarm, and send shutdown command to alarm, then 1 pin of the single-chip microcomputer U5 of single-chip minimum system sets low, bias voltage now between the base stage of Q2 and emitter-base bandgap grading disappears, and the emitter-base bandgap grading of Q2 and collector disconnect, thus the bias voltage between the base stage of Q1 and emitter-base bandgap grading also disappears, the emitter-base bandgap grading of Q1 and collector is caused to disconnect, whole alarm power-off.
Above-mentioned embodiment is used for explaining and the present invention is described, instead of limits the invention, and in the protection domain of spirit of the present invention and claim, any amendment make the present invention and change, all fall into protection scope of the present invention.

Claims (6)

1. based on a Portable type automatic alarm for 3-axis acceleration sensor, it is characterized in that: comprise cell phone (1), wireless communication module (2), single-chip minimum system (3), voice alarm module (4), 3-axis acceleration sensor module (5), intelligent switch power source module (6) and heartbeat lamp and hummer module (7); Cell phone (1) and wireless communication module (2) wireless connections, single-chip minimum system (3) is connected with wireless communication module (2), voice alarm module (4), 3-axis acceleration sensor module (5) and heartbeat lamp and hummer module (7) respectively, and wireless communication module (2), single-chip minimum system (3), voice alarm module (4), 3-axis acceleration sensor module (5) and heartbeat lamp and hummer module (7) are powered by intelligent switch power source module (6);
Described intelligent switch power source module (6): power cathode ground connection, positive source is connected with the emitter-base bandgap grading of triode Q1, the collector of triode Q1 is connected with one end of fuse F1, the fuse F1 other end exports+5V supply voltage, the base stage of triode Q1 is connected with the emitter-base bandgap grading of triode Q1 through resistance R9, the base stage ground connection after resistance R10, button K2 successively of triode Q1, the base stage of triode Q1 is connected with the collector of triode Q2, the emitter grounding of triode Q2 ,+5V supply voltage is connected with the base stage of triode Q2 after resistance R6, resistance R8; + 5V supply voltage is connected with 3 pin of power supply voltage stabilizing chip U3,2 pin of power supply voltage stabilizing chip U3,3 pin ground connection after electric capacity C6, electric capacity C5 respectively, the 1 pin ground connection of power supply voltage stabilizing chip U3; Interfaces of connecting wires includes two contacts, connected by external connection line between two contacts, + 5V supply voltage is connected with a tip node of interfaces of connecting wires, other end contact ground connection after resistance R7 of interfaces of connecting wires, the other end contact of interfaces of connecting wires is connected with 3 pin of single-chip microcomputer U5 in single-chip minimum system (3), and 2 pin of power supply voltage stabilizing chip U3 export+3.3V supply voltage;
The model of described power supply voltage stabilizing chip U3 is AM1117-3.3, and the model of described single-chip microcomputer U5 is STC89C52RC.
2. a kind of Portable type automatic alarm based on 3-axis acceleration sensor according to claim 1, it is characterized in that: described single-chip minimum system (3): be in series with crystal oscillator Y1 between 14 pin of single-chip microcomputer U5 and 15 pin, 14 pin of single-chip microcomputer U5 and 15 pin are ground connection after series capacitance C9 and electric capacity C10 respectively, 29 pin, 37 pin of single-chip microcomputer U5 are connected with+5V supply voltage, 4 pin of single-chip microcomputer U5, the equal ground connection of 16 pin; 1 pin of download interface P1 connects+5V supply voltage, and 2 pin of download interface P1,3 pin are connected with 5 pin of single-chip microcomputer U5,7 pin respectively, the 4 pin ground connection of download interface P1;
Described 3-axis acceleration sensor module (5): 1 pin of 3-axis acceleration sensor U4, 6 pin are connected with+3.3V supply voltage, ground connection after the 1 foot meridian capacitor C8 of 3-axis acceleration sensor U4, 13 pin of 3-axis acceleration sensor U4, 14 pin are respectively through resistance R16, be connected with+3.3V supply voltage after resistance R15, 2 pin of 3-axis acceleration sensor U4, 4 pin, 5 pin and 12 pin ground connection, 6 pin of 3-axis acceleration sensor U4, resistance R14 is in series with between 7 pin, 13 pin of 3-axis acceleration sensor U4, 14 pin respectively with 12 pin of single-chip microcomputer U5 in single-chip minimum system (3), 13 pin connect,
Described wireless communication module (2): be in series with electric capacity C11 between 12 pin of serial ports bluetooth module U6 and 13 pin, 12 pin of serial ports bluetooth module U6 are connected with+3.3V supply voltage, 13 pin of serial ports bluetooth module U6,21 pin, the equal ground connection of 22 pin, 24 pin of serial ports bluetooth module U6 are ground connection after resistance in series R20, LED D3 successively, and 1 pin of serial ports bluetooth module U6,2 pin are connected with 5 pin of single-chip microcomputer U5 in single-chip minimum system (3), 7 pin respectively;
Described voice alarm circuit (4): 1 pin of speech chip U2 is connected with+5V supply voltage after button K1, be connected with 13 pin of speech chip U2 after+5V supply voltage resistance in series R11, LED D1,4 pin of speech chip U2 are connected with the two ends of microphone MIC1 with after 5 pin respectively series capacitance C2, electric capacity C3, the 6 foot meridian capacitor C4 ground connection of speech chip U2,7 pin, 9 pin of speech chip U2 are connected with loudspeaker LS1, the 8 pin ground connection of speech chip U2,10 pin of speech chip U2,11 pin are ground connection after resistance in series R12, electric capacity C7 respectively; 11 pin of speech chip U2 connect+5V supply voltage, be connected with one end of microphone MIC1 through resistance R2 again after+5V supply voltage resistance in series R5, the other end of microphone MIC1 is connected with 13 pin of speech chip U2 successively after resistance R3, is connected after+5V supply voltage resistance in series R5 through electric capacity C1 with 13 pin of speech chip U2 again;
Described heartbeat lamp and hummer module (7): comprise heartbeat lamp module and buzzer warning module;
Heartbeat lamp module comprises: the base stage of triode Q3 is connected with 25 pin of single-chip microcomputer U5 in single-chip minimum system (3) after resistance R17, the collector ground connection after LED D2, resistance R18 successively of triode Q3, and the emitter-base bandgap grading of triode Q3 connects+5V supply voltage;
Buzzer warning module comprises: the base stage of triode Q4 is connected with 23 pin of single-chip microcomputer U5 in single-chip minimum system (3) after resistance R19, collector ground connection after hummer F2 of triode Q4, and the emitter-base bandgap grading of triode Q4 is all connected with+5V supply voltage;
The model of described 3-axis acceleration sensor U4 is ADXL345, and the model of described serial ports bluetooth module U6 is BLK-MD-BC04-B, and the model of described speech chip U2 is ISD1820.
3. according to claim 1described a kind of Portable type automatic alarm based on 3-axis acceleration sensor, is characterized in that:
Described power acquisition No. seven dry cell batteries, No. five dry cell batteries or button cell group.
4. according to claim 1described a kind of Portable type automatic alarm based on 3-axis acceleration sensor, is characterized in that: described triode Q1 is PNP triode, and described triode Q2 is NPN triode.
5. a kind of Portable type automatic alarm based on 3-axis acceleration sensor according to claim 2, is characterized in that: described triode Q3, triode Q4 are PNP triode.
6. according to claim 1described a kind of Portable type automatic alarm based on 3-axis acceleration sensor, is characterized in that: as hanging on the article of needs protection in the middle part of described connecting line.
CN201310508945.XA 2013-10-24 2013-10-24 A kind of Portable type automatic alarm based on 3-axis acceleration sensor Active CN103578213B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310508945.XA CN103578213B (en) 2013-10-24 2013-10-24 A kind of Portable type automatic alarm based on 3-axis acceleration sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310508945.XA CN103578213B (en) 2013-10-24 2013-10-24 A kind of Portable type automatic alarm based on 3-axis acceleration sensor

Publications (2)

Publication Number Publication Date
CN103578213A CN103578213A (en) 2014-02-12
CN103578213B true CN103578213B (en) 2016-01-20

Family

ID=50049920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310508945.XA Active CN103578213B (en) 2013-10-24 2013-10-24 A kind of Portable type automatic alarm based on 3-axis acceleration sensor

Country Status (1)

Country Link
CN (1) CN103578213B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104851252B (en) * 2015-05-27 2018-05-01 上海斐讯数据通信技术有限公司 A kind of carry-on articles based reminding method, system and mobile terminal
CN104935743A (en) * 2015-06-10 2015-09-23 钟林建 Loss prevention method and system
CN109493551A (en) * 2018-12-14 2019-03-19 华东师范大学 A kind of alarm of carry-on articles anti-theft anti-loss
CN112660748A (en) * 2020-12-29 2021-04-16 美盈森集团股份有限公司 Heavy packing anti-toppling device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2795975Y (en) * 2004-11-24 2006-07-12 深圳市深大蓝宇科技有限公司 GSM short message nti-theft alarm
CN101770677A (en) * 2009-01-06 2010-07-07 上海卓群电子有限公司 Novel alarming device
CN201867948U (en) * 2010-09-01 2011-06-15 吴勇 Intelligent wireless burglar alarm remote control device
CN102842194A (en) * 2011-06-24 2012-12-26 深圳中兴力维技术有限公司 Antitheft device, antitheft system and antitheft method
CN202916932U (en) * 2012-05-18 2013-05-01 中国科学院信息工程研究所 Embedded equipment for object moving detection and alarming

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2795975Y (en) * 2004-11-24 2006-07-12 深圳市深大蓝宇科技有限公司 GSM short message nti-theft alarm
CN101770677A (en) * 2009-01-06 2010-07-07 上海卓群电子有限公司 Novel alarming device
CN201867948U (en) * 2010-09-01 2011-06-15 吴勇 Intelligent wireless burglar alarm remote control device
CN102842194A (en) * 2011-06-24 2012-12-26 深圳中兴力维技术有限公司 Antitheft device, antitheft system and antitheft method
CN202916932U (en) * 2012-05-18 2013-05-01 中国科学院信息工程研究所 Embedded equipment for object moving detection and alarming

Also Published As

Publication number Publication date
CN103578213A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
CN103578213B (en) A kind of Portable type automatic alarm based on 3-axis acceleration sensor
CN104637262A (en) Loss preventing system and loss preventing method based on Bluetooth device and intelligent mobile terminal
CN103051787A (en) Mobile terminal and method for preventing mobile terminal from being stolen
CN203290347U (en) Key pendant with a Bluetooth module
CN105449769B (en) A kind of intelligent terminal prevents the method and system being pulled out when charging
CN103794031B (en) To go out system for prompting and there is the portable terminal of prompting function of going out
CN203780489U (en) Internet of things alarm device for monitoring car door opening sounds
CN102737459A (en) Anti-theft device
CN103996258A (en) Intelligent notebook antitheft device
CN106327758A (en) Anti-theft system
CN208848355U (en) Electronic equipment theft-proof system
CN206923002U (en) Intelligent sound and intelligence control system
CN201764386U (en) Anti-theft alarming desk lamp with gravity sensor
CN209199289U (en) A kind of intelligent anti-theft alarm and the alarm system using it
CN201859512U (en) Anti-theft cartoon doll with weight inductor
CN2726038Y (en) Wireless digital anti-theft alarm
CN202424798U (en) Mobile phone with two rechargeable batteries and burglar alarm device
CN101471973A (en) Mobile device with anti-theft function
CN105676620A (en) Hidden anti-theft alarm clock
CN205574123U (en) Theftproof positioning lock
CN204143609U (en) A kind of digital touch Novel alarm
CN205754445U (en) A kind of anti-theft mobile phone shell based on photoconductive resistance
CN204759657U (en) Infrared induction alarm device
CN204013625U (en) Antitheft handset case
CN205453846U (en) Theftproof cell -phone based on photo resistance

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant