stepper driver shield issues

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
texas boy
 
Posts: 10
Joined: Sun Mar 09, 2014 11:42 pm

stepper driver shield issues

Post by texas boy »

(Newbie here)

Got the shield setup, have power, have the servo working but can't get the steppers to move.

I'm powering off an external power supply via the uno. I do have good power going into the stepper IC (~11+V on pin 24 and 13 of the IC) but only have about 1.4V coming out of the IC. Assuming I should have/need 12V coming out of the IC to power the steppers.

Any ideas where to go next?
Attachments
IMG_20140426_083800.jpg
IMG_20140426_083800.jpg (588.49 KiB) Viewed 492 times

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: stepper driver shield issues

Post by adafruit_support_bill »

Make sure you are using the V2 library: https://github.com/adafruit/Adafruit_Mo ... V2_Library
The older AF_Motor library doesn't work with the new shield.

User avatar
texas boy
 
Posts: 10
Joined: Sun Mar 09, 2014 11:42 pm

Re: stepper driver shield issues

Post by texas boy »

cleared out all the libraries except for motor_shield_v2.

trying to run StepperTest example and see the output on the Serial Monitor as it scrolls through "Interleave coil steps, Microstep steps ..." but still no movement from the stepper motor.

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: stepper driver shield issues

Post by adafruit_support_bill »

Post some photos showing your soldering and connections to the board.

Does the motor hum or vibrate at all?
What motor are you using? Post a link to a spec sheet if you can.

User avatar
texas boy
 
Posts: 10
Joined: Sun Mar 09, 2014 11:42 pm

Re: stepper driver shield issues

Post by texas boy »

motors are from adafruit (12v 200x stepper #324).
Attachments
stepper-1.jpg
stepper-1.jpg (94 KiB) Viewed 461 times
stepper-4.jpg
stepper-4.jpg (93.86 KiB) Viewed 461 times
stepper-1-2.jpg
stepper-1-2.jpg (87.42 KiB) Viewed 461 times

User avatar
texas boy
 
Posts: 10
Joined: Sun Mar 09, 2014 11:42 pm

Re: stepper driver shield issues

Post by texas boy »

last pic
Attachments
stepper-2.jpg
stepper-2.jpg (98.6 KiB) Viewed 461 times

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: stepper driver shield issues

Post by adafruit_support_bill »

The solder looks perfect. But if you are running the StepperTest un-modified, you need to connect to M3, M4 instead of M1, M2.

Code: Select all

// Connect a stepper motor with 200 steps per revolution (1.8 degree)
// to motor port #2 (M3 and M4)
Adafruit_StepperMotor *myMotor = AFMS.getStepper(200, 2);

User avatar
texas boy
 
Posts: 10
Joined: Sun Mar 09, 2014 11:42 pm

Re: stepper driver shield issues

Post by texas boy »

success!!!!!

many thanks!

User avatar
texas boy
 
Posts: 10
Joined: Sun Mar 09, 2014 11:42 pm

Re: stepper driver shield issues

Post by texas boy »

Using the shield to power
1 servo
2 steppers

servo works great, stepper on m3 and m4 works perfect but my stepper on m1 and m2 just kind of stutters back and forth. I tried this stepper and m3 and m4 and it worked perfectly so the stepper is fine so guessing we're back to a soldering issue (same shield as the pics above)?

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: stepper driver shield issues

Post by adafruit_support_bill »

The solder looks fine on all of the motor terminals. Double check your wiring on the motor.

User avatar
texas boy
 
Posts: 10
Joined: Sun Mar 09, 2014 11:42 pm

Re: stepper driver shield issues

Post by texas boy »

I tried the faulty stepper on the other terminal and it worked fine. I then put it back to the original terminal block and it stopped working correctly so with this, I've ruled out the stepper wiring.

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: stepper driver shield issues

Post by adafruit_support_bill »

To test the operation of the H-bridge chip:

Disconnect the motor and run the DCMotorTest example from the library. Using a multimeter on the M1 motor terminals, you should see the power supply voltage swing from + to - .

Change the motor number in the code to "2" and do the same test on the M2 terminals.

User avatar
texas boy
 
Posts: 10
Joined: Sun Mar 09, 2014 11:42 pm

Re: stepper driver shield issues

Post by texas boy »

Motor 1 - dead
Motor 2 - see it climb to about 12v and then back down to 0
Motor 3 - same as 2
Motor 4 - same as 2

so looks like M1 is the trouble maker.

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: stepper driver shield issues

Post by adafruit_support_bill »

So M1 is not working. It could be an assembly issue (not likely, your solder looks fine) or possibly fried due to an inadvertent short.

If you can post a detail photo including the M1/M2 bridge chip and the PCA9865 chip from the center of the board we can check for any factory soldering issues.

User avatar
texas boy
 
Posts: 10
Joined: Sun Mar 09, 2014 11:42 pm

Re: stepper driver shield issues

Post by texas boy »

here ya go. thanks again for the help.
IMG_20140723_071331.jpg
IMG_20140723_071331.jpg (140.16 KiB) Viewed 380 times
IMG_20140723_071402.jpg
IMG_20140723_071402.jpg (138.99 KiB) Viewed 380 times
IMG_20140723_071425.jpg
IMG_20140723_071425.jpg (143.69 KiB) Viewed 380 times

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”