element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
3D Printing
  • Technologies
  • More
3D Printing
3D Printing Forum How to find the wire combinations in a nema 17 stepper motor with six wires?
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join 3D Printing to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 2 replies
  • Subscribers 326 subscribers
  • Views 1064 views
  • Users 0 members are here
  • open_source
  • 3D Printing
  • 3d_printer
  • stepper
  • electronics
Related

How to find the wire combinations in a nema 17 stepper motor with six wires?

vami
vami over 1 year ago

I am making an open source 3d printer as my minor project for college but i am stuck as my motors are not functioning properly, either they are just vibrating at their place or not working at all. I am using Nema 17 motors with A4998 stepper driver and Aurdino Mega 2560. I googled how to know the correct Tx and Rx terminals, as I thought it was problem, but now my motor is not functioning at all when i run it individually with the Arduino, power supply and stepper driver. Can you please tell me how I should get my motors to run?

Also the motors are local and so are most of the components.

  • Sign in to reply
  • Cancel

Top Replies

  • dougw
    dougw over 1 year ago +1
    What documentation do you have about how to connect your motors to your controller?
  • colporteur
    colporteur over 1 year ago +1
    After posting this I realized it may be of little use. I have some details on the NEMA 17 but I never used it. I have one (I think it is) in a box but haven't found a project for it. I am a bit confused…
Parents
  • colporteur
    0 colporteur over 1 year ago

    After posting this I realized it may be of little use. I have some details on the NEMA 17 but I never used it. I have one (I think it is) in a box but haven't found a project for it.

    I am a bit confused. My wiring diagram for a NEMA 17 doesn't match the one Doug has provided. It looks more like of a 28BYJ-40.

    I did some pretty heavy lifting to understand stepper motor operations a while back. I'm a very visual person. I got down a dirty making drawings to match signal pattern to physical operation of the motor.

    Having the knowledge of the signal pattern gave me the understanding of how the motor operated. Generating a pattern not reflective of the motor, can burn them up. I've done it.

    I used AccelStepper library to drive the 28BYJ-48 using a Nano.  I used from gpiozero import Motor for the same motor on a Raspberry Pi.

    NOTE: Just discovered the drawings have no background colour therefore when expanded on my computer they are all black background. I'm working on another project so I don't have the time to edit. Save the file and it displays acceptable.

    image

    image

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • colporteur
    0 colporteur over 1 year ago

    After posting this I realized it may be of little use. I have some details on the NEMA 17 but I never used it. I have one (I think it is) in a box but haven't found a project for it.

    I am a bit confused. My wiring diagram for a NEMA 17 doesn't match the one Doug has provided. It looks more like of a 28BYJ-40.

    I did some pretty heavy lifting to understand stepper motor operations a while back. I'm a very visual person. I got down a dirty making drawings to match signal pattern to physical operation of the motor.

    Having the knowledge of the signal pattern gave me the understanding of how the motor operated. Generating a pattern not reflective of the motor, can burn them up. I've done it.

    I used AccelStepper library to drive the 28BYJ-48 using a Nano.  I used from gpiozero import Motor for the same motor on a Raspberry Pi.

    NOTE: Just discovered the drawings have no background colour therefore when expanded on my computer they are all black background. I'm working on another project so I don't have the time to edit. Save the file and it displays acceptable.

    image

    image

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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 © 2025 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