How to interface MATLAB with Dynamixel motors through Arduino?

8 views (last 30 days)
Angelo Giuseppe Spinosa
Angelo Giuseppe Spinosa on 15 Jan 2019
Answered: Madhu Govindarajan on 15 Jan 2019
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?

Answers (1)

Madhu Govindarajan
Madhu Govindarajan on 15 Jan 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

Communities

More Answers in the  Power Electronics Control

Community Treasure Hunt

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

Start Hunting!

Translated by