You are here

VESC state machine

3 posts / 0 new
Last post
Last seen: 1 month 3 weeks ago
Joined: 2020-02-25 23:28
Posts: 3
VESC state machine

Hi guys,

Iam new to the VESC project (and to coding) and want to purchase a 75/ 300 for my electric motorcycle with qs205 v3 hub motor.

Is there an existing state machine or just the "raw" C code to work with?

I want to implement some additional functions, like brake light while positive current flow and don´t know where to start actually :/

Another question: Now that the 100/ 250 VESC isn´t that expensive anymore, I may want to upgrade to that one. Has someone figured out the maximum phase current here? :)

Thanks for helping a Newbie out and have a great day! :)

Soco Umbau 05.2020.jpg

That´s the bike right now. Originally 1,9kW nominal and 3kW peak. With these modifications, Iam aiming at 19kW peak and 4kW nominal. This project is part of my further education in electric mobility :)

Last seen: 5 days 21 hours ago
VESC FreeVESC Original
Joined: 2017-09-11 11:46
Posts: 172

The code is open source, there are literally links to it here: and here it is:

You could probably write a custom application that would do what you want, although it might be easier to use an Arduino as a secondary to control the lights.

The hints are in the name for the 75/300 and 100/250, 300A and 250A respectively. I'm not sure they will do that, but that's the claim.

Last seen: 2 months 2 weeks ago
Joined: 2020-09-12 08:57
Posts: 1

Thanks for your answer. It helped me a lot.