2
\$\begingroup\$

I have a Raspberry Pi and mega-4 powered USB hub working well, with one USB-C power input each.

The battery bank has 2 USB ports, one for each device.

The charger (bottom left) is a standard buck charger that converts 7 to 22 V DC input to USB charging output.

The charger will get input from a create 3 irobot when docked, and when not docked will have it's power removed.

This has been tested and works fine, but when docked it will be both charging the battery and providing the 2 devices with power.

Do I need a DC power switch on the output of each battery and separate DC supply when the battery is charging? Are there electrical or health and safety issues?

Battery Bank Raspberry Pi Supply

enter image description here

\$\endgroup\$
1
  • 1
    \$\begingroup\$ Please draw a block diagram of what you have and how it’s connected. \$\endgroup\$
    – winny
    Commented Jan 6, 2023 at 12:47

1 Answer 1

1
\$\begingroup\$

Do I need a DC power switch on the output of each battery and separate DC supply when the battery is charging?

No. What you have will work fine as is.

Are there electrical issues?

No.

Are there health and safety issues?

Don't ingest any of those components. Don't step on them barefoot.

\$\endgroup\$
2
  • \$\begingroup\$ I always fail at the "don't ingest the components" hurdle! Thanks, now going to work on an RPi relay to turn off the create3 battery power input when not in the dock. \$\endgroup\$ Commented Jan 6, 2023 at 16:07
  • \$\begingroup\$ Very annoying! This works fine with power in, but when I switch to battery backup mode the battery looses power and shuts down the Raspberry Pi and components before powering them back on. \$\endgroup\$ Commented Jan 20, 2023 at 14:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.