element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
element14's The Ben Heck Show
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • More
  • Cancel
element14's The Ben Heck Show
Forum Stepper Motor Troubleshooting
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join element14's The Ben Heck Show to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 44 replies
  • Subscribers 33 subscribers
  • Views 6181 views
  • Users 0 members are here
  • help
  • 3d
  • me
  • tags
  • stepper
  • stuff
  • help!
  • printing
  • motor
  • heck
  • ben
Related

Stepper Motor Troubleshooting

fuzion_reaktor
fuzion_reaktor over 11 years ago

Hello, my name is Peter R and for the past several months I have been building a 3D printer. I have the frame and everything done, but I consistently run into the issue where my stepper motors run erratically; when I issue a movement command they change direction at random, move in unpredictable spurts, clank, grind and make weird noises--and that's if I'm lucky enough to get them running at all. They appear to be uni-polar motors, and I have wired their four wires in as many orientations as possible and still get the same issue? Is this a board problem, or the motors themselves?

The motors are 17H249-02S motors, manufactured by Xuquan motor, but there is little documentation on them on the internet as far I have found.

Many thank to whoever can answer this.

  • Sign in to reply
  • Cancel

Top Replies

  • fuzion_reaktor
    fuzion_reaktor over 11 years ago in reply to D_Hersey +2
    Huzzah (yes I say huzzah) I have inadvertently solved my problem. My end-stops were wired improperly so the control board thought that they were closed. Thus my motors could never move in the direction…
  • fuzion_reaktor
    fuzion_reaktor over 11 years ago in reply to kidiccurus +1
    Motors, yes are a plugging in problem. This is just weird. But switching the two works and I have successfully printed a small misshaped cube...Progress...
  • D_Hersey
    0 D_Hersey over 11 years ago

    If a motor coil is out of phase like that, it can only be one or two steps, maybe less, away from being 180 out a phase, a condition in which it won't step.  Try switching these round. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • fuzion_reaktor
    0 fuzion_reaktor over 11 years ago in reply to D_Hersey

    Sorry, switching which pins? The two crossed.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • D_Hersey
    0 D_Hersey over 11 years ago

    Yes, interchange them.  If this is the problem interchanging the other coil would also work, but the motor would run in reverse of our expectations.  If your axle jounces around, pinch it slightly between the fingers of your cotton-gloved hand.  Some motor-driver setups resonate when they are completely unladen.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • fuzion_reaktor
    0 fuzion_reaktor over 11 years ago in reply to D_Hersey

    Ok what I have done is jiggle the molex pins to get them to make contact better (of course the solution is to jiggle something). As a result, I can now get the motors to run in the proper increments, no unusual noises or anything, but only in one direction. Switching the two crossed wires switches that direction.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • D_Hersey
    0 D_Hersey over 11 years ago

    image

    This is what you are going for.  Notice how only one coil changes per step, reminiscent of Grey codes.  Going backwards means going -1 step.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • fuzion_reaktor
    0 fuzion_reaktor over 11 years ago in reply to D_Hersey

    Great. Now, how do I get it to run backwards as well? BTW I'm using Repieter Host's manual control function to run the motors.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • D_Hersey
    0 D_Hersey over 11 years ago

    This is going to take some detective work.  Perhaps your driver is not able to do everything it should, somehow able to step in one direction but not the other.   If you are using proven software, it is less likely, but not impossible that you have a software problem.  We need some way to visualize the current through the coils to see what is happening, alternatively we can make guesses.  Here is a good article on stepper motors:  Stepper Motors - Introduction and Working Principle

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • D_Hersey
    0 D_Hersey over 11 years ago

    image

    Here is a cheap way to get a little idea of what is happening to your SM.  Each diode string consists of an LED and a reversal protection diode.  LEDs do not have good reverse breakdowns, so use a hundred voltish signal diode in series.  Use different colors.

     

    Ballast resistor can be Kish if dim, reduce (increase conductance)

    Dinner calls.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • fuzion_reaktor
    0 fuzion_reaktor over 11 years ago in reply to D_Hersey

    Any type of resistor or LED your recommend? I got a few laying around that might work, otherwise I'll have to get some.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • D_Hersey
    0 D_Hersey over 11 years ago

    Just use any old indicator LEDs, for the ballast try approximately 1K, any type will do, quarter watts if you got 'em.  A couple of 1n4003s for the back-up diodes would be more than adequate.  You can degenerate a bipolar transistor into a diode by connecting the collector and base terminals if you have those laying around.  Almost anything will do.

     

    I'd make it so that a red LED lit when coil A was energized in the positive direction.

    I'd make it so that a blue LED lit when coil A was energized in the negative direction.

    I'd make it so that a yellow LED lit when coil B was energized in the positive direction.

    I'd make it so that a green LED lit when coil B was energized in the negative direction.

     

    But, of course, it doesn't really matter.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
<>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube