efrag wrote:Hi, I'm looking for an example or source code in VB to measure distance with two SRF05 and I2C-USB module.
Have a look at the GPIO14
This will interface the SRF05's which do not have I2C, to the USB-I2C module. There is an example on that page for visual C via an RF04/CM02 (same command set as USB-I2C), which will at least show you what commands to send. Our examples page:
contains a VB example for talking to a 24C02 EEPROM via the USB-I2C. You should be able to get it up and running by studying these.
Alternatively, you could chose an I2C sonar, such as the SRF02, SRF08 or SRF10.