Using AccelStepper library with an Arduino and a DRV8825 Stepper Driver board.

1,594 views
Skip to first unread message

DavidM

unread,
Jan 30, 2015, 4:45:32 PM1/30/15
to accels...@googlegroups.com
I understand the DRV8825 is a DRIVER class device with the 2 wires (step and direction) enabled (and it can control the Enable pin for a 3rd wire) but the DRV8825 has M0, M1, and M2 available to give Full Step, 1/2, 1/4, 1/8, 1/16 and 132 step resolution settings.  Does/Can the AccelStepper library take advantage of that or is that something I need to control outside of the library?  I've been looking through the code and I don't see anything that would use those pins but I'm not super good a C++ and could be overlooking something.

Thanks for the help.

Davidm

Mike McCauley

unread,
Jan 30, 2015, 5:09:18 PM1/30/15
to accels...@googlegroups.com
Hi,

AccelStepper wont set up those configuration pins for you.

Cheers.
--
Mike McCauley VK4AMM mi...@airspayce.com
Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia
http://www.airspayce.com
Phone +61 7 5598-7474

DavidM

unread,
Jan 30, 2015, 5:23:15 PM1/30/15
to accels...@googlegroups.com
Thanks,  I'll quit trying to find something that does not exist.  Just was unsure and did not want to skip a valuable setting.
Reply all
Reply to author
Forward
0 new messages