Skip to main content
Narrowing to one issue
Source Link

I had a Roboteq motor controller, but it wasn't fast enough. I'm hoping Arduino will be faster.

So I've seenSupposing that the MATLAB Support Package for Arduino (aka ArduinoIO Package), but elsewhere it says control loops can only be run at 25 Hz. I need 200 Hz... That's my first question.

EDIT: This is for serial communication... I really don't want serial communication. It's too slow. But I need to communicate via MATLAB. Sotransfer is there something else I need?

Secondly, supposing that it's fast enough for my purposes, how can I read angular velocity, given that I have an encoder? Honestly, I'm not totally sure how to hook it up to an Arduino board. I can't find a name for my encoder... This is the datasheet though.

Can anyone help me with how to hook it up, and what commands to use in MATLAB?

Thanks.

I had a Roboteq motor controller, but it wasn't fast enough. I'm hoping Arduino will be faster.

So I've seen the MATLAB Support Package for Arduino (aka ArduinoIO Package), but elsewhere it says control loops can only be run at 25 Hz. I need 200 Hz... That's my first question.

EDIT: This is for serial communication... I really don't want serial communication. It's too slow. But I need to communicate via MATLAB. So is there something else I need?

Secondly, supposing that it's fast enough, how can I read angular velocity, given that I have an encoder? Honestly, I'm not totally sure how to hook it up to an Arduino board. I can't find a name for my encoder... This is the datasheet though.

Can anyone help me with how to hook it up, and what commands to use in MATLAB?

Thanks.

I had a Roboteq motor controller, but it wasn't fast enough. I'm hoping Arduino will be faster.

Supposing that the transfer is fast enough for my purposes, how can I read angular velocity, given that I have an encoder? Honestly, I'm not totally sure how to hook it up to an Arduino board. I can't find a name for my encoder... This is the datasheet though.

Can anyone help me with how to hook it up, and what commands to use in MATLAB?

Thanks.

added link from comments
Source Link
sachleen
  • 7.6k
  • 5
  • 40
  • 57

I had a Roboteq motor controller, but it wasn't fast enough. I'm hoping Arduino will be faster.

So I've seen the MATLAB Support Package for Arduino (aka ArduinoIO Package), but elsewhere it says control loops can only be run at 25 Hz (I'll put that link in the comments. Since I'm a new user, it only lets me post two.)control loops can only be run at 25 Hz. I need 200 Hz... That's my first question.

EDIT: This is for serial communication... I really don't want serial communication. It's too slow. But I need to communicate via MATLAB. So is there something else I need?

Secondly, supposing that it's fast enough, how can I read angular velocity, given that I have an encoder? Honestly, I'm not totally sure how to hook it up to an Arduino board. I can't find a name for my encoder... This is the datasheet though.

Can anyone help me with how to hook it up, and what commands to use in MATLAB?

Thanks.

I had a Roboteq motor controller, but it wasn't fast enough. I'm hoping Arduino will be faster.

So I've seen the MATLAB Support Package for Arduino (aka ArduinoIO Package), but elsewhere it says control loops can only be run at 25 Hz (I'll put that link in the comments. Since I'm a new user, it only lets me post two.). I need 200 Hz... That's my first question.

EDIT: This is for serial communication... I really don't want serial communication. It's too slow. But I need to communicate via MATLAB. So is there something else I need?

Secondly, supposing that it's fast enough, how can I read angular velocity, given that I have an encoder? Honestly, I'm not totally sure how to hook it up to an Arduino board. I can't find a name for my encoder... This is the datasheet though.

Can anyone help me with how to hook it up, and what commands to use in MATLAB?

Thanks.

I had a Roboteq motor controller, but it wasn't fast enough. I'm hoping Arduino will be faster.

So I've seen the MATLAB Support Package for Arduino (aka ArduinoIO Package), but elsewhere it says control loops can only be run at 25 Hz. I need 200 Hz... That's my first question.

EDIT: This is for serial communication... I really don't want serial communication. It's too slow. But I need to communicate via MATLAB. So is there something else I need?

Secondly, supposing that it's fast enough, how can I read angular velocity, given that I have an encoder? Honestly, I'm not totally sure how to hook it up to an Arduino board. I can't find a name for my encoder... This is the datasheet though.

Can anyone help me with how to hook it up, and what commands to use in MATLAB?

Thanks.

Source Link

Controlling Arduino through MATLAB?

I had a Roboteq motor controller, but it wasn't fast enough. I'm hoping Arduino will be faster.

So I've seen the MATLAB Support Package for Arduino (aka ArduinoIO Package), but elsewhere it says control loops can only be run at 25 Hz (I'll put that link in the comments. Since I'm a new user, it only lets me post two.). I need 200 Hz... That's my first question.

EDIT: This is for serial communication... I really don't want serial communication. It's too slow. But I need to communicate via MATLAB. So is there something else I need?

Secondly, supposing that it's fast enough, how can I read angular velocity, given that I have an encoder? Honestly, I'm not totally sure how to hook it up to an Arduino board. I can't find a name for my encoder... This is the datasheet though.

Can anyone help me with how to hook it up, and what commands to use in MATLAB?

Thanks.