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 633 subscribers
  • Views 2091 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
Parents
  • Robert Peter Oakes
    0 Robert Peter Oakes over 9 years ago

    Looking at the project and assuming it is working, there is nothing to stop you replicating this pretty much exactly on the PI Zero. The GPIO is completely compatible so it should work without alteration. Just make sure the power for the motor controller is not coming from the PI

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

    Thanks for the pointer.

    Cheers.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 9 years ago in reply to drmac

    A further suggestion would be to look into using an L297 & L298 combo board, the L297 is a dedicated stepper motor controller which can simplify the task. Rather than having to drive all 4 connections in the correct sequence patterns, the L297 takes just 2 inputs, 1 for direction and 1 for speed (which you pulse, the faster you pulse it the faster the stepper turns). I think they only work in full step and half step mode though so if you are going to want to use wave control you'll probably have to do that yourself.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • 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 e14 Contributor

    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
Reply
  • sheesbabu
    0 sheesbabu over 9 years ago in reply to e14 Contributor

    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
Children
  • 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
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.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube