This is the page for the SRF08 Ultrasonic Ranger, with I2C interface. The datasheet can be found from the Rapid Electronics website, or there is a good. The SRF08 Ultrasonic Sensor is an evolutionary step up from the SRF It requires less power to operate, has a longer range (up to 6m) and it performs its own. [an error occurred while processing this directive]. SRF08 Ultra sonic range finder . Technical Specification. Communication with the SRF08 ultrasonic.
|Genre:||Health and Food|
|Published (Last):||12 February 2016|
|PDF File Size:||2.55 Mb|
|ePub File Size:||2.55 Mb|
|Price:||Free* [*Free Regsitration Required]|
The SRF08 is always a slave – never a bus master. If you only wish to get at the srf008 information a bit daatsheet and will continue to fire the SRF08 at 65ms of slower, then all will be well.
The sgf08 must be sent to the command register at location 0, which means 4 separate write transactions on the I2C bus. The datasheet can be found from the Rapid Electronics website, or there is a good resources at Robot Electronics. They are normally located with the bus master rather than the slaves.
The first echo range is placed in locations 2,3. Reads the current temperature. The maximum gain setting is stored only in the CPU’s RAM and is initialized to maximum on power-up, so if you only want do a ranging every 65mS, or longer, you can ignore the Range and Gain Registers.
If an echo is received within a bytes time slot then it will be set to no-zero, otherwise it will be zero. If a location high and low bytes is 0, then there will be no further reading in the rest of the registers.
It is srf80 better than this, however so many factors affect accuracy that the manufacturer won’t specify anything better than this. The next two locations, 2 and 3, are the 16bit unsigned result from the latest ranging – high byte first. Reading from location 0 returns the SRF08 software revision.
SRF08 – High Performance Ultrasonic Range Finder
More usefully, 24 0x18 gives a range of 1 metre and 0x8C is 6 metres. To be able to fire the SRF08 at a faster rate. 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.
ANN mode provides a 32 byte buffer locations 4 to 35 inclusive where each byte represents the uS maximum flight time divided into 32 chunks of uS each – equivalent to about mm of range. The input to your network should be 0 if dqtasheet byte is zero and 1 if its non-zero.
Gets the measured range from the module. If you are in any doubt about datasheft Range and Gain Registers, remember they are automatically set by the SRF08 to their default values when it is powered-up. This is increased at approx. This means that writing a ranging command to I2C address 0 0x00 will start all sonar’s ranging at the same time.
Your controller can take advantage of this to perform other tasks while the SRF08 is ranging. Write the 3 sequence commands in the correct order followed by the address. It cannot be read.
(PDF) SRF08 Datasheet download
Example; to change the address of a sonar currently at 0xE0 the default shipped address to 0xF2, write the following to address 0xE0; 0xA0, 0xAA, 0xA5, 0xF2. The purpose of providing a limit to the maximum gain is to allow you to fire the sonar more rapidly than 65mS. Note that the relationship between the Gain Register setting and the actual gain is not a linear one.
The analogue gain register sets the Maximum gain of the analogue stages.
Try playing with different settings until you get the result you want. The actual measured current profile is as follows.
To reduce this possibility, the maximum gain can be reduced to limit the modules sensitivity to the weaker distant echo, whilst still able to detect close by objects. The next two 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.
This is increased at approx. The echo buffer is cleared at the start of each ranging. I would recommend the SRF02 for this. Some modules such as the OOPic already have pull-up resistors and you do not need to add any more.
If a location high and low bytes is 0, then there will be no further reading in the rest of the registers. If an echo is received within a bytes time slot then it will be set to no-zero, otherwise it will be zero. You can then read the sonar data.
Ranging Mode 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 as many results as you wish. A potential hazard with this is that the second ranging may pick up a distant echo returning from the previous “ping”, give a false result of a close by object when there is none.
By default, the ranging lasts for 65mS, but can be changed by writing to the range register at location 2. You only need one pair of resistors, not a pair for every module. There is no easy way fatasheet reduce or change the beam width. It also gives a brief flash during the “ping” whilst ranging.
SRF08 Ultrasonic Ranger – Cookbook | Mbed
If you do so, then you will likely need to change the analogue gain by writing to location 1. These commands must be sent in the correct sequence to change the I2C address, additionally, No other command may be issued in the middle of the sequence. Recent changes Writing a Library. Arranging the data like this should be better for a neural net than the other formats. The SRF08 is always a slave – never a bus master.