VESC - Flipsky 75100 V2 with Bafang Display and T15/T17 BB-Torque Sensor

like on the controllers like torp and ebmx they use vesc but the bafang display has sport and eco how can i do that?
Sorry, I don't understand your question.
You switch the levels just by pressing the up/down buttons on the display. 🤷‍♂️
 
Yes, of course. The UART communication protocol has nothing to do with the motor.

regards
stancecoke
 
?! It is implemented already in the code, I just took it from the Luna Cycle files. If you don't want to use a Flipsky 75100, you would have to port the files to your hardware. See the commit history of my VESC fork.

regards
stancecoke
 
I started a tutorial how to flash a custom firmware file in the github wiki, but I don't know how detailed it has to be :)

 
Acabei de adicionar esta função na última linha de entrada livre, UART2 Tx.
Ele também pode ser usado como uma entrada de sensor de engrenagem, mas atualmente ele para o motor somente enquanto a linha de transmissão UART2 estiver conectada ao GND.

cumprimentos
posturacoke

Flipsky%20wiring.PNG
Notei que o sensor de velocidade externo tem apenas dois pinos. Você pode me dizer como conectar um sensor de 3 pinos?
 
If you want to use a hallsensor based speedsensor, just take the +3.3 V from one of the connectors.
 
Bafang calls the levels just 1 to 5, not eco, tour, sport, turbo or something like that.
The Bafang protocol is well known, you can use any parameter to define individual functions for them, if you want.
See the manual of a Bafang display

regards
stancecoke
Thanks for sharing! Can you tell me if the KT LCD4 (similar to Bafang) or S866 displays are compatible with the custom firmware you posted?
 
Can you tell me if the KT LCD4 (similar to Bafang) or S866 displays are compatible
No, only the Bafang UART protocol is implemented.
But there is another fork of the VESC firmware, that has the KT protocol and supports simple three wire PAS. But I don't know, how it works.

If you are interested in more EBike specific controllers, displays and peripherals, I recommend Lishui FOC controllers. The open source firmware supports KT, 5s (Kingmeter, KeyDisplay...) Bafang and No2 (S866 and many other china displays) UART protocols.
It has support for BB torquesensors like T15/T17, simple PAS and KCLAMBER cassette integrated torquesensors.

regards
stancecoke
 
Last edited:
No, only the Bafang UART protocol is implemented.
But there is another fork of the VESC firmware, that has the KT protocol and supports simple three wire PAS. But I don't know, how it works.

If you are interested in more EBike specific controllers, displays and peripherals, I recommend Lishui FOC controllers. The open source firmware supports KT, 5s (Kingmeter, KeyDisplay...) Bafang and No2 (S866 and many other china displays) UART protocols.
It has support for BB torquesensors like T15/T17, simple PAS and KCLAMBER cassette integrated torquesensors.

regards
stancecoke
ok, I understand, I found a display, original bafang mini display model DZ 40, UART 5.0 protocol, would it be compatible? It has a great value on Aliexpress! https://a.aliexpress.com/_mO9o7eF
 
You can get the sensor from different sources:
I will soon convert my 75100 into a "bafang controller". I bought a dz40 display for bafang, and I have a question, when you changed the firmware, did you notice if it is mandatory to use the display or could I continue using the controller without worrying about the level of assistance, that is, when changing the firmware, will I be able to at least turn it on and use the VESC normally, without using the bafang display? I would like to use only the VESC accelerator for now, but the question would be whether the level of assistance will not influence the power of the accelerator or will only influence the power of the torque sensor, thank you for helping us!!
 
Você pode usar o acelerador ADC no ADC1 como de costume. O aplicativo ADC verifica qual entrada comanda a potência mais alta e define a corrente do motor de acordo com o comando mais alto.

https://github.com/stancecoke/VESC_...87a7549cb8e91973c/applications/app_adc.c#L576
Ok, I understand, thanks! The procedure to use the firmware would be just to follow the tutorial you posted, easy. Regarding the VESC application for smartphones, despite using a different firmware, is it still compatible or does it need some modification? These days I came across a kit from CYC, based on VESC, and they have a very complete application.
 
Back
Top