フィルターのクリア

How to control PWM servo driver for arduino from matlab?

8 ビュー (過去 30 日間)
Riccardo Dalla
Riccardo Dalla 2019 年 9 月 24 日
回答済み: Aakriti Suman 2020 年 3 月 24 日
I'm looking for libraries/support to control a PWM driver module (PCA9685) connected to arduino from Matlab. I'm not very skilled with the Arduino add on, so I don't really know how to send I2C commands to the module from matlab. To be clear what I'd like is something like this (see link), but for the PCA9685 instead of the Adafruit motor shield.https://it.mathworks.com/help/supportpkg/arduinoio/examples/control-motors-using-adafruit-motor-shield-v2.html?prodcode=ML
Thank you

回答 (1 件)

Aakriti Suman
Aakriti Suman 2020 年 3 月 24 日
I understand that you want to control the motor driver by sending the I2C commands to the module from MATLAB.
I am attaching a documentation link for your reference. It contains all the functions which are used for I2C communication.https://in.mathworks.com/help/supportpkg/arduinoio/referencelist.html?type=function&listtype=cat&category=i2c-sensors&blocktype=all&capability=&s_tid=CRUX_lftnav
I am also attaching a document which contains an example of communication of an arduino with I2C based Temperature sensor using MATLAB.

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by