How to interface MATLAB with Dynamixel motors through Arduino?
6 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
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
0 个评论
社区
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!