Created Tue, 02 Apr 2013 19:15:20 +0000 by BlueGene
Tue, 02 Apr 2013 19:15:20 +0000
Hi,
I want to control multiply stepper-motors with the chipKIT uC32 and the AccelStepper library from Arduino:
http://www.airspayce.com/mikem/arduino/AccelStepper/
Working with constant speeds does work fine:
void setup()
{
stepper.setMaxSpeed(1000);
stepper.setSpeed(50);
}
void loop()
{
stepper.runSpeed();
}
But as soon as I want to use a function which works with setAcceleration, my steppers won't move. There is no reaction. I´ve tried all the examples from AccelStepper, only the ConstantSpeed worked.
I´ve testet the same programcode and the same setup with the Arduino MEGA 2560 and it worked properly.
I use those drivers: http://www.pololu.com/catalog/product/2133
Is there any known issue with the AccelStepper library and chipKIT?
Tue, 02 Apr 2013 21:01:30 +0000
No, there are no known issues with AccelStepper and chipKIT. I suggest you post your question to the AccelStepper e-mail support list, and we can help you out more there. I've used AccelStepper with many steppers at the same time on chipKIT with no problems (once I figured out where the bugs in my code were!).
*Brian
Sat, 25 May 2013 22:57:48 +0000
Hey All,
I'm having the same problem here. I've been running Accelstepper code on Arduino Uno and Mrga with no issues. I'm new to the chipKit and am trying it out for use with multiple steppers. I've tried running a few of the Accellstepper example sketches, but the only one that actually runs is the Constant Speed one.
Anyone have a similar issue?
Sat, 25 May 2013 23:04:15 +0000
I'm having the same issue. I can only get Constant Speed to work from the Accelstepper examples. The others just make the stepper sit there. I'm ultimately trying to replace an Arduino Mega with a chipKit. I've been running Accelstepper code on the Mega no problem, but the chipKit just kinda sits there.
I'm missing something. Anyone else have problems with the Accelstepper library?