What would make a power switch/button “universal”?

Not the high power electronic anti-spark (AS) switches. I’m referring to the low power button switches used to turn on ESC’s, BMS’, and other devices.

What features could this button switch have to make it work with just about any device? A few things I thought of are…

  • Both normally-open (NO) and normally-closed (NC) contacts.
  • Power and ground connections for an LED in the switch.
  • A place to solder on the correct current limiting resistor for the LED.
  • Selectable momentary or latching operation.

What else?

A couple of questions…

  • Do we really need a normally-closed set of contacts? Is it just so we can have the button in its “relaxed”, not-pressed, position to close the contacts and turn on the device (for shock resistance)? Or do some devices genuinely need to have a connection broken in order to turn them on? That is, they need a normally-closed switch, one that opens when pressed?
  • Do we actually need both momentary and latching operation? Can the devices that use a momentary button press to turn on and another momentary press to turn off (Unity ESC?) use a latching button instead?

Edit…
Please assume that the switch we’re discussing will not bounce off or on or change its position if hit by a pebble, branch, or tactical nuclear weapon. I’m just talking about the switch’s theory of operation, what it has to do and how. Making it vibration/shock/impact proof is a different discussion. :slightly_smiling_face:

9 Likes

I use latching switches for turning my 12V buck on and off in boards for lights. I now use power supply rocker switches, because the round, latching push-buttons don’t hold their state under vibrations. They’re not rated for 50V DC I think, but so far so good.

Do we need a universal power switch like what you describe? Having different kinds for different applications seems fine to me… Although what you describe seems like a fine list of requirements to me.

And personally, I will always prefer momentary switches for turning vital electronics off, where you need 3 seconds of contact. I’m not taking the chance of a pebble hitting my switch and that being enough to turn my board off :no_good_man:

2 Likes

Sorry, I’m not sure what you’re saying here.
You have a device that takes a long momentary touch to turn it off? Would a latching button (assuming that it could not bounce off) also work?

1 Like

Yes, the flispky smart antispark and stormcore (probably Unity as well), need you to push the switch for like 3 seconds for it to turn off. (Someone with a vesc mk 5 can also chime in, I don’t personally know.)

I don’t know if those devices could work with that. And if they did – idk if I would personally trust it. A pebble could still trigger it :laughing: It would probably be fine, but I don’t see a reason to change.

And that long press closes the contacts or does it open them for those three seconds?

Just tested, it is normally open. Needs to be closed for 3 seconds.

2 Likes

Easy peasy.

Momentary push button that switches on a electronic toggle switch. Quite inexpensive.

This one… Just need a momentary push switch contact.

But if you just want to turn on off a esc just Momentary pust button powering the led of the push and sending a 12v / gnd to the on off of the esc.

I use it to turn on off lights :slight_smile:

3 Likes

Implementation is another discussion though. :slightly_smiling_face: This one is just about theory of operation.
But, for your design, what happens if the device needs momentary contact? Push the button twice?

How do you ensure power-up into a known state? It handles this…nvm.
How do you create a NC setup and a NO setup?

You’re saying all ESC’s only need momentary contact to a 12V line to turn them on? Umm…:thinking:

Mine does sprinted, needs a gnd for a more than a second, for switch denouncing, ( ie a intended button press)

1 Like

Wait…didn’t you say it needed to be connected to 12V to turn it on? Or were you talking about your lights? I think things are getting mixed up here.

Your Spintend ESC needs a one second, or longer, connection to GND to turn it off? What does it need to turn on?

It toggles, gnd to turn it on gnd to turn off, has a pin to turn on off an led to show status of esc.

There are other ‘latching or toggle’ circuits that can do same operations just needs a push button switch contact.

Or just use a latching switch? With an led to show status?

1 Like

As far as I’m aware they are normally open switches. Loose wire on normally closed would cause false presses which is much worse failure mode.

Stormcore switch also has RGB which is used for status feedback.

2 Likes

Momentary or latching?

1 Like

My only concern for a latching switch handling on/off would be riding in the woods and having a branch press it accidentally.

This is the only reason I’ve thought of that makes a timed momentary switch more helpful… Requiring a few seconds of press to turn off the board instead of immediate.

I did read this caveat but wasn’t sure if branch was greater than or equal to pebble.

2 Likes

The FOCers are open on and closed off, so they require a NC latching switch

2 Likes

Momentary. AFAIK this is the only kind of switch that the vesc firmware currently supports

1 Like

Would a latching switch be compatibile with a makerX d75 esc?