參數(shù)資料
型號: AN597
廠商: Microchip Technology Inc.
英文描述: Implementing Ultrasonic Ranging
中文描述: 實現(xiàn)超聲波測距
文件頁數(shù): 1/8頁
文件大?。?/td> 64K
代理商: AN597
1995 Microchip Technology Inc.
DS00597A-page 1
FIGURE 1:
RANGING MODULE INTERFACE
BINH
INIT
ECHO
TRANSMIT
POLAROID 6500 RANGING MODULE
RE1
RE0
CCP1
PIC16C74
TRANSDUCER
INTRODUCTION
Object ranging is essential in many types of systems.
One of the most popular ranging techniques is
ultrasonic ranging. Ultrasonic ranging is used in a wide
variety of applications including:
Auto focus cameras
Motion detection
Robotics guidance
Proximity sensing
Object ranging
This application note describes a method of interfacing
PIC16CXX microcontrollers to the Polaroid 6500
Ranging Module. This implementation uses a
minimum of microcontroller resources, a CCP module
and two I/O pins. The two major components of the
system are:
Microcontroller
Polaroid 6500 Ranging Module
The microcontroller performs the intelligence and
arithmetic functions for ultrasonic ranging, while the
Polaroid 6500 Ranging Module performs the ultrasonic
signal transmissions and echo detection.
Author:
Robert Schreiber
Logic Products Division
THEORY OF OPERATION
Ultrasonic ranging entails transmitting a sound wave
and measuring the time that it takes for the sound wave
to reflect off of an object and back to the origin. The
reflection time is proportional to the distance that the
object is from the source. In this implementation, the
sound wave is transmitted and received from the same
transducer. Therefore, a blanking interval is required
between signal transmission and reception to eliminate
false echoes (i.e., a transmitted signal being detected
as its own echo).
CIRCUIT CONFIGURATION
In this implementation, a PIC16C74 is connected to the
ranging module as shown in Figure 1. The RE0 and
RE1 I/O pins are configured as digital outputs and are
tied to INIT and BINH, respectively. The CCP1 pin is
configured as a digital input and is tied to ECHO
through a pull-up resistor. The pull-up resistor is
needed since the ECHO signal is an open-collector
output. The CCP1 pin is configured for capture mode
(CCP1CON). Figure 2 shows the timing relationship for
V
DD
and the three signal lines (INIT, BINH, and ECHO).
Note:
The ranging module requires 5.0 millisec-
onds to stabilize during power-up.
AN597
Implementing Ultrasonic Ranging
Thi d
t
t d
ith F
M k
4 0 4
相關PDF資料
PDF描述
an6077 An IC Operational Transconductance Amplifier With Power Capability
AN610 Using the 24LC21 Dual Mode Serial EEPROM
an6668 ECONOLINE: REC3-S_DR/H1 - 3W DIP Package- 1kVDC Isolation- Regulated Output- UL94V-0 Package Material- Continuous Short Circiut Protection- Internal SMD design- 100% Burned In- Efficiency to 75%
AN669 Embedding Assembly Routines into C Language Using a Floating Point Routine as an Example
AN754 Understanding Microchip’s CAN Module Bit Timing
相關代理商/技術參數(shù)
參數(shù)描述
AN5C10A 制造商:n/a 功能描述:Ships in 2 days
AN5C13A 制造商:AN# - MILITARY 功能描述:
AN5C21A 制造商:AN# - MILITARY 功能描述:
AN5C23A 制造商:AN# - MILITARY 功能描述:
AN5C25A 制造商:AN# - MILITARY 功能描述: