-->
Page 1 of 1

Guidance on Extending ESP12 GPIO Pins

PostPosted: Sat May 05, 2018 8:21 am
by aruneshdutta
Hello all

I was looking for a way to extend the GPIO pins in ESP12.Was doing a bit of search did came across Did some search and saw MCP23017 but do advice me with this and needed way to extend GPIO pins

Re: Guidance on Extending ESP12 GPIO Pins

PostPosted: Sat May 05, 2018 9:15 am
by martinayotte
Yes, MCP23017 is a good GPIO expander, it is my favorite !
You can hook it up its I2C bus on GPIO2/GPIO0 since there are already pullups there for proper boot mode.

Re: Guidance on Extending ESP12 GPIO Pins

PostPosted: Sat May 05, 2018 10:44 pm
by trackerj
Other good options: the classic PCF8574/5 for a simple 8/16 channels GPIO port expander or PCA9685 for a nice 16Channel 12-bit PWM I²C-bus LED controller one.

For more details about, drivers code inspiration, etc , you can take a look here: GPIO and PWM expanders related articles

Re: Guidance on Extending ESP12 GPIO Pins

PostPosted: Sun May 06, 2018 8:12 am
by aruneshdutta
Thanks a lot