No, not a punk track, but in fact my lament at working in a very confined volumes!
I’ve attached photographs of the components I need to use…I’d like the USB port of the Trinket, the charge port and power port of tthe batter pack to all be avaliable, but I’m told it’s a bad idea to power the Trinket from USB while it’s also powered from the battery, so I was thinking of introducing a physical switch to disconnect power from the Trinket before trying to use the port.
I was thinking of soldering the JST pad on the back of the Trinket to the USB A socket VCC and ground, with the switch incorporated in the VCC line. when the switch is moved over, the Trinket gets power, when it’s moved away, the Trinket port is free to be used for maintenance, reprogramming etc.
It’s a three position switch, so I was thinking of having central = off, right = power to Trinket, left = power to recharging port from the charger. My experience with switches isn’t great, so if anyone hears a loud “bang”, I obviously got it wrong…
With that in mind…other than the challenges of wiring everything in such a smal space…will the suggest little “stack” of these components work…and should I be thinking about putting some sort of insulation between them? They will literally be cheek by jowl as in the last picture (lower right hand corner).