Need help speeding up the NEMA 17 Stepper with motor shield
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- dijon316
- Posts: 1
- Joined: Tue Mar 20, 2018 3:41 pm
Need help speeding up the NEMA 17 Stepper with motor shield
I am having a tough time trying to get the NEMA 17 stepper motor (product ID: 324) to speed up using the Arduino motor shield (product ID: 1438) . I cannot get past approximately 1 revolution per second. I have tried to speed up the i2c speed per the instructions, but the speed of the stepper does not improve.
- adafruit_support_bill
- Posts: 88097
- Joined: Sat Feb 07, 2009 10:11 am
Re: Need help speeding up the NEMA 17 Stepper with motor shi
The method in the FAQ applies to Atmega processors like the UNO. The Wire library now has a setClock function that handles other processor architectures.
https://www.arduino.cc/en/Reference/WireSetClock
In any case, the clock speed change must come AFTER the call to 'begin()' on the shield library.
For a full explanation of the limits and further hacks to increase speed, see this thread:
viewtopic.php?f=31&t=57041&p=292119
https://www.arduino.cc/en/Reference/WireSetClock
In any case, the clock speed change must come AFTER the call to 'begin()' on the shield library.
For a full explanation of the limits and further hacks to increase speed, see this thread:
viewtopic.php?f=31&t=57041&p=292119
Please be positive and constructive with your questions and comments.