I have a project where I'm using an android tablet to power a serial relay, the relay is 20 m from the tablet so I'm using a USB C > USB A hub and a self powered USB over CAT6 extender. When the tablet is charging through the input in the USB hub all is well. However when I turn the charger off (which needs to happen from time to time) there's a small <1 s delay between the supply power switching from charger to tablet battery and my relay turns off. Would it be possible to add a capacitor or super capacitor to the circuit after the hub to keep the voltage up on the extender and relay board during changeover?
I found this thread:
Car bluetooth power delay- USB capacitor?
I have found that I can get a 1 F 5.5 V supercap for a reasonable price, would this circuit be enough, it seems too simple and I don't want to damage anything with over voltage or overcurrent.
Thanks in advance
Tim