(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?
stepper driver shield issues
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- texas boy
- Posts: 10
- Joined: Sun Mar 09, 2014 11:42 pm
stepper driver shield issues
- Attachments
-
- IMG_20140426_083800.jpg (588.49 KiB) Viewed 492 times
- adafruit_support_bill
- Posts: 88087
- Joined: Sat Feb 07, 2009 10:11 am
Re: stepper driver shield issues
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.
The older AF_Motor library doesn't work with the new shield.
- texas boy
- Posts: 10
- Joined: Sun Mar 09, 2014 11:42 pm
Re: stepper driver shield issues
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.
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.
- adafruit_support_bill
- Posts: 88087
- Joined: Sat Feb 07, 2009 10:11 am
Re: stepper driver shield issues
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.
Does the motor hum or vibrate at all?
What motor are you using? Post a link to a spec sheet if you can.
- texas boy
- Posts: 10
- Joined: Sun Mar 09, 2014 11:42 pm
Re: stepper driver shield issues
motors are from adafruit (12v 200x stepper #324).
- Attachments
-
- stepper-1.jpg (94 KiB) Viewed 461 times
-
- stepper-4.jpg (93.86 KiB) Viewed 461 times
-
- stepper-1-2.jpg (87.42 KiB) Viewed 461 times
- texas boy
- Posts: 10
- Joined: Sun Mar 09, 2014 11:42 pm
- adafruit_support_bill
- Posts: 88087
- Joined: Sat Feb 07, 2009 10:11 am
Re: stepper driver shield issues
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);
- texas boy
- Posts: 10
- Joined: Sun Mar 09, 2014 11:42 pm
Re: stepper driver shield issues
success!!!!!
many thanks!
many thanks!
- texas boy
- Posts: 10
- Joined: Sun Mar 09, 2014 11:42 pm
Re: stepper driver shield issues
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)?
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)?
- adafruit_support_bill
- Posts: 88087
- Joined: Sat Feb 07, 2009 10:11 am
Re: stepper driver shield issues
The solder looks fine on all of the motor terminals. Double check your wiring on the motor.
- texas boy
- Posts: 10
- Joined: Sun Mar 09, 2014 11:42 pm
Re: stepper driver shield issues
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.
- adafruit_support_bill
- Posts: 88087
- Joined: Sat Feb 07, 2009 10:11 am
Re: stepper driver shield issues
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.
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.
- texas boy
- Posts: 10
- Joined: Sun Mar 09, 2014 11:42 pm
Re: stepper driver shield issues
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.
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.
- adafruit_support_bill
- Posts: 88087
- Joined: Sat Feb 07, 2009 10:11 am
Re: stepper driver shield issues
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.
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.
- texas boy
- Posts: 10
- Joined: Sun Mar 09, 2014 11:42 pm
Re: stepper driver shield issues
here ya go. thanks again for the help.
Please be positive and constructive with your questions and comments.