Effacer les filtres
Effacer les filtres

How to control PWM servo driver for arduino from Simulink?

6 vues (au cours des 30 derniers jours)
Yash Patel
Yash Patel le 23 Oct 2020
Réponse apportée : Shreshth le 20 Août 2024 à 5:26
I'm looking for libraries/support to control a PWM driver module (PCA9685) connected to arduino from Simulink. I'm not very skilled with the Arduino add on, so I don't really know how to send I2C commands to the module fromSimulink.

Réponses (1)

Shreshth
Shreshth le 20 Août 2024 à 5:26
Hello Yash,
I understand that you want to control the motor driver by sending the I2C commands to the module from MATLAB.
For this you can install the "Simulink support package for Arduino" where the availible (PCA9685) motor blocks will be able to send I2C commands to Simulink.
Here is the link for the Mathworks example and the simulink support package for Arduino:
Thanks.

Catégories

En savoir plus sur Arduino Hardware dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by