Team
The question is how to switch from battery power to bench power and back without having to shutdown and reboot.
Google hasn't been much help as I may not be phrasing my search right.
My main power switch is a mushroom head emergency stop switch.
The battery connects to the NC side.
My thinking is I could connect the bench power to the NO side and have it switch over when I bop the button. The trick is to keep the power going during the crossover. Claude agrees I need a moderate size capacitor to provide power during the crossover but I don't fully trust or understand how the circuit should be structured, the size of the capacitor, or any additional components for a 14-16V 4s LiPo system. "I'm a doctor, Jim, not an Electrical Engineer."
I know at least several of you know all about this sort of thing.
Thanks
James
-- James H Phelan "Nihil est sine ratione cur potius sit quam non sit" Leibniz
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/hbrobotics/e937686e-3739-415a-b1df-701dfaad4671%40hal-pc.org.
On Aug 30, 2026, at 11:51 AM, Chris Albertson <alberts...@gmail.com> wrote:
This is a solved problem; lots of systems do this in many industries. The key is that you do not think of it as a “crossover”. What you have is a power bus that the robot runs from. Then you have one, two, four, or more sources of power that can be connected or removed from the bus. Either manually or many times using MOSFETs or contactors under computer control.
To view this discussion visit https://groups.google.com/d/msgid/hbrobotics/44BE6365-E6EE-4502-A190-79DA17E6689F%40gmail.com.

To view this discussion visit https://groups.google.com/d/msgid/hbrobotics/5CDFC65A-CCB8-4666-B58A-63E0559B0935%40gmail.com.
Team,
Much appreciate y'all's expertise!
Stormy is not Michael's industrial strength 36-42V Titania. It's only a 15V 3.3 Kg floorbot not to say that safety first should be ignored.
Putting bench power at 16V to the bus while the battery is down to 13V would cause the system to try to charge the battery without the benefit of the balance charger which, I've been told, is a very bad idea. Otherwise a simple parallel Y connector would do the trick during the swap (which I did in the past without incident but have stopped). Would the diodes in Sergei's schematic prevent this? Would a STPS10L25D be sufficient? But the battery is supposed to absorb back EMF so that wouldn't work.
https://www.digikey.com/en/products/detail/STPS10L25D/497-2738-5-ND/603763?itemSeq=281160145
I don't need Sergei's yellow 'to charger' connection as charging is done off the robot by swapping batteries.
James H Phelan "Nihil est sine ratione cur potius sit quam non sit" Leibniz
--
….Putting bench power at 16V to the bus while the battery is down to 13V would cause the system to try to charge the battery
But what about the battery being a sink for back EMF?
James H Phelan "Nihil est sine ratione cur potius sit quam non sit" Leibniz
….Putting bench power at 16V to the bus while the battery is down to 13V would cause the system to try to charge the battery
I think this is why the 50A Schottky diodes were suggested, to address that very problem.
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/hbrobotics/DFC718D9-B19F-4DCE-92E2-AF7DE1C0EA66%40gmail.com.
On Aug 30, 2026, at 4:07 PM, 'James H Phelan' via HomeBrew Robotics Club <hbrob...@googlegroups.com> wrote:But what about the battery being a sink for back EMF?
does the robot have high inertia It's 3.3Kg
Are the drive gears even backdrivable? Yes
motor controller chip or separate MOSFET transistors RoboClaw motor controller
already has overcurrent protection No. Recommended to use.
TVS across the leads I have a shunt regulator across the leads
James H Phelan "Nihil est sine ratione cur potius sit quam non sit" Leibniz
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/hbrobotics/FFAA9D81-0EA2-4E86-8E0F-A5355D00E690%40gmail.com.
On Aug 31, 2026, at 6:08 AM, 'James H Phelan' via HomeBrew Robotics Club <hbrob...@googlegroups.com> wrote:
motor controller chip or separate MOSFET transistors RoboClaw motor controller
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/hbrobotics/392B10A9-84E5-4F6E-B29B-16D080D1AA98%40gmail.com.
"The docs say to never connect the RoboClaw driver to a switching power supply"
It is not. It is connected to bus power.
James H Phelan "Nihil est sine ratione cur potius sit quam non sit" Leibniz
Good product, kind os the Cadillac solution though --
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/hbrobotics/392B10A9-84E5-4F6E-B29B-16D080D1AA98%40gmail.com.
On Aug 31, 2026, at 12:26 PM, 'James H Phelan' via HomeBrew Robotics Club <hbrob...@googlegroups.com> wrote:
To view this discussion visit https://groups.google.com/d/msgid/hbrobotics/609a0bd7-8b64-483e-a3aa-0c6614d950e6%40hal-pc.org.
Team,
This has been a fascinating journey into power management. Thanks!
But...
I don't have a huge robot.
I don't have big motors.
I don't use a switching power supply.
I don't have a Battery Management System on my Zeee 9000 LiPo batteries.
BasicMicro states a pre-charge resistor is not needed for the RoboClaw 2x7A.
Pololu states: "Note that the VClamp requires a controller to activate it. It does not contain logic to detect a voltage spike on its own, so it must be used with a RoboClaw or MCP motor controller. For a similar lower-power transient suppressing solution see our shunt regulators [Which I have]. Like the VClamp, they dissipate excess motor energy through a resistor, but they feature a set or potentiometer adjustable over-voltage cutoff, so they do not need any input signals or controller."
Back EMF = Vapp - (I x R) meaning it will be less than the battery voltage. So my 25V 10A power diode is fine.
SO... How do I swap power without rebooting and without things going Snap, Crackle, or Pop?
Do I just plug in the new battery or bench power then unplug the tired battery?
Is that safe?
James
James H Phelan "Nihil est sine ratione cur potius sit quam non sit" Leibniz
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/hbrobotics/e937686e-3739-415a-b1df-701dfaad4671%40hal-pc.org.
On Aug 31, 2026, at 1:07 PM, Michael Wimble <mwi...@gmail.com> wrote:Well, for what it’s worth, that’s pretty much how I have always powered the roboclaw. I needed isolation.On Aug 31, 2026, at 12:26 PM, 'James H Phelan' via HomeBrew Robotics Club <hbrob...@googlegroups.com> wrote:"The docs say to never connect the RoboClaw driver to a switching power supply"
It is not. It is connected to bus power.
"But what powers the bus?" Either the battery, the bench supply, or a fresh battery.
James H Phelan "Nihil est sine ratione cur potius sit quam non sit" Leibniz
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/hbrobotics/B211E71A-CC58-48F3-B769-6B8F9DF59958%40gmail.com.
Michael,
If I read you and Sergei's schematic right, y'all have Battery Management Systems IN the battery so you only need sufficient outside power to charge. My Zeee 9000s require an EXTERNAL balance charger and individual cell sensor wire plug. I can't connect 2 batteries into it at the same time.
Google / Gemini says I need an "Ideal Diode Dual Power OR-ing Controller" but none of them (Pololu, Adafruit) can handle the current.
OR have the bench power EXACTLY match (to 0.1V) the tired battery voltage then swap. Increase the voltage to the fresh battery and swap again.
OR I can do the dual diode thing, sacrifice back EMF path to the battery, and rely on only the shunt regulator.
James
James H Phelan "Nihil est sine ratione cur potius sit quam non sit" Leibniz
On Aug 31, 2026, at 1:58 PM, 'James H Phelan' via HomeBrew Robotics Club <hbrob...@googlegroups.com> wrote:
Team,
This has been a fascinating journey into power management. Thanks!
But...
I don't have a huge robot.
I don't have big motors.
I don't use a switching power supply.
I don't have a Battery Management System on my Zeee 9000 LiPo batteries.
BasicMicro states a pre-charge resistor is not needed for the RoboClaw 2x7A.
Pololu states: "Note that the VClamp requires a controller to activate it. It does not contain logic to detect a voltage spike on its own, so it must be used with a RoboClaw or MCP motor controller. For a similar lower-power transient suppressing solution see our shunt regulators [Which I have]. Like the VClamp, they dissipate excess motor energy through a resistor, but they feature a set or potentiometer adjustable over-voltage cutoff, so they do not need any input signals or controller."
Back EMF = Vapp - (I x R) meaning it will be less than the battery voltage. So my 25V 10A power diode is fine.
SO... How do I swap power without rebooting and without things going Snap, Crackle, or Pop?
Do I just plug in the new battery or bench power then unplug the tired battery?
Is that safe?
I think so. If you can, do the diode thing that Sergei has. I power my robot using the very same charger that the battery uses. it’s just:
charger+ ——— + ——— fuse ——— power switchbatterycharger- —— —————————————————————
So I unplug the charger, turn on the power switch and it runs off from the charger. I just unplug the charger and it runs off from the battery, no glitching. I can plug the charger back in any time. If I turn off the power switch, the charger can still charge the battery. If you want to swap batteries, well, plug in the charger, unplug the battery, plug in a new battery. As log as the battery has enough power in it when you plug in the new battery, it shouldn’t glitch the system. I don’t use diodes as my bench supply is the charger which has enough power to run my robot if the motors aren’t actually spinning. There isn’t the ability for wrong polarity or voltages that are unexpectedly out of range, so no diodes are needed. The shunt regulator is always on the RoboClaw so back EMF from the motors can’t hurt anything. If you are going to just do software work while the battery charges, no need to unplug the battery. Put a simple voltage/current monitor inline, especially an I2C device, and you can monitor when your battery is low and use that signal to initiate a docking maneuver. Here are the devices I was using:
I have since moved on to this device because it gives me 85V instead of 36V ability. There’s more detail I can add about current/voltage sensors if you find you need it. Mostly my main power is more than 10 or 20 amps on Titania so I’ll have to remove the shunt resistor on the board and use an external shunt. And I have code to read the sensors, but you can probably do well just using the library code.
On Aug 31, 2026, at 6:28 PM, Marco Walther <marc...@gmail.com> wrote:On 8/31/26 16:00, 'James H Phelan' via HomeBrew Robotics Club wrote:Michael,
If I read you and Sergei's schematic right, y'all have Battery Management Systems IN the battery so you only need sufficient outside power to charge. My Zeee 9000s require an EXTERNAL balance charger and individual cell sensor wire plug. I can't connect 2 batteries into it at the same time.
Google / Gemini says I need an "Ideal Diode Dual Power OR-ing Controller" but none of them (Pololu, Adafruit) can handle the current.
OR have the bench power EXACTLY match (to 0.1V) the tired battery voltage then swap. Increase the voltage to the fresh battery and swap again.
OR I can do the dual diode thing, sacrifice back EMF path to the battery, and rely on only the shunt regulator.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/hbrobotics/e59f581a-180c-4392-a918-d9ae8db23358%40gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/hbrobotics/CDC6BA5D-FD39-4C52-A76C-4BB023A94290%40gmail.com.