Lysignal L293D Motor Control Shield

Hi everyone,
is there a way to use a Lysignal L293D Motor Control Shield in Matlab?
In particular, I want to use it to control a: Vibrating Mini Motor
Thank you for your time.
Best,
Gianluca

2 commentaires

tolga SENGOZ
tolga SENGOZ le 14 Déc 2020
Did you find any answer about your question
Gianluca Finotti
Gianluca Finotti le 15 Déc 2020
Not really, in the end I used a bit of a workaround.
I made all the code in Arduino IDE using the Arduino library for that shield.
Then, i used serial communication to send values from Matlab to Arduino.
That is, in Matlab I used some commands to send values to Arduino. In arduino I wrote some lines saying to read values coming from the serial port.
Then programmed the arduino so that it would do different things depending on the values coming from Matlab.
E.G. if the input to Arduino was X, increase speed, if it is Y, decrease, if it is Z, stop (something like that).
It's not ideal but it worked.
Hope this helps.

Connectez-vous pour commenter.

Réponses (0)

Communautés

Plus de réponses dans  Power Electronics Control

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by