I really want to get some data from the VESC (Vedders electronic speed control) via UART to a MDBT42Q Official Espruino breakout board. My only issue is that i dont realy know where to begin.
There are a few libraries already written in C. Im not so familiar with C so its hard to get some useful info out of it; LIB1 LIB2 STM32F4 C Implementation
What i do know; the VESC communicates over UART using packets with the following format:
One Start byte (value 2 for short packets and 3 for long packets)
One or two bytes specifying the packet length
The payload of the packet
Two bytes with a CRC checksum on the payload
One stop byte (value 3)
I would like some help with where to start basicly, i just want to get data from the VESC with espruino.
There is a bluetooth module that i can hook on to the VESC aswell that has RX and TX characteristics pre programmed, so there is also a option to communicate via BLEUART.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hello everyone.
I really want to get some data from the VESC (Vedders electronic speed control) via UART to a MDBT42Q Official Espruino breakout board. My only issue is that i dont realy know where to begin.
There are a few libraries already written in C. Im not so familiar with C so its hard to get some useful info out of it;
LIB1
LIB2
STM32F4 C Implementation
What i do know; the VESC communicates over UART using packets with the following format:
More detailed information here
I would like some help with where to start basicly, i just want to get data from the VESC with espruino.
There is a bluetooth module that i can hook on to the VESC aswell that has RX and TX characteristics pre programmed, so there is also a option to communicate via BLEUART.
VESC Source code
Thanks
/ G