You are here

Navigating the firmware

3 posts / 0 new
Last post
thewho
Offline
Last seen: 1 year 11 months ago
Joined: 2018-07-19 10:02
Posts: 37
Navigating the firmware

Hello

Iv'e been "designing" an 10s compatible esc so I was looking through the firmware source but I find it hard to get a grasp on where to find what.

I'd for example want to edit:

  • Current sense values
  • Phase and source voltage values
  • Pins for fet hi/lo, current sense, voltage sense etc. (I've not checked the datasheet to see if any other pins is suitable for adc)

 

Btw, does anyone know what gate drivers Benjamin uses in the 75/300 Vesc? He might have said it in his latest video but then I've missed it.

TechAUmNu
Offline
Last seen: 9 hours 12 min ago
VESC Free
Joined: 2017-09-22 01:27
Posts: 575

Probably the same as me... 

He is using the same INA240 current shunt amplifiers.

I used UCC27211 gate drivers. I think he is using them in a smaller package.

TechAUmNu
Offline
Last seen: 9 hours 12 min ago
VESC Free
Joined: 2017-09-22 01:27
Posts: 575

Also for those settings look in the hwconf folder, you can copy the vesc 6 files and make your own hardware configuration for your board. In the .h files for each hardware version it defines the R1 R2 input voltage divider (also the same for phase voltage sense) and the resistance and gain of the current shunt/amp.