two i2c modules running simultaneously


hi, want connect gyro (mpu6050) , barometer (bmp180) uno. both use i2c protocol , know after reading http://forum.arduino.cc/index.php?topic=322193.0 modules can work together. thing should remove pull-up resistors.
but got may stupid question...

as far can tell topic linked above considers 2 modules running under same voltage. let 3 v.

but if gyro running under 5v , barometer under 3v? so, lets remove pull-up resisters gyro , total amount of resistance defined barometer pull-up resistors.

will bad happen if solder i2c lines of 1 module module lines? because think way put different voltages in parallel way , resulting voltage won't 5 , not 3 sure.

please tell me if i'm mistaken , if i'm not :)
and should gyro (5v) , barometer (3v) working sharing same i2c bus?

if use 5v sensor i'm betting use 5v arduino. use 3v sensor need level shifter. not matter if use sensor or alone. go 5v arduino 3v sensor need shifter. , i2c need @ least sda line bidirectional level shifter.

just leave pull resistors in place then.


Arduino Forum > Using Arduino > Programming Questions > two i2c modules running simultaneously


arduino

Comments