I want to add a TP4056 as a charging port for my sword, and I’d like to know if this would work, since I don’t know much about wiring. I will not use a hilt adapter, as I am not planning on switching the blades or spinning/dueling with them. In my diagram, I didn’t include the speaker since it is irrelevant in my case.
This will work, but it will not let you program the board through the TP4056. If you hook up a few more cables (D+/D-/vbus) then you should be able to use the TP4056 connector both for charging and for programming.