Need Help! Connecting Stepper motor with driver


Results 1 to 11 of 11

Thread: Connecting Stepper motor with driver

  1. #1
    Registered
    Join Date
    Dec 2016
    Posts
    7
    Downloads
    0
    Uploads
    0

    Default 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?

    Similar Threads:
    Attached Thumbnails Attached Thumbnails Connecting Stepper motor with driver-20161202_005611-jpg   Connecting Stepper motor with driver-20161202_005445-jpg  


  2. #2
    Member john-100's Avatar
    Join Date
    Mar 2007
    Location
    uk
    Posts
    2083
    Downloads
    0
    Uploads
    0

    Default 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
    Registered
    Join Date
    Dec 2016
    Posts
    7
    Downloads
    0
    Uploads
    0

    Default 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 Connecting Stepper motor with driver-20161202_110932-jpg   Connecting Stepper motor with driver-20161202_110829-jpg   Connecting Stepper motor with driver-20161202_111743-jpg  


  4. #4
    Member john-100's Avatar
    Join Date
    Mar 2007
    Location
    uk
    Posts
    2083
    Downloads
    0
    Uploads
    0

    Default 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 !

    Connecting Stepper motor with driver-pcb-circuit-jpg

    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

    Last edited by john-100; 12-02-2016 at 12:11 PM.


  5. #5
    Registered
    Join Date
    Dec 2016
    Posts
    7
    Downloads
    0
    Uploads
    0

    Default 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.

    Attached Thumbnails Attached Thumbnails Connecting Stepper motor with driver-20161203_011708-2-jpg  


  6. #6
    Member john-100's Avatar
    Join Date
    Mar 2007
    Location
    uk
    Posts
    2083
    Downloads
    0
    Uploads
    0

    Default 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

    Connecting Stepper motor with driver-arduino-uno-motor-jpg

    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.intorobotics.com/tutoria...arduino-board/

    Last edited by john-100; 12-02-2016 at 04:50 PM. Reason: add PS


  7. #7
    Registered
    Join Date
    Dec 2016
    Posts
    7
    Downloads
    0
    Uploads
    0

    Default 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

    Last edited by flip_switch; 12-16-2016 at 02:36 PM. Reason: spelling


  8. #8
    Member john-100's Avatar
    Join Date
    Mar 2007
    Location
    uk
    Posts
    2083
    Downloads
    0
    Uploads
    0

    Default 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

    Connecting Stepper motor with driver-a4988-jpg

    John

    Last edited by john-100; 12-16-2016 at 04:21 PM.


  9. #9
    Registered
    Join Date
    Dec 2016
    Posts
    7
    Downloads
    0
    Uploads
    0

    Default 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 )

    Last edited by flip_switch; 12-16-2016 at 06:05 PM. Reason: update


  10. #10
    Member john-100's Avatar
    Join Date
    Mar 2007
    Location
    uk
    Posts
    2083
    Downloads
    0
    Uploads
    0

    Default 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
    Connecting Stepper motor with driver-a4988-schem-jpg

    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
    Registered
    Join Date
    Dec 2016
    Posts
    7
    Downloads
    0
    Uploads
    0

    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
    Connecting Stepper motor with driver-a4988-schem-jpg

    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



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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Connecting Stepper motor with driver

Connecting Stepper motor with driver