simplest method of driving a stepper motor?


Results 1 to 16 of 16

Thread: simplest method of driving a stepper motor?

  1. #1
    *Registered User* merlin777's Avatar
    Join Date
    Jun 2018
    Posts
    32
    Downloads
    0
    Uploads
    0

    Default simplest method of driving a stepper motor?

    I want to test out the mechanics of my custom cnc machine before going any further. I want to check that the motors have enough torque and the way I've mounted them is suitable.

    I have an x y axis which are a small milling table and a rotary axis which is a chuck on a rotary table.

    I will remove the handwheels and use flexible shaft couplings on the spindles.

    I only want to turn a motor enough to test my engineering with the stepper I will be using. I'm not ready to develop the electronics for the whole machine yet.

    Is there a very cheap simple device that will turn a (nema 17) motor forward and reverse?

    Similar Threads:


  2. #2
    Member
    Join Date
    May 2015
    Location
    Australia
    Posts
    686
    Downloads
    0
    Uploads
    0

    Default Re: simplest method of driving a stepper motor?

    An Arduino and a Polou Driver and an example Arduino script will easily handle a NEMA 17.

    Rod Webster
    www.vmn.com.au


  3. #3
    *Registered User* merlin777's Avatar
    Join Date
    Jun 2018
    Posts
    32
    Downloads
    0
    Uploads
    0

    Default Re: simplest method of driving a stepper motor?

    Quote Originally Posted by rodw View Post
    An Arduino and a Polou Driver and an example Arduino script will easily handle a NEMA 17.
    Hi Rodw. Thanks for this but I just want to turn the motor. A motor driver board, arduino board, and programming is most of the way to a full setup. Surely there's something simpler?



  4. #4
    Member
    Join Date
    May 2015
    Location
    Australia
    Posts
    686
    Downloads
    0
    Uploads
    0

    Default Re: simplest method of driving a stepper motor?

    I'm a software guy but the Pololu A4988 stepper controller and an Arduino will set you back less than $20 and you can drive it with 10-20 lines of code. Something like this example
    https://forum.arduino.cc/index.php?topic=133894.0
    Nothing like a full setup. That took me 200 lines of code.... but thats another story.

    Rod Webster
    www.vmn.com.au


  5. #5
    Member Voltatek's Avatar
    Join Date
    Jul 2018
    Posts
    16
    Downloads
    0
    Uploads
    0

    Default

    You need to give the specifications of your motors if you want us to help determine the best solution for your needs.


    https://voltatek.ca



  6. #6
    *Registered User* merlin777's Avatar
    Join Date
    Jun 2018
    Posts
    32
    Downloads
    0
    Uploads
    0

    Default Re: simplest method of driving a stepper motor?

    Quote Originally Posted by Voltatek View Post
    You need to give the specifications of your motors if you want us to help determine the best solution for your needs.


    https://voltatek.ca
    Hi there. Here's the spec.

    Description:
    Motor type: Bipolar Stepper
    Motor Length: 40mm
    Phase Resistance: 1.5Ohm
    Phase Inductance: 2.8mH
    Detent Torque: 2.2N.cm
    Rotor Inertia: 54g.cm2
    Holding Torque: 40N.cm
    Motor Weight: 280g
    Step angle: 1.8 deg
    Step angle accuracy: + - 5%(full step, not load)
    Resistance accuracy: + - 10%
    Inductance accuracy: + - 20%
    Temperature rise: 80deg Max(rated current, 2 phase on)
    Ambient temperature -----------20deg ~+50deg
    Insulation resistance: 100M? Min, 500VDC
    Insultion Strength--------500VAC for one minute



  7. #7
    *Registered User* merlin777's Avatar
    Join Date
    Jun 2018
    Posts
    32
    Downloads
    0
    Uploads
    0

    Default Re: simplest method of driving a stepper motor?

    So, just one of those tiny driver boards and an arduino? I dont need a shield for the arduio too?

    How do you get the code onto the arduino?



  8. #8
    Member
    Join Date
    May 2015
    Location
    Australia
    Posts
    686
    Downloads
    0
    Uploads
    0

    Default Re: simplest method of driving a stepper motor?

    Quote Originally Posted by merlin777 View Post
    So, just one of those tiny driver boards and an arduino? I dont need a shield for the arduio too?

    How do you get the code onto the arduino?
    You download and install the Arduino IDE environment, open the sketch (a text file) in the IDE, compile and download it with one mouse click.

    Rod Webster
    www.vmn.com.au


  9. #9
    *Registered User* merlin777's Avatar
    Join Date
    Jun 2018
    Posts
    32
    Downloads
    0
    Uploads
    0

    Default Re: simplest method of driving a stepper motor?

    does the arduino connect to the pc via usb?



  10. #10
    Member
    Join Date
    May 2015
    Location
    Australia
    Posts
    686
    Downloads
    0
    Uploads
    0

    Default Re: simplest method of driving a stepper motor?

    Quote Originally Posted by merlin777 View Post
    does the arduino connect to the pc via usb?
    Yup.

    Bear in mind that it might just be simpler to set up your CNC motion controller of choice at this stage and connect your motor to it even if nothing else is built.

    Rod Webster
    www.vmn.com.au


  11. #11
    *Registered User* merlin777's Avatar
    Join Date
    Jun 2018
    Posts
    32
    Downloads
    0
    Uploads
    0

    Default Re: simplest method of driving a stepper motor?

    thats what I'm thinking. What's being suggested is virtually the whole electronics chain. I was holding out for a simple solution because I thought it wouldn't be that hard to apply some pulses to a motor.



  12. #12
    Member
    Join Date
    Mar 2015
    Location
    Netherlands
    Posts
    409
    Downloads
    1
    Uploads
    0

    Default Re: simplest method of driving a stepper motor?

    Quote Originally Posted by rodw View Post
    You download and install the Arduino IDE environment, open the sketch (a text file) in the IDE, compile and download it with one mouse click.
    You find all the information for connecting, configuring and running a GRBL controller at this site.

    https://github.com/gnea/grbl/wiki



  13. #13
    *Registered User* merlin777's Avatar
    Join Date
    Jun 2018
    Posts
    32
    Downloads
    0
    Uploads
    0

    Default Re: simplest method of driving a stepper motor?



  14. #14
    Member
    Join Date
    Mar 2015
    Location
    Netherlands
    Posts
    409
    Downloads
    1
    Uploads
    0

    Default Re: simplest method of driving a stepper motor?

    This could do the job, but cost about as much as an arduino and polulo shield, but still a nice product!



  15. #15
    *Registered User* merlin777's Avatar
    Join Date
    Jun 2018
    Posts
    32
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by hfjbuis View Post
    This could do the job, but cost about as much as an arduino and polulo shield, but still a nice product!
    It's not hugely expensive. I might save a lot of money by checking at this stage my mechanical engineering is sound and my choice of motor is appropriate.
    But I think mainly it prevents me from having to jump ahead and learn a huge amount I'll need to know but now and all in one go. It's going to take weeks for me to properly learn the electronics stage before trying to tackle it safely and this way I don't get held up. It'll also be a good intro for me to practical stepper motor control and ultimately a handy little item for the future.
    I'm already thinking of how I might use it in macro photography for stacking!



  16. #16
    *Registered User* merlin777's Avatar
    Join Date
    Jun 2018
    Posts
    32
    Downloads
    0
    Uploads
    0

    Default

    If I get it working I'll write it up. Might even do a video.



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

simplest method of driving a stepper motor?

simplest method of driving a stepper motor?