Slow Encoder Feedback to Arduino

Hello! I would really like to get faster responses from the ODrive when I request the encoder position. Currently it takes about 1 second to get a response. I have tried Software Serial on the Arduino Uno. I also tried using Hardware Serial (shown below) with an adafruit feather which supports it.

I would really like to know how I can speed this up. Thank you all for your help.

void loop() {

Serial1 << “r axis” << 0 << “.encoder.pos_estimate\n”;
Serial << odrive.readFloat() << ‘\t’;


1 second is the timeout, you’re getting a failed response. It should take microseconds.

Oh I see, I figured it was a problem on my end. Thank you for your response. Do you have any advice for troubleshooting this?

Thank you for your help!

1 Like
  1. There is a video that might be helpful where he shortens the length of the request:

  2. Here is the code I used when using an arduino:

Hope that helps point you in the right direction