Why cannot GPIO_1 and GPIO_3 be used for I2C ?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
costo
Normal user
Posts: 490
Joined: 21 Nov 2015, 15:03

Why cannot GPIO_1 and GPIO_3 be used for I2C ?

#1 Post by costo » 23 Jan 2016, 13:45

I know the reason, it is because GPIO_1 and GPIO_3 are used as UART, which is/can be used to monitor the output. That is a very usefull feature.
But monitoring the uart is only usefull while evaluating and testing a new or specific setup. When you have a working standalone circuit with sensors etc, usually you are not interested in monitoring text_output from ESPEasy.
There are ESP modules which have so little GPIO_pins that defining I2C pins is difficult, for such modules it would be favorable to use GPIO_1 and _3 for that purpose.

So is it an idea to make GPIO_1 & _3 available for I2C in future versions of ESPEasy ?

cherowley
Normal user
Posts: 125
Joined: 14 Jan 2016, 09:39

Re: Why cannot GPIO_1 and GPIO_3 be used for I2C ?

#2 Post by cherowley » 28 Jan 2016, 11:36

+1

Would be useful for adding sensor inputs to the commercial H801 rgbww dimmer...

Johnny.sk
Normal user
Posts: 4
Joined: 19 Jan 2016, 11:18

Re: Why cannot GPIO_1 and GPIO_3 be used for I2C ?

#3 Post by Johnny.sk » 29 Jan 2016, 11:10

Yes, I thinked about posibility to use GPIO01 and GPIO03, same as each other GPIOs.. Not only for I2C. In HW page will be setup, and after reboot will be disabled Serial output if one of pin have another setting then Default.
I wanted to just hard change It in code, but this setting is deeper in ESP8266 library, not only in ESP Easy library.

Post Reply

Who is online

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