You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using an Arduino to send data over the Serial port to my Vesc (using de <VescUart.h> library and using the setRPM function)
All good with that, the problem comes when i make a script which sends repeatedly the RPM values over Serial to the Arduino and then the Arduino sends it to the Vesc with the VescUart library
This works well if i delay each message from the following one 1,25 seconds or more, less than that (1s for example) it stops spinning sometimes and if I put a delay like 0,5secs or less it just don't spin at all.
I thought that the problem could be the speed of the Arduino so I try first with Arduino MEGA (16Mhz) and then with Arduino DUE (84Mhz) but the results are the same.
Any idea how could i solve this? I would like to send messages every 0.1 or 0,2 secs
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hi there!
I'm using an Arduino to send data over the Serial port to my Vesc (using de <VescUart.h> library and using the setRPM function)
All good with that, the problem comes when i make a script which sends repeatedly the RPM values over Serial to the Arduino and then the Arduino sends it to the Vesc with the VescUart library
This works well if i delay each message from the following one 1,25 seconds or more, less than that (1s for example) it stops spinning sometimes and if I put a delay like 0,5secs or less it just don't spin at all.
I thought that the problem could be the speed of the Arduino so I try first with Arduino MEGA (16Mhz) and then with Arduino DUE (84Mhz) but the results are the same.
Any idea how could i solve this? I would like to send messages every 0.1 or 0,2 secs
Thanks in advance
The text was updated successfully, but these errors were encountered: