You are here

Cannot read data over UART

2 posts / 0 new
Last post
amalbers01
Offline
Last seen: 1 year 2 months ago
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: 1 month 3 weeks ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 847

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.