# Acceleration for high-power-stepper-driver-arduino

**URL:** https://forum.pololu.com/t/acceleration-for-high-power-stepper-driver-arduino/19919
**Category:** Software and microcontrollers
**Created:** [August 17, 2020, 7:22pm UTC](https://forum.pololu.com/t/acceleration-for-high-power-stepper-driver-arduino/19919 "2020-08-17T19:22:03Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Claire](https://forum.pololu.com/user_avatar/forum.pololu.com/claire/32/461_2.png) [@Claire](https://forum.pololu.com/u/Claire)
#### Post date: [August 17, 2020, 11:53pm UTC](https://forum.pololu.com/t/acceleration-for-high-power-stepper-driver-arduino/19919/2 "2020-08-17T23:53:34Z")

</div>

Hi, JD.

Implementing some acceleration probably would help you get to higher speeds. Unfortunately, we do not have any example code for the [High-Power Stepper Motor Driver 36v4](https://www.pololu.com/product/3730) that accelerates the motor. You could try modifying the [BasicSteppingSPI example](https://github.com/pololu/high-power-stepper-driver-arduino/blob/master/examples/BasicSteppingSPI/BasicSteppingSPI.ino) from our Arduino library by adding a `for` loop that decreases delay between steps at the start of each stepper movement. If you run into issues, you can post your code, and I will take a look.

Rather than using the `step` function, you could supply step signals directly to the driver’s STEP and DIR pins. This is what the [BasicStepping example](https://github.com/pololu/high-power-stepper-driver-arduino/blob/master/examples/BasicStepping/BasicStepping.ino) in our library does, so I recommend looking at what that program does to step the motor. More details on that interface are given in the DRV8711 datasheet which we link to from the [resources tab](https://www.pololu.com/product/3730/resources) of the carrier’s product page.

In addition to adding acceleration, [this post](https://forum.pololu.com/t/increasing-the-speed-of-a-stepper-motor-using-the-a4988-and/5135/3) has other tips for increasing the top speed of your motor. If you have a datasheet for your motor, you should also look at the pull-out torque curve in it to get an idea of what speeds are possible for your motor.

-Claire

---

_[View the full topic](https://forum.pololu.com/t/acceleration-for-high-power-stepper-driver-arduino/19919)._
