Hi all. I'm putting together a fairly simple project, imstalling a bluetooth amp in the shell of an old boonbox to power the speakers. For power delivery, I intend to use a lithium ion powerbank capable of supplying 20v via USB-C and a USB PD spoofer.
The only problem is, the powerbank also charges through the USB-C port, so as-is it would have to be unplugged to charge, and I want it to be internal.
Since all the battery charging circuitry is already taken care of, I'd like to design a simple circuit that can redirect voltage towards the powerbank when a power source is connected, and to the amp when disconnected. It might be the sort of thing that's been created before, but if not, I'm thinking I just need a MOSFET and some USB-C connectors on a PCB, and run the voltage rails through the MOSFET. Does that sound reasonable?
The only problem is, the powerbank also charges through the USB-C port, so as-is it would have to be unplugged to charge, and I want it to be internal.
Since all the battery charging circuitry is already taken care of, I'd like to design a simple circuit that can redirect voltage towards the powerbank when a power source is connected, and to the amp when disconnected. It might be the sort of thing that's been created before, but if not, I'm thinking I just need a MOSFET and some USB-C connectors on a PCB, and run the voltage rails through the MOSFET. Does that sound reasonable?