Page 1 of 1

I2C address conflict, 4 sensors same bus, how to fix?

Posted: Sun Jun 28, 2026 2:00 pm
by mark_ee_qc
Thesis sensor stack: BME280, OLED, MPU6050, RTC. Two devices claim 0x68 (MPU6050 + DS3231 RTC). Bus locks up.

Tried:
  • AD0 pin to GND on MPU (changes to 0x69)
Works. Pero hindi ko alam what to do if both devices have fixed address. Options:
  • TCA9548A multiplexer (8 channels), PHP 200
  • Two separate I2C buses on ESP32 (Wire + Wire1)
  • Software I2C library
Mux fee for 4 sensors feels overkill. Sino dito gumamit ng TCA9548A in production?