Azzera filtri
Azzera filtri

How to control PWM servo driver for arduino from Simulink?

6 visualizzazioni (ultimi 30 giorni)
Yash Patel
Yash Patel il 23 Ott 2020
Risposto: Shreshth il 20 Ago 2024 alle 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.

Risposte (1)

Shreshth
Shreshth il 20 Ago 2024 alle 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.

Categorie

Scopri di più su Arduino Hardware in Help Center e File Exchange

Prodotti


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by