ESP8266 Serial pins problem.

Hi.
I would like to use from Serial Programing pins as GPIO.Actually I want to use both of them I mean Serial Programming and GPIO, but I don't know what circuit I should use.
Very thank you.

leoncorleone:
Hi.
I would like to use from Serial Programing pins as GPIO.Actually I want to use both of them I mean Serial Programming and GPIO, but I don't know what circuit I should use.
Very thank you.

I would not recommend it. when the module powers up, it sends status, and identity info out the TXD0 pin, you cannot stop this, so if you have some hardware attached to TXD0 these bit fluxes must be ignored.

It would be easier to use the SPI bus (GPIO12,13,14 and a CS pin) to access an I/O Expander IC, something like a MCP23S17 (16bits of I/O). You can connect upto 8 of these sharing just 4 pins. That would give you 256 bits of I/O.

Do a Google search on ESP+MCP23S17.

Chuck.

MCP23S17 is good. But there isn't in our country.
Anything else?
Thanks again.

You could adapt one of those inexpensive I2C LCD adapter boards that use a PCF8574 or PCF8574A chip. Seven of the eight I/O pins on the chip go directly to external pins on the pc board.

Don