You are here

Cannot read data over UART

2 posts / 0 new
Last post
amalbers01
Offline
Last seen: 1 month 2 weeks ago
VESC Free
Joined: 2022-01-23 08:00
Posts: 1
Cannot read data over UART

I am running a VESC6 MKIV from trampa board with the app mode in ADC and UART mode.  I have connected an arduino to read (and log) data from the VESC, but UART communication is failing.  No matter what I try, the VESC is only sending 0's to the arduino data.  Does anyone know how to fix this?  Thanks!

frank
Offline
Last seen: 3 days 22 hours ago
VESC BronzeVESC GoldVESC OriginalVESC Silver
Joined: 2016-12-27 20:19
Posts: 822

Be careful with GND loops. The Arduino needs to be powered by the VESCs 5V output, with no other paths to any other GND, or you need to use optocouplers. Unfortunately I can't help you on your UART issue.