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.
|Published (Last):||28 October 2006|
|PDF File Size:||13.34 Mb|
|ePub File Size:||6.81 Mb|
|Price:||Free* [*Free Regsitration Required]|
You can then read the sonar data. To set the maximum gain, just write one of these values to the gain register at location 1.
SRF08 Ultrasonic Ranger – Cookbook | Mbed
Example; to change the address of a sonar currently at 0xE0 the default shipped address to 0xF2, write the following dtasheet address 0xE0; 0xA0, 0xAA, 0xA5, 0xF2.
The SRF08 is always a slave – never a bus master. If an echo is received within a bytes time slot then it will be set to no-zero, otherwise it will be zero. Connections The “Do Not Connect” pin should be left unconnected.
More usefully, 24 0x18 gives a range of 1 metre and 0x8C is 6 metres. Setting the Range Register to 1 0x01 gives a xatasheet range of 86mm. Gets the measured light intensity from the module.
SRF08 Ultrasonic Sensor-DFRobot
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. You only need one pair of resistors, not a pair for every module.
Arranging the data like this should be better for a neural net than the other formats. To be able to fire the SRF08 at a faster rate.
SRF08 Ultrasonic Sensor
The default shipped address of the SRF08 is 0xE0. These commands must be sent in the correct sequence to change the I2C address, additionally, No other command may datashert issued in the middle of the sequence.
The next two locations, 2 and 3, are the 16bit unsigned result from the latest ranging – high byte first.
If a location high and low bytes is 0, then there will be no further reading in the rest of the registers. There are up to a further 16 results indicating echo’s from more distant objects. The results must be read individually from each sonar’s real address. If you appear to get false readings, it may be echo’s from previous “pings”, try going back to firing the SRF08 every 65mS or longer slower.
Take care not to set more than one sonar to the same address, there will be a bus collision and very unpredictable results. The flashing is terminated immediately on sending a command the SRF Current Consumption Average current consumption measured on our prototype is around 12mA during ranging, and 3mA standby.
To be able to fire the SRF08 at a faster rate. By default, this is 65mS or the equivalent of 11 metres of range. One long flash followed by a number of shorter flashes indicating its address. The light intensity can be read from the Light Sensor Register at location 1 at the same time that you are reading the range data. It is possible to reduce the time the SRF08 listens for an echo, and hence the range, by writing to the range register at location 2.
They are normally located with the bus master rather than the slaves. Therefore, if you try to read from the SRF08 we use the software revision number a location 0 then you will get 0xFF whilst ranging. 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. 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.
Write the 3 sequence commands in the correct order followed by the address. See the Changing Range and Analogue Gain sections below. Gets the measured range from the module. Analogue Gain The analogue gain register daasheet the Maximum gain of the analogue stages. We have examples of using the SRF08 module datasheer a wide range of popular controllers.
The beam pattern of the SRF08 is conical with the width of the beam being a function of the surface area of the transducers and is fixed. So if an echo is received from within the first mm, location 4 will be non-zero. Accuracy Devatech quotes cm. Maximum possible gain is reached after about mm of range.