VESC FAQ | Connect two VESC via CANBUS for dual motors

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.

https://cdn1.bigcommerce.com/n-yp39j5/zad02/product_images/uploaded_images/20150522-082329.jpg?t=1432249306


  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.

8 Likes

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.)

1 Like

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

1 Like

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

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.

9 Likes

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?

1 Like

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

@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

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:

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?

1 Like

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.

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

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 ?

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.

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 ??

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.

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?

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

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

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

1 Like