Hi guys,
I want to use sd card module and barometer sensor, but they both are using sda and scl pins. Does any body know how can I solve this problem. At least can I change borometer's sda and scl pins programmatically.
Hi guys,
I want to use sd card module and barometer sensor, but they both are using sda and scl pins. Does any body know how can I solve this problem. At least can I change borometer's sda and scl pins programmatically.
I am using Arduino Mega 2560, Barometre (BMP180)
They would typically have different I2C addresses.
Connect in parallel.
If they have the SAME I2C address, then you need a multiplexer.
Looks like out of stock at the moment, can ask site owner Wayne when he'll have more
Or buy a chip and wire up your own
SD card modules typically use SPI (d10-11-12-13), not I2C (A4-A5).
Double check on your card.
CrossRoads:
SD card modules typically use SPI (d10-11-12-13), not I2C (A4-A5).
Double check on your card.
Oh sorry, I am using Real Time Clock (RTC) not sd card. Real Time Clock is using sda and scl pins.
Thank you very much for reply, I will try now connect in parallel.
thank you again
Yes they are working in parallel.