I2C change pins, Arduino uno R4 wifi

Dear forum.
According to different posts it might be possible changing SDA/SCL pins for I2C bus on Arduino uno R4 wifi ? At first trials I2C slave works perfect via standard D18/D19 pins. For different reasons a need for moving to other pins appeared and unsuccessful trials began readressing SDA/SCL pins.

I have seen forum posts instructing commands as wire.begin(D11, D12); and TwoWire::begin(D11, D12); but no success. It seems to be somewhat board dependent and I will be thankful for tips and ideas. Only above mentioned single i2c slave has been used for these tests, slave is not responding and not visible via i2c address scanner when trying readdressing i2c pins. The commands wire.begin and TwoWire::begin gives a lot of error messsages with uno R4 wifi which does not seem to appear with other boards.
Wire.h library is used.

The QWIIC connector is Wire1; it's a 3.3V bus, not sure if it matters in your scenario.

I can't help you further. With some hacking you should be able to get 4 I2C busses but I have no idea how.

1 Like
#define WIRE_SDA_PIN      18 /* A4 */
#define WIRE_SCL_PIN      19 /* A5 */
#define WIRE1_SDA_PIN     27
#define WIRE1_SCL_PIN     26

26/27 are probably the QWIIC pins

1 Like

Thank you for replies and apologies for me being unclear.
Iam hoping to find a way readdressing/using gpio pins such as D11, D12 for i2c.
Im not sure it is possbile on uno R4 wifi.