interface one arduino with 4 I2C sensors

Hi all,

I need to interface one Arduino Uno with these sensors through I2C

2x minIMU-v2 Pololu
1x ECG
1x temperature sensor MLX90614

Can I do that with I2C multiplexer? Would you please giving me a tutorial about that?

Thanks

As long as you can select different addresses for all the devices you should be able to work it without a multiplexer.

EDIT: A quick look at the IMU and your out of luck doing it with just address changes as they are fixed addresses.

A good tutorial to begin :
http://www.nxp.com/documents/user_manual/UM10204.pdf

A second, also very good :grin: :

also :

Riva:
As long as you can select different addresses for all the devices you should be able to work it without a multiplexer.

EDIT: A quick look at the IMU and your out of luck doing it with just address changes as they are fixed addresses.

Hi, yes I know that. Will I2C multiplexer help in this case?

joshyu:
Hi, yes I know that. Will I2C multiplexer help in this case?

Though I have not used one, yes that should work. Maybe something like this or this.

Often sensors have different I2C addresses so you can just connect them all together. Can you provide links to the datasheets?

You can always run the I2C scanner on that page to work out their addresses (connect one at a time).

I should leave the reply to the OP but as I have already checked this I have the data your looking for...
Melexis MLX90614 has a user programmable address.
No idea about the ECG.
The 2x minIMU-v2 Pololu is the stumbling block as product page says...

The gyro, accelerometer, and magnetometer each have separate slave addresses on the I²C bus. The board pulls the gyro’s SA0 pin high, setting its slave address to 1101011b. The accelerometer’s slave address is fixed to 0011001b and the magnetometer’s slave address is fixed to 0011110b.

In that case a multiplexer may well help. However why do you need two accelerometers?