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
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum control stepper motor with microcontroller
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 6 replies
  • Subscribers 481 subscribers
  • Views 970 views
  • Users 0 members are here
Related

control stepper motor with microcontroller

meenusaini
meenusaini over 7 years ago

hello everyone

i have to draw circle pattern with two stepper motor with microcontroller. can anybody have any idea..

 

 

thank you

  • Sign in to reply
  • Cancel

Top Replies

  • DAB
    DAB over 7 years ago +10
    Build an X-Y stage with a stepper motor driving each axis. Put a pen suspended above the center with a solenoid for up or down movement. Put a piece of paper on the X-Y stage. Set up your MCU to drive…
  • 14rhb
    14rhb over 7 years ago +8
    Hi Meenakshi, I'm sure someone on E14 will be an expert at steppers and microcontrollers, however, a little more detail from you will help get those answers quickly... Tell us a little bit about why you…
  • genebren
    genebren over 7 years ago +6
    There are many ways to do this. DAB has offered some great suggestions. To offer a little more help, depending on how much engineering your project requires and the depth of your skill set, I could offer…
  • 14rhb
    14rhb over 7 years ago

    Hi Meenakshi,

     

    I'm sure someone on E14 will be an expert at steppers and microcontrollers, however, a little more detail from you will help get those answers quickly...

     

    Tell us a little bit about why you want to draw the circle, using a pen, drawing onto what material, approximate size, do you have any components already, how much money are you going to spend, have you programmed a microcontroller before and if so, which one? If you do that we will be able to better understand your question and hopefully work out a solution.

     

    regards,

     

    Rod

    • Cancel
    • Vote Up +8 Vote Down
    • Sign in to reply
    • Cancel
  • DAB
    DAB over 7 years ago

    Build an X-Y stage with a stepper motor driving each axis.

    Put a pen suspended above the center with a solenoid for up or down movement.

    Put a piece of paper on the X-Y stage.

    Set up your MCU to drive the stage using g-code.

    Use Open SCAD to create you g-code.

    Load g-code into the MCU.

    Execute the g-code.

     

    Circle drawn.

     

    DAB

    • Cancel
    • Vote Up +10 Vote Down
    • Sign in to reply
    • Cancel
  • genebren
    genebren over 7 years ago

    There are many ways to do this.  DAB has offered some great suggestions.  To offer a little more help, depending on how much engineering your project requires and the depth of your skill set, I could offer the following advice:

     

    1) simple, off the shelf approach (or almost off the shelf):

    https://www.ebay.com/p/Arduino-CNC-Kit-W-UNO-Shield-Stepper-Motors-Drv8825-Endstop-A4988-GRBL/6019092945?iid=32201145640…

    https://store.makeblock.com/index.php?route=product/product&product_id=6689

    https://store.makeblock.com/mbot-makeblock-roboter-robot-kit-kits-toys

     

    2) worked solutions for inspiration:

    https://www.instructables.com/id/Mini-CNC-Plotter-Arduino-Based/

    https://www.hackster.io/Yogeshmodi/sketch-it-cnc-plotter-95019d

     

    3) more advanced

    Here is where DAB advice fits in.  He has outlined the steps that engineer might take.  Search around, fill in the blanks, experiment and build, and you might be able to make something really cool!

     

    Good Luck,

    Gene

    • Cancel
    • Vote Up +6 Vote Down
    • Sign in to reply
    • Cancel
  • Fred27
    Fred27 over 7 years ago in reply to DAB

    @DAB You shouldn't need g-code - just some trigonometry and knowledge of on in-built timers on your microcontroller. Of course - this is if you will only ever want to do circles.

     

     

    There is of course the question as to why the OP want to draw circles using a microcontroller and stepper motor in the first place.

    • If you just need to draw circles, then there are certainly easier and better ways - for instance, a geared motor and a pen on an arm
    • If it's because this is a student assignment, then I'd suggest you start from your coursework and ask if you're stuck on something specific.
    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • jc2048
    jc2048 over 7 years ago

    Is this the right answer?

     

    image

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • Cancel
  • gadget.iom
    gadget.iom over 7 years ago in reply to jc2048

    Elegant solution!

    Simple and reliable, with very low running costs.

    image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • 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