CN203502586U - Home safety system based on ultrasonic range finding module - Google Patents

Home safety system based on ultrasonic range finding module Download PDF

Info

Publication number
CN203502586U
CN203502586U CN201320602625.6U CN201320602625U CN203502586U CN 203502586 U CN203502586 U CN 203502586U CN 201320602625 U CN201320602625 U CN 201320602625U CN 203502586 U CN203502586 U CN 203502586U
Authority
CN
China
Prior art keywords
chip microcomputer
distance measuring
circuit
measuring module
ultrasonic distance
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
Application number
CN201320602625.6U
Other languages
Chinese (zh)
Inventor
张弢
任帅
雷敬祥
张卫钢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changan University
Original Assignee
Changan University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changan University filed Critical Changan University
Priority to CN201320602625.6U priority Critical patent/CN203502586U/en
Application granted granted Critical
Publication of CN203502586U publication Critical patent/CN203502586U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model discloses a home safety system based on an ultrasonic range finding module. The home safety system based on the ultrasonic range finding module includes the ultrasonic range finding module, a display circuit, a single chip microcomputer system used for carrying out interruption, processing data and calculating a distance, and a power supply module used for supplying power for the whole circuit; and the ultrasonic range finding module interacts with the single chip microcomputer system, and a display signal output terminal of the single chip microcomputer system is connected with a display circuit. When someone enters into a house through a window, the range finding module can detect a distance of a barrier is shortened and determine that someone enters into the house, an ultrasonic integration module transmits a detected signal to the single chip microcomputer to determine, and the single chip microcomputer carry out determination, when the single chip microcomputer determines that the distance detected by the ultrasonic range finding module is less than a distance preset in the single chip microcomputer, the single chip microcomputer immediately transmits the signal to a host computer. By adopting the home safety system based on the ultrasonic range finding module, the safety project is achieved, and the home safety system is accurate in measurement, water proof, corrosion proof and low in cost without contact.

Description

A kind of domestic safety prevention system based on ultrasonic distance measuring module
Technical field
The utility model belongs to home security field, is specifically related to a kind of domestic safety prevention system based on ultrasonic distance measuring module.
Background technology
Smart Home is to take house as platform, utilize comprehensive wiring technology, the network communications technology, security precautions technology, automatic control technology, audio frequency and video technology that the relevant facility of life staying idle at home is integrated, build efficient house facility and family with the management system of journey affairs, promote house security, convenience, comfortableness, artistry, and realize the living environment of environmental protection and energy saving.Compare with traditional household, Smart Home not only has traditional inhabitation function, and comfortable safety, high-grade and pleasant family life space are provided; Also by original passive static structures, change the instrument with active wisdom into, omnibearing information exchange functions is provided, help family to keep information interchange unimpeded with outside, optimize people's life style, help people effectively to arrange the time, strengthen the security of life staying idle at home, even for various energy expenditures, economize on the use of funds.Security precautions technology is the gordian technique in intelligent domestic system, in community and the monitoring of indoor video intercom, family, home security are reported to the police, the fields such as community all-purpose card relevant with family is all widely used.Along with Smart Home is progressively come into people's life, and society and scientific and technological development, become the primary requirement of people to Smart Home safely, and impel Household security system to become the important component part of Smart Home.The subsystems such as the burglar alarm in traditional-family's safety-protection system, fire alarm, gas leakage warning, function singleness, rate of false alarm is higher, can only realize on the spot and reporting to the police, can not realize real time remote and report to the police to reduce the loss and rescue life, can not record evidence of crime in addition to catch rapidly suspect.
Utility model content
The purpose of this utility model is to overcome the shortcoming of above-mentioned prior art, a kind of domestic safety prevention system based on ultrasonic distance measuring module is provided, this system be take house as platform, utilize comprehensive wiring technology, the network communications technology, security precautions technology that the relevant facility of life staying idle at home is integrated, build efficient house facility and family with the management system of journey affairs, promote house security, convenience, comfortableness, artistry, and realize the living environment of environmental protection and energy saving.
For achieving the above object, the technical solution adopted in the utility model is: comprise ultrasonic distance measuring module, display circuit, for going, interrupt processing and the processing of data calculate the Single Chip Microcomputer (SCM) system of distance and for the power module to whole circuit supply; Ultrasonic distance measuring module and Single Chip Microcomputer (SCM) system are mutual, and the display output terminal of Single Chip Microcomputer (SCM) system is connected with display circuit.
Described Single Chip Microcomputer (SCM) system comprises single-chip microcomputer and is connected on clock circuit and the reset circuit on single-chip microcomputer outward.
Described single-chip microcomputer adopts AT89C52 single-chip microcomputer.
Described clock circuit adopts the crystal oscillator Y1 of 11.0592MHZ, and one end of crystal oscillator Y1 is connected with the XTAL1 port of single-chip microcomputer, and the other end is connected with the XTAL2 port of single-chip microcomputer, and XTAL1 port with XTAL2 port respectively by being connected the ceramic condenser ground connection of 22pf.
Described reset circuit comprises reset key S, one end of reset key S is connected with power supply VCC, the other end is connected on the RST pin of single-chip microcomputer, and the two ends of reset key S are also parallel with the electrochemical capacitor C3 of 10 μ f, and the negative pole of electrochemical capacitor C3 is by resistance R 15 ground connection of 10k Ω.
Described power module adopts MAX232 chip that stable power supply is provided.
Described ultrasonic distance measuring module is HR-SR04 ultrasound wave integration module, comprises the ultrasonic transmit circuit, ultrasound examination receiving circuit, CX20106A chip circuit and the 74LS04 chip amplifying circuit that integrate;
Described ultrasonic transmit circuit adopts ultrasound wave transmitting probe.
Described ultrasound examination receiving circuit adopts ultrasound wave receiving transducer.
Described display circuit adopts 6410 platforms and is arranged on 4 common anode utmost point charactrons on 6410 platforms.
Compared with prior art, the utlity model has following beneficial effect:
The utility model adopts ultrasonic distance measuring module, by Single Chip Microcomputer (SCM) system, interrupt the processing of processing and data and calculate distance, and Single Chip Microcomputer (SCM) system is connected with the display circuit for Graphics Processing result, utilize the distance measurement function of ultrasound wave integration module, range finder module is positioned over to door and window etc. to be located, whenever there being people to enter the indoor distance that is range finder module just can detect barrier by window, shorten, just can be to detect someone to enter into indoor, ultrasound wave integration module is disconnected by the signal detecting being sent to single-chip microcomputer, single-chip microcomputer judges that single-chip microcomputer is sent to host computer by signal immediately when single-chip microcomputer is disconnected when judging distance that ultrasonic wave module measures and being less than distance default in single-chip microcomputer, realized security protection object, and have and measure accurately, contactless, waterproof, anticorrosion, advantage cheaply.
Further, the utility model also can be in liquid level, and thing position is detected, distinctive liquid level, and material level detection mode, can guarantee has foam or large rocking at liquid level, and being difficult for detecting in the situation of echo has stable output.
Accompanying drawing explanation
Fig. 1 is the circuit diagram of the utility model Single Chip Microcomputer (SCM) system;
Fig. 2 is the circuit diagram of the utility model clock circuit;
Fig. 3 is the circuit diagram of the utility model reset circuit;
Fig. 4 is integrated connection relationship module schematic diagram of the present utility model.
Wherein: Y1 is crystal oscillator; S is reset key; C3 is electrochemical capacitor; R15 is resistance.
Embodiment
Below in conjunction with accompanying drawing, the utility model is described in further detail:
Referring to Fig. 4, the utility model comprises ultrasonic distance measuring module, display circuit, for going, interrupts processing and the processing of data calculate the Single Chip Microcomputer (SCM) system of distance and for the power module to whole circuit supply, power module adopts MAX232 chip that stable power supply is provided; As shown in Figure 1, Single Chip Microcomputer (SCM) system comprises AT89C52 single-chip microcomputer and is connected on clock circuit and the reset circuit on single-chip microcomputer outward; As shown in Figure 2, clock circuit adopts the crystal oscillator Y1 of 11.0592MHZ, one end of crystal oscillator Y1 is connected with the XTAL1 port of single-chip microcomputer, and the other end is connected with the XTAL2 port of single-chip microcomputer, and XTAL1 port with XTAL2 port respectively by being connected the ceramic condenser ground connection of 22pf; As shown in Figure 3, reset circuit comprises reset key S, and one end of reset key S is connected with power supply VCC, and the other end is connected on the RST pin of single-chip microcomputer, the two ends of reset key S are also parallel with the electrochemical capacitor C3 of 10 μ f, and the negative pole of electrochemical capacitor C3 is by resistance R 15 ground connection of 10k Ω.Ultrasonic distance measuring module and Single Chip Microcomputer (SCM) system are mutual, and ultrasonic distance measuring module comprises the ultrasonic transmit circuit of the employing ultrasound wave transmitting probe integrating, ultrasound examination receiving circuit, CX20106A chip circuit and the 74LS04 chip amplifying circuit of employing ultrasound wave receiving transducer; The display output terminal of Single Chip Microcomputer (SCM) system is connected with display circuit, and display circuit adopts 6410 platforms and is arranged on 4 common anode utmost point charactrons on 6410 platforms.
Principle of the present utility model:
The utility model has mainly utilized the distance measurement function of ultrasonic wave module, range finder module is positioned over to door and window etc. everywhere, whenever there being people to enter the indoor distance that is range finder module just can detect barrier by window, shortening like this, can be so just to detect someone to enter into indoor.Ultrasonic distance measuring module is disconnected by the signal detecting being sent to single-chip microcomputer, single-chip microcomputer judges that single-chip microcomputer is sent to host computer by signal immediately when single-chip microcomputer is disconnected when judging distance that ultrasonic wave module measures and being less than distance default single-chip microcomputer in, and then demonstration on 6410.The design by 51 single-chip microcomputers, ultrasound wave transmitting probe, ultrasound wave receiving transducer, 4 common anode utmost point charactrons, 6410 display platforms.
By ultrasonic transmission device, send ultrasound wave, the mistiming while receiving ultrasound wave according to receiver just can have been known distance.This is similar to radar range finding principle.Ultrasonic transmitter is launched ultrasound wave to a direction, starts timing in x time, and ultrasound wave is propagated in air, encounters barrier and just return immediately in way, and ultrasonic receiver receives that reflection wave just stops timing immediately.(the aerial velocity of propagation of ultrasound wave is 340m/s, according to the time t of timer record, just can calculate launching site apart from the distance (s) of barrier, that is: s=340t/2).
Ultrasound wave directive property is strong, distant at Propagation, thereby ultrasound wave is through being usually used in the measurement of distance, as stadimeter and fill level measuring device etc. can be realized by ultrasound wave.Utilize ultrasound examination often relatively rapidly, convenient, calculate simple, be easy to accomplish real-time control, and aspect measuring accuracy, can reach the practical requirement of industry, therefore in mobile robot's development, be also widely used.
HR-SR04 ultrasound wave integration module is by ultrasound wave transmitting probe, ultrasound wave receiving transducer, CX20106A chip circuit, the ultrasound wave integration module together that 74LS04 chip amplifying circuit is integrated into.
Ultrasound wave velocity of propagation in air is 340 meters of p.s.s (15 ℃ time).X2 is the moment that sound wave returns, and X1 is the moment of sound wave sounding, and what X2-X1 drew is the absolute value of a mistiming, supposes X2-X1=0.03s, and distance is 340m/s * 0.03s=10.2m.Here it is ultrasonic probe is to the distance between reflecting object.Adopting AT89C52 single-chip microcomputer crystal oscillator is 12M, and the required 40K square-wave signal of P1.0 mouth output ultrasonic wave transducer for single-chip microcomputer utilizes outer return signal of interrupting the output of monitoring ultrasound wave receiving circuit.
When carrying out the measurement of distance, by ultrasonic transmitter and the receiver installed in the same horizontal line, complete hyperacoustic transmitting and reception, and start timer simultaneously and count.First by ultrasound wave transmitting probe, to the direction of reversing, launch ultrasound wave and start timer timing simultaneously, once will be reflected back after running into barrier in the way that ultrasound wave is propagated in air, after receiving transducer is received reflection wave, will to single-chip microcomputer, make it stop at once timing like this to negative pulse, timer just can have been recorded accurately ultrasound wave launching site and propagate time t(s used to coming and going between barrier).Because the aerial velocity of propagation of ultrasound wave is at normal temperatures approximately 340m/s, so barrier to the distance between transmitting probe is:
S=340×t/2=170×t
Because in fact the timing of single-chip microcomputer timer internal is exactly the counting to machine cycle T, and in the design, clock frequency fosc gets 12MHz, design value N:
T=12/fosc=1μs
t=N×T=N×0.000001(s)
S=170×N×T=170×N/1000000(m)
In program, by formula S=170 * N * T=170 * N/1000000, calculate distance.
The course of work of the present utility model is such:
Range finder module being positioned over to door and window etc. everywhere, shortening like this whenever there being people to enter the indoor distance that is range finder module just can detect barrier by window, can be so just to detect someone to enter into indoor.Ultrasonic distance measuring module is disconnected by the signal detecting being sent to single-chip microcomputer, single-chip microcomputer judges that single-chip microcomputer is sent to host computer by signal immediately when single-chip microcomputer is disconnected when judging distance that ultrasonic wave module measures and being less than distance default single-chip microcomputer in, and then demonstration on 6410.Under the control of single-chip microcomputer internal processes, by ultrasound wave transmitting probe transmitting ultrasound wave, when running into barrier, ultrasound wave reflexes to ultrasound wave receiving transducer, respond to thus single-chip microcomputer, by single-chip microcomputer, interrupted the processing of processing and data, calculate distance, by 4 common anode utmost point charactrons on 6410 platforms, shown.

Claims (10)

1. the domestic safety prevention system based on ultrasonic distance measuring module, is characterized in that: comprise ultrasonic distance measuring module, display circuit, for going, interrupt processing and the processing of data calculate the Single Chip Microcomputer (SCM) system of distance and for the power module to whole circuit supply; Ultrasonic distance measuring module and Single Chip Microcomputer (SCM) system are mutual, and the display output terminal of Single Chip Microcomputer (SCM) system is connected with display circuit.
2. the domestic safety prevention system based on ultrasonic distance measuring module according to claim 1, is characterized in that: described Single Chip Microcomputer (SCM) system comprises single-chip microcomputer and is connected on clock circuit and the reset circuit on single-chip microcomputer outward.
3. the domestic safety prevention system based on ultrasonic distance measuring module according to claim 2, is characterized in that: described single-chip microcomputer adopts AT89C52 single-chip microcomputer.
4. the domestic safety prevention system based on ultrasonic distance measuring module according to claim 2, it is characterized in that: described clock circuit adopts the crystal oscillator (Y1) of 11.0592MHZ, one end of crystal oscillator (Y1) is connected with the XTAL1 port of single-chip microcomputer, the other end is connected with the XTAL2 port of single-chip microcomputer, and XTAL1 port with XTAL2 port respectively by being connected the ceramic condenser ground connection of 22pf.
5. the domestic safety prevention system based on ultrasonic distance measuring module according to claim 2, it is characterized in that: described reset circuit comprises reset key (S), one end of reset key (S) is connected with power supply VCC, the other end is connected on the RST pin of single-chip microcomputer, the two ends of reset key (S) are also parallel with the electrochemical capacitor (C3) of 10 μ f, and the negative pole of electrochemical capacitor (C3) is by resistance (R15) ground connection of 10k Ω.
6. the domestic safety prevention system based on ultrasonic distance measuring module according to claim 1, is characterized in that: described power module adopts MAX232 chip that stable power supply is provided.
7. the domestic safety prevention system based on ultrasonic distance measuring module according to claim 1, it is characterized in that: described ultrasonic distance measuring module is HR-SR04 ultrasound wave integration module, comprise the ultrasonic transmit circuit, ultrasound examination receiving circuit, CX20106A chip circuit and the 74LS04 chip amplifying circuit that integrate.
8. the domestic safety prevention system based on ultrasonic distance measuring module according to claim 7, is characterized in that: described ultrasonic transmit circuit adopts ultrasound wave transmitting probe.
9. the domestic safety prevention system based on ultrasonic distance measuring module according to claim 7, is characterized in that: described ultrasound examination receiving circuit adopts ultrasound wave receiving transducer.
10. the domestic safety prevention system based on ultrasonic distance measuring module according to claim 1, is characterized in that: described display circuit adopts 6410 platforms and is arranged on 4 common anode utmost point charactrons on 6410 platforms.
CN201320602625.6U 2013-09-27 2013-09-27 Home safety system based on ultrasonic range finding module Expired - Fee Related CN203502586U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201320602625.6U CN203502586U (en) 2013-09-27 2013-09-27 Home safety system based on ultrasonic range finding module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201320602625.6U CN203502586U (en) 2013-09-27 2013-09-27 Home safety system based on ultrasonic range finding module

Publications (1)

Publication Number Publication Date
CN203502586U true CN203502586U (en) 2014-03-26

Family

ID=50333555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201320602625.6U Expired - Fee Related CN203502586U (en) 2013-09-27 2013-09-27 Home safety system based on ultrasonic range finding module

Country Status (1)

Country Link
CN (1) CN203502586U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106669483A (en) * 2016-11-20 2017-05-17 嘉善永金金属制品有限公司 Stirrer and method for preventing discharging device thereof from being chocked up
CN106774105A (en) * 2016-11-20 2017-05-31 嘉善永金金属制品有限公司 It is a kind of to avoid mixer blanking device from blocking up full method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106669483A (en) * 2016-11-20 2017-05-17 嘉善永金金属制品有限公司 Stirrer and method for preventing discharging device thereof from being chocked up
CN106774105A (en) * 2016-11-20 2017-05-31 嘉善永金金属制品有限公司 It is a kind of to avoid mixer blanking device from blocking up full method

Similar Documents

Publication Publication Date Title
CN101968162B (en) Pipeline leakage positioning system and method based on collaborative detection with negative pressure wave and sound wave
CN106291468A (en) Quick positioning system and localization method thereof in a kind of sonication chamber that can remotely monitor
CN203732133U (en) GSM (Global System for Mobile) alarm based ultrasonic liquid level measurement system
CN101739787B (en) Multi-functional household safe wireless monitoring system and method therefor
CN103513241B (en) A kind of detector for moving object based on microwave and ultrasonic sensor
CN103247154A (en) Anti-lost goods finder based on Zigbee technology and directive antenna technology
CN203376828U (en) Intelligent detection apparatus based on the Internet of Things and used for real-time security of PC desktop computer
CN203502586U (en) Home safety system based on ultrasonic range finding module
CN201352377Y (en) Ultrasonic sensor monitoring alarm and computer shooting interface device
CN102662159A (en) Method and system of reflection-type indoor positioning
CN203489934U (en) Wireless valve control remote water meter
CN204637522U (en) A kind of ultrasonic wave swimming multi-parameter display
CN102435260A (en) Vehicle-mounted fuel amount monitor
CN207963755U (en) A kind of hand-held GPS land measurement rangefinder
CN203133280U (en) Active infrared range unit
CN202549037U (en) Household wireless alarm device
CN202281639U (en) Vehicle-mounted oil mass monitor
CN105372661A (en) Ultrasonic intelligent range finder
CN201083835Y (en) Ultrasonic distance-measuring alarming device
CN203364922U (en) Automatic liquid-level distance measuring system
CN205621208U (en) Long -range security protection system based on arduino range finding
CN201662865U (en) Multifunctional family security wireless monitoring system
CN201429894Y (en) Alarm apparatus
CN103824367B (en) Ultrasonic Intelligent gate inhibition inductor
CN203811807U (en) Wireless ultrasonic ranging system based on CC2530 single-chip microcomputer

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140326

Termination date: 20160927

CF01 Termination of patent right due to non-payment of annual fee