Some open source antispark designs that work

Since I keep seeing this come up.

They both work. The first one is easier to assemble on PCB and I trust it a lot more by virtue of high side switching

The second one is easy to build on protoboard, no need for a PCB.

Both have been tested by members of the community, I can cite their testimony if someone wants.
There could still possibly be issues, if someone makes these and encounters one, please let me know.’

BY THE WAY. The first switch will fail with an output capacitance greater than 6,000uF.
The second one may need tuning with the precharge resistors if the quiescent current is too high.

Both require a latching pushbutton, I recommend this one from adafruit:

Some smart antisparks are on the way in the near future.


I’m not sure how easy or difficult it is but is a momentary switch an option/addition.

Having my brakes and acceleration dependant on a latching switch terrifies me.


Fair, but having software that maintains the switch’s “state” terrifies me a little too :slight_smile:

1 Like

At a minimum I believe that the on state should be the “relaxed” state of the switch so a spring isn’t constantly trying to turn the board off.

Or a rocker style switch that isn’t constantly trying to turn itself off would also be much less terrifying.


Actually yes, rocker switch would be best.

1 Like

Any chance you extras of these you want to sell? If not, do you know what switching diode I should use to populate the high side switching switch (hehe) thats the only one I couldn’t really figure out.

Any 200V 5A diode, with maximum forward surge current higher than maximum battery current. use digikey’s search tool and pick one you like.


Appreciate it, thanks

If I were to use this under 90A would I be on the right track? Diodes are really not my specialty but I’d be happy to share my BOM to update the original post so everything is in stock and all from mouser. Massive thank you for making this open source from schematic to gerber, I tried making my own antisparks and It costed me at least 3 VESCs (lmfao) so I’ll leave it to the pros.

Should be fine. It is basically there to protect the switching circuit if for whatever reason it turns off with load.

1 Like

God bless you, ill toss the components into a google docs list and toss them here tonight.

Components and mouser link, slightly changed the list to make it more readable and more fluid, I’m making a whole bunch of these and everyone should feel free to try themselves. Get PCBs from JLCPCB everything else is a mouser purchase.

@Gamer43 Let me know if you want me to change anything.

Use the TPW1R306PL,L1Q MOSFET. But really, any MOSFET will work, so you can pick one you like.

1 Like

Will update that right now.

1 Like

Make sure to update the footprint on the PCB

1 Like

Added a footnote stating the alternative option for fets but stating you’d have to change the footprint of Q1 and Q2 in order to use the toshibas.

Edit: Im surprised this has flown under so many peoples radar, its the best minimalist antispark I’ve ever used.


Any chance I could get you to look this over? I can’t tell which way to position the switch driver but I’m pretty sure it’s right. Anything stand out to you? I could not get it to function and this is my second PCB :frowning: Unless it needs a voltage higher than 7.6v to run.

Yes, it needs at least 12V, the gate driver goes into UVLO below 8 or 9V, and the regulator has some dropout.



I still can’t get it to work, 0 voltage on the other end and I can hear the caps sparking when I plug it in, any chance I could steal a picture of one of yours? I still think my switch drivers backwards.

The chip is soldered correctly, check to make sure all relevant voltage rails are present

1 Like