数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

SRF02 数据表(PDF) 4 Page - List of Unclassifed Manufacturers

部件名 SRF02
功能描述  Ultrasonic range finder
PDF  8 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  ETC2 [List of Unclassifed Manufacturers]
网页  
标志 ETC2 - List of Unclassifed Manufacturers

SRF02 数据表(HTML) 4 Page - List of Unclassifed Manufacturers

  SRF02 Datasheet HTML 1Page - List of Unclassifed Manufacturers SRF02 Datasheet HTML 2Page - List of Unclassifed Manufacturers SRF02 Datasheet HTML 3Page - List of Unclassifed Manufacturers SRF02 Datasheet HTML 4Page - List of Unclassifed Manufacturers SRF02 Datasheet HTML 5Page - List of Unclassifed Manufacturers SRF02 Datasheet HTML 6Page - List of Unclassifed Manufacturers SRF02 Datasheet HTML 7Page - List of Unclassifed Manufacturers SRF02 Datasheet HTML 8Page - List of Unclassifed Manufacturers  
Zoom Inzoom in Zoom Outzoom out
 4 / 8 page
background image
Locations, 2 and 3, are the 16bit unsigned result from the latest ranging - high byte first. The meaning of this
value depends on the command used, and is either the range in inches, or the range in cm or the flight time
in uS. A value of 0 indicates that no objects were detected. Do not initiate a ranging faster than every 65mS
to give the previous burst time to fade away.
Locations, 4 and 5, are the 16bit unsigned minimum range. This is the approximate closest range the sonar
can measure to. See the Autotune section below for full details.
Commands
The are three commands to initiate a ranging (80 to 82), to return the result in inches, centimeters or
microseconds. Another set of three commands (86 to 88) do the same, but without transmitting the burst.
These are used where the burst has been transmitted by another sonar. It is up to you to synchronize the
commands to the two sonar's. There is a command (92) to transmit a burst without doing the ranging and
also a set of commands to change the I2C address.
Ranging
To initiate a ranging, write one of the above commands to the command register and wait the required
amount of time for completion and read the result. The echo buffer is cleared at the start of each ranging.
The ranging lasts up to 66mS, after this the range can be read from locations 2 and 3.
Checking for Completion of Ranging
You do not have to use a timer on your own controller to wait for ranging to finish. You can take advantage
of the fact that the SRF02 will not respond to any I2C activity whilst ranging. Therefore, if you try to read
from the SRF02 (we use the software revision number a location 0) then you will get 255 (0xFF) whilst
ranging. This is because the I2C data line (SDA) is pulled high if nothing is driving it. As soon as the
ranging is complete the SRF02 will again respond to the I2C bus, so just keep reading the register until its
not 255 (0xFF) anymore. You can then read the sonar data. Your controller can take advantage of this to
perform other tasks while the SRF02 is ranging. The SRF02 will always be ready 70mS after initiating the
ranging.
LED
The red LED is used to flash out a code for the I2C address on power-up (see below). It also gives a brief
flash during the "ping" whilst ranging.
Changing the I2C Bus Address
Command
Action
Decimal
Hex
80
0x50
Real Ranging Mode - Result in inches
81
0x51
Real Ranging Mode - Result in centimeters
82
0x52
Real Ranging Mode - Result in micro-seconds
86
0x56
Fake Ranging Mode - Result in inches
87
0x57
Fake Ranging Mode - Result in centimeters
88
0x58
Fake Ranging Mode - Result in micro-seconds
92
0x5C
Transmit an 8 cycle 40khz burst - no ranging takes
place
96
0x60
Force Autotune Restart - same as power-up. You can
ignore this command.
160
0xA0
1st in sequence to change I2C address
165
0xA5
3rd in sequence to change I2C address
170
0xAA
2nd in sequence to change I2C address



Html Pages

1 2 3 4 5 6 7 8


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com