Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save niftydevelopment/6b1a80d38afd0ccc92a2 to your computer and use it in GitHub Desktop.

Select an option

Save niftydevelopment/6b1a80d38afd0ccc92a2 to your computer and use it in GitHub Desktop.
Hello.
I am trying the "Minimal wiring diagram" and control the stepper motor with a Arduino.
https://www.pololu.com/product/1182
I fail to get any readings or any sign of life on the motor controller pins: 1a,1b, 2a and 2b.
This is the setup:
//jumper reset and sleep together
//connect VDD to Arduino 5v
//connect GND to Arduino GND (GND near VDD)
//connect 1A and 1B to stepper coil 1
//connect 2A and 2B to stepper coil 2
//connect VMOT to power source (12v)
//connect GRD to power source (12v)
This is the sketch:
https://gist.github.com/niftydevelopment/f9e6f7775f1d1afb7be3
Photo of the setup:
https://www.dropbox.com/s/30q397tbk7jcuxu/IMG_20151017_065150.jpg?dl=0
Video of me trying to explain:
https://www.dropbox.com/s/m3bspggb43b1c5q/20151017_062422.mp4?dl=0
By the way: awesome video on the A4988 by Claire. That and very god information page on the product makes this problem even more frustrating :-?
Tnx in advance :-D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment