I couldn't control the initial starting current when I initialize the arduino with Matlab.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I am a newbie.. I am integrating Arduino controller with Matlab
I have connected my arduino DUE board in COM7. And I have also connected a DC Motor in one of the digital output pins (D3)
So when I just execute the matlab built in arduino function to initialise or establish a connection my motor runs for a second and then stops. I dont want my motor to run initially. Is there a solution or an alternative to do this.
a = arduino('COM7', 'Due');
0 Kommentare
Antworten (1)
Sharmila Raghu
am 27 Jun. 2016
I understand that you want to control the initial starting current when you execute the MATLAB built in arduino function to initialize or establish the connection.
To be able to do that you can use the "stop" command before you mention the "start" command to start the DC motor to run. The following is the documentation link for the "stop" command:
The following documentation links are for your reference:
Check out this video: http://www.mathworks.com/videos/using-matlab-and-arduino-for-motor-control-100737.html
0 Kommentare
Siehe auch
Kategorien
Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!