Support Forum

Share your projects and post your questions

Register   or   Sign In
The Forum

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

davidp Avatar

The spec sheet for the IO Pi Plus states that there is a maximum of 125ma for all i/o on each chip. If I understand it correctly, it implies that an input (applying 5v to a pin) will draw 25ma. Thus, there can be a maximum of 5 positive inputs, out of 16 potentials) at the same time.

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

andrew Avatar

Hello David

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.

Sign in to post your reply


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.

Home

Shop

Learn

Forum

FAQ

Contact

0 item

Your cart is empty

Please browse our shop to order from the wide range of Raspberry Pi boards and accessories.

Subtotal:£0.00
View Basket Continue to Checkout