586,060 active members*
4,242 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > Stepper Motors / Drives > Connecting Stepper motor with driver
Results 1 to 11 of 11
  1. #1
    Join Date
    Dec 2016
    Posts
    7

    Connecting Stepper motor with driver

    The following are my stepper driver and stepper motor. The motor seems to be working fine and as I've figured out the black-orange and red-green form pairs, So the yellow and maroon are supposed to be center taps, right?
    More I'm confused as to how I should connect it with the driver. The driver has about 5 points and I have 6 wires? How am I supposed to connect them in bipolar connection?

  2. #2
    Join Date
    Mar 2007
    Posts
    2083

    Re: Connecting Stepper motor with driver

    it will be easier to help you with the part number for the motor and the circuit or a photo of the reverse side of the "H"bridge

    with a quick resistance test you can verify the yellow and maroon wires are the center taps and I expect will both go to terminal 3 in your photo
    ( I expect you will see the + supply terminal on the left is connected to the centre terminal of the 5 terminals on the right )

    as it stands you will have no control of the motor current unless the power supply voltage is the same as that on the lable on the motor

    in the past it was normal with simple drivers to have a power supply several times the motor voltage and use high wattage resistors to drop the excess in order to increase maximum possible the motor speed

    John

  3. #3
    Join Date
    Dec 2016
    Posts
    7

    Re: Connecting Stepper motor with driver

    Quote Originally Posted by john-100 View Post
    it will be easier to help you with the part number for the motor and the circuit or a photo of the reverse side of the "H"bridge

    with a quick resistance test you can verify the yellow and maroon wires are the center taps and I expect will both go to terminal 3 in your photo
    ( I expect you will see the + supply terminal on the left is connected to the centre terminal of the 5 terminals on the right )

    as it stands you will have no control of the motor current unless the power supply voltage is the same as that on the lable on the motor

    in the past it was normal with simple drivers to have a power supply several times the motor voltage and use high wattage resistors to drop the excess in order to increase maximum possible the motor speed

    John
    Thanks a lot for replying, John . I've attached picture of the reverse side of the H bridge and made the motor wire connections accordingly, but with no consequence. I supposed the 1 -> 4 and GND goes to my Arduino Uno digital pins and gnd.
    And +ve to DC positive voltage. Although the DC output is 12V - 3A, is that the issue ?
    Attached Thumbnails Attached Thumbnails 20161202_110932.jpg   20161202_111743.jpg  

  4. #4
    Join Date
    Mar 2007
    Posts
    2083

    Re: Connecting Stepper motor with driver

    Hi flip_switch

    with the photos I see its not a "H" bridge and is four open collector transistor switches
    (I am assuming they are NPN transistors and not FETs the part number will reveal all

    the other thing to note the motor common is terminal 5 !

    Attachment 341510

    what's the part number for the motor ?

    if you find the data for the motor - good
    otherwise use a multimeter to measure the coils resistance

    for example if its 100 ohm in total
    the resistance between the centre tap and one end will be 50 ohms
    the current will be
    12/50 = 0.24A

    full stepping at maximum torque that's 0.24A for each coil = 0.48 A total
    full stepping energising only 1 coil motor current = 0.24A
    a half stepping pattern alternates between 1 coil being energised and 2 coils


    if the coils resistance is just a few ohms then you need to use some form of current limiting

    the simplest being a high wattage resistor in series with the common wire

    John

  5. #5
    Join Date
    Dec 2016
    Posts
    7

    Re: Connecting Stepper motor with driver

    Hey John!
    Couldn't thank you enough for the effort.
    so here is my current configuration but with no avail.
    In fact, when trying to upload program keep receiving error: "avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00"

    I just don't get where I'm going wrong.

  6. #6
    Join Date
    Mar 2007
    Posts
    2083

    Re: Connecting Stepper motor with driver

    Hi flip_switch

    I adjusted the contrast of your diagram and looks OK provided your using a low power 3V motor

    Attachment 341564

    not having used an arduino I think we now need the help of arduino programmer here on CNCZONE

    I assume you are using a stepper driver program from the examples given in an Arduino starter kit

    I would of thought its better to use a dedicated stepper driver - it would provide an easier way to use micro stepping

    then you only need to use two arduino outputs to send step and direction signals to the driver
    may be I'm missing something ?


    John

    PS

    I guess this is what your trying to do

    https://www.youtube.com/watch?v=S-KHU4eKoEM

    https://www.intorobotics.com/tutoria...arduino-board/

  7. #7
    Join Date
    Dec 2016
    Posts
    7

    Re: Connecting Stepper motor with driver

    Hey John !

    I've currently swapped my previous drivers with A4988 Stepper Drivers.
    And had been using this How To Control Stepper Motor with A4988 Driver and Arduino as reference.

    Yet nothing works ! I can't figure out what's wrong

  8. #8
    Join Date
    Mar 2007
    Posts
    2083

    Re: Connecting Stepper motor with driver

    Hi flip_switch

    photos of your setup will be useful

    what happens when you apply the power ?

    when the stepper driver is enabled the motor should be locked
    have you double checked the motor connections are connected to the correct terminals ?

    the enable pin needs to be grounded
    the sleep and reset pins connected together - at switch on they will be grounded but after a delay go high (+5V) if you have a small capacitor between reset and ground

    can you post a link to the schematic of the stepperdriver you have ?

    if they are not exactly the same as in the tutorial you may need to connect the sleep & reset to +5V

    to make the motor turn you only need the arduino to produce the step pulses

    Click image for larger version. 

Name:	a4988.jpg 
Views:	0 
Size:	49.6 KB 
ID:	343338

    John

  9. #9
    Join Date
    Dec 2016
    Posts
    7

    Re: Connecting Stepper motor with driver

    The schematic of my stepper driver is exactly same as in the tutorial.

    As for when I apply power - Nothing happens, no sound or clicks.

    As for terminal connections - I'm pretty sure I connected the right pair of terminals and comparing it with NEMA 17 model on which it is based I think it's correct.

    Although I did not ground The Enable pin.
    I'll do so and check it out.

    Update:

    John !
    It finally works !!
    You were right, I probably made some wrong connections the first time.

    But thanks a MILLION for your time and patience !!
    (Yeah! made my first motor work!.. albeit with a few jitters :P )

  10. #10
    Join Date
    Mar 2007
    Posts
    2083

    Re: Connecting Stepper motor with driver

    Hi flip_switch

    did you get any instructions on how to set the motor current ?


    with the power on
    is there any resistance if you get hold of the motor spindle and try to turn it ??

    may be the motor current is set to zero



    now I have found the circuit of an A4988 driver
    Attachment 343362

    it should work with the sleep and reset pins connected -
    an onboard pullup reistor will connect them to +5v
    and another resistor should pull the enable down to ground

    thats assuming your board is built the same way


    during the last few days I have been looking at this electronic indexing head project
    Snailworks Electronic Index Build Log
    and found that not all LCD arduino sheilds are the same

    some will damage the atmel chips output D10 if you attempt to use PWM control of the display brightness

    also depending on the manufacturer you get different voltages on the analogue input A0 when you press the buttons !!

    John

  11. #11
    Join Date
    Dec 2016
    Posts
    7

    Smile Re: Connecting Stepper motor with driver

    Quote Originally Posted by john-100 View Post
    Hi flip_switch

    did you get any instructions on how to set the motor current ?
    No I didn't get any instructions about setting the motor current

    Quote Originally Posted by john-100 View Post
    with the power on
    is there any resistance if you get hold of the motor spindle and try to turn it ??
    Yes there is some resistance when I try to turn the spindle.



    Quote Originally Posted by john-100 View Post

    now I have found the circuit of an A4988 driver
    Attachment 343362

    it should work with the sleep and reset pins connected -
    an onboard pullup reistor will connect them to +5v
    and another resistor should pull the enable down to ground

    thats assuming your board is built the same way
    Yes, that's how I connected them

    Quote Originally Posted by john-100 View Post
    during the last few days I have been looking at this electronic indexing head project
    Snailworks Electronic Index Build Log
    and found that not all LCD arduino sheilds are the same

    some will damage the atmel chips output D10 if you attempt to use PWM control of the display brightness

    also depending on the manufacturer you get different voltages on the analogue input A0 when you press the buttons !!

    John
    Well thanks for this info, maybe that explains why the analog input gives really strange values in some of my other experiments.
    I'll look into into the Snailworks Electronic Index Build Log

Similar Threads

  1. Replies: 0
    Last Post: 02-26-2013, 08:37 AM
  2. Help connecting a stepper driver
    By deon in forum Stepper Motors / Drives
    Replies: 5
    Last Post: 11-14-2012, 08:52 PM
  3. 6 leads stepper motor connect to TB6560AHQ stepper driver board
    By wf1318 in forum Stepper Motors / Drives
    Replies: 2
    Last Post: 07-25-2010, 08:19 AM
  4. Integrated stepper motor? with built-in stepper motor driver
    By uirobot in forum News Announcements
    Replies: 0
    Last Post: 06-07-2010, 09:59 AM
  5. Connecting two identical drivers to drive one stepper motor?
    By uplb in forum Stepper Motors / Drives
    Replies: 2
    Last Post: 11-24-2008, 04:13 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •