How to control PWM servo driver for arduino from matlab?
20 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
0 commentaires
Réponses (1)
Aakriti Suman
le 24 Mar 2020
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.
0 commentaires
Voir également
Catégories
En savoir plus sur Arduino Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!