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
Community Hub
Community Hub
Member's Forum New Member & Can RPi Zero Control Stepper Motors Query
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Community Hub to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 16 replies
  • Answers 6 answers
  • Subscribers 612 subscribers
  • Views 1872 views
  • Users 0 members are here
  • bipolar stepper motor
  • new_member_introduction
  • pi zero
Related

New Member & Can RPi Zero Control Stepper Motors Query

drmac
drmac over 9 years ago

Just joined, hello all.

I joined to help learn about controlling stepper motors for a few little projects I'm working on. One query is whether or not the RPi Zero can also be used to run stepper motors as out lined for example in TUTORIAL - How to control a bipoloar 4 wire stepper motor? I've not come across anything about the zero doing so. If there is info out there I would appreciate a pointer or two


 

Cheers,


 

Niel


 

  • Sign in to reply
  • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 9 years ago in reply to sheesbabu

    https://www.geckodrive.com/gecko/images/cms_files/Step%20Motor%20Basics%20Guide.pdf

     

    https://en.wikipedia.org/wiki/Stepper_motor

     

    These should help explain how a stepper works, you cant simply toggle the power on the windings, they have to follow a certain pattern....

     

    image

    A and B would be one coil and C,D would be the other, High would be +Volts applied to that wire, A low would be 0V .

     

    Hope that helps

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

    hi peter thanx for reply

    i just put in ladder only 2 timer that give out put after 1 mint like m8000 and i used afterr dis a *** generator the motor driver set on 1/8 step motor driver is tb6550

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

    Please post what you have including the ladder logic and I/O assignments so we can better help, oh and a schematic if you can

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • sheesbabu
    0 sheesbabu over 9 years ago in reply to Former Member

    hello i have a project to make a clock rotation by using stepper motor can someone help to make this project

    i have to use mitsubishi plc fx series i made some ladeer logic but the motor behave is like that if i need one rotation at desire angle the next step of motor goes back at befor

    • 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 answer to if the PI Zero can run stepper motors is simple

     

    YES

     

    BUT, you will need a driver to convert STEP and DIRECTION pulses to coil rotation signals strong enough to drive the stepper, or you will need a driver that can directly control what is called a DUAL HBRIDGE that can directly control the stepper, basically an H Bridge is made up from 4 transistors and is able to reverse the voltage on the windings of the motor coil.

     

    If your plan is to drive a stepper fast then using a driver that takes step and direction pulses is an easier way to go, this also simplifies the code.

    If you're playing with steppers and learning how to drive them then building or getting a basic HBRIDGE based driver will teach you more.

     

    The Driver (HBRIDGE with 4 wires or a controller with Step and Direction) can typically be easily driven by pretty much any microcontroller or embedded CPU, this includes all of the Raspberry PI range, Arduinos, Launch pads etc.

     

    PI driven Stepper Controller HAT :- https://www.adafruit.com/product/2348

    Alternat and far more powerful stepper controller that can be driven by a PI (Great for Robots and the like) Stepper Motor Drivers | Farnell element14  more expensive yes but much more applicable for industrial and heavier duty use, also much more robust.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    I always found stepper motors to be quite beautiful devices, At low speeds they can produce a mechanical juddering, this slowly disappears as they accelerate and once you manage to get them moving at higher speeds they start to produce a harmonic ringing sound created by the electrical interactions rather than the mechanical interactions in the first instance that increases in frequency. It really is satisfying to get them working to their potential although they need to be revved up and down gradually or they can stall if you try and stop them too quickly.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • sikandar
    0 sikandar over 9 years ago in reply to Former Member

    Agree

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • DAB
    0 DAB over 9 years ago in reply to Former Member

    You also need to assess the coil reactance, not just the wire resistance.

     

    You get different effects with frequency and stray capacitance in the leads.

     

    DAB

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to drmac

    Use Ohms law V=IR (voltage = current x resistance). The sum can be reconfigured to I=V/R (Current = Voltage divided by Resistance).

     

    You know the voltage is 12V right so you have 1 piece of information, the next part is to find the resistance of the coils. Bipolar stepper motors have 4 wires, you'll find that they are connected in pairs to a coil within the stepper motor. Measure each pair with a multimeter on Ohm's or resistance setting (each pairs result should be the same) and apply the sum above to your value so Current=12/ohm's

     

    (another useful piece of information is that stepper motors can be used at a greater voltage by reducing the current proportionally, this helps with overcoming back emf and energising each coil phase faster resulting in increased performance but is probably getting out of the scope of somebody just approaching stepper motors).

     

    Hope this helps and good luck!!

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • DAB
    0 DAB over 9 years ago in reply to drmac

    I think you will find that most stepper motors can support multiples of 48 steps/ revolution.

     

    You just might have to do more steps.

     

    The motor you select will provide you with the drive requirements depending upon the amount of load the motor has to drive.

     

    DAB

    • 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