CN103941258A - Ultrasonic rangefinder based on single-chip microcomputer - Google Patents

Ultrasonic rangefinder based on single-chip microcomputer Download PDF

Info

Publication number
CN103941258A
CN103941258A CN201410141607.1A CN201410141607A CN103941258A CN 103941258 A CN103941258 A CN 103941258A CN 201410141607 A CN201410141607 A CN 201410141607A CN 103941258 A CN103941258 A CN 103941258A
Authority
CN
China
Prior art keywords
circuit
ultrasonic
pin
computer module
chip computer
Prior art date
Application number
CN201410141607.1A
Other languages
Chinese (zh)
Inventor
郭豫荣
张修义
Original Assignee
陕西理工学院
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 陕西理工学院 filed Critical 陕西理工学院
Priority to CN201410141607.1A priority Critical patent/CN103941258A/en
Publication of CN103941258A publication Critical patent/CN103941258A/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO 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/00Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems
    • G01S15/02Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems using reflection of acoustic waves
    • G01S15/06Systems determining the position data of a target
    • G01S15/08Systems for measuring distance only
    • G01S15/32Systems for measuring distance only using transmission of continuous waves, whether amplitude-, frequency-, or phase-modulated, or unmodulated
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO 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
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/52Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S15/00
    • G01S7/534Details of non-pulse systems

Abstract

The invention relates to an ultrasonic rangefinder based on a single-chip microcomputer. The ultrasonic rangefinder comprises a single-chip microcomputer module, an ultrasonic transmission circuit, an ultrasonic detecting and receiving circuit, a driving circuit and a display circuit. The circuit modules are all connected with the single-chip microcomputer module. A port of the single-chip microcomputer module outputs square signals needed by an ultrasonic transducer, and return signals output by the ultrasonic detecting and receiving circuit are monitored through an external break-off port. Common-anode LED Nixie tubes are adopted by the display circuit. The single-chip microcomputer module controls the ultrasonic transmission circuit and the ultrasonic detecting and receiving circuit, the single-chip microcomputer module detects an INT0 pin ceaselessly, and when the level of the INT0 pin becomes low from high, it is considered that ultrasonic waves return. The single-chip microcomputer module acquires time consuming by the ultrasonic waves, and the distance between a sensor and an obstacle is calculated. The ultrasonic rangefinder is high in precision, low in power consumption, simple in module and high in stability.

Description

A kind of SCM Based ultrasonic range finder
Technical field
The present invention relates to supersonic sounding field, relate in particular to a kind of SCM Based ultrasonic range finder.
Background technology
Ultrasound wave is as a kind of detection technique, employing be non-contact measurement, this feature can make to measure the impact that instrument together is not subject to measured medium.This has just solved under the susceptible condition of dust greatly, to people, causes Body contact injury.The measured object of corrosion property corrodes surveying instrument, and the mistake that poor contact of contacts causes is surveyed situation.And measured element, without wearing and tearing, is made to surveying instrument firm and durable, and lengthen serviceable life, but also reduced energy consumption, saves the intensity of manpower and work.From long-term interest, make multidirectional energy-conservation research.
The method of ultrasonic ranging has multiple: as two-way time detection method, phase-detection method, magnitudes of acoustic waves detection method.The design adopts detection method range finding two-way time.Its principle is the ultrasound wave of ultrasonic sensor transmitting certain frequency, by air medium, propagate, arriving measurement target or barrier back reflection returns, after reflection by ultrasonic receiver received pulse, its time of experiencing is two-way time, and two-way time is relevant with the distance of the distance of ultrasonic propagation.
Ultrasonic range finder precision of the prior art is not high, and power consumption is too high, module more complicated, and stability is not high.
In view of above-mentioned defect, creator of the present invention has obtained this creation finally through long research and practice.
Summary of the invention
The object of the present invention is to provide a kind of SCM Based ultrasonic range finder, in order to overcome above-mentioned technological deficiency.
For achieving the above object, the invention provides a kind of SCM Based ultrasonic range finder, it comprises one-chip computer module, ultrasonic transmit circuit, ultrasound examination receiving circuit, driving circuit and display circuit, and each circuit module is all connected with described one-chip computer module;
The required square-wave signal of port output ultrasonic wave transducer of described one-chip computer module, utilizes outer middle fracture to monitor the return signal of described ultrasound examination receiving circuit output; Described display circuit adopts common anode LED charactron; Described one-chip computer module is realized ultrasonic transmit circuit and ultrasound examination receiving circuit is controlled, and one-chip computer module ceaselessly detects its INT0 pin, when the level of INT0 pin thinks that when high level becomes low level ultrasound wave returns; Described one-chip computer module obtains the time that ultrasound wave experiences, and calculates the distance between sensor and barrier.
Further, described one-chip computer module comprises: flash memory, Random Access Data storer, I/O mouth, Timer/Counter, two-stage interrupt structure, serial communication port, oscillator and clock circuit in sheet;
One-chip computer module stops the work of central processing unit under unused mode, allows Random Access Data storer, Timer/Counter, serial communication port and interrupt system to work on; Power-down mode is preserved the content in Random Access Data storer, oscillator quit work and the work of forbidding other all parts until next reset.
Further, described one-chip computer module comprises that one for forming the high-gain inverting amplifier of inner oscillator, pin XTAL1 and XTAL2 are respectively input end and the output terminals of this high-gain inverting amplifier, its external quartz crystal and capacitor C 1, C2 is connected in the backfeed loop of amplifier and forms oscillating circuit in parallel.
Further, described one-chip computer module has two kinds of powering modes, by the PD in control special register PCON and IDL position, realizes; PD is power-down mode, when PD=1, activates power down operations pattern, and single-chip microcomputer enters power down operations state; IDL is unused waiting mode, works as IDL=1, activates unused duty, and single-chip microcomputer enters sleep state; As needs enter two kinds of mode of operations simultaneously, PD and IDL are 1 simultaneously, first activate power-down mode.
Further, also comprise single-chip minimum system, in order to guarantee that one-chip computer module can normally work, comprise outside oscillatory circuit, reset circuit and+5V power supply,
Externally, in oscillatory circuit, the XTAL1 of one-chip computer module and XTAL2 pin are connected to respectively by 12MHZ crystal oscillator and two oscillatory circuit both sides that 33PF electric capacity forms, for circuit provides normal time clock;
In reset circuit, single-chip microcomputer RESET pin is connected to positive source through the electric capacity of 20F on the one hand, and realizing powers on automatically resets, and connects power supply on the other hand through switch s.
Further, described ultrasonic transmit circuit comprises: reverser and ultrasonic transducer, an electrode of ultrasonic transducer is delivered on square-wave signal one tunnel of the P1.0 port output of described one-chip computer module after one-level reverser, another electrode of ultrasonic transducer is delivered on another road after the reverser of the two poles of the earth, square-wave signal is added to ultrasonic transducer two ends and can improves hyperacoustic emissive porwer.
Further, described ultrasound examination receiving circuit comprises an integrated chip, and its internal circuit comprises prime amplifier, automatic bias level control circuit, limiting amplifier, bandpass filter, peak detector and waveform shaping circuit;
Wherein, between 2 pin of described integrated chip and ground, be connected RC series network, form negative feedback series network; Between 3 pin and ground, be connected detection electric capacity, electric capacity is average value detection greatly, and moment, corresponding sensitivity was low; Between 5 pin and power supply, access a resistance, in order to the centre frequency f0 of bandpass filter to be set, resistance is larger, and centre frequency is lower; 6 pin: connect an integrating capacitor between this pin and ground, standard value is 330pF, too large if this electric capacity is obtained, and can make detection range shorten; 7 pin are guidance command output terminal, are the open collector way of output, so this pin connects a pull-up resistor to power end.
Further, one delay unit is also set in described one-chip computer module, it is 1ms that described delay unit is set delay time, in emitter transmitting ultrasound wave 1ms, close all interruptions, any signal that receiving circuit receives this device is ignored, after 1ms, start immediately T0, at this moment the signal receiving is just effective, and when receiving echoed signal, stops counter T0, and the forward position of the CPU transmitted signal that now T0 records was only and needs to the time between echo pulse signal.
Compared with prior art beneficial effect of the present invention is, the ultrasonic range finder precision in the present invention is high, low in energy consumption, and module is simple, and stability is high; Adopt standardized module to form each information processing part, realize modularization.
Accompanying drawing explanation
Fig. 1 is the functional block diagram that the present invention is based on the ultrasonic range finder of single-chip microcomputer;
Fig. 2 is the pin schematic diagram of singlechip chip of the present invention;
Fig. 3 is single-chip microcomputer internal oscillator circuit schematic diagram of the present invention;
Fig. 4 is the outside oscillatory circuit schematic diagram of single-chip microcomputer of the present invention;
Fig. 5 is the circuit diagram of single-chip minimum system of the present invention;
Fig. 6 is the structural drawing of ultrasonic transmit circuit of the present invention;
Shown in Fig. 7, it is for the structural drawing of ultrasound examination receiving circuit of the present invention.
Embodiment
Below in conjunction with accompanying drawing, to the present invention is above-mentioned, be described in more detail with other technical characterictic and advantage.
Refer to shown in Fig. 1, it is the functional block diagram that the present invention is based on the ultrasonic range finder of single-chip microcomputer, ultrasonic range finder of the present invention comprises one-chip computer module, ultrasonic transmit circuit, ultrasound examination receiving circuit, driving circuit and display circuit, and each circuit module is all connected with described one-chip computer module.
One-chip computer module of the present invention adopts AT89C51, adopts the high-precision crystal oscillator of 12MHz, to obtain compared with stabilizing clock frequency, reduces measuring error; The square-wave signal of the required 40kHz of P1.0 port output ultrasonic wave transducer for single-chip microcomputer, utilizes outer return signal of interrupting 0 mouthful of described ultrasound examination receiving circuit output of monitoring; Described display circuit adopts common anode LED charactron, with 74LS244, drives.
Chip microcontroller of the present invention is controlled ultrasonic transmit circuit and ultrasound examination receiving circuit, and then single-chip microcomputer ceaselessly detects INT0 pin, when the level of INT0 pin just thinks that ultrasound wave returns when high level becomes low level; Described one-chip computer module obtains the time that ultrasound wave experiences, and calculates the distance between sensor and barrier.
Refer to shown in Fig. 2, it is for the pin schematic diagram of singlechip chip of the present invention, single-chip microcomputer of the present invention provides following profile: 4K byte flash memory, 128 byte Random Access Data storeies, 32 I/O mouths, 2 16 bit timings/counters, 15 vectorial two-stage interrupt structure, 1 serial communication port, oscillator and clock circuit in sheet.The unused mode of single-chip microcomputer of the present invention stops the work of central processing unit, can allow Random Access Data storer, Timer/Counter, serial communication port and interrupt system to work on.Power-down mode is preserved the content in Random Access Data storer, but oscillator quits work and the work of forbidding other all parts until next reset.
Single-chip microcomputer comprises following pin:
P0 mouth: P0 mouth is during as delivery outlet, and each pin can both drive 8 TTL circuit.When " 1 " is written into P0 mouth, each pin can both be as high impedance input end.P0 mouth is when flicker programming, and P0 mouth receives instruction, and when program verification, output order, needs connecting resistance.
P1 mouth: to port one writing, by inner resistance, port is moved to high level, now can be used as input port.When programming flicker and program verification, P1 mouth receives least-significant byte address.
P2 mouth: to port one writing, by inner resistance, port is moved to high level, now, can be used as input port.Because there is resistance inside, when being dragged down by external signal, can export certain pin an electric current.When the external data memory of access external program memory or 16 bit address, P2 mouth is sent most-significant byte address date.When the external data memory of access 8 bit address, the content on P2 mouth line is constant during whole service.When flicker programming or verification, P2 mouth receives high address and other control signal.
P3 mouth: while writing " 1 ", when they are moved to high level and can be used as input end by internal resistance, will be used resistance output current by the outside P3 mouth dragging down.
P3 mouth also receives some for the control signal of flash memory program and program verification.
RST: input resets.When oscillator is worked, RET pin occurs that two high level more than machine cycle will make monolithic processor resetting.
ALE/PROG: when access external program memory or data-carrier store, ALE output pulse is for the least-significant byte byte of latch address.In the time of skipping an ALE pulse when access external data storer, during flash memory program, this pin is also for inputting programming pulse.
PSEN: it is the read strobe signal of external program memory that program store to allow output, when AT89C51 is during by external program memory reading command, each machine cycle, twice PSEN was effective, exported two pulses.During this period, when access external data storer, this twice effective PSEN signal do not occur.
EA/VPP: external reference allows.Want to make central processing unit only to access external program memory, EA end must keep low level.If EA end is high level, CPU carries out the instruction in internal program memory.During flash memory program, the programming of add+12V of this pin allows voltage VPP, and this must be that this device is to use 12V program voltage VPP certainly.
Refer to shown in Fig. 3 and 4, it is respectively the inside and outside oscillatory circuit schematic diagram of single-chip microcomputer of the present invention;
XTAL1: the input end of oscillator inverting amplifier and internal clock generator.
XTAL2: the output terminal of oscillator inverting amplifier.
Clock oscillator
In AT89C51, have one for forming the high-gain inverting amplifier of inner oscillator, pin XTAL1 and XTAL2 are respectively input end and the output terminals of this amplifier.This amplifier forms nature oscillator together with quartz crystal outside sheet as feedback element or ceramic resonator.External quartz crystal and capacitor C 1, C2 is connected in the backfeed loop of amplifier and forms oscillating circuit in parallel.Use quartz crystal, electric capacity is used 30PF ± 10PF; Use ceramic resonator to select 40PF ± 10PF.
Single-chip microcomputer of the present invention has two kinds of powering modes, and these two kinds of modes are that realize PD and the IDL position controlled in special register PCON; PD is power-down mode, when PD=1, activates power down operations pattern, and single-chip microcomputer enters power down operations state.IDL is unused waiting mode, works as IDL=1, activates unused duty, and single-chip microcomputer enters sleep state.As needs enter two kinds of mode of operations simultaneously, PD and IDL are 1 simultaneously, first activate power-down mode.
Unused energy-saving mode:
In unused operational mode state, central processor CPU keeps sleep state, and peripheral hardware in all still keeps state of activation, and this mode is produced by software.Now, in sheet, the content of Random Access Data storer and all special function registers remains unchanged.Unused pattern can be stopped by interrupt request or the hardware reset of any permission.The method that stops unused mode of operation has two kinds, and the one, any event that is allowed to interrupt is activated, and IDL is removed by hardware, at once stops unused mode of operation.First program can affect interruption, enters interrupt service routine, executes interrupt service routine, and follows closely after RETI instruction, and next instruction that will carry out makes single-chip microcomputer enter unused mode of operation exactly, that instruction instruction below; The 2nd, by hardware reset, also unused mode of operation can be stopped.
For fear of the accident that may produce port, write: the instruction activating after that instruction of unused pattern should not be an instruction that writes to port or external memory storage.
Power-down mode:
Under power-down mode, oscillator quits work, and the instruction that enters power-down mode is the instruction that the last item is performed, and the content of ram in slice and special function register is frozen before middle finger power-down mode.The unique method that exits power-down mode is hardware reset, after reset by from the whole special function registers of new definition but do not change the content RAM, before VCC returns to normal operation level, reset should be invalid and must keep certain hour so that oscillator from new startup steady operation.
The encryption of program storage
One-chip computer module can be used three encrypted bits LB1 on chip, LB2, and LB3 programmes (P) or does not programme, and obtains function as shown in table 1 below:
When LB1 is programmed, at reseting period, the level of EA end is latched, if single-chip microcomputer never resets after powering on, the initial value latching is a uncertain number, and this uncertain number can be saved in real reset position always.For single-chip microcomputer is normally worked, the EA level being latched is consistent with the current low level of this pin.The method that secret position can only be wiped by full wafer is removed.
The present invention also comprises single-chip minimum system, in order to guarantee that one-chip computer module can normally work, refers to shown in Fig. 5, and it is the circuit diagram of single-chip minimum system of the present invention, comprise outside oscillatory circuit, reset circuit and+5V power supply.
Externally, in oscillatory circuit, the XTAL1 of single-chip microcomputer and XTAL2 pin are connected to respectively by 12MHZ crystal oscillator and two oscillatory circuit both sides that 33PF electric capacity forms, for circuit provides normal time clock.In reset circuit, single-chip microcomputer RESET pin is connected to positive source through the electric capacity of 20F on the one hand, realization powers on and automatically resets, through switch s, connect power supply on the other hand, its major function is that PC is initialized as to 0000H, is that single-chip microcomputer starts executive routine from 0000H unit, except the initialization of the system of entering, when makeing mistakes due to program or operating mistake makes system in deadlock state, need to restart by reset key.
Refer to shown in Fig. 6, it is the structural drawing of ultrasonic transmit circuit of the present invention; It comprises reverser 74LS04 and ultrasonic transducer, an electrode of ultrasonic transducer is delivered on 40KHZ square-wave signal one tunnel of single-chip microcomputer P1.0 port output after one-level reverser, another electrode of ultrasonic transducer is delivered on another road after the reverser of the two poles of the earth, square-wave signal is added to ultrasonic transducer two ends and can improves hyperacoustic emissive porwer.Output terminal adopts two reverser parallel connections, in order to improve driving force.Pull-up resistor R10 and R11, can improve the driving force that reverser 74LS04 exports high level on the one hand, can increase on the other hand the damping of ultrasonic transducer, shortens its free-running time.
Display circuit of the present invention is common anode LED charactron, and single-chip microcomputer is to the dynamic demonstration of being shown as of LED charactron, and LED alternately shows character separately one time one time.
Refer to shown in Fig. 7, it is the structural drawing of ultrasound examination receiving circuit of the present invention, and ultrasound examination receiving circuit of the present invention comprises that integrated circuit is CX20106A chip, has very high sensitivity and stronger antijamming capability.
Its internal circuit comprises prime amplifier, automatic bias level control circuit (ABLC), limiting amplifier, bandpass filter, peak detector and waveform shaping circuit.
Wherein between 2 pin of CX20106A chip and ground, be connected RC series network, form negative feedback series network, its numerical value that changes them can change gain and the frequency characteristic of prime amplifier.Increase resistance R 1 or reduce C1, will make amount of negative feedback increase, enlargement factor declines, otherwise enlargement factor increases.
Between 3 pin and ground, be connected detection electric capacity, electric capacity is average value detection greatly, and moment, corresponding sensitivity was low; Between 5 pin and power supply, access a resistance, in order to the centre frequency f0 of bandpass filter to be set, resistance is larger, and centre frequency is lower; 6 pin: connect an integrating capacitor between this pin and ground, standard value is 330pF, too large if this electric capacity is obtained, and can make detection range shorten.7 pin are guidance command output terminal, are the open collector way of output, so this pin connects a pull-up resistor to power end.
One delay unit is also set in described one-chip computer module, in order to eliminates signal crosstalk problem, it is 1ms that described delay unit is set delay time, in emitter transmitting ultrasound wave 1ms, close all interruptions, any signal that receiving circuit receives this device is ignored, after 1ms, start immediately T0, at this moment the signal receiving is just effective, and when receiving echoed signal, stopping counter T0, the forward position of the CPU transmitted signal that now T0 records was only and needs to the time between echo pulse signal.
The foregoing is only preferred embodiment of the present invention, is only illustrative for invention, and nonrestrictive.Those skilled in the art is understood, and in the spirit and scope that limit, can carry out many changes to it in invention claim, revise, and even equivalence, but all will fall within the scope of protection of the present invention.

Claims (8)

1. a SCM Based ultrasonic range finder, is characterized in that, it comprises one-chip computer module, ultrasonic transmit circuit, ultrasound examination receiving circuit, driving circuit and display circuit, and each circuit module is all connected with described one-chip computer module;
The required square-wave signal of port output ultrasonic wave transducer of described one-chip computer module, utilizes outer middle fracture to monitor the return signal of described ultrasound examination receiving circuit output; Described display circuit adopts common anode LED charactron; Described one-chip computer module is realized ultrasonic transmit circuit and ultrasound examination receiving circuit is controlled, and one-chip computer module ceaselessly detects its INT0 pin, when the level of INT0 pin thinks that when high level becomes low level ultrasound wave returns; Described one-chip computer module obtains the time that ultrasound wave experiences, and calculates the distance between sensor and barrier.
2. SCM Based ultrasonic range finder according to claim 1, is characterized in that, described one-chip computer module comprises: flash memory, Random Access Data storer, I/O mouth, Timer/Counter, two-stage interrupt structure, serial communication port, oscillator and clock circuit in sheet;
One-chip computer module stops the work of central processing unit under unused mode, allows Random Access Data storer, Timer/Counter, serial communication port and interrupt system to work on; Power-down mode is preserved the content in Random Access Data storer, oscillator quit work and the work of forbidding other all parts until next reset.
3. SCM Based ultrasonic range finder according to claim 1 and 2, it is characterized in that, described one-chip computer module comprises that one for forming the high-gain inverting amplifier of inner oscillator, pin XTAL1 and XTAL2 are respectively input end and the output terminals of this high-gain inverting amplifier, its external quartz crystal and capacitor C 1, C2 is connected in the backfeed loop of amplifier and forms oscillating circuit in parallel.
4. SCM Based ultrasonic range finder according to claim 3, is characterized in that, described one-chip computer module has two kinds of powering modes, by the PD in control special register PCON and IDL position, realizes; PD is power-down mode, when PD=1, activates power down operations pattern, and single-chip microcomputer enters power down operations state; IDL is unused waiting mode, works as IDL=1, activates unused duty, and single-chip microcomputer enters sleep state; As needs enter two kinds of mode of operations simultaneously, PD and IDL are 1 simultaneously, first activate power-down mode.
5. SCM Based ultrasonic range finder according to claim 1, is characterized in that, also comprises single-chip minimum system, in order to guarantee that one-chip computer module can normally work, comprise outside oscillatory circuit, reset circuit and+5V power supply,
Externally, in oscillatory circuit, the XTAL1 of one-chip computer module and XTAL2 pin are connected to respectively by 12MHZ crystal oscillator and two oscillatory circuit both sides that 33PF electric capacity forms, for circuit provides normal time clock;
In reset circuit, single-chip microcomputer RESET pin is connected to positive source through the electric capacity of 20F on the one hand, and realizing powers on automatically resets, and connects power supply on the other hand through switch s.
6. SCM Based ultrasonic range finder according to claim 1 and 2, it is characterized in that, described ultrasonic transmit circuit comprises: reverser and ultrasonic transducer, an electrode of ultrasonic transducer is delivered on square-wave signal one tunnel of the P1.0 port output of described one-chip computer module after one-level reverser, another electrode of ultrasonic transducer is delivered on another road after the reverser of the two poles of the earth, square-wave signal is added to ultrasonic transducer two ends and can improves hyperacoustic emissive porwer.
7. SCM Based ultrasonic range finder according to claim 6, it is characterized in that, described ultrasound examination receiving circuit comprises an integrated chip, its internal circuit comprises prime amplifier, automatic bias level control circuit, limiting amplifier, bandpass filter, peak detector and waveform shaping circuit;
Wherein, between 2 pin of described integrated chip and ground, be connected RC series network, form negative feedback series network; Between 3 pin and ground, be connected detection electric capacity, electric capacity is average value detection greatly, and moment, corresponding sensitivity was low; Between 5 pin and power supply, access a resistance, in order to the centre frequency f0 of bandpass filter to be set, resistance is larger, and centre frequency is lower; 6 pin: connect an integrating capacitor between this pin and ground, standard value is 330pF, too large if this electric capacity is obtained, and can make detection range shorten; 7 pin are guidance command output terminal, are the open collector way of output, so this pin connects a pull-up resistor to power end.
8. SCM Based ultrasonic range finder according to claim 6, it is characterized in that, one delay unit is also set in described one-chip computer module, it is 1ms that described delay unit is set delay time, in emitter transmitting ultrasound wave 1ms, close all interruptions, any signal that receiving circuit receives this device is ignored, after 1ms, start immediately T0, at this moment the signal receiving is just effective, and when receiving echoed signal, stop counter T0, the forward position of the CPU transmitted signal that now T0 records was only and needs to the time between echo pulse signal.
CN201410141607.1A 2014-04-04 2014-04-04 Ultrasonic rangefinder based on single-chip microcomputer CN103941258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410141607.1A CN103941258A (en) 2014-04-04 2014-04-04 Ultrasonic rangefinder based on single-chip microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410141607.1A CN103941258A (en) 2014-04-04 2014-04-04 Ultrasonic rangefinder based on single-chip microcomputer

Publications (1)

Publication Number Publication Date
CN103941258A true CN103941258A (en) 2014-07-23

Family

ID=51189004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410141607.1A CN103941258A (en) 2014-04-04 2014-04-04 Ultrasonic rangefinder based on single-chip microcomputer

Country Status (1)

Country Link
CN (1) CN103941258A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104678400A (en) * 2015-02-12 2015-06-03 无锡市崇安区科技创业服务中心 Ultrasonic ranging system employing pulse counting
CN105116530A (en) * 2015-07-30 2015-12-02 苏州欧可罗电子科技有限公司 High-efficiency intelligent heating type microscope
CN106443683A (en) * 2016-10-31 2017-02-22 广西大学 Portable distance measuring instrument based on ultrasonic waves
CN106842208A (en) * 2017-03-15 2017-06-13 成都金广通科技有限公司 Measurement apparatus when contractual right of land is registered
CN106855625A (en) * 2017-03-15 2017-06-16 成都金广通科技有限公司 The supersonic range finder of land property right information
CN110933273A (en) * 2019-11-27 2020-03-27 重庆特斯联智慧科技股份有限公司 Face shooting device and system suitable for ground installation of building

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08304536A (en) * 1995-05-12 1996-11-22 Fuji Electric Co Ltd Ultrasonic switch
JPH1054872A (en) * 1996-08-08 1998-02-24 Tokico Ltd Ultrasonic distance meter
CN201837720U (en) * 2010-10-26 2011-05-18 林禹鹏 Ultrasonic distance measuring device based on single-chip microcomputer control
CN203117695U (en) * 2013-01-22 2013-08-07 吴贵森 Ultrasonic control module

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08304536A (en) * 1995-05-12 1996-11-22 Fuji Electric Co Ltd Ultrasonic switch
JPH1054872A (en) * 1996-08-08 1998-02-24 Tokico Ltd Ultrasonic distance meter
CN201837720U (en) * 2010-10-26 2011-05-18 林禹鹏 Ultrasonic distance measuring device based on single-chip microcomputer control
CN203117695U (en) * 2013-01-22 2013-08-07 吴贵森 Ultrasonic control module

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
沈燕 等: "基于单片机的超声波测距仪设计", 《现代电子技术》, vol. 35, no. 7, 1 April 2012 (2012-04-01), pages 126 - 129 *
王智勇: "基于89S52的超声波测距仪设计", 《机械与电子》, no. 19, 5 July 2011 (2011-07-05) *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104678400A (en) * 2015-02-12 2015-06-03 无锡市崇安区科技创业服务中心 Ultrasonic ranging system employing pulse counting
CN105116530A (en) * 2015-07-30 2015-12-02 苏州欧可罗电子科技有限公司 High-efficiency intelligent heating type microscope
CN106443683A (en) * 2016-10-31 2017-02-22 广西大学 Portable distance measuring instrument based on ultrasonic waves
CN106842208A (en) * 2017-03-15 2017-06-13 成都金广通科技有限公司 Measurement apparatus when contractual right of land is registered
CN106855625A (en) * 2017-03-15 2017-06-16 成都金广通科技有限公司 The supersonic range finder of land property right information
CN110933273A (en) * 2019-11-27 2020-03-27 重庆特斯联智慧科技股份有限公司 Face shooting device and system suitable for ground installation of building

Similar Documents

Publication Publication Date Title
CN103678034B (en) It is backed up priority-based in non-volatile logic array
US9378846B2 (en) Non-mounted storage test device based on FPGA
EP2901245B1 (en) Efficient low power exit sequence for peripheral devices
US8510587B2 (en) Time synchronization system and server using a baseboard management controller acquiring time signals to record occurrence time of system logs before than host system
CN101937726B (en) Fast data eye retraining for a memory
CN104267707B (en) A kind of environmental data multiple spot real-time acquisition system
CN107532884B (en) Determining curvature of a device in an intelligent bendable system
US8111040B2 (en) Method and apparatus for handling a charging state in a mobile electronic device
US7519005B2 (en) Single-wire communication bus for miniature low-power systems
KR100905795B1 (en) Mobile device of supporting uart and usb communication using same connector and operating method there-of
US7681059B2 (en) Computer sleep/awake circuit
US8384559B2 (en) Sensor device with flexible interface and updatable information store
CN105474192A (en) Event-triggered storage of data to non-volatile memory
US10241952B2 (en) Throttling integrated link
US9146823B2 (en) Techniques for testing enclosure management controller using backplane initiator
US10764026B2 (en) Acoustic gesture recognition systems and methods
JP2005508531A (en) Data processing system and method having on-chip background debug system
CN101458552B (en) Power management method and system
US6456544B1 (en) Selective forwarding of a strobe based on a predetermined delay following a memory read command
CN101216788B (en) Reset control chip and method
US9170912B1 (en) System and methods for power and energy modeling in computing devices using system call tracing
US7685448B2 (en) Computer system sleep/awake circuit
US20150113355A1 (en) Data storage device
US7330989B2 (en) Method and apparatus of automatic power management control for Serial ATA interface utilizing a combination of IOP control and specialized hardware control
CN102360329B (en) Bus monitoring and debugging control device and methods for monitoring and debugging bus

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140723

RJ01 Rejection of invention patent application after publication