nema 17 datasheet

i buyed nema 17 motor model "42SHD0001"

in the data sheet motor pins are A,B,C,D

and in my grbl shield pins A+,A-,B+,B-
so how i connect them and does that will destroy the motors if i connect motors to shield wrong ?

You need to use your multimeter to measure the resistance between the wires to figure which pairs belong to each of the two motor coils. Then you connect one coil to the A terminals and the other coil to the B terminals.

I am assuming your motor only has 4 wires. (Some of them have 6)

...R
Stepper Motor Basics
Simple Stepper Code

Robin2:
You need to use your multimeter to measure the resistance between the wires to figure which pairs belong to each of the two motor coils. Then you connect one coil to the A terminals and the other coil to the B terminals.

I am assuming your motor only has 4 wires. (Some of them have 6)

...R
Stepper Motor Basics
Simple Stepper Code

i tried that and that's worked if i asked to move five steps our less but when i ask for 10 our 100 our biggers steps that's did't move more than one step and motor start vibration i use "grblcontrol" software for linux

Did you try my simple stepper code?

My guess is that you are asking the motors to rotate too quickly or your power supply is inadequate. Start with very slow speeds and increase the speed gradually until you find the limits.

Your link does not describe the electrical characteristics of the motor. Post a link to its datasheet.

What stepper driver are you using?

What power supply (volts and amps) are you using for the motor?

...R

Robin2:
Did you try my simple stepper code?

My guess is that you are asking the motors to rotate too quickly or your power supply is inadequate. Start with very slow speeds and increase the speed gradually until you find the limits.

Your link does not describe the electrical characteristics of the motor. Post a link to its datasheet.

What stepper driver are you using?

What power supply (volts and amps) are you using for the motor?

...R

that's are link to the motor i use i did't found dtasheet just pics

http://www.aliexpress.com/item/Nema-17-Stepper-Motor-bipolar-4-leads-34mm-12V-0-4A-26Ncm-37oz-in-3D-printer/32261820443.html?spm=2114.01010208.3.1.2oVZ1m&ws_ab_test=searchweb201556_1,searchweb201644_3_505_506_503_504_502_10001_10002_10017_10010_10005_10011_10006_10003_10004_10009_10008,searchweb201560_5,searchweb1451318400_-1,searchweb1451318411_6451&btsid=19dece94-f79f-46dd-8321-d1893bce222f

power supply are 19v 3.29A laptop charger

i use grbl shield v3 and A4988 driver

i fixed the prolem after i changed my controller program from "grblcontrol" to "grbl controller 3.6.1"