Emil Jacobsen
Emil Jacobsen
Yeah that should be quite easy. I am actually skipping the first 4 bytes of the data received, which contains the mosfet temperature (2 bytes) and the motor temperature (2...
Made a new branch with the changes. You can see the changes here: https://github.com/SolidGeek/VescUart/commit/87a2552f0fecd1be73e0160c7468ce80af1cedeb And download the updated library here: https://github.com/SolidGeek/VescUart/tree/development Let me know if it works 👍
I have changed the datatype of the error variable to uint8_t, should work now. Its weird, because I didn't get the error on compiling. Would you give it a try...
Glad to hear. Yeah the error value map directly to the mc_fault_code ENUM. So an error value of 3 would mean a DVR error etc.
This works on Windows, however for Linux (rasberry pi) the read() command still blocks. I have tracked down the function that blocks, which is the _get_data(self, read_size) function, when it...
You should be able to use the CAN bus functionality of the library. You need to connect both your VESC over CAN, and connect over UART to the "master" VESC....
You need to connect a serial port from your Arduino Mega, to the serial port on the VESC. RX goes to TX, and TX goes to RX. Remember to connect...
The VESC6 uses the same software as a VESC4, thus if the software is updated to work with the newest BLDC firmware, it should also work on a VESC6.
Thanks for the fast response, means a lot 👍 ! Unfortunately, I am not able to test with PIN 10 and 11 at the moment because pin 10 and 11...