-->
Page 1 of 2

How can I increase the outputs for esp8266 to 8 instead of 2

PostPosted: Wed Sep 14, 2016 6:16 am
by TarekJ
How can I increase the outputs for esp8266 to 8 instead of 2?

Re: How can I increase the outputs for esp8266 to 8 instead

PostPosted: Wed Sep 14, 2016 12:56 pm
by martinayotte
Use I2C GPIO Expanders such MCP23017 or PCF8574, or use ESP-12 modules instead of ESP-01.

Re: How can I increase the outputs for esp8266 to 8 instead

PostPosted: Sat Sep 17, 2016 8:12 am
by TarekJ
Thank you very much.
1- do you have a schema circuit for this?
2- is -12 is programmed the same way as -01? i'm using Arduino IDE

Re: How can I increase the outputs for esp8266 to 8 instead

PostPosted: Sun Sep 18, 2016 8:31 am
by martinayotte
Yes, ESP-12 and ESP-01 are programmed the same way with Arduino IDE, the only thing is the number of GPIOs.

For I2C bus schematic, it only requires to have PullUps on 2 GPIOs and attach the MCP23017 on this bus.
Since GPIO2/GPIO0 have already PullUps for boot process, they are perfect to be used as I2C bus.