Make 60 output pins in arduino nano using extender

i want to design a pcb board in which i will have 60 output pins,
i have arduino nano and i want to use ic2 (SCL , SDA ..., 5v, GND) to connect to those chips and control 60 pins

so i saw on some forums 4 x MCP23017 =64 pins or 8 x PCF8574=64 pins

are there more chips (but to controll them i need to use as less as possible pins on arduino)
and which one do u suggest?

Are you sure the Nano has enough speed and memory to handle 60 outputs?

Uno is ok

You can use PCA9685 and PCF8575 with 16 output each.

I've not used one, but I think a DS2408 might be useful here. It's advertised as a 1-wire 8 channel addressable switch and the datasheet says you can control 8 independent I/O port pins from a single port pin.

You can't get fewer than 1 pin.

can i use 4 PCF8575 x 16 so ill have 64 out.

how can i controll multiple PCF8575 do they have unique I2C address or how is working

The Data Sheet tells all.

What are all these pins driving?

It I2c addresses are configurable


You can use this library:

Keep in mind that the maximum current for each pin is 20 mA.

If you are going to control relays with LOW input I recommend to connect the relays to 2 ULN2803 and control the ULN with PCF.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.