Big Stepper Motors with Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ค. 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!
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 678

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

  • @MohammedAhmed-mi6hg
    @MohammedAhmed-mi6hg ปีที่แล้ว +14

    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.

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

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

  • @stratman1234
    @stratman1234 4 ปีที่แล้ว +1

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

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

  • @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!

  • @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!

  • @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!

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

  • @bobvines00
    @bobvines00 4 ปีที่แล้ว

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

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

  • @tylerives7410
    @tylerives7410 5 ปีที่แล้ว +57

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

  • @TeoMaragakis
    @TeoMaragakis 3 ปีที่แล้ว

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

  • @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!

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

  • @abidinakdag658
    @abidinakdag658 4 ปีที่แล้ว +1

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

  • @udhar
    @udhar 3 ปีที่แล้ว

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

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

  • @ieeshkumar3021
    @ieeshkumar3021 3 ปีที่แล้ว +1

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

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

  • @auzworld
    @auzworld 4 ปีที่แล้ว

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

  • @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!

  • @heisantos9373
    @heisantos9373 3 ปีที่แล้ว

    Love your videos, very informative and excellent production quality!

  • @jarpekar
    @jarpekar 4 ปีที่แล้ว

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

  • @billmckillip1561
    @billmckillip1561 5 ปีที่แล้ว +3

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

  • @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!!!!

  • @nickolasdaff6217
    @nickolasdaff6217 5 ปีที่แล้ว

    Thank you for informative explanation! Keep this series up )

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

  • @garycotz563
    @garycotz563 5 ปีที่แล้ว +1

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

  • @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!

  • @Fulacrus
    @Fulacrus 4 ปีที่แล้ว

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

  • @iraydiaz5888
    @iraydiaz5888 4 ปีที่แล้ว

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

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

  • @FrustratedBaboon
    @FrustratedBaboon 3 ปีที่แล้ว

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

  • @proventure307
    @proventure307 3 ปีที่แล้ว

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

  • @NachbarFizgo
    @NachbarFizgo 5 ปีที่แล้ว

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

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

  • @ronen124
    @ronen124 5 ปีที่แล้ว +1

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

  • @hadireg
    @hadireg 5 ปีที่แล้ว +1

    the greatest workshop on yt!! Thanks man!

  • @clkdiv3271
    @clkdiv3271 3 ปีที่แล้ว

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

  • @nickpatterson4921
    @nickpatterson4921 4 ปีที่แล้ว +2

    Thank you for your videos, they have been very helpful so far. I was wondering why you chose the MA860H driver. Specifically compared to the DM860T?

  • @ThunderGoat85
    @ThunderGoat85 4 ปีที่แล้ว

    Thank you very much for this clear tutorial!

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

  • @thasspongthapsang6769
    @thasspongthapsang6769 4 ปีที่แล้ว

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

  • @chemicalcorrosion
    @chemicalcorrosion 5 ปีที่แล้ว +1

    Awesome presentation! Thank you. 👍

  • @carlmincey3115
    @carlmincey3115 5 ปีที่แล้ว +2

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

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

  • @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!

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

  • @aberateklehaimanot9804
    @aberateklehaimanot9804 5 ปีที่แล้ว

    Great video as always.Thanks for sharing.

  • @UnknownUser-pf9rk
    @UnknownUser-pf9rk 3 ปีที่แล้ว +2

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

  • @jrkorman
    @jrkorman 4 ปีที่แล้ว

    Very good video - Have to wonder what other appendages one might have near the workbench aside from your hands?
    Keep up the good work!

  • @chrishalk
    @chrishalk 4 ปีที่แล้ว

    Full props for your work! :) Greetings from Greece

  • @henreh99
    @henreh99 4 ปีที่แล้ว

    Loving your workshop!

  • @HairyTheCandyMan
    @HairyTheCandyMan ปีที่แล้ว

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

  • @MuhammedhilmigulluBlogspot
    @MuhammedhilmigulluBlogspot 4 ปีที่แล้ว

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

  • @danielepatane3841
    @danielepatane3841 4 ปีที่แล้ว

    Your content is always very interesting thanks!

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

  • @rock3tcatU233
    @rock3tcatU233 3 ปีที่แล้ว

    These videos of yours are a gem.

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

  • @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?

  • @Nekarsa
    @Nekarsa 4 ปีที่แล้ว

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

  • @worldpeace1822
    @worldpeace1822 4 ปีที่แล้ว

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

  • @ScinnerNo1
    @ScinnerNo1 4 ปีที่แล้ว +1

    Thx for a great video! What are the "Enable" connections on the driver and why didn't you use them?

  • @arthurdent8091
    @arthurdent8091 3 ปีที่แล้ว

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

  • @clfung2008
    @clfung2008 4 ปีที่แล้ว

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

  • @gabrielbustamante4917
    @gabrielbustamante4917 2 ปีที่แล้ว

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

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

  • @jamesgibbs3656
    @jamesgibbs3656 2 ปีที่แล้ว

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

  • @andarthome142
    @andarthome142 5 ปีที่แล้ว

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

  • @northshorepx
    @northshorepx 5 ปีที่แล้ว

    Thanks I learned a tremendous amount

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

  • @smartypants5036
    @smartypants5036 2 ปีที่แล้ว

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

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

  • @chuxxsss
    @chuxxsss 4 ปีที่แล้ว

    Very well done, enjoyed it. Stay safe.

  • @drewkryger1102
    @drewkryger1102 3 ปีที่แล้ว

    you such a great job producing your 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.

  • @joecash3241
    @joecash3241 4 ปีที่แล้ว

    Very well explained and clearly presented.
    Love the shop design ... clean and functional.
    Thank you for taking the time as I'm certain it's time consuming! :)
    Peace

  • @fazlanahmed5657
    @fazlanahmed5657 5 ปีที่แล้ว +2

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

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

  • @automationtechnology7811
    @automationtechnology7811 5 ปีที่แล้ว

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

  • @alpsman2010
    @alpsman2010 3 ปีที่แล้ว

    Great tutorial and very clearly presented thanks!

  • @alperaltun2279
    @alperaltun2279 4 ปีที่แล้ว

    Thanks for your clear explanation. I've a load which specified 20kg and I need to move it around 40cm so what kind of stepper motor do I need?

  • @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!

  • @muhamdadulhoque6472
    @muhamdadulhoque6472 3 ปีที่แล้ว

    Nicely done. Really appreciate it!

  • @valeriasolano1050
    @valeriasolano1050 3 ปีที่แล้ว

    Pretty useful tutorial. Thanks for the connection diagram

  • @SergioIO79
    @SergioIO79 4 ปีที่แล้ว

    Thank you for the video. Very well explained.

  • @omaradil11
    @omaradil11 5 ปีที่แล้ว

    Clean and precise. Thanks

  • @dalecostich8794
    @dalecostich8794 4 ปีที่แล้ว +1

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

  • @nicolasfigueroa4429
    @nicolasfigueroa4429 2 ปีที่แล้ว

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

  • @thasspongthapsang6769
    @thasspongthapsang6769 3 ปีที่แล้ว

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

  • @bilalhabib2001
    @bilalhabib2001 4 ปีที่แล้ว

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

  • @trippermostafiz
    @trippermostafiz 4 ปีที่แล้ว

    Thanks so much sir.
    Respect from Bangladesh!!

  • @larbigueraiche6721
    @larbigueraiche6721 3 ปีที่แล้ว

    Another awesome video. Thank you.

  • @maartenvd84
    @maartenvd84 3 ปีที่แล้ว

    Thank you! Helped a lot. Subscribed!

  • @michaelgalsim2461
    @michaelgalsim2461 4 ปีที่แล้ว

    Finally found a tutorial I can follow. Hi, I never worked with stepper motor but I plan to build a plasma CNC. Going through various videos, I decided to use the motor you used but was thinking of different driver "DM556". Can you please say why you choose the 860 and where did you set the dip switches. Thanks a lot.

    • @mattivirta
      @mattivirta ปีที่แล้ว

      TB6600,DM542,556,860 same driver but important handle max current, need setting what you motor max current have, big driver can use better many motor if motor max have 2A,3A,4A5A,6A can set dip switch current max. but small etc. TB6600 max current handle only 3A and used max 4A motor indunctanse have big and bad, and motor not run max torque . not good. change driver biggest and DM860 can handle 7-8A mac but can use 4A motor set dip switch right current.

  • @Carlos-id7my
    @Carlos-id7my 5 ปีที่แล้ว

    Thanks!! Very good explanation. Do you think this model can be used for a parking barrier. (Not a heavy one).

  • @easycaed
    @easycaed 3 ปีที่แล้ว

    Teaching in a very good manner. Understanding the things even i no nothing about stepper motor.