Srf08
The devantech units SRF08 all respond to the i2c general broadcast address 0, thus you can trigger any number of units simultaniusly. Then you read each distance emasured one by one. Obviusly the transducers cant know if the echo they recive originated from itself or one of the others, but if you mount them at 30 deg angles (each sensor has a 30 degree field of view) this shouldnt happen to often. And even if you do get an echo from a soundpulse originated from one of the other transcuders thats not such a big deal, IF (and thats a big IF) they all fire at once.
Distanse is calulated as the time from pulse fired to the time echo is resived. Where the pulse comes from doesnt matter that much. Try mounting 3 sensors on the front of your robot at 30 degree angles. Draw that on paper and simulate the robot running into a corner. You will see that it works fine, even if the sound bounces of several objects. (of course there are situatsions that the transducers will give wrong readings to, its not a perfect world, but this aproch ive outlined works fine in most cases)
One good way to augment between many distanse measurments is to consider each distance measured, and the angle the reciving sensor is mounted as a vector and then use vector sum on all sensors. the result is a vector, representing a repulsive force on your robot and will tell you in what direction you robot should move to be most likley to not crash into anything.
When calulating the vectors its probably a good idea to use the square of the distance as the vector length, and then ofcourse the angle the sensor is mounted compared to the forward direction of robot as the angle. Summing these vectors will give you a nice and easy result to work with.
PS: The vector sum aproch has been used amongst others by Rodney Brooks when he built Allen, the first robot to use his subsumption architechure of AFSM's. I can highly recomend reading his article colection "Cambrian Inteligance" if you are itnrested in inteligent robots (making things smarter is not always as hard as youd think)
Best regards,
Ole