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
  • 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 572 subscribers
  • Views 1642 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

Top Replies

  • Former Member
    Former Member over 9 years ago in reply to drmac +3 suggested
    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…
  • Former Member
    Former Member over 9 years ago in reply to drmac +3 suggested
    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…
  • Robert Peter Oakes
    Robert Peter Oakes over 9 years ago +2 suggested
    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…
Parents
  • DAB
    0 DAB over 9 years ago

    I agree with Peter.

     

    The main thing you have to keep in mind is that the IO pins on the PI Zero can only source so much current.

     

    So to properly drive stepper motors you want to put either a motor controller between them or add driver transistors on a separate power buss to ensure that you do not overtax the PI Zero, or any other processor, IO capabilities.

     

    The devil is in the details, so you need to look at the current drive requirements of the motors, and the control card.

     

    As long as you do not violate those limits, you can drive a lot of different devices with any MCU, but you need to take care or you release the magic smoke.

     

    DAB

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

    DAB

     

    Understood, thanks for the info, However I can't find the stepper motor (OKI EM-546 12V with 48 steps per revolution) datasheet so any suggestion regards measuring the motor drive current?

     

    Cheers,

    Niel.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify 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
Reply
  • 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
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 © 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