2 i2c to arduino mega2560

hi <3 it is possible to connect a Bmp180 i2c sensor and a 9DOF IMU i2c to a arduino mega 2560.

Saw that there is only on sda and scl :confused: :confused:

Yes, I2C is a bus that can connect up to 128 devices on the same 2 pins. As long as the devices all have unique addresses.

And actually on a Mega there are 2 places to connect to the bus. Pins 20 and 21 and the 2 positions on the header beside Aref.

groundFungus:
Yes, I2C is a bus that can connect up to 128 devices on the same 2 pins. As long as the devices all have unique addresses.

And actually on a Mega there are 2 places to connect to the bus. Pins 20 and 21 and the 2 positions on the header beside Aref.

Thank You <3

and SPI
like this it is working ?