http://www.datasheet4u.com

900,000+ Datasheet PDF Search and Download

Datasheet4U offers most rated semiconductors datasheets pdf


ETC
ETC

SRF05 Datasheet

Ultra Sonic Ranger


SRF05 Datasheet Preview


SRF05 Technical Documentation
www.DataSheet4U.com
SRF05 - Ultra-Sonic Ranger
Technical Specification
Page 1 of 4
Introduction
The SRF05 is an evolutionary step from the SRF04, and has been designed to increase flexibility, increase
range, and to reduce costs still further. As such, the SRF05 is fully compatible with the SRF04. Range is
increased from 3 meters to 4 meters. A new operating mode (tying the mode pin to ground) allows the SRF05
to use a single pin for both trigger and echo, thereby saving valuable pins on your controller. When the mode
pin is left unconnected, the SRF05 operates with separate trigger and echo pins, like the SRF04. The SRF05
includes a small delay before the echo pulse to give slower controllers such as the Basic Stamp and Picaxe
time to execute their pulse in commands.
Mode 1 - SRF04 compatible - Separate Trigger and Echo
This mode uses separate trigger and echo pins, and is the simplest mode to use. All code examples for the
SRF04 will work for the SRF05 in this mode. To use this mode, just leave the mode pin unconnected - the
SRF05 has an internal pull up resistor on this pin.
file://D:\shared folders servidor\PDF\Organizada\Sensores\Distancia\SRF05 Technica... 29/05/2008
PDF created with pdfFactory trial version www.pdffactory.com
Page 1

SRF05 Technical Documentation
www.DataSheet4U.com
Page 2 of 4
Mode 2 - Single pin for both Trigger and Echo
This mode uses a single pin for both Trigger and Echo signals, and is designed to save valuable pins on
embedded controllers. To use this mode, connect the mode pin to the 0v Ground pin. The echo signal will
appear on the same pin as the trigger signal. The SRF05 will not raise the echo line until 700uS after the end
of the trigger signal. You have that long to turn the trigger pin around and make it an input and to have your
pulse measuring code ready. The PULSIN command found on many popular controllers does this
automatically.
file://D:\shared folders servidor\PDF\Organizada\Sensores\Distancia\SRF05 Technica... 29/05/2008
PDF created with pdfFactory trial version www.pdffactory.com
Page 2

SRF05 Technical Documentation
www.DataSheet4U.com
Page 3 of 4
To use mode 2 with the Basic Stamp BS2, you simply use PULSOUT and PULSIN on the same pin, like this:
SRF05 PIN 15
Range VAR Word
' use any pin for both trigger and echo
' define the 16 bit range variable
SRF05 = 0
PULSOUT SRF05, 5
PULSIN SRF05, 1, Range
Range = Range/29
' start with pin low
' issue 10uS trigger pulse (5 x 2uS)
' measure echo time
' convert to cm (divide by 74 for inches)
Calculating the Distance
The SRF05 Timing diagrams are shown above for each mode. You only need to supply a short 10uS pulse to
the trigger input to start the ranging. The SRF05 will send out an 8 cycle burst of ultrasound at 40khz and
raise its echo line high (or trigger line in mode 2). It then listens for an echo, and as soon as it detects one it
lowers the echo line again. The echo line is therefore a pulse whose width is proportional to the distance to
the object. By timing the pulse it is possible to calculate the range in inches/centimeters or anything else. If
nothing is detected then the SRF05 will lower its echo line anyway after about 30mS.
The SRF04 provides an echo pulse proportional to distance. If the width of the pulse is measured in uS, then
dividing by 58 will give you the distance in cm, or dividing by 148 will give the distance in inches. uS/58=cm
or uS/148=inches.
The SRF05 can be triggered as fast as every 50mS, or 20 times each second. You should wait 50ms before
the next trigger, even if the SRF05 detects a close object and the echo pulse is shorter. This is to ensure the
ultrasonic "beep" has faded away and will not cause a false echo on the next ranging.
The other set of 5 pins
The 5 pins marked "programming pins" are used once only during manufacture to program the Flash memory
on the PIC16F630 chip. The PIC16F630's programming pins are also used for other functions on the SRF05,
so make sure you don't connect anything to these pins, or you will disrupt the modules operation.
Changing beam pattern and beam width
You can't! This is a question which crops up regularly, however there is no easy way to reduce or change the
beam width that I'm aware of. The beam pattern of the SRF05 is conical with the width of the beam being a
function of the surface area of the transducers and is fixed. The beam pattern of the transducers used on the
SRF05, taken from the manufacturers data sheet, is shown below.
file://D:\shared folders servidor\PDF\Organizada\Sensores\Distancia\SRF05 Technica... 29/05/2008
PDF created with pdfFactory trial version www.pdffactory.com
Page 3

SRF05 Technical Documentation
www.DataSheet4U.com
There is more information in the sonar faq.
Page 4 of 4
file://D:\shared folders servidor\PDF\Organizada\Sensores\Distancia\SRF05 Technica... 29/05/2008
PDF created with pdfFactory trial version www.pdffactory.com
Page 4
Part Number SRF05
Manufactur ETC
Description Ultra Sonic Ranger
Total Page 4 Pages
PDF Download
SRF05 datasheet
Download PDF File
SRF05 datasheet
View Html for PC & Mobile


Related Datasheet

SRF01 , SRF02 , SRF02 , SRF04 , SRF04 , SRF04 , SRF05 , SRF0905 , SRF0905-100Y , SRF0905-102Y , SRF0905-202Y , SRF0905-250Y , SRF0905-251Y , SRF0905-400Y , SRF0905-471Y , SRF0905-472Y , SRF0905-500Y , SRF0905-501Y , SRF0905-652Y ,

site map

webmaste! click here

contact us

Buy Components