I have 2 vescs connected with can bus and single power supply. Both the vescs have same firmware and i am using similar bldc motor. I tried controlling the two vescs using the vesc tool via usb, but it didnt work and i can only run one motor at a time. So after a lot of search i found that i can may be use arduino via UART port to run both the vescs.
I tried running both the vescs individually using arduino and it works fine, but my doubt is when i connect it to the master vesc, do i have to connect only the communication wires or GND as well?
When i tried with the single vesc i only connected Tx and RX and it worked fine, but for connecting with dual vescs I am not sure about the ground connection as i have been reading alot about ground loops and i am really have no clue what it is and how to prevent it.
Also i am powering up the arduino using laptop via usb.
Does anyone has any suggestion on this?
It´s absolutely no problem to control two Vescs via CAN. On Trampaboards Website you find manuals for VESC´s in "HQ". In manuals it´s described how to wire CAN Bus. You should only connect CAN H to CAN H and CAN L to CAN L. Avoid ground loops. Using VESC´s with a power supply while using a laptop via USB can also cause problems.
Link to forum post: VESC help offered for private persons and companies
Website: www.electricfox.de