Arduino speed reference custom app

Support for creating custom user applications on the VESC.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
GSanta
Posts: 7
Joined: 28 Nov 2016, 10:26
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Arduino speed reference custom app

Postby GSanta » 18 Jan 2017, 13:50

Hi guys,

I've a question about setting a speed reference to the VESC.
Simply I would like to send from an Arduino a speed reference to the VESC. I would like to send an "RPM reference" in real time.
The easiest way to do that is to write a custom application where the Arduino communicates using UART protocol and giving to the VESC the rpm reference value?
Or there are any other easiest way?

Many thanks for your help,
best regards.
Giovanni.

rew
Posts: 943
Joined: 25 Mar 2016, 12:29
Location: Delft, Netherlands.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: Arduino speed reference custom app

Postby rew » 20 Jan 2017, 08:06

I don't think you have to write the "custom application", on the VESC you just activate the UART application. It can accept speed (RPM) commands just fine.

The arduino application is very easy. It is just a few bytes to send.


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Return to “Custom Applications”

Who is online

Users browsing this forum: No registered users and 1 guest