Hi Colm, you should probably connect a good external power source to the motor shield.
Anyway, in the version1 of the motor shield library the stepper commands are blocking, so, while you can have 2 stepper connected, you can only operate them one at a time, not both at the same time.
I think (but I am not sure) that the same is true for the version 2 of the board.
Note that instead you can run up to 4 DC motor simultaneously since DC motor commands are not blocking.
I am using the ArduinoIO package and a Adafruit Motor Shield with 2 motors. I am having a little difficulty powering the motors. Is there anyway of having two simultaneous stepper motor outputs?
Thank you in advance
Hi. Thanks for your help.
Actually, I haven't used that Arduino.m file since it didn't suggest to do so. Why should I change this?
Actually, the arduino libraries I have for the motor and encoder, have some functions integrated which can call some pin values as inputs and defines the PWM voltage values as outputs in order to be able to control the torque on the motor. I am not sure how to use this package to control torque instead of speed. Thanks again.
have a look at the section of the readme.txt file that concerns customizing the package. The bottom line is that you will have to rewrite parts of the sketch running on the arduino and maybe slightly modify the arduino.m class file.
Hope that helps.
I am using the arduino with a prototype shield to run and control a DC motor (wit built in encoder) which is driven by a pololu motor driver (http://www.pololu.com/product/1451).
Now, I am trying to use the Arduino IO package to be able to use matlab or simulink with my system.
Both the motor and the encoder have libraries available. I was wondering how I can use the IO package with matlab and have those libraries and commands integrated as well?
Thank you for your support in advance.