How to interface MATLAB with Dynamixel motors through Arduino?

조회 수: 7 (최근 30일)
Angelo Giuseppe Spinosa
Angelo Giuseppe Spinosa 2019년 1월 15일
답변: Madhu Govindarajan 2019년 1월 15일
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?

답변 (1개)

Madhu Govindarajan
Madhu Govindarajan 2019년 1월 15일
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

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by