Filter löschen
Filter löschen

How to control PWM servo driver for arduino from Simulink?

6 Ansichten (letzte 30 Tage)
Yash Patel
Yash Patel am 23 Okt. 2020
Beantwortet: Shreshth am 20 Aug. 2024 um 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.

Antworten (1)

Shreshth
Shreshth am 20 Aug. 2024 um 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.

Kategorien

Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by