About Us Knowledge Base Community Forum Electronics Toolbox FAQ Shipping & Delivery

Community Forum

Share your projects and post your questions

Search
Register or Sign In
Forum

Multiple expansion board power requireemnts

35 Views - Created 17 days ago

17 days ago

Posted by:
SteveC

Users Avatar

Hi

I have 2 x ADC Pi and 2 x IO Pi boards stacked on a Pi 3B+.

Plus there are 4 x 8-channel optoisolators to step down the 24V sensor inputs to the IO Pi's

16 x 20k series resistor inputs to step down the 0-10V analogue sensors for the ADC channels.

All seem to be working well and I have tested each pin (48!) individually and a few hooked up a the same time.

Now I want to package the whole assembly but am concerned about power.

I intend to have a single 5V supply powering the pi, both IO Pi's and the Optoisolator boards.

As I understand it the IO Pi can be externlly powered if the 5V solder link is removed

Question is for the ADC Pi's. There are 5V and GND pins on each board but as far as I can see these are taken directly from the Pi.

Can these be used for an external power suppply as well or would that somehow affect the 5V on the Pi GPIO.

Plus, what would be a suitable power supply if each board had all pins active (ie max current draw)?

16 days ago

Posted by:
andrew

Users Avatar

Location:
United Kingdom

Users Twitter  Users Website  

Hi

The ADC Pi will draw less than 10mA when sampling the inputs.

For the IO Pi the maximum current draw for each MCP23017 IO chip is 25mA per channel or 125mA in total so the overall maximum for both chips would be 250mA plus 5mA for the level shifter and pull-up resistors so 255mA max.  This would only be when the IO channels are set as outputs and you are drawing the full 250mA from external devices.  If you are using the IO Pi for inputs the current should be less than 20mA with the internal pull-up resistors enabled.

Overall the two ADC Pi and two IO Pi boards will be drawing less than 100mA so there shouldn't be any issue with running them from the Raspberry Pi 5V on the GPIO header.  You shouldn't need to use external power for the IO Pi unless you are trying to use all of the pins as outputs and using the full 250mA capacity.

If you use a single power supply for the whole project I would recommend splitting the output with one pair of 5V and ground wires connected to the Raspberry Pi which will in turn power the ADC Pi and IO Pi boards through the GPIO header and separate wires powering your opto-isolators and sensors.

The Raspberry Pi website has a list of the different Pi models with the current draw and recommended power supply current capacity for each one.  The Pi 3+ has a recommended power supply current of 2.5A for the bare Pi before you start adding expansion boards.  

You will need to measure how much current your opto-isolators and analogue sensors use but as an example if the total current draw for the isolators, sensors, ADC Pis and IO Pis was 500mA I would recommend doubling that to 1A to give you plenty of safety margin and add it to the Raspberry Pi current draw of 2.5A to give you a 3.5A power supply rating. If you think that you might expand your project later on you can always get a power supply with a higher current rating.

I normally use RS Components for my power supplies.  They are a bit more expensive than amazon or ebay but their products tend to be higher quality and they do next day delivery.

AB Electronics UK Tech Support

16 days ago

Posted by:
SteveC

Users Avatar

OK Andrew, many thanks for the quick and comprehensive response. There is one more query though - both IO Pi's currently fitted are input only so no problem according to the above but I may add another IO Pi as outputs to drive a relay board, in which case I think it safer to use the external PS to this IO board.

Is there an issue with say 2 IO Pi's (inputs) being powered by the Pi GPIO and the other (output) board being externally powered if they are all on the same stack? 

15 days ago

Posted by:
andrew

Users Avatar

Location:
United Kingdom

Users Twitter  Users Website  

There shouldn't be any issue with having two IO Pis powered from the Raspberry Pi and the third powered externally.

AB Electronics UK Tech Support

14 days ago

Posted by:
SteveC

Users Avatar

Thanks for that. Have to say the quality and speed of your response is excellent.

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.