Hello,
I'm interested into the compatibility of the vesc 6.0 firmware with standart ebike systems (display, pas, torque sensor). Before trying to reinvent everything myself, I'm investigation what already has been done in the field. Is there a list / compilation somewhere of vesc code optimization for ebike ? For an instance, maybe someone already worked on implementing 5s or bafang display protocols ?
Thank you for your time,
felix
I havent seen yet. But i know that the Bafang code is already implemneted in an arduino project. So it should be possible.
There is nothing too specific about ebikes that's not already in the code. The only thing is the PAS but it's a fairly easy thing to implement and I think Benjamin may be pushing it soon. That doesn't prevent you from writing a simple app if that functionality is critical.
On my 20kw controller, PAS makes little sense but I use ADC1 as the throttle and ADC2 as the variable brake. Two throttles is all that is needed for an ebike. There is a also cruise control functionality and reverse if you need that.
NextGen FOC High voltage 144v/34s, 30kw (https://vesc-project.com/node/1477)
Yeah thats right. PAS can be easy done by custom application.
The logic should be pretty easy, at least for a basic hall based, PAS. you would need to read transitions from the sensor and track the frequency then map it to the throttle. There would need to be settings for speed and current limits. With torque sensor the things get just a bit more complicated.
NextGen FOC High voltage 144v/34s, 30kw (https://vesc-project.com/node/1477)