How to interface MATLAB with Dynamixel motors through Arduino?

8 visualizaciones (últimos 30 días)
I obtained the following hardware configuration: an Arduino Mega 2560 board connected to two Dynamixel motors through a 3-state buffer. I have realised an Arduino program for both sending and receiving angular positions from the motors in order to control them. However, my idea is to create a connection such that OOP-based MATLAB objects can control my Dynamixel motors through Arduino. Is there a way to solve this problem?

Respuestas (1)

Madhu Govindarajan
Madhu Govindarajan el 15 de En. de 2019
There are guides on this page that shows how to create custom add-ons based on existing libraries - https://www.mathworks.com/help/supportpkg/arduinoio/ug/custom-arduino-add-on-device-library-and-code.html
If there is no existing library, then these motors are probably controlled using PWM or some other technique similar to that. Depending on the technique, there are possible MATLAB equivalents.
Let the community know what exactly are you looking for.
Madhu

Comunidades de usuarios

Más respuestas en  Power Electronics Control

Categorías

Más información sobre Arduino Hardware en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by