Input capacity of each bank
The IO Pi Plus is a 32 channel MCP23017 GPIO expander for the Raspberry Pi
01/12/2019
Posted by:
davidp
It also seems that it is impractical to drive an optically-isolated 8-relay bank at 20ma per channel, if all relays could be active at once.
Is this correct, please, or have I misunderstood?
01/12/2019
Posted by:
andrew
The 25mA current limit on each pin and the 125mA limit total is for when the pins are set as outputs. When using the pins as inputs and applying 5V to the pin it will draw less than 0.1mA so there will be no problem with using all 16 pins as inputs.
Using the IO Pi Plus to drive optically-isolated relays will exceed the maximum current if you try driving more than 6 relays. To use the IO Pi Plus with a relay bank I would recommend using a buffer chip or transistor between the IO Pi output pin and the relay input to increase the current capacity.
With many optoisolators, they do not need their maximum current of 20mA to switch on so you may find that you can add a resistor in between the IO Pi output and the optoisolator to limit the current. An 800R resistor would limit the current to 6.25mA which may be enough to operate the optoisolator while keeping the current low enough that you can use all 16 outputs on the IO Pi Plus. If it does not work with a resistor then a buffer will be the best option.
Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view.
Download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.