-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Probably does not work with modern firmware #25
Comments
Could not make it work for FW 3.56. If Anyone knows a way of reading data from the new firmware let me know. I'll post here if i know how to do it. In the meantime what version of FW shoud I use? |
Give my fork a try : https://github.com/Peemouse/VescUart |
Thanks for quick the replay @Peemouse I tried the getFWversion, but no success.. I am using an Arduino mega and used Serial1 as well Rx1 -> 19 and Tx1 ->18. Both baud rates at 115200 and did not change the mask (I know little to nothing of c or c++ but i can learn it). Pins were correctly placed and are giving me 0.5 V for Vesc RX and 3.3V for Vesc Tx. Do you have any idea what can be the problem? Thank you once again, |
Add |
It is reading! Thank you so much. Also, the ground is making a poor connection with the Arduino board and the signal gets interrutped very often. I will try to read more data from other variables. In the meantime can you indicate me what are the basics of c++ that I need to know to setup up these masks values as well the structure behind this particular code? I only have experience with matlab but with a few guidelines I can learn the basics on my own. Again, thank you so much! |
Well, for the mask, just use the file I linked to you. |
@joseguerr please update your library with the latest version I just pushed. |
@joseguerr Could you open an issue on my fork for this ? |
I second Joseguers conclusion. v3.58 returns huge values in both idle and running cases. Something about the packet format got changed. |
The code provided is working properly. At the time I was having issues because the grounds were not properly connected. Also, I was using Arduino Mega and one thing it worked for me was to use TX and RX 3, since 1 and 2 were not giving me any decent output. Go check Peemuse's issues, I believe that is the place where the full discussion is. Cheers |
For example - COMM_GET_VALUES in fw 3.55+ returns 65 bytes of data.
This code expects 54 bytes.
The crc etc will of course no longer work...
The text was updated successfully, but these errors were encountered: