필터 지우기
필터 지우기

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 CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by