VESC, 3 Pin Brake Senor setup, FLIPSKY 75100

nate0m

1 µW
Joined
Feb 24, 2023
Messages
4
Location
San Clemente
I've been working on making FLIPSKY 75100 work for my ebike. My main issue is the brake sensors. I was using 2 pin brake senors hooked up to adc2 while using the 'current reverse current brake button adc2' option in the input wizard. But I thought, and I might be completely wrong here, that if I got 3 pin brake sensors that then I could use the brake sensor like a second throttle so that I would have more control over the amount regen braking. With the 2 pin brake sensors regen is either 0% or 100% depending on if you press the brake or not, and this is not ideal because it makes the braking very jerky. So I got the 3 pin brake senors and wired them up to gnd, 3.3v, and adc2, but when I went to do the input wizard in the vesc app I don't have the option 'current reverse current adc2'. I've had this option before on one of the Bluetooth models of the FLIPSKY 75100 and I was using the android app. But his one is not Bluetooth so I am using the Linux app.

Is this a viable setup for better regen on vesc?
How come I could hook up 2 throttles to the Bluetooth version on the android app, but not on the non Bluetooth version on the Linux app?
 
Probably the app is simply written differently, or has a bug.

Regarding the 3 pin sensor...is it an analog output sensor? Most 3 pin sensors are still on/off, and some are analog.


You can also use a regular cable-pull brake handle, and a cable-operated throttle, as I do in my How to make a Variable Regen brake lever thread.
 
You're exactly write. Unfortunately I assumed that all 3 pin brake sensors are analog, but these ones are just 1.5v or 0v on the signal wire :(. I'll have to look into other options or just accept the jerkiness.
 
Some options:

This is what I came up with that controls the variable regen on my phaserunners. You won't need all the complications there, just the cable-pull brake lever and the cable-operated-throttle (COT) box. It also has at least one other method by another member shown.
So you can still use the lever you have, just pulling the COT cable instead of a brake cable (if you still need the cable brake you can put this handle just inboard and above the other one, so it gets pulled first).

If these had existed then, I would probably have just used one of these:
which are also available in other versions; I couldn't find the ones I've seen on amazon and ebay atm but they were by one of the big standup scooter manufacturers i can't recall the name of.


There are also throttles that twist from a zero point forward for throttle, and backward for regen
(other versions also exist like dyol and spintend)


Plenty of others out there, too, including DIY options. :)
 
I forget which mode it is, but VESC also supports the mode where a 2pin brake can turn the regular throttle in a regen throttle.

So, the throttle normally does the "make go fast". However, when the brake signal is active, the throttle is now proportional regen.
 
You can write a lisp script that polls the brake input, and turns the throttle into and ebrake accordingly. I did it on my script using the assist level as switch.
 
Last edited:
You can write a lisp script that polls the brake input, and turns the throttle into and ebrake accordingly. I did it on my script using the assist level as switch.
It seems this is already a feature of VESC based on @A-DamW 's comment. You just have to selection 'Current No Reverse Brake Button' for Control Type. That functionality was not obvious to me based on the name. I'll probably switch to this when I get the chance.
 
Back
Top