0
\$\begingroup\$

I have a Raspberry Pi that is fed by a powerbank which in turn is fed by a USB wall adapter, and I want to interrupt the power from the powerbank when there is current coming from the AC wall adapter, so I plan to use some type of circuit based on transistors to do this like the red box in the following picture where

enter image description here

What will be the simplest circuit to do this?

\$\endgroup\$
  • 1
    \$\begingroup\$ You should be able to use a couple of diodes. The Pi actually works at 3.3V. Put a schottky diode from the wall adapter and a general purpose rectifier from the power bank. \$\endgroup\$ – Indraneel Jan 30 at 6:11
  • \$\begingroup\$ If you really want an UPS, see my answer (to my own question) here electronics.stackexchange.com/questions/347462/… . This page has some info regarding the power supply section of the raspberry pi learn.adafruit.com/… \$\endgroup\$ – Indraneel Jan 30 at 6:26

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.