i am using a Mblink
(from digilent) for this tutorial, this approach would work for most I2C devices. connect the I2C sensor to the I2C pins refer the connection diagram from here
, make sure you connect the a 3.3v I2C sensor.
SDA >>> SDA
the diagram below is from http://elinux.org/RPi_Low-level_peripherals