You are here

5V/serial weirdness when using FOC

2 posts / 0 new
Last post
Last seen: 1 year 9 months ago
Joined: 2019-05-14 18:54
Posts: 1
5V/serial weirdness when using FOC

I'm using a 4.12 VESC in FOC mode to run a 16" hub motor. This works without any problems, but I wanted to display some data on a screen.
For this, I am using a cheap Arduino clone, which is connected to the VESC 5V output and serial. (library in use:​)
In BLDC mode, everything works the way it should, but when running FOC, the Arduino "freezes" at random times. It only starts updating the screen again upon restarting it.

The only thing that I could think of that would cause something like this is a temporary drop in voltage on the 5V output when the VESC is under load, but I've measured it and that doesn't seem to be the case.

I'm completely out of ideas, so any help would be greatly appreciated!

Last seen: 1 day 13 hours ago
VESC BronzeVESC GoldVESC OriginalVESC Silver
Joined: 2016-12-27 20:19
Posts: 819

Any ground Loops? Is the Arduino clone connected to the battery, other than through the VESC?