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! - Навчання та стиль
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.
Thanks for the tutorial,looks like we are moving closer to a ESL for the lathe lead screw I am always following.
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.
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!!!!
This was a very helpful video and I appreciate how clearly you explain it, including how to read data datasheets.
The method of expression and visuals are great. Thank you so much.
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.
Exactly what I was looking for, very helpful in building my milling machine power feed. Thank you your time and effort is appreciated!
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.
Bill, This is yet another very clear video on what is a difficult topic for some. Keep up the great work!
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!
While a total novice with electronics, I understood everything you explained. Much of the information you presented, I was looking for. Thank you!
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.
Thanks for making the electronics simple and straight forward. I believe i could build a CNC of virtually ANY SIZE with your tutorial.
Thank you. This is my first stepper motor circuit. Moving to bigger things now
"Taking some big steps today" ....I see what you did there, and I appreciate it.
0:13 haha, yes I liked his comment too. "We're taking some big steps today"!
Yea ! Took me a few tiks to realise that .
BOOM! mic drop haha
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!
Perfect. Your tutorials are very helpful in building confidence of making CNC.
The quality and organisation of your presentation is only surpassed by your teaching skill. Keep up the amazing work.
This explanation is gold. First try, it worked perfectly. Thank You.
This video is insanely well done. Stellar format, excellent content, and concise presentation. Definitely helped me out!
I've never heard about AccelStepper library and I discovered because of your video. Thank you.
Your content and presentation & delivery is prefect..... you really nailed everything !! Thanks !! Keep it going !!
Wish I had a teacher like you :) . You are doing wonderfull job on all of your videos. Greatings from Czech Rep.
thanks to UA-cam, you do!
That is the cleanest an most organized shop I have ever seen. Nice video and great explantion.
Your great, this is exactly what I needed to know. CNC here I come, eventually
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
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.
Mr. Spock explains electronics. Beam me up! Great stuff! Thank you so much.
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.
Thank you for informative explanation! Keep this series up )
VERY GOOD topic, I have been wanting to build a welding rotation holder tool. THANK YOU!
You have THE BEST Arduino channel on UA-cam! Thanks for all the videos!
Awesome presentation! Thank you. 👍
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...
Thank you very much for this clear tutorial!
Love your videos, very informative and excellent production quality!
the greatest workshop on yt!! Thanks man!
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!
You are very good at demonstrating things , u r a good teacher indeed , thanx for making this video, u cleared most of my doubts .
thank you sir for the very edifying lecture and I like your tidy shop 😃✌
Loving your workshop!
Thank you, very excellent explain for my very first time to understand how to control stepper motor.
You have a great style of instruction - methodical, clear and focused. Thanks for your effort.
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.
Very informative. After I get a chance to build my 3018 I will come back to your vids. Thanks.
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!
Thank you so much for the explanation and for this video! Just saved my electrospinning project!
Thanks for that great video. I really appreciate your fantastic videos!
3:50 was such a revelation :D I always wondered what that means!
I am quiet happy that i found you sir, thank you
These videos of yours are a gem.
I kind of was expecting it to fly off ...good thing it worked as intended
bro is literly the best teacher ever
he just did a full semester in 29min
Great video as always.Thanks for sharing.
You are my best teacher i ever has. Thanks a lot.
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.
So happy I landed on you Channel - top quality instructional video! I am subscribed! Thanks
Hey brother.
Thank you for your work and video tutorial.
With respect from Russia
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.
Full props for your work! :) Greetings from Greece
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.
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
Very good video ! Clear and to the point step by step ! Thanks for sharing !
Thank you for the lesson. Great content explained very well.
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.
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!
Thanks I learned a tremendous amount
Your content is always very interesting thanks!
Very well done, enjoyed it. Stay safe.
Another Great Video Bill, Thank you
Looking forward to some code for the Arduino nano robot motor controllers
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.
Clean and precise. Thanks
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?
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
Great tutorial and very clearly presented thanks!
Thank you for a very clear and easy to follow step by step information. Realy helpfull...
Thanks, really inspiring.
Nicely done. Really appreciate it!
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!
Pretty useful tutorial. Thanks for the connection diagram
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?
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!
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
Thank you for the video. Very well explained.
your explanations make me wish I had a professor like you at Uni
Very nice explanation for this big stepper motors, as always thumps up:-)
This is insanely valuable teaching!!!
you such a great job producing your content!
Thank you very much. It worked perfectly at my end.👍👍
My new favorite youtube channel! Such a great content.
NEXT PLEASE MAKE A VIDEO ON BIG SERVO MOTOR! THANK YOU FOR YOUR AMAZING CONTENT
need add this stepper motor only encoder and encoder A, and B signal out to arduino who code calculate realtime steps and positions.
Thanks so much sir.
Respect from Bangladesh!!
Many thanks for your easy to follow videos.
Thank You sir , Nice explanation. can you please make a video of using CNC driver with stepper motor controls.
watch it a second time after two years. works for me! 👍
the mister rogers of electro-mechanics...and i enjoy the heck out of it.
Thanks for the tutorial :)
Sir I am very thankful for your teaching method.Please keep it up
Another awesome video. Thank you.
This is an _amazing_ video. Thank you, sir.
Very informative video , well explained as always you doing , i have learned a lots , thank you ,
Thank you for your nice explanation!