IO expander vs PPI

Hi I need to expand my GPIO of wifi module esp8266. What GPIO should I use, there is MCP23017 but I want to use another one. Also, can I use PPI such as 8255 with esp8266 to expand GPIO?

I really want to expand GPIO but my options are limited.

Regards,

WHY ?
WHY DO YOU WANT TO DO THIS ?

Why? to expand my GPIO. I am using wemos mini (esp8266 based), and wanted to connect 7 segment and leds, but it has only 11 IO. I need 20 IO.

What is the other option? Kindly mention.

Shift registers. PCF8574. There are ICs dedicated for LED driving - the MAX[some number I don't remember] or TM1637/TM1638 for example.

Raschemmel probably wants to know why you don't want MCP23017.

Workaholic:
Also, can I use PPI such as 8255 with esp8266 to expand GPIO?

No.

(That part is seriously obsolete! :astonished: Why would you even have one? :roll_eyes:


Workaholic:
I am using WeMOS mini (esp8266 based), and wanted to connect 7 segment and LEDs, but it has only 11 IO.

What is a "7 segment". Sounds like a use for a MAX7219.

there is MCP23017 but I want to use another one

Again with the unexplained statements....

MCP23017

The ESP8266 supports I2C .
What is the reason you don't want to use the MCP23017 ?

The reason I do not want MCP23017 is because it is not available in the local market at this time. If there is another chip that is avaialble, I would have one. Otherwise I have to ordered this which will take time.

Paul__B:
No.

(That part [8255] is seriously obsolete! :astonished: Why would you even have one? :roll_eyes:


Seriously, I have a few 8255 devices is a dusty pill bottle. I used them eons ago to make a SCSI interface for a hard drive (when the really, REALLY big ones were 40 megabyte).