-->
Page 1 of 1

ESP 8266 and I2C between 2 ESP8266 as Maser and Slave,

PostPosted: Sat Oct 30, 2021 11:01 am
by Rainer72
Hello,
i try the last time to connect 2x 8266 with I2C.
One as Master and one as slave.
But without result. I read so many in Web and try a lot of variations, but nothing work.

The I2C bus works fine, because i have an I2C OLED TFT or a I2C Sensor on same bus for testing.
Then I disable the TFT and the Sensor and tried only the Master and slave.

I use the ESP 8266 12F Modules on an Test PCB from Web.
So i only can see over a LED or serial print that the master Slave connection is working.

The 2 Wires SCL and SDA was correct and only 7 cm long.

Has anybody any idea what i´am doing wrong ?

I have so may tries , but Ithing i set here the link what i also tried.
There you see what I do exactly like descriped.

https://www.electronicwings.com/nodemcu ... rduino-ide

And this do not works, but on both 12F I can access a Oled TFT or a I2C Sensor.

best regards
Rainer

Re: ESP 8266 and I2C between 2 ESP8266 as Maser and Slave,

PostPosted: Sun Oct 31, 2021 12:29 am
by JurajA
I2C slave doesn't work on esp8266. hard to do it as software I2C