Push to start switch [OUT NOW!]

Hello everyone,

I was designing and prototyping this kind of a switch for some time now. I finally have a working design and prototype.

2

The basic operation will be that you just connect this between your battery/BMS and your ESC. Two small wires to your motor phases (I will provide a tutorial) on your VESC (or other ESC) or on your connectors, depending on what is easier for you. Now you can just push off on your board once and the power will turn on. It will be in complete OFF state just like any other power switch out there today so it will not drain your battery if you dont disconnect it (Of course it takes some current for the motor rotation sensing but it is very small). Connecting a regular pushbutton or even a momentary switch will be possible if you would like to for example disabled the push to start feature. The switch has a small MCU on board so we could even set up the push to start feature in such a way that to turn the board off, user interaction would be necessary to prevent the board from turning off unintentionally.

Now I am trying to figure out some things and that is where your feedback and ideas come in. Since I am designing this from the ground up I would like to know what you think and make this as great as it can be :slight_smile:

My question right now is, how much time would you like the board to remain ON after the motor stops rotating/you stop riding?

http://electricskateboard.repair/index.php?id_product=41&controller=product I will update the product page with images and such ASAP. Martin.

22 Likes

I dont understand. Does it also turn off by itself ?

Yes, it does. When the board is off you can just step on your board, push off (like on a regular longboard/skateboard) and that will turn the board ON.

2 Likes

I suggest not having auto turn off, and just clamping to on state with the bemf voltage, and have a momentary switch for turning off.

3 Likes

I forgot to mention that there will be an option to connect a pushbutton, thank you for reminding me I will edit it.

1 Like

Sure, thing. But

This shouldn’t even be programmed in, mechanical unlatching via push button ONLY. As any type of auto-off is a safety concern if you are specifically using BEMF voltage as your data source.

THE ONLY way I would include an auto off is if your device was also a UART device of the VESC, and measuring eRPM telemetry.

This should be cool, but please take my suggestion for auto off seriously, I’m sure you can find many of my view points on safety. :wink:

Safety is definitely up there as a priority!

The switch will be sensing motor rotation so I think that as long as the motor is rotating (under power or just rolling down hill) the switch should not turn off, after the motor stops the switch could turn off after say 5 minutes or so.

I know that some of the ESCs out there have such a feature, does anyone know how the turning off is done there? I have not used one of those yet myself.

2 Likes

The switch will not be prompting the VESC to boot via UART or anything like that, that would need some stand by current which is something I tried to avoid. The switch will sense the motor rotation from two of the phase wires and will keep everything connected after the switch (ESCs, lights etc.) completely off. It will turn on as if you pushed a button on a regular switch once the motor starts rotating and generates voltage on the coils/phase wires.

1 Like

I think this idea is great, and actually way safer than traditional push-button as it means the board will always be forced ON whenever running. In case the board turns OFF while waiting at a red light in traffic, you would just need to push to start, way faster than having to find your push-button and start accelerating! Also why would you need a MCU? It should be possible to activate the FETs using bemf of the motor… And using some caps to act as a time delay to turn the board off.

2 Likes

Thank you, yes that would be possible. I thought of just using comparator to sense the rotation. But using an MCU gives me/us more freedom in terms of what we can do.

Put a buck converter for 12V in there as well while you’re at it. :smirk:

I feel like that is not the best way to go. I think that not a lot of people would use it but everyone would have to pay for it since it would increase the price. I think that using a stand alone module if you need 12V output is a better option, sorry.

Interesting use case. If the board shuts off and then turns back on, you’ll have to wait a few seconds for the remote to rebind. Not a terrible scenario when you know the board is off and you’re starting it up, but can be annoyingly awkward when you think it’s still on, start pushing and there’s no response from the remote, or the throttle kicks in at a level that you’re not expecting it to.

2 Likes

That is true, that is partially why I agree that turning the board off will require user intervention is a pretty good idea. After all, when you want to turn the board off it is not that big of a deal to reach down and press a button. But being able to just push off on the board to turn it on is a useful feature.

Yeah I get your point, for some remotes can be annoying… But with my dual focbox gt2b, takes about 1second for the whole system to start /bind

2 Likes

I am with @Deckoz on this. No automatic off. I am in city riding where there are definitely scenarios where I am still for a couple minutes. Like @mikenyc said, it would be annoying/confusing delay with the remote .

Also if using a nano x, you are now uncaliberated… bad things could happen.

3 Likes

I’d like to try it. I want least amount of stuff on my enclosure as possible. If possible I’d like just a charge port.

2 Likes

Maybe a minimum limit of 10 mins? If your standing completely still for more than 7 mins, especially in the city , you might as well pick up your Board and walk .

Edit: or maybe 30? That way it simply acts like a 2nd measure to ensure that the board isn’t on all night

6 Likes

Yeah, if it is present at all it should be a longer amount of time than a ridiculously long red light. But imagine using a nano x (one of the most common remotes).

If there is only the automatic off and not a switch for the “fully off” you would have to wait for your board to power off again, then calibrate your nano x, then push start to go again… sounds… irritating to say the least.

3 Likes

Okay so the way I see it now, I added a trim pot to the PCB as well as jumper pads to choose if you want to use a pushbutton too or not. So each user will be able to switch back and forth depending on what you prefer as well as choosing the amount of time it takes to turn off.

EDIT: Maybe from 10 minutes upwards to say 45?

5 Likes