VESC & CAN Bus communication to another MCU (NOT VESC)

General topics and discussions about the VESC and its development.
yosoufe
Posts: 50
Joined: 18 Jul 2016, 11:26
Location: USA
[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

VESC & CAN Bus communication to another MCU (NOT VESC)

Postby yosoufe » 27 Jul 2016, 15:42

Hi

Is it possible to communicate with VESC using CAN bus? not to other VESC, but to other MCU to get values or set rpm and so on.
How should be the CAN protocol? in each packet of CAN, 1 byte is sent and should be treated like UART communication or it uses 8 bytes in each CAN packet or something between? Or it does not matter?

thanks

yosoufe
Posts: 50
Joined: 18 Jul 2016, 11:26
Location: USA
[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: VESC & CAN Bus communication to another MCU (NOT VESC)

Postby yosoufe » 01 Aug 2016, 07:36

Are there any detailed data about CAN and VESC?

arvidb
Posts: 234
Joined: 26 Dec 2015, 14:38
Location: Sweden, Stockholm
[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: VESC & CAN Bus communication to another MCU (NOT VESC)

Postby arvidb » 01 Aug 2016, 14:22


yosoufe
Posts: 50
Joined: 18 Jul 2016, 11:26
Location: USA
[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: VESC & CAN Bus communication to another MCU (NOT VESC)

Postby yosoufe » 02 Aug 2016, 09:54


yosoufe
Posts: 50
Joined: 18 Jul 2016, 11:26
Location: USA
[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: VESC & CAN Bus communication to another MCU (NOT VESC)

Postby yosoufe » 02 Aug 2016, 10:34

Image

yosoufe
Posts: 50
Joined: 18 Jul 2016, 11:26
Location: USA
[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: VESC & CAN Bus communication

Postby yosoufe » 02 Aug 2016, 17:09

Thanks for description

I made the CAN communication with my TI processor and now I can get values like the UART, without setting the VESC to send the status at 500 Hz. I get data whenever I send the request.

Thanks again

yosoufe
Posts: 50
Joined: 18 Jul 2016, 11:26
Location: USA
[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: VESC & CAN Bus communication to another MCU (NOT VESC)

Postby yosoufe » 11 Nov 2016, 10:34

Last edited by yosoufe on 17 Jun 2017, 10:25, edited 1 time in total.

skipper762
Posts: 10
Joined: 13 May 2017, 06:08
[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: VESC & CAN Bus communication to another MCU (NOT VESC)

Postby skipper762 » 04 Jun 2017, 01:56


yosoufe
Posts: 50
Joined: 18 Jul 2016, 11:26
Location: USA
[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: VESC & CAN Bus communication to another MCU (NOT VESC)

Postby yosoufe » 16 Jun 2017, 23:48


yosoufe
Posts: 50
Joined: 18 Jul 2016, 11:26
Location: USA
[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: VESC & CAN Bus communication to another MCU (NOT VESC)

Postby yosoufe » 22 Jun 2017, 09:01



[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 “General”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests