I2C on ESP8266's RX and TX

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
iBobík
New user
Posts: 3
Joined: 02 Jul 2017, 00:33

I2C on ESP8266's RX and TX

#1 Post by iBobík » 02 Jul 2017, 01:59

ESP8266 has TX and RX on GPIO1 and GPIO3. If we does not have enough ports (on ESP-01 it is common ;)) and does not need serial connection we can reconfigure this ports to anything else (as any other GPIO).

While there are many examples using GPIO1 and GPIO3 to other use-cases than RX and TX, ESPEasy seems like it can not configure it for SDA and SCL (it is disabled in the dropdown).

Is there some good reason why this ports are disabled to be used?
How to override it?

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: I2C on ESP8266's RX and TX

#2 Post by toffel969 » 02 Jul 2017, 10:11

They are not....

But as long as they are used for serial the can't be SDA/scl.

First deactivate serial port under advanced. Then gpio1&3 will be available for i2c under hardware
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 0 guests