Buy FOCBOX Unity

VESC FAQ | Connect two VESC via CANBUS for dual motors

can-bus
dual
vesc

#1

The VESC is designed to control dual motors from one input source. It also offers traction control!

  1. In the picture below there is one remote control receiver connected via the Orange, Red & Brown Wires.


  1. You must connect two wires between the VESC’s, Run the two wires connecting the two middle pins of the four pin connector. You may buy this connector and just use the two middle pins, its called a “JST-PH 2MM” connector.


  1. You need to configure the Firmware using the BLDC tool on your computer.

  • Go to “App Configuration” tab,
  • Choose input type. For RC controller choose “PPM tab” / For Nunchuck choose “Nunchuck”
  • Select “Multiple ESC over Can”
  • Traction control is optional


  1. Now bench test to see if the motors both spin together.


Hub motor with twin ESC set up help
VESC FAQ | Connect The Nyko Kama wireless wii NunChuck
New vesc user? Read This - COMPLETE WALKTROUGH OF THE VESC
Combining 2 VESCs with CANBUS or Y-CABLE?
Vesc, battery pack and motormount for MountainBoard build
Going over options to connect two VESCs to remote
Solving the problem of noob questions
New vesc user? Read This - COMPLETE WALKTROUGH OF THE VESC
Disastorm | Never Summer Commander Deck | Enertion Trucks | Dual Enertion R-Spec | Enertion Mount| Space Cell | Dual VESC
I´m in love ! - first time VESC rider ! (Hobbyking SK8 ESC FOC)
How to connect canbus
Firmware update on slave VESC?
Help with Stealth | hi5ber, Zenith | Caliber 2 | single R-spec 190kv | Custom Carbon Enclosure | Spacecell | VESC
KALY NYC Board BLOWN VESC - Ernesto has dropped all contact, HELP
VESC, somehow I killed it
#2

On my to-do list. Previous dual VESC setup used “Y” servo cable.

Don’t forget to uniquely ID each controller. There are problems if you don’t give them different ID’s (1/2, 0/1, etc.)


#3

ALSO NOTE: You need to click this for the slave VESC


split this topic #4

I moved a post to a new topic: VESC FAQ | Best Settings For Hub Motors


#5

Hey I was just thinking of this…
if you are connecting 2 VESC’s together a lot of the electronics is probably wasted on the 2nd VESC. wouldn’t it be possible to have a VESC daughter board made with basicly just the FETS and related electronics. so all the signaling is done on the main VESC and then the 2nd motor is run by a daughter board signaled from the first VESC.

I dunno… again I’m just thinking out loud.


#6

Hey if i connect my remote receiver directly to one of the VESC and then link the two as shown in this post will everything work fine, after programming it correctly of course?


#7

Also does anyone know a good website in Australia that sells the the connecting JST-PH 2mm cable? I am struggling to find it


#8

@Mitch, yes your remote should work. About the connectors: I don’t have a source for Australia, but could recommend this reliable guy from Germany shipping worldwide and fast, he has also the same for 4 Pin: http://www.ebay.com.au/itm/KIT-BUCHSE-STECKER-6-polig-pins-2-mm-JST-HEADER-Male-Connector-PCB-A648/262040524714?_trksid=p2045573.c100033.m2042&_trkparms=aid%3D111001%26algo%3DREC.SEED%26ao%3D1%26asc%3D20131017132637%26meid%3D557c647a904e420bb98fff8961370645%26pid%3D100033%26rk%3D2%26rkt%3D4%26sd%3D371296458570


#9

I had this setup running really nicely until yesterday. I have the same settings as shown in the above examples. Yesterday I was riding allot and a few times the slave motor wouldn’t spin on startup, I restarted the board and things worked fine, then nothing at all. I’ve been troubleshooting all night and got the motor going a few times then it would stop responding and now I cant get anything from it.
I’ve checked and re-soldered the CANBUS connection, the VESC is on with blue lights (good) and the motor spins on the detection test in BLDC but I can’t control the second motor using my GT2B which is connected to the master VESC, Im not getting any pulse width readings in the PPM app, however I do if I am connected to the master VESC.

I’d love to hear any suggestions so I can get this thing back up and running for the weekend, single drive sucks after you’ve experienced the wonders of dual rear :smile:


#10

While I think it is great that we can use this capability I think splitting the servo signal is still the most robust option. I recently configured two vesc as a master/slave and encountered the same issues.

I wonder if it works more smoothly using the nunchuk instead of PPM?


#11

Did you check the motor cables? I had the same issues like you and they were caused by a broken solder spot on one motor connector.


#12

The motor connections seem solid. From my inspections the hardware seems ok.


#13

Hi, what does splitting the servo mean ? Do you mean have the wireless receiver input to both of the vescs in parallel as opposed to having them connected via CANBUS ? Does that work ?


#14

Yes, you split the signal. You have to drop the positive on one so you will only pull power off of one VESC to power the receiver. I think this will disable any traction control though.


#15

I see. What is traction control ? I’ll be building mine soon so I want to know what I should do. The issue with CANBUS is that it stops working some time ??


#16

I have only experienced this once so it could be an isolated incident.

Traction control will sense one will spinning more than the other and reduce current to that motor until they get back in sync.


#17

ah I see. I’ll probably try to use CANBUS then and I’ll switch if I encounter any issues.

Also the issue you describe is independent of the receiver itself? I will be using the Nyko Kama.
Also just as a general question, if splitting the signals, the current into each VESC connector would be cut in half right? Does the VESC still work fine in that case?


#18

You can wire the nyko kama dongle directly to the VESC and join them using the CANBUS.


#19

Yes thats what I planned on doing. Was the issue you were referring to only applicable to the G2B controller ?


#20

I had some issues using the PPM with communication enabled. You will be using the nunchuck option, might be more stable.