Big Stepper Motors with Arduino

Поділитися
Вставка
  • Опубліковано 13 тра 2024
  • Today I’ll be working with a BIG stepper motor. I'll show you how to use a microstep driver module and an Arduino to drive a NEMA 23 size motor.
    Article with code: dronebotworkshop.com/big-step...
    More articles and tutorials: dronebotworkshop.com
    Join the conversation on the forum: forum.dronebotworkshop.com
    Subscribe to the newsletter and stay in touch: dronebotworkshop.com/subscribe/
    Today we will work with a bigger motor than the ones used in the original stepper motor video. This motor is a NEMA 23 size beast that takes up to 4.2 amperes per coil, more than we can drive using the drivers and H-Bridges we used earlier.
    To drive this motor I'll be using a microstep module, a common device available on eBay, at Amazon, and at your local electronic and electrical supply store. The module I used is a model MA860H but the wiring and coding will work for any one of these modules.
    In order to select a module suitable for your stepper motor you will need to know how to read and interpret some of the stepper motor specifications, so I’ll cover that. One spec that fools a lot of people is the voltage rating, I'll explain why the number in the spec sheets can be ignored!
    I’ll show you how to hook the microstep module up to an Arduino and how to code for it, using a simple sketch and also the AccelStepper library.
    Here is what you will find in today's video:
    00:00 - Introduction
    02:18 - Reading Stepper Motors Specifications
    08:49 - Selecting a Microstep Driver
    12:33 - Arduino Hookup and Demo
    22:44 - Using AccelStepper
    If you’d like the sketch or want additional information you can find it all in the article on the DroneBot Workshop website.
    Happy stepping!
  • Навчання та стиль

КОМЕНТАРІ • 679

  • @MohammedAhmed-mi6hg
    @MohammedAhmed-mi6hg Рік тому +15

    Please always remember that each video you made like this, there are thousands of people learning from your great experience. I highly appreciate your efforts, and wish you all the best my dear.

  • @allengentz7572
    @allengentz7572 5 років тому +8

    Thanks for the tutorial,looks like we are moving closer to a ESL for the lathe lead screw I am always following.

  • @thunderbolt8582
    @thunderbolt8582 5 років тому +16

    As always, you have produced another GREAT video and learning experience. You should be very proud of every video you produce. They are the cream of the crop when it comes to educational videos.

  • @roadshowautosports
    @roadshowautosports 3 місяці тому +3

    Well, short of you coming to my house and connecting everything together, I believe you just made it as simple as possible!!! Thank you!
    You got yourself a new subscriber!!!!

  • @stratman1234
    @stratman1234 4 роки тому +1

    This was a very helpful video and I appreciate how clearly you explain it, including how to read data datasheets.

  • @abidinakdag658
    @abidinakdag658 4 роки тому +1

    The method of expression and visuals are great. Thank you so much.

  • @camarillojohn
    @camarillojohn 4 роки тому +41

    Thank you for explaining the sequence of operating of the stepper motor, as a novice it helped me a lot.
    Good to have someone like you to help out.
    Thx.

  • @RMarquez805
    @RMarquez805 3 роки тому +1

    Exactly what I was looking for, very helpful in building my milling machine power feed. Thank you your time and effort is appreciated!

  • @sunilwijeratne1620
    @sunilwijeratne1620 4 роки тому

    Just I started to work with the stepper motor. Its great opportunity for me to startup easily with your explanation. Thank you very much for your information.

  • @bobvines00
    @bobvines00 4 роки тому

    Bill, This is yet another very clear video on what is a difficult topic for some. Keep up the great work!

  • @larryb4122
    @larryb4122 3 роки тому +5

    Many, many thanks for all of your knowledge sharing. You are a great teacher! I enjoy all of your videos and deeply appreciate all of your time and effort. Please continue to teach and share. The world needs more good people like yourself!

  • @stochioiuconstantin546
    @stochioiuconstantin546 3 роки тому +2

    While a total novice with electronics, I understood everything you explained. Much of the information you presented, I was looking for. Thank you!

  • @fraenkfurt
    @fraenkfurt Рік тому

    There are informative tutorials and those that gonna left you with a great feeling to be perfectly prepared although you gonna put things together for the very first time. You always create the latter ones. Thank you so much. Your techno skills AND your didactic skills are impressive.

  • @willywonka8730
    @willywonka8730 3 роки тому

    Thanks for making the electronics simple and straight forward. I believe i could build a CNC of virtually ANY SIZE with your tutorial.

  • @udhar
    @udhar 3 роки тому

    Thank you. This is my first stepper motor circuit. Moving to bigger things now

  • @austinswesey4319
    @austinswesey4319 5 років тому +64

    "Taking some big steps today" ....I see what you did there, and I appreciate it.

    • @johnson554671
      @johnson554671 3 роки тому

      0:13 haha, yes I liked his comment too. "We're taking some big steps today"!

    • @reshmaislam5708
      @reshmaislam5708 3 роки тому

      Yea ! Took me a few tiks to realise that .

    • @shaunbags2
      @shaunbags2 3 роки тому

      BOOM! mic drop haha

  • @SLCKaled
    @SLCKaled 2 роки тому

    I'm retrofitting my old CNC router machine and your video helped me understand a TON about how the components work with each other. I just realized I will need a bigger motor driver THANKS!

  • @ieeshkumar3021
    @ieeshkumar3021 4 роки тому +1

    Perfect. Your tutorials are very helpful in building confidence of making CNC.

  • @TeoMaragakis
    @TeoMaragakis 3 роки тому

    The quality and organisation of your presentation is only surpassed by your teaching skill. Keep up the amazing work.

  • @proventure307
    @proventure307 3 роки тому

    This explanation is gold. First try, it worked perfectly. Thank You.

  • @tylerives7410
    @tylerives7410 5 років тому +57

    This video is insanely well done. Stellar format, excellent content, and concise presentation. Definitely helped me out!

  • @Fulacrus
    @Fulacrus 4 роки тому

    I've never heard about AccelStepper library and I discovered because of your video. Thank you.

  • @auzworld
    @auzworld 4 роки тому

    Your content and presentation & delivery is prefect..... you really nailed everything !! Thanks !! Keep it going !!

  • @jarpekar
    @jarpekar 4 роки тому

    Wish I had a teacher like you :) . You are doing wonderfull job on all of your videos. Greatings from Czech Rep.

  • @FrustratedBaboon
    @FrustratedBaboon 3 роки тому

    That is the cleanest an most organized shop I have ever seen. Nice video and great explantion.

  • @iraydiaz5888
    @iraydiaz5888 4 роки тому

    Your great, this is exactly what I needed to know. CNC here I come, eventually

  • @patrickgouardo7604
    @patrickgouardo7604 4 роки тому

    Hello, This is an excellent work to help to start ; Thanks for your time in showing all of this. Very good lesson and speach that even a French can ! Many thanks - Patrick

  • @omskariyazmaraikayer913
    @omskariyazmaraikayer913 2 роки тому +17

    I dare say that is 'The' place to learn engineering .A fine balance between theory and practice. I wish all teachers were like this. My respect and gratitude to you sir. I really appreciate the graceful ageing you have undergone and how you share this knowledge with the rest of us. Surely age will catch up with us sooner , but to be able to achieve what you do is no simple task. You are truly an inspiring teacher. May God bless you . AMEEN.

  • @clkdiv3271
    @clkdiv3271 3 роки тому

    Mr. Spock explains electronics. Beam me up! Great stuff! Thank you so much.

  • @xDR1TeK
    @xDR1TeK 4 роки тому

    That smirk about bone crushing torque! I would have said it with at least my eyelids wide open. Anyhow, I must admit, these videos are really well made. Very well programmed and designed. Anybody wishing to put more effort in a certain project have all the details here. They would know what I mean when they go out to buy steppers and drivers. One more thing, you remind me of a very loveable character from seasame street. Big love to you to.

  • @nickolasdaff6217
    @nickolasdaff6217 5 років тому

    Thank you for informative explanation! Keep this series up )

  • @garycotz563
    @garycotz563 5 років тому +1

    VERY GOOD topic, I have been wanting to build a welding rotation holder tool. THANK YOU!

  • @HairyTheCandyMan
    @HairyTheCandyMan Рік тому

    You have THE BEST Arduino channel on UA-cam! Thanks for all the videos!

  • @chemicalcorrosion
    @chemicalcorrosion 5 років тому +1

    Awesome presentation! Thank you. 👍

  • @marosakr778
    @marosakr778 4 роки тому

    Thanks soooooooo much for your detailed and informative video. you are a good teacher for the beginners(like me), speaking clearly and slowly. appreciate that...

  • @ThunderGoat85
    @ThunderGoat85 4 роки тому

    Thank you very much for this clear tutorial!

  • @heisantos9373
    @heisantos9373 3 роки тому

    Love your videos, very informative and excellent production quality!

  • @hadireg
    @hadireg 5 років тому +1

    the greatest workshop on yt!! Thanks man!

  • @habotssar8429
    @habotssar8429 4 роки тому +5

    Hello and thank you very much for your videos!! I just want to remark that the voltage shown by the manufacturer is also quite important since it means that the maximum rms voltage drop per coil must be the specified according to the calculation. It doesn't matter if you use a driver that supports higher voltages since it will have some internal regulator or PWM approach to apply the right voltage to the coil. This is important if you build your own driver. If you apply 12 volts directly to any winding you will burn the motor! The maximum voltage drop means that the maximum current is flowing through!

  • @varunbhardwaj2649
    @varunbhardwaj2649 3 роки тому

    You are very good at demonstrating things , u r a good teacher indeed , thanx for making this video, u cleared most of my doubts .

  • @ronen124
    @ronen124 5 років тому +1

    thank you sir for the very edifying lecture and I like your tidy shop 😃✌

  • @henreh99
    @henreh99 4 роки тому

    Loving your workshop!

  • @thasspongthapsang6769
    @thasspongthapsang6769 4 роки тому

    Thank you, very excellent explain for my very first time to understand how to control stepper motor.

  • @billmckillip1561
    @billmckillip1561 5 років тому +3

    You have a great style of instruction - methodical, clear and focused. Thanks for your effort.

  • @danceswithaardvarks3284
    @danceswithaardvarks3284 3 роки тому

    Great video thanks. Very clearly explained and gave me the information I need to start a project that will use a stepper motor to drive a wood lathe spindle.

  • @arthurdent8091
    @arthurdent8091 3 роки тому

    Very informative. After I get a chance to build my 3018 I will come back to your vids. Thanks.

  • @1611Jens
    @1611Jens 3 роки тому

    I have been watching quite a few videos about electronics and Arduino. I did not find any that has a quality that comes even close to what you are presenting here. I am very thankful and consider this a true motivation to continue my approaches. I also mentioned this on a different occasion. Often video in English appear to be hard to understand for non native speakers. This is absolutely not that case with your videos. You are doing a great job in using very clear language that is easy to understand if you are somewhat familiar with the language!

  • @gabrielbustamante4917
    @gabrielbustamante4917 2 роки тому

    Thank you so much for the explanation and for this video! Just saved my electrospinning project!

  • @NachbarFizgo
    @NachbarFizgo 5 років тому

    Thanks for that great video. I really appreciate your fantastic videos!

  • @UnknownUser-pf9rk
    @UnknownUser-pf9rk 3 роки тому +2

    3:50 was such a revelation :D I always wondered what that means!

  • @MuhammedhilmigulluBlogspot
    @MuhammedhilmigulluBlogspot 4 роки тому

    I am quiet happy that i found you sir, thank you

  • @rock3tcatU233
    @rock3tcatU233 3 роки тому

    These videos of yours are a gem.

  • @worldpeace1822
    @worldpeace1822 4 роки тому

    I kind of was expecting it to fly off ...good thing it worked as intended

  • @julesmarchand2765
    @julesmarchand2765 5 місяців тому

    bro is literly the best teacher ever
    he just did a full semester in 29min

  • @aberateklehaimanot9804
    @aberateklehaimanot9804 5 років тому

    Great video as always.Thanks for sharing.

  • @thasspongthapsang6769
    @thasspongthapsang6769 3 роки тому

    You are my best teacher i ever has. Thanks a lot.

  • @colmbrazel
    @colmbrazel 2 роки тому

    Thanks really appreciate your video. Your coding instructions did not work until I discovered some stray stranded wires had crossed pins on my Arduino, fixing that, everything worked. Thanks again.

  • @jamesgibbs3656
    @jamesgibbs3656 2 роки тому

    So happy I landed on you Channel - top quality instructional video! I am subscribed! Thanks

  • @Nekarsa
    @Nekarsa 4 роки тому

    Hey brother.
    Thank you for your work and video tutorial.
    With respect from Russia

  • @glewiss6696
    @glewiss6696 5 років тому +3

    Thanks teacher! I like the way you give all the details. I'm about to look for a stepper motor to control the leadscrew of my mini lathe for threadings. I haven't figured out how I will control in real time the speed of the chuck and the leadscrew using an arduino but this video show me the directions. Not sure how precise those stepper motors need to be to have an accurate value for the cut. I've heard also about hybrid stepper motors that work in close loop. Could it possible to make a video about them? Thanks anyway.

  • @chrishalk
    @chrishalk 4 роки тому

    Full props for your work! :) Greetings from Greece

  • @fxsrider
    @fxsrider 3 роки тому +4

    I have watched several of your videos. I had an extensive knowledge of electronics that went to waste working for the Boeing company. I did my time. I am diving straight into this stuff to get up to speed. I have several related books courtesy of my librarian wife. They are useful but the videos are just faster to go through and quite specific for a given result. I have some of the components already ordered for my idea. They are due here in two days. Thanks for making such good quality videos! I really appreciate I don't have to rinse some awful background music out with Stevie Ray Vaughan on 11 afterward. You speak clearly and at a tempo that is easy to follow. I'm sure there is considerable effort producing them. It is much appreciated.

    • @kevin00861
      @kevin00861 Рік тому

      Hello Mr. Fxsrider,
      please if you got an answer, kindly share it with me,
      @14:41, the connection of the Switch is quite confusing,
      the ground with the positive,
      what does the resistor do there,
      I mean if we activate the switch we would definitely have a short,
      please help with the right explanation, i really would be very grateful to you

  • @clfung2008
    @clfung2008 4 роки тому

    Very good video ! Clear and to the point step by step ! Thanks for sharing !

  • @smartypants5036
    @smartypants5036 2 роки тому

    Thank you for the lesson. Great content explained very well.

  • @hdl4259
    @hdl4259 3 роки тому +1

    Thank you for this very nice and clear explanation, it helped me very well. I am using the same stepper motor Nema23 and it is really powerful. My arrangement is Estelcam via an Arduino Mega and the driver DM516T.

  • @danimal_1814
    @danimal_1814 3 роки тому

    Yay ... thanx to your video I have my NEMA23 (hybrid) servo motor with a 2HSS60 operational with the control of an Arduino Uno. I am in the process now to set up the limit switches and connect this to a linear track such that I can dial in a specific speed and create simulation for testing image recognition and machine learning on an overhead camera viewing a section of the track. . Your videos are excellent and your videos and advice helped me understand steppers/servo controls from every aspect. Bravo!

  • @northshorepx
    @northshorepx 5 років тому

    Thanks I learned a tremendous amount

  • @danielepatane3841
    @danielepatane3841 4 роки тому

    Your content is always very interesting thanks!

  • @chuxxsss
    @chuxxsss 4 роки тому

    Very well done, enjoyed it. Stay safe.

  • @carlmincey3115
    @carlmincey3115 5 років тому +2

    Another Great Video Bill, Thank you
    Looking forward to some code for the Arduino nano robot motor controllers

  • @ChristianRThomas
    @ChristianRThomas 5 років тому +1

    I love the layout of your workshop. I'm going to have to copy some of it; especially having a bench supply built into your desk/shelf.

  • @omaradil11
    @omaradil11 5 років тому

    Clean and precise. Thanks

  • @waylonchan3179
    @waylonchan3179 4 роки тому +3

    I appreciate the effort in making the video, the explanation of how the motor and driver operate, and the quality of the guidance for assembly. Some questions about the set-up:
    How did you choose the resistor?
    Why did you wire the POT, DIR, and PUL all together and how does the Arduino dictate changes in DIR and PUL?
    How do you choose a safe power supply given the motor driver and motor?

    • @kevin00861
      @kevin00861 Рік тому

      Hello Waylon,
      please if you got an answer share it,
      @16:41, the connection of the Switch is quite confusing,
      the ground with the positive,
      what does the resistor do there,
      I mean if we activate the switch we would definitely have a short,
      please help with the right explanation, i really would be very grateful to you

  • @alpsman2010
    @alpsman2010 4 роки тому

    Great tutorial and very clearly presented thanks!

  • @zenobiuskondo4200
    @zenobiuskondo4200 4 роки тому

    Thank you for a very clear and easy to follow step by step information. Realy helpfull...

  • @Cptnbond
    @Cptnbond 5 років тому

    Thanks, really inspiring.

  • @muhamdadulhoque6472
    @muhamdadulhoque6472 3 роки тому

    Nicely done. Really appreciate it!

  • @marcusjenkins
    @marcusjenkins 3 роки тому

    Very useful. I've been caught by the ENA input on these large driver modules, assuming that ENA needs to be driven in order to ENABLE the motor, whereas driving that input seems to do exactly the opposite!

  • @valeriasolano1050
    @valeriasolano1050 3 роки тому

    Pretty useful tutorial. Thanks for the connection diagram

  • @rg_1971
    @rg_1971 4 роки тому

    Thank you for the great tutorial. One request could you use this same setup and sketch to show how you would incorporate a debounce for the button into the system?

  • @brettfreed1588
    @brettfreed1588 2 роки тому

    Loved this video! It greatly helped me get my setup which is identical working great. I would love to see this setup activated with only 1 push button switch for on and press again for off. Also having the stepper run based on time like 30 seconds at a push of a button then turn off. Also ignore all switch inputs during the 30 second run. I think this would make a very good video and help a lot of people besides myself! Love the channel! Keep up the great work!

    • @kevin00861
      @kevin00861 Рік тому

      Hello Mr. Brett,
      please if you got an answer, kindly share it with me,
      @14:41, the connection of the Switch is quite confusing,
      the ground with the positive,
      what does the resistor do there,
      I mean if we activate the switch we would definitely have a short,
      please help with the right explanation, i really would be very grateful to you

  • @SergioIO79
    @SergioIO79 4 роки тому

    Thank you for the video. Very well explained.

  • @nicolasfigueroa4429
    @nicolasfigueroa4429 2 роки тому

    your explanations make me wish I had a professor like you at Uni

  • @andarthome142
    @andarthome142 5 років тому

    Very nice explanation for this big stepper motors, as always thumps up:-)

  • @marktompkins3180
    @marktompkins3180 6 місяців тому

    This is insanely valuable teaching!!!

  • @drewkryger1102
    @drewkryger1102 3 роки тому

    you such a great job producing your content!

  • @bilalhabib2001
    @bilalhabib2001 4 роки тому

    Thank you very much. It worked perfectly at my end.👍👍

  • @Paulilmys
    @Paulilmys 2 роки тому

    My new favorite youtube channel! Such a great content.

  • @Kmn0219
    @Kmn0219 4 роки тому +5

    NEXT PLEASE MAKE A VIDEO ON BIG SERVO MOTOR! THANK YOU FOR YOUR AMAZING CONTENT

    • @mattivirta
      @mattivirta Рік тому

      need add this stepper motor only encoder and encoder A, and B signal out to arduino who code calculate realtime steps and positions.

  • @trippermostafiz
    @trippermostafiz 4 роки тому

    Thanks so much sir.
    Respect from Bangladesh!!

  • @bertyjustice4424
    @bertyjustice4424 2 роки тому

    Many thanks for your easy to follow videos.

  • @fazlanahmed5657
    @fazlanahmed5657 5 років тому +2

    Thank You sir , Nice explanation. can you please make a video of using CNC driver with stepper motor controls.

  • @erwinz5926
    @erwinz5926 11 місяців тому

    watch it a second time after two years. works for me! 👍

  • @dalecostich8794
    @dalecostich8794 4 роки тому +1

    the mister rogers of electro-mechanics...and i enjoy the heck out of it.

  • @mehmetyildiz748
    @mehmetyildiz748 3 роки тому

    Thanks for the tutorial :)

  • @ranaimran5387
    @ranaimran5387 4 роки тому

    Sir I am very thankful for your teaching method.Please keep it up

  • @larbigueraiche6721
    @larbigueraiche6721 4 роки тому

    Another awesome video. Thank you.

  • @leeham6230
    @leeham6230 Рік тому

    This is an _amazing_ video. Thank you, sir.

  • @automationtechnology7811
    @automationtechnology7811 5 років тому

    Very informative video , well explained as always you doing , i have learned a lots , thank you ,

  • @sajibislam1677
    @sajibislam1677 2 роки тому

    Thank you for your nice explanation!