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 Comments

Did you find any answer about your question
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.

Sign in to comment.

Answers (0)

Communities

More Answers in the  Power Electronics Control

Categories

Asked:

on 2 May 2019

Commented:

on 15 Dec 2020

Community Treasure Hunt

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

Start Hunting!