In addition to the vast amount of already provided libraries, i have written some libraries during my projects. I am publishing the library code under the LGPL license. Click on the following links for further information and downloads.
SRF02 Ultrasonic Distance Sensor
Code to read one or more SRF02 ultrasonic distance sensors (I2C/TWI interface)