ESC control via CAN

Info and Discussion about the ESC32 hardware and software

ESC control via CAN

Postby lou-s » Tue Nov 22, 2016 7:08 pm

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.
lou-s
 
Posts: 3
Joined: Tue Nov 22, 2016 6:53 pm

Re: ESC control via CAN

Postby LPR » Wed Nov 23, 2016 3:11 pm

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.
LPR
 
Posts: 1323
Joined: Tue Jun 26, 2012 1:29 pm
Location: MN, USA

Re: ESC control via CAN

Postby lou-s » Wed Nov 23, 2016 6:47 pm

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.
lou-s
 
Posts: 3
Joined: Tue Nov 22, 2016 6:53 pm

Re: ESC control via CAN

Postby LPR » Wed Nov 23, 2016 8:07 pm

Great
LPR
 
Posts: 1323
Joined: Tue Jun 26, 2012 1:29 pm
Location: MN, USA

Re: ESC control via CAN

Postby dawns » Thu Oct 26, 2017 7:17 am

You can give me the source code of the ESC32 control via CAN, please.
dawns
 
Posts: 1
Joined: Thu Oct 26, 2017 6:59 am

Re: ESC control via CAN

Postby bluuu » Fri Oct 27, 2017 2:47 pm

Source code for v2 (there is a CAN support) is avalible.
https://github.com/bn999/esc32
bluuu
 
Posts: 1339
Joined: Mon Oct 29, 2012 8:02 pm
Location: Poland, Silesia


Return to ESC32

Who is online

Users browsing this forum: No registered users and 21 guests

cron