Page 1 of 1

ESC control via CAN

PostPosted: Tue Nov 22, 2016 7:08 pm
by lou-s
Hello,

I've been looking at the open source firmware for the ESC32v2 and created a basic driver to control the ESC32v3 via CAN. So far, I've been able to address the ESCs, arm them, start them, and set their rpm. I have the ESCs connected to KDE 2814-515 motors.

My main issue is that I cannot set an rpm value greater than about 5000. As soon as I try that, the motor maxes out at ~5100 rpm, maxes out the voltage (11.1V), and sounds "choppy" (ie. it is not spinning smoothly at a fixed rpm).

I've calibrated the motors via the ESC32 application and saved the FF values to permanent memory. Using the ESC app, I'm able to set an rpm all the way to 8000, and the motors still don't max out the voltage draw.

Thanks for any suggestions on what I might be doing wrong.

Re: ESC control via CAN

PostPosted: Wed Nov 23, 2016 3:11 pm
by LPR
I had the same type of problem when setting up an ESC32 V3. After awhile I realized that my power supply was not able to supply enough power.

Re: ESC control via CAN

PostPosted: Wed Nov 23, 2016 6:47 pm
by lou-s
Aah, thanks! That was the issue.

I've been struggling through so many CAN issues that I didn't think to check the power supply.

Re: ESC control via CAN

PostPosted: Wed Nov 23, 2016 8:07 pm
by LPR
Great

Re: ESC control via CAN

PostPosted: Thu Oct 26, 2017 7:17 am
by dawns
You can give me the source code of the ESC32 control via CAN, please.

Re: ESC control via CAN

PostPosted: Fri Oct 27, 2017 2:47 pm
by bluuu
Source code for v2 (there is a CAN support) is avalible.
https://github.com/bn999/esc32