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
Arduino
  • Products
  • More
Arduino
Arduino Forum Stepper motor wiring help(and a few other small questions from an instructable)
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 55 replies
  • Answers 1 answer
  • Subscribers 395 subscribers
  • Views 4478 views
  • Users 0 members are here
  • wiring
  • steppers
  • arduino
Related

Stepper motor wiring help(and a few other small questions from an instructable)

gub11
gub11 over 9 years ago

This instructable really interested me, Frameless Laser Harp - 4 , but i've never worked with steppers before.  the stepper i got has 4 wires, but the stepper in the instructable has 6.  on page 2 there is a wiring guide, but that wasn't very helpful to me, i didn't really understand what i'm supposed to do with the wires.  This is the stepper i have, https://www.sparkfun.com/products/10551?gclid=Cj0KEQiApruyBRCFqoDu1pbk9rkBEiQAF8EFdVmEBorGt6koPmFkaibEpRmZ94Z6r8BWhmTqAL… .  Any ideas?

  • Sign in to reply
  • Cancel

Top Replies

  • Robert Peter Oakes
    Robert Peter Oakes over 9 years ago in reply to gub11 +2 suggested
    reverse... to change direction lol now more seriously... then you wire up the stepper motor, if it is not going in the direction you expect for the command your giving then you can change the code or simply…
  • Robert Peter Oakes
    Robert Peter Oakes over 9 years ago +1
    Here is an excelent resource regarding steppers and how they work http://www.geckodrive.com/support.html I found this to be very helpfull in setting up my CNC project your stepper is a classic 4 wire …
  • Robert Peter Oakes
    Robert Peter Oakes over 9 years ago in reply to gub11 +1
    All Grounds (0V) should go together, the ground of the 12V, the 5V etc all are connected together at a common point the 5V goes to all those pins because it is 5V logic input to the chip and those pins…
  • gub11
    0 gub11 over 9 years ago in reply to gub11

    forgot to do the Robert Peter Oakes

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mcb1
    0 mcb1 over 9 years ago in reply to Robert Peter Oakes

    I'm thinking there is a distinct lack of decoupling caps along with some meaty Filter caps.

    I suspect that removing the power to the common of the stepper (or adding a series resistor) stops the issues.

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gub11
    0 gub11 over 9 years ago in reply to mcb1

    mcb1 could you please explain a bit more, possibly with a diagram?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mcb1
    0 mcb1 over 9 years ago in reply to gub11

    Sorry I'm busy with work and no internet at home.

    You could always try this link

    https://www.google.com/#q=decoupling+caps

     

     

    Peter is handling it and the comment was made to him as a possible difference.

     

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 9 years ago

    I am currently putting together a complete tutorial ish video to explain how to convert from the Harp based on unipolar stepper (Not very well driven) to a Bipolar Stepper Driven correctly and massivly simplified code to go with it... standby image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gub11
    0 gub11 over 9 years ago in reply to Robert Peter Oakes

    Ok, Thanks a lot for helping so much!  eta?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 9 years ago in reply to gub11

    rendering now, its about 50mins long after editing but I think you will be amazed how shorter the code is and how simpler it is. I dont have your stepper driver but I tested it on an oscilloscope to validate the timeing and its all working well for the laser and the steps output atleast, you should be able to simply upload the code and go

     

    The video is detailed and I explain most of what I found and changed and why

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gub11
    0 gub11 over 9 years ago in reply to Robert Peter Oakes

    Thanks a lot man, I didn't expect somebody to go so far as to create a tutorial for me

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 9 years ago in reply to gub11

    Not just for you but I used your project as the topic, its for everyone and it fits with my major project (One of them) which is a CNC Tutorial Build, you can find it here:-

    https://www.youtube.com/watch?v=gt9KB4Szbao

    https://www.youtube.com/watch?v=lCMRylhuWjM

    https://www.youtube.com/watch?v=l1uCW46pxK4

    https://www.youtube.com/watch?v=dgkmq3th3ho

    https://www.youtube.com/watch?v=PtuHbTg4_z0

    https://www.youtube.com/watch?v=qvQ00WmZTuU

    https://www.youtube.com/watch?v=gA4U8f9Tb14

     

    and there is loads more to come

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gub11
    0 gub11 over 9 years ago in reply to Robert Peter Oakes

    Robert Peter Oakes

    Which one pertains to my situation?

    • 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 © 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