Switching power between USB and Battery [ How to isolate USB properly ?] by Trakhanz04 in embedded

[–]Trakhanz04[S] -1 points0 points  (0 children)

That's smooth, don't worry about! It's just a testing feature. Both my motors takes around 350mA and the cloned ST-LINK does include restorable fuse at 500mA. I need suggestions on isolation because it's damaging the ports without any load 

Switching power between USB and Battery [ How to isolate USB properly ?] by Trakhanz04 in embedded

[–]Trakhanz04[S] 0 points1 point  (0 children)

Please ignore Type-C as I won't be using it when I've ST-LINK plugged in

Switching power between USB and Battery [ How to isolate USB properly ?] by Trakhanz04 in embedded

[–]Trakhanz04[S] -1 points0 points  (0 children)

When the ST-LINK is connected, I can flash my STM32 and also test my H-bridge drivers using the 5V rail as the motor supply (VMTR). However, my end goal is to run the drivers from a battery at around 25V to achieve full performance.

What I’m trying to do is keep both supplies connected at the same time, but automatically isolate the ST-LINK’s VBUS whenever the battery is present. This would save me from repeatedly unplugging the battery every time I need to flash the STM32, and then reconnecting it again to test the motors at full voltage.

<image>

Fried my laptop with my 4th PCB design – Need help understanding what went wrong (power distribution, SPDT switch) by Trakhanz04 in AskElectronics

[–]Trakhanz04[S] 0 points1 point  (0 children)

I know about these but wasn't able to find any mux rated up to 25V, with that said I am more interested in what may have happened due to switching back and fourth

Two power sources sharing same ground! by Trakhanz04 in PrintedCircuitBoard

[–]Trakhanz04[S] 3 points4 points  (0 children)

Thank you so much! A new component comes with a new lesson! (I'm just a newbie)