You are here

Dual motor control on VESC6 / 6.00.58

3 posts / 0 new
Last post
Last seen: 3 months 3 weeks ago
Joined: 2022-10-10 19:16
Posts: 1
Dual motor control on VESC6 / 6.00.58

I need to be able to control 2 motors simultaneously using VESC for an RC vehicle. I'm currently using an STM32F407 and VESC firmware version 6.00.58 to do this. Right now, I can get one motor at a time to spin, but I can't figure out how to get both to spin simultaneously at different speeds or directions. 

The software has a flag for enabling dual motor support, and we can control two motors, but not simultaneously independently (simultaneous run, independent speed/direction). Based on that I designed around the STM32F407 using the VESC6_Plus schematic.

I had to remap some of the pins to align with timers - there was only one option to be able to connect two motors. The design works beautifully, I have no problem driving them independently, just having problems with getting the software to run them simultaneously and independently control speed and direction. 

Has anyone done this successfully or has anyone got an idea on how to do it?

Last seen: 4 days 2 hours ago
VESC BronzeVESC GoldVESC OriginalVESC Silver
Joined: 2016-12-27 20:19
Posts: 822

The software is not capable to controlling two motors independently without using additional LISP or QML scrips.

Last seen: 3 months 1 week ago
Joined: 2022-10-14 20:35
Posts: 1

I will be looking into something similar, in order to get vector thrusting for two motors, in addition to having a PIB programmed to counteract wobble decteced to IMU sensor. Would be interested to get in touch with anyone doing something similar.