You are here

How to prevent ground loop?

2 posts / 0 new
Last post
mansi712
Offline
Last seen: 4 days 21 hours ago
VESC Free
Joined: 2024-08-08 11:50
Posts: 9
How to prevent ground loop?

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?

electricfox
electricfox's picture
Offline
Last seen: 7 hours 15 min ago
VESC Original
Joined: 2019-01-01 17:11
Posts: 124

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.