Avoid I2C Address Conflicts On ESP32 By Pin Muxing

Using hardware I2C on an ESP32? Do you need to connect multiple I2C devices with the same address? Normally, you wouldn’t be able to do that without extra parts, but on the ESP32, [BastelBaus] has found a nice hack — just connect your devices to different pins and slightly abuse the ESP32 GPIO muxing, no extra hardware required!


This is a companion discussion topic for the original entry at https://hackaday.com/2024/02/28/avoid-i2c-address-conflicts-on-esp32-by-pin-muxing/