CN109297442A - SCM Based wireless ultrasonic rangefinder - Google Patents
SCM Based wireless ultrasonic rangefinder Download PDFInfo
- Publication number
- CN109297442A CN109297442A CN201811329638.4A CN201811329638A CN109297442A CN 109297442 A CN109297442 A CN 109297442A CN 201811329638 A CN201811329638 A CN 201811329638A CN 109297442 A CN109297442 A CN 109297442A
- Authority
- CN
- China
- Prior art keywords
- pin
- chip
- capacitor
- resistance
- module
- 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.)
- Pending
Links
- 239000004973 liquid crystal related substance Substances 0.000 claims abstract description 24
- 239000003990 capacitor Substances 0.000 claims description 57
- 230000002265 prevention Effects 0.000 claims description 3
- 238000000465 moulding Methods 0.000 claims description 2
- 238000005259 measurement Methods 0.000 abstract description 5
- 238000012360 testing method Methods 0.000 abstract description 5
- 230000005540 biological transmission Effects 0.000 abstract description 4
- 230000004888 barrier function Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 9
- 238000000034 method Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000000903 blocking effect Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000008676 import Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 241000208125 Nicotiana Species 0.000 description 1
- 235000002637 Nicotiana tabacum Nutrition 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000002411 adverse Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000006837 decompression Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000003760 hair shine Effects 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 239000000523 sample Substances 0.000 description 1
- 239000010865 sewage Substances 0.000 description 1
- 239000000779 smoke Substances 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 238000002604 ultrasonography Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B17/00—Measuring arrangements characterised by the use of infrasonic, sonic or ultrasonic vibrations
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S15/00—Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems
- G01S15/02—Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems using reflection of acoustic waves
- G01S15/06—Systems determining the position data of a target
- G01S15/08—Systems for measuring distance only
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Acoustics & Sound (AREA)
- Computer Networks & Wireless Communication (AREA)
- Emergency Alarm Devices (AREA)
Abstract
The invention discloses a kind of SCM Based wireless ultrasonic rangefinders, including main control module, power module, key control module, wireless sensor module, ultrasonic sensor modules, alarm module and display module, it is characterized in that, the power module, key control module, wireless sensor module, ultrasonic sensor modules.The present invention is using the STC89C52 single chip of STC-51 series as main control chip, the measurement with obstacle distance is realized using NRF24L01 wireless sensor and HC-SR04 ultrasonic sensor, the distance between current location and barrier can be accurately measured using ultrasonic wave, within error 0.03m;It can be realized sound and light of alarm;Settable alarm distance, minimum range 0.01m;Have power-down protection, last time setting value can be saved after shutdown;It can be by test above real-time display to LCD1602 liquid crystal;It can be realized wireless transmission, receive capabilities, effective distance is within 10m.
Description
Technical field
The present invention relates to ultrasonic distance measurement equipment technical fields more particularly to a kind of SCM Based wireless ultrasonic to survey
Distance meter.
Background technique
Wireless accurate ranging at a distance can be carried out using the ultrasonic distance measurement of wireless sensor, utilizes the method ranging
Not by distance in effective range, light, the influence of the factors such as testee size is compared with other instruments has much cleaner, side
Just, the series of advantages such as economic, easy to operate, easy-maintaining, and there is very strong adaptation energy for the adverse circumstances at testee
Power, therefore in the reversing radar of automobile industry, the automatic smoke detection system of tobacco, the water level detecting of waterworks, highway
Velocity measuring, be used widely in object detection.
Development in science and technology at present, people are higher and higher to the pursuit of quality of life, however also exactly with life
The problems such as horizontal raising, rubbish is more and more, results in the drainage system blocking in city, the sewage treatment in city to people with
Carried out many puzzlements, the cleaning of drainage system blocking is often difficult to accomplish using manpower, this just need to design it is a can be in people
For wireless control under or intelligentized blowdown robot free-moving in drainage system replace manpower, guarantee machine
People can move freely the core missions exactly designed in drainage system, and the key point of this core missions is exactly to ultrasound
The research and development of wave ranging, therefore a good ultrasonic range finder of design is just particularly important, based on above ultrasonic range finder
We can not only be fabricated to blowdown robot, can also be made into corresponding other robot applied to different rows
Industry helps the mankind to complete some risk, difficult work, to further improve people's living standard.
But the prior art can not also comprehensively utilize sensing technology, cannot achieve the precision ranging to testee, and nothing
Method realization will be measured apart from real-time display above liquid crystal, be not easy to the control that user adjusts the distance, it is therefore necessary to propose one kind
SCM Based wireless ultrasonic rangefinder is for solving the above problems.
Summary of the invention
Technical problems based on background technology, the invention proposes SCM Based wireless ultrasonic rangefinders.
SCM Based wireless ultrasonic rangefinder proposed by the present invention, including main control module, power module, key
Control module, wireless sensor module, ultrasonic sensor modules, alarm module and display module, the power module, key
Control module, wireless sensor module, ultrasonic sensor modules, alarm module and display module are connected with main control module
It connects;
The main control module includes single-chip microcontroller U1, and the pin 9 of single-chip microcontroller U1 is connected with one end of resistance R1, capacitor C3
One end of one end and key S4, the other end ground connection of resistance R1, the other end of capacitor C3 are connected with the other end of key S4, and
It is connected with input terminal VCC, the pin 18 of single-chip microcontroller U1 is connected with one end of capacitor C1 and one end of oscillator Y, single-chip microcontroller U1's
Pin 19 is connected with one end of capacitor C2, and is connected with the other end of oscillator Y, the other end of capacitor C1, capacitor C2 it is another
The pin 20 of one end and single-chip microcontroller U1 are grounded, and the pin 28 of single-chip microcontroller U1 is connected with one end of resistance R2, and resistance R2's is another
End is connected with the cathode of light emitting diode D1, the anode of light emitting diode D1, single-chip microcontroller U1 pin 31 and pin 40 with it is defeated
Enter VCC is held to be connected, the key module includes key S1, and one end of key S1 is connected with one end and the key S3 of key S2
One end, and be grounded, the other end of key S1 is connected with the pin 15 of single-chip microcontroller U1, and the other end of key S2 is with single-chip microcontroller U1's
Pin 16 is connected, and the other end of key S3 is connected with the pin 17 of single-chip microcontroller U1;
The power module includes chip U2, and the pin 3 of chip U2 is connected with input terminal VCC, and the pin 2 of chip U2 connects
It is connected to the pin 1 of one end of capacitor C4, one end of capacitor C5 and output end V0, chip U2 and the other end of capacitor C4, capacitor C5
The other end be connected, and be grounded;
The ultrasonic sensor modules include chip J1, and the pin 1 of chip J1 is connected with input terminal VCC, chip J1
Pin 4 be grounded, the pin 3 of the pin 2 and chip J1 of chip J1 respectively with the pin 17 of single-chip microcontroller U1 and drawing for single-chip microcontroller U1
Foot 16 is connected;
The wireless sensor module includes wireless transmitter module and wireless receiving module, wireless transmitter module and is wirelessly connect
Receiving module includes chip U3, and the pin 8 of chip U3 is connected with output end V0, and the pin 1 of chip U3 is grounded, and chip U3's draws
Foot 2, pin 3, pin 4, pin 5, pin 6 and pin 7 respectively with the pin 23 of single-chip microcontroller U1, pin 22, pin 21, pin
26, pin 25 is connected with pin 24;
The alarm module includes triode Q, and the base stage of triode Q is connected with one end of resistance R3, and resistance R3's is another
End is connected with the pin 27 of single-chip microcontroller U1, and the emitter of triode Q is connected with input terminal VCC, and the collector of triode Q connects
It is connected to one end of resistance R4 and the anode of buzzer B, the other end of resistance R4 is connected with the anode of light emitting diode D2, and luminous two
The cathode of pole pipe D2 and the cathode of buzzer B are grounded;
The display module includes liquid crystal LCD, and pin 2, the pin 15 of liquid crystal LCD is connected with input terminal VCC, liquid crystal
The pin 3 of LCD is connected with one end of resistance R5, and the other end of resistance R5, the pin 1 of liquid crystal LCD and pin 16 are grounded, liquid crystal
Pin 4, pin 5, pin 6, pin 7, pin 8, pin 9, pin 10, pin 11, pin 12, pin 13 and the pin 14 of LCD
Respectively with the pin 1 of single-chip microcontroller U1, pin 2, pin 3, pin 39, pin 38, pin 37, pin 36, pin 35, pin 34,
Pin 33 is connected with pin 32.
Preferably, the model ASM1117 of the model STC89C52 of the single-chip microcontroller U1, chip U2, the type of chip U3
Number be NRF24L01.
Preferably, the input voltage of the input terminal VCC is direct current 5V, and the output voltage of output end V0 is direct current 3.3V.
Preferably, the model HYR-1704 of the model THZ-98AB of the oscillator Y, buzzer B.
Preferably, the model 9012 of the triode Q, light emitting diode D1 and the model of light emitting diode D2 are
5ACW4UP。
Preferably, the capacitance of the capacitor C1, capacitor C2, capacitor C3, capacitor C4 and capacitor C5 be followed successively by 30PF, 30PF,
10uF、10uF、10uF。
Preferably, the prevention of the resistance R1, resistance R2, resistance R3, resistance R4 and resistance R5 be followed successively by 10K Ω, 2K Ω,
2KΩ、2KΩ、2.2KΩ。
Preferably, the model LCD1602 of the liquid crystal LCD.
Compared with prior art, the beneficial effects of the present invention are:
The present invention is controlled using STC89C52 single chip as core, and ultrasonic wave receiving transducer visits ultrasonic wave transmitting probe
The object space of survey is transferred to single-chip microcontroller, and the distance measured is compared by single-chip microcontroller with setting value, when the distance measured is less than
When set distance, single-chip microcontroller controls buzzer and LED alarm and shines, and can be realized the precision ranging to testee, tests
Error can be realized and will measure apart from real-time display above LCD1602 liquid crystal all within 0.02 range, be convenient for user couple
The control of distance;If the distance between barrier is too close, it is able to carry out sound-light alarm prompting, user is reminded to take measures to keep away
Exempt to cause unnecessary trouble;And by three control buttons, settable alarm distance facilitates different user to difference
The requirement of distance carries out the setting apart from prompting, and adjustable minimum range is 0.01m, simply, easy to operate;The present invention has simultaneously
Electric protection function can save last time setting value after shutdown or power down, not lose data, more humanized;By wireless
Sensor module can be realized wireless transmission, receive capabilities, and user can remotely operate, and effective distance is within 10m.
Detailed description of the invention
Fig. 1 is the principle of the present invention block diagram;
Fig. 2 is the circuit diagram of main control module in the present invention;
Fig. 3 is the circuit diagram of power module in the present invention;
Fig. 4 is the circuit diagram of ultrasonic sensor modules in the present invention;
Fig. 5 is the functional block diagram and circuit diagram of wireless sensor module in the present invention;
Fig. 6 is the circuit diagram of alarm module in the present invention;
Fig. 7 is the circuit diagram of display module in the present invention;
Fig. 8 is flow chart of the invention;
Fig. 9 is the operational flow diagram of ultrasonic sensor modules in the present invention.
Specific embodiment
Combined with specific embodiments below the present invention is made further to explain.
Embodiment
With reference to Fig. 1-9, SCM Based wireless ultrasonic rangefinder, including master control molding are proposed in the present embodiment
Block, power module, key control module, wireless sensor module, ultrasonic sensor modules, alarm module and display module,
Power module, key control module, wireless sensor module, ultrasonic sensor modules, alarm module and display module with
Main control module is connected;
Main control module includes single-chip microcontroller U1, and the pin 9 of single-chip microcontroller U1 is connected with one end of one end of resistance R1, capacitor C3
It is grounded with the other end of one end of key S4, resistance R1, the other end of capacitor C3 is connected with the other end of key S4, and connects
There is input terminal VCC, the pin 18 of single-chip microcontroller U1 is connected with one end of capacitor C1 and one end of oscillator Y, the pin of single-chip microcontroller U1
19 are connected with one end of capacitor C2, and are connected with the other end of oscillator Y, the other end of the other end of capacitor C1, capacitor C2
It is grounded with the pin 20 of single-chip microcontroller U1, the pin 28 of single-chip microcontroller U1 is connected with one end of resistance R2, and the other end of resistance R2 connects
It is connected to the cathode of light emitting diode D1, the anode of light emitting diode D1, the pin 31 of single-chip microcontroller U1 and pin 40 are and input terminal
VCC is connected, and key module includes key S1, and one end of key S1 is connected with one end of key S2 and one end of key S3, and
Ground connection, the other end of key S1 are connected with the pin 15 of single-chip microcontroller U1, the other end of key S2 and the pin 16 of single-chip microcontroller U1
It is connected, the other end of key S3 is connected with the pin 17 of single-chip microcontroller U1, and wherein resistance R1, capacitor C3 and key S4 are constituted multiple
Position circuit, that is, power on and automatically reset, and capacitor C1, capacitor C2 and oscillator Y constitute clock oscillation, when single-chip microcontroller U1 is powered on
System will automatically reset once, similarly also may be implemented to reset when pressing the button S4, the capacitor when single-chip microcontroller U1 is powered on
The both ends C3 are persistently charged as 5V, and the voltage at the both ends resistance R1 is almost 0 at this time, and the pin 9 of single-chip microcontroller U1 is in low level, monolithic
Machine U1 is worked normally, and when pressing the button S4, key S4 conducting, the both ends of capacitor C3 form a circuit, capacitor C3 at this time
It is short-circuited, capacitor C3 starts the electric energy being full of before release, and over time, the voltage of capacitor C3 is reduced in 0.1S
1.5V, even more small, according to series circuit voltage divider principle, resistance R1 both end voltage is upgraded to 3.5V at this time, even higher, so working as
When the pin 9 of single-chip microcontroller U1 receives high level signal, single-chip microcontroller U1 internal register is made to become original state, single-chip microcontroller U1 is automatic
Reset, oscillator Y select 12MHZ, capacitor C1 and capacitor C2 select 30PF, guarantee oscillator Y stability, by key S1,
Ranging sets value size is arranged in key S2 and key S3;
Power module includes chip U2, and the pin 3 of chip U2 is connected with input terminal VCC, and the pin 2 of chip U2 is connected with
The other end of the pin 1 of one end of capacitor C4, one end of capacitor C5 and output end V0, chip U2 and capacitor C4, capacitor C5 it is another
One end is connected, and be grounded, power module use two different power supplys, respectively the direct current 5V voltage of input terminal VCC with
The direct current 3.3V voltage of output end V0,5V DC voltage are directly fed by power supply units such as charger babies, then the 5V of supply is straight
Galvanic electricity pressure is by chip U2 and capacitor C4 and capacitor C5 with filter action, to be stabilization by the decompression of 5V DC voltage forward direction
3.3V DC voltage for stand-by circuit use;
Ultrasonic sensor modules include chip J1, and the pin 1 of chip J1 is connected with input terminal VCC, and chip J1's draws
Foot 4 is grounded, the pin 3 of the pin 2 of chip J1 and chip the J1 pin 16 with the pin 17 of single-chip microcontroller U1 and single-chip microcontroller U1 respectively
It is connected, ultrasonic sensor modules use HC-SR04 ultrasonic sensor modules, and range accuracy may be up to 3mm, and
And the contactless accurate distance measurement function for being capable of providing 2cm-300cm or so, ultrasonic distance measurement is triggered by control single chip computer U1,
Triggering mode is at least 10us high level signal of pin 17 of single-chip microcontroller U1, and HC-SR04 ultrasonic sensor modules will be sent out
The square wave for sending a string of 8 40khz detects the presence of signal return automatically, if there is signal returns, will pass through the pin of single-chip microcontroller U1
16 one high level signal of output, ultrasonic wave are equal to high level signal duration from the time for being emitted to return, test
Distance=high level time * the velocity of sound (340M/S)/2;
Wireless sensor module includes wireless transmitter module and wireless receiving module, wireless transmitter module and wireless receiving mould
Block includes chip U3, and the pin 8 of chip U3 is connected with output end V0, and the pin 1 of chip U3 is grounded, the pin 2 of chip U3,
Pin 3, pin 4, pin 5, pin 6 and pin 7 respectively with the pin 23 of single-chip microcontroller U1, pin 22, pin 21, pin 26, draw
Foot 25 is connected with pin 24, and in use, wireless transmitter module imports transmitting processing routine, and wireless receiving module, which imports, to be received
Processing routine realizes control of the single-chip microcontroller U1 to wireless sensor module, and then realizes wireless data transmission;
Alarm module includes triode Q, and the base stage of triode Q is connected with one end of resistance R3, the other end of resistance R3 with
The pin 27 of single-chip microcontroller U1 is connected, and the emitter of triode Q is connected with input terminal VCC, and the collector of triode Q is connected with
One end of resistance R4 and the anode of buzzer B, the other end of resistance R4 are connected with the anode of light emitting diode D2, light emitting diode
The cathode of D2 and the cathode of buzzer B are grounded, and reach sound-light alarm effect by the level of the pin 27 of control single chip computer U1,
To reach preferable prompt effect;
Display module includes liquid crystal LCD, and pin 2, the pin 15 of liquid crystal LCD is connected with input terminal VCC, liquid crystal LCD
Pin 3 be connected with one end of resistance R5, the other end of resistance R5, the pin 1 of liquid crystal LCD and pin 16 are grounded, liquid crystal LCD
Pin 4, pin 5, pin 6, pin 7, pin 8, pin 9, pin 10, pin 11, pin 12, pin 13 and pin 14 distinguish
With pin 1, pin 2, pin 3, pin 39, pin 38, pin 37, pin 36, pin 35, the pin 34, pin of single-chip microcontroller U1
33 are connected with pin 32, realize that single-chip microcontroller U1 transmits the read-write setting of liquid crystal LCD and data, using liquid crystal LCD, convenient for
The connection of single-chip microcontroller U1 interface, and show that program is more convenient;
The model ASM1117 of the model STC89C52 of single-chip microcontroller U1, chip U2, the model of chip U3
The input voltage of NRF24L01, input terminal VCC are direct current 5V, and the output voltage of output end V0 is direct current 3.3V, the type of oscillator Y
Number be THZ-98AB, the model 9012 of the model HYR-1704 of buzzer B, triode Q, light emitting diode D1 and shine two
The model of pole pipe D2 is 5ACW4UP, capacitor C1, capacitor C2, capacitor C3, capacitor C4 and capacitor C5 capacitance be followed successively by 30PF,
The prevention of 30PF, 10uF, 10uF, 10uF, resistance R1, resistance R2, resistance R3, resistance R4 and resistance R5 are followed successively by 10K Ω, 2K
Ω, 2K Ω, 2K Ω, 2.2K Ω, the model LCD1602 of liquid crystal LCD.
Then the present invention will measure distance compared with setting value, judgement is in use, progress system initialization setting first
It is no to be less than setting value, if it has not, then return system initializes interface;If it has, then starting warning circuit starts to alarm, then again
It carries out apart from comparison, whether confirmation alarm continues, if it has, then alarm terminates, subsequently into detecting again, waits report next time
It is alert;It is detected again if it has not, being then directly entered, waits alarm next time, terminate if occurring alarming;It is returned if not occurring alarming
Initialize interface;
When carrying out ultrasonic listening, first timer 1 closed and by counter 1 clear 0, prevents system program appearance can not
The mistake of prediction can eaily find the reason of mistake when there is mistake, bring convenience for the programming of program,
Whether the pin 16 that single-chip microcontroller U1 is judged followed by determining program is low level, starts the starting of timer 1 when being
Timing, on the contrary it returns and continues to test up to executing next sentence for low level position, it then proceedes to draw single-chip microcontroller U1
The level of foot 16 continues to judge, if it is low level Off Timer, periodically terminate, conversely, continuing to execute judgement sentence
Until being low level position.
The present invention can be realized the precision ranging to testee, and test error, and can be real all within 0.02 range
Now measure the control apart from real-time display above LCD1602 liquid crystal, adjusted the distance convenient for user;If between barrier
Distance is too close, is able to carry out sound-light alarm prompting, and user is reminded to take measures to avoid to cause unnecessary trouble;And lead to
Three control buttons are crossed, settable alarm distance facilitates requirement of the different user to different distance to carry out the setting apart from prompting,
Adjustable minimum range is 0.01m, simply, easy to operate;The present invention has power-down protection, energy after shutdown or power down simultaneously
Last time setting value is enough saved, data are not lost, it is more humanized;It can be realized wireless transmission by wireless sensor module, connect
Function is received, user can remotely operate, and effective distance is within 10m.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto,
Anyone skilled in the art in the technical scope disclosed by the present invention, according to the technique and scheme of the present invention and its
Inventive concept is subject to equivalent substitution or change, should be covered by the protection scope of the present invention.
Claims (8)
1. SCM Based wireless ultrasonic rangefinder, including it is main control module, power module, key control module, wireless
Sensor module, ultrasonic sensor modules, alarm module and display module, which is characterized in that the power module presses keying
Molding block, wireless sensor module, ultrasonic sensor modules, alarm module and display module are connected with main control module
It connects;
The main control module includes single-chip microcontroller U1, and the pin 9 of single-chip microcontroller U1 is connected with one end of one end of resistance R1, capacitor C3
It is grounded with the other end of one end of key S4, resistance R1, the other end of capacitor C3 is connected with the other end of key S4, and connects
There is input terminal VCC, the pin 18 of single-chip microcontroller U1 is connected with one end of capacitor C1 and one end of oscillator Y, the pin of single-chip microcontroller U1
19 are connected with one end of capacitor C2, and are connected with the other end of oscillator Y, the other end of the other end of capacitor C1, capacitor C2
It is grounded with the pin 20 of single-chip microcontroller U1, the pin 28 of single-chip microcontroller U1 is connected with one end of resistance R2, and the other end of resistance R2 connects
It is connected to the cathode of light emitting diode D1, the anode of light emitting diode D1, the pin 31 of single-chip microcontroller U1 and pin 40 are and input terminal
VCC is connected, and the key module includes key S1, one end of key S1 be connected with key S2 one end and key S3 one
End, and be grounded, the other end of key S1 is connected with the pin 15 of single-chip microcontroller U1, the other end of key S2 and drawing for single-chip microcontroller U1
Foot 16 is connected, and the other end of key S3 is connected with the pin 17 of single-chip microcontroller U1;
The power module includes chip U2, and the pin 3 of chip U2 is connected with input terminal VCC, and the pin 2 of chip U2 is connected with
The other end of the pin 1 of one end of capacitor C4, one end of capacitor C5 and output end V0, chip U2 and capacitor C4, capacitor C5 it is another
One end is connected, and is grounded;
The ultrasonic sensor modules include chip J1, and the pin 1 of chip J1 is connected with input terminal VCC, and chip J1's draws
Foot 4 is grounded, the pin 3 of the pin 2 of chip J1 and chip the J1 pin 16 with the pin 17 of single-chip microcontroller U1 and single-chip microcontroller U1 respectively
It is connected;
The wireless sensor module includes wireless transmitter module and wireless receiving module, wireless transmitter module and wireless receiving mould
Block includes chip U3, and the pin 8 of chip U3 is connected with output end V0, and the pin 1 of chip U3 is grounded, the pin 2 of chip U3,
Pin 3, pin 4, pin 5, pin 6 and pin 7 respectively with the pin 23 of single-chip microcontroller U1, pin 22, pin 21, pin 26, draw
Foot 25 is connected with pin 24;
The alarm module includes triode Q, and the base stage of triode Q is connected with one end of resistance R3, the other end of resistance R3 with
The pin 27 of single-chip microcontroller U1 is connected, and the emitter of triode Q is connected with input terminal VCC, and the collector of triode Q is connected with
One end of resistance R4 and the anode of buzzer B, the other end of resistance R4 are connected with the anode of light emitting diode D2, light emitting diode
The cathode of D2 and the cathode of buzzer B are grounded;
The display module includes liquid crystal LCD, and pin 2, the pin 15 of liquid crystal LCD is connected with input terminal VCC, liquid crystal LCD
Pin 3 be connected with one end of resistance R5, the other end of resistance R5, the pin 1 of liquid crystal LCD and pin 16 are grounded, liquid crystal LCD
Pin 4, pin 5, pin 6, pin 7, pin 8, pin 9, pin 10, pin 11, pin 12, pin 13 and pin 14 distinguish
With pin 1, pin 2, pin 3, pin 39, pin 38, pin 37, pin 36, pin 35, the pin 34, pin of single-chip microcontroller U1
33 are connected with pin 32.
2. SCM Based wireless ultrasonic rangefinder according to claim 1, which is characterized in that the single-chip microcontroller U1
Model STC89C52, the model NRF24L01 of the model ASM1117 of chip U2, chip U3.
3. SCM Based wireless ultrasonic rangefinder according to claim 1, which is characterized in that the input terminal
The input voltage of VCC is direct current 5V, and the output voltage of output end V0 is direct current 3.3V.
4. SCM Based wireless ultrasonic rangefinder according to claim 1, which is characterized in that the oscillator Y
Model THZ-98AB, the model HYR-1704 of buzzer B.
5. SCM Based wireless ultrasonic rangefinder according to claim 1, which is characterized in that the triode Q
Model 9012, the model of light emitting diode D1 and light emitting diode D2 are 5ACW4UP.
6. SCM Based wireless ultrasonic rangefinder according to claim 1, which is characterized in that the capacitor C1,
Capacitor C2, capacitor C3, capacitor C4 and capacitor C5 capacitance be followed successively by 30PF, 30PF, 10uF, 10uF, 10uF.
7. SCM Based wireless ultrasonic rangefinder according to claim 1, which is characterized in that the resistance R1,
The prevention of resistance R2, resistance R3, resistance R4 and resistance R5 are followed successively by 10K Ω, 2K Ω, 2K Ω, 2K Ω, 2.2K Ω.
8. SCM Based wireless ultrasonic rangefinder according to claim 1, which is characterized in that the liquid crystal LCD
Model LCD1602.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811329638.4A CN109297442A (en) | 2018-11-02 | 2018-11-02 | SCM Based wireless ultrasonic rangefinder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811329638.4A CN109297442A (en) | 2018-11-02 | 2018-11-02 | SCM Based wireless ultrasonic rangefinder |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109297442A true CN109297442A (en) | 2019-02-01 |
Family
ID=65146886
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811329638.4A Pending CN109297442A (en) | 2018-11-02 | 2018-11-02 | SCM Based wireless ultrasonic rangefinder |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109297442A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109747712A (en) * | 2019-03-08 | 2019-05-14 | 途观科技有限公司 | Central axle trailer turns to angle control system |
CN110907943A (en) * | 2019-12-31 | 2020-03-24 | 成都煜明装饰工程有限公司 | Infrared distance measurement automatic analyzer and data analysis method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204925387U (en) * | 2015-08-19 | 2015-12-30 | 郑州轻工业学院 | Intelligence ultrasonic ranging appearance based on singlechip |
US20160084648A1 (en) * | 2014-09-22 | 2016-03-24 | Zhejiang Rongsheng Tool Co., Ltd | Three Dimensional Angle Measuring Device |
CN206924179U (en) * | 2017-01-12 | 2018-01-26 | 四川农业大学 | A kind of blind guiding stick |
CN207440288U (en) * | 2017-12-11 | 2018-06-01 | 西北师范大学 | SCM Based intelligent Ultrasonic Distance-measuring System |
CN209116982U (en) * | 2018-11-02 | 2019-07-16 | 宁德师范学院 | SCM Based wireless ultrasonic rangefinder |
-
2018
- 2018-11-02 CN CN201811329638.4A patent/CN109297442A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160084648A1 (en) * | 2014-09-22 | 2016-03-24 | Zhejiang Rongsheng Tool Co., Ltd | Three Dimensional Angle Measuring Device |
CN204925387U (en) * | 2015-08-19 | 2015-12-30 | 郑州轻工业学院 | Intelligence ultrasonic ranging appearance based on singlechip |
CN206924179U (en) * | 2017-01-12 | 2018-01-26 | 四川农业大学 | A kind of blind guiding stick |
CN207440288U (en) * | 2017-12-11 | 2018-06-01 | 西北师范大学 | SCM Based intelligent Ultrasonic Distance-measuring System |
CN209116982U (en) * | 2018-11-02 | 2019-07-16 | 宁德师范学院 | SCM Based wireless ultrasonic rangefinder |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109747712A (en) * | 2019-03-08 | 2019-05-14 | 途观科技有限公司 | Central axle trailer turns to angle control system |
CN109747712B (en) * | 2019-03-08 | 2021-01-08 | 途观科技有限公司 | Steering included angle control system of central shaft trailer |
CN110907943A (en) * | 2019-12-31 | 2020-03-24 | 成都煜明装饰工程有限公司 | Infrared distance measurement automatic analyzer and data analysis method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN207181719U (en) | Low energy consumption auto-induction apparatus | |
CN102005103B (en) | Anti-drowning warning equipment and warning method thereof | |
CN109297442A (en) | SCM Based wireless ultrasonic rangefinder | |
CN102169079A (en) | Device for detecting turbidity on line and in real time | |
CN209116982U (en) | SCM Based wireless ultrasonic rangefinder | |
WO2018192092A1 (en) | Life-detecting intelligent miniature vehicle | |
CN208367529U (en) | A kind of public lavatory internet cloud platform management system | |
CN104207754A (en) | Portable pulse measuring instrument with clock function | |
CN202041457U (en) | Online real-time detecting device for turbidity | |
CN105741507A (en) | Screen distance detection prevention shortsightedness prompting device | |
CN201555662U (en) | Temperature detection alarm | |
CN204099914U (en) | Intelligent Pipe Leak Detection Instrument | |
CN207520327U (en) | A kind of intelligent guiding walking stick for blind person | |
CN103267519A (en) | Hydrographic measurement system with wireless transmission function and measurement method | |
CN205843765U (en) | A kind of sensor-based liquid level measuring system | |
CN205748315U (en) | A kind of cylinder measurement diameter system | |
CN208296787U (en) | A kind of interior range-measurement system | |
CN201912399U (en) | Multifunctional solar blind guidance | |
CN105941388A (en) | Solar-powered electronic bird-repellent device | |
CN207965153U (en) | It is detachable to test the speed and obstacle detector | |
CN107023956A (en) | A kind of home for destitute indoor and outdoor surroundingses intelligent checking system based on FPGA | |
CN208297734U (en) | Biped robot's Intelligent tracking device | |
CN108415021A (en) | Biped robot's Intelligent tracking device | |
CN204170056U (en) | A kind of embedded intelligence apparatus for guiding blind | |
CN206675518U (en) | A kind of heart rate sensor detection means |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |