Stepper Motors and Arduino - The Ultimate Guide

  Рет қаралды 1,342,137

How To Mechatronics

How To Mechatronics

Күн бұрын

Пікірлер: 336
@HowToMechatronics
@HowToMechatronics 2 жыл бұрын
I hope you enjoyed this video and learned something new! If you'd like to support me making more content like this, please consider supporting me on Patreon: www.patreon.com/howtomechatronics
@vidhanherpalani705
@vidhanherpalani705 2 жыл бұрын
can you pls make Arduino coding tutorials from basics to advance
@k33501
@k33501 2 жыл бұрын
Have you made a video regarding the bigger stepper motors and drivers?
@greendsnow
@greendsnow Жыл бұрын
Hi! Where's your dedicated tutorial for nema 23 and 34 drivers?
@weltro
@weltro 10 ай бұрын
can we use stepper motors with rc controller?
@vomitedthoughts
@vomitedthoughts 2 жыл бұрын
How did you get the TMC2208 to work in that shield?, I could never find any info on how or what I could have been doing wrong
@JanTec3D
@JanTec3D Жыл бұрын
Thank you so much for these videos. I‘m a mechatronics engineering student and while we mostly do theoretical electrical and mechanical engineering at university, your videos help me a lot for my personal projects! Currently working on a DIY tensile test using two stepper motors and a load cell.
@HowToMechatronics
@HowToMechatronics Жыл бұрын
So glad to hear it, thanks! I wish you good luck! 😀
@tomasblazek8531
@tomasblazek8531 2 жыл бұрын
Thank you for this video. I am also looking forward to the next video on the larger stepper motors. One thing I would like to praise the most is the fact that you have tried to explain controling of stepper without libraries. In my opinion it is very important to know how things works before inplementing them. Please keep up working, you are helping many curios minds to create new inventions a creations. Best regards one young Enginner
@HowToMechatronics
@HowToMechatronics 2 жыл бұрын
Glad to hear it, thank you!
@greendsnow
@greendsnow Жыл бұрын
I wish I watched this video for the first thing I started my robot arm project. This is so detailed and comprehensive...
@danpedersen55
@danpedersen55 14 күн бұрын
At 22:14 you say that you set it to, one, two and three rotations, but it's one, two and four rotations. I know you know what you're doing, it's just for clarification. I love your videos, I've learned a lot from them 👍
@shanijagatiya9675
@shanijagatiya9675 9 ай бұрын
Best video to understand about stepper motors, sir. I love your work 😘👌🫂🫂
@Yosemite_Sam
@Yosemite_Sam 2 жыл бұрын
Further feedback/comment. The 3 axis stepper Antenna Tuning Unit is now turning all 3 devices backwards and forwards using adaptations of your excellent sketches. Learning by doing (and correcting my mistakes whilst learning) and using your tutorials has worked for me. Still a long way to go. Again thank you. Cheers from OZ.
@johnkidd1694
@johnkidd1694 Жыл бұрын
Do I take your comment to mean that you built a 3 axis antenna tracker, say, for satellite tracking? I would love to know how you did it. That is a dream project of mine.
@Yosemite_Sam
@Yosemite_Sam 2 жыл бұрын
Very professional tutorial with narration correctly pitched to people learning at basic level. I learnt a lot. I am making a 3 stepper impedance matching unit for antennas. 3 x Nemer 23 TB6600 for current and Arduino Uno. Your advice on Arduino library is very useful. Cheers from OZ.
@HowToMechatronics
@HowToMechatronics 2 жыл бұрын
Glad it was helpful!
@k33501
@k33501 2 жыл бұрын
Hi Dean, does your motors run loud? I added a laser setup to my machine with the ardruino, cause my controller don't support a laser.
@Yosemite_Sam
@Yosemite_Sam 2 жыл бұрын
@@k33501 Happy 2023. Your steppers may make a noise during operation if the settings are not the optimal combination. So the current setting and the Pulse/rev settings can conflict with the sketch itself. I had to experiment a lot.
@k33501
@k33501 2 жыл бұрын
@@Yosemite_Sam Thank you Dean, I'll play around with the settings. All of the best for 2023 :)
@anuragbhalekar4315
@anuragbhalekar4315 25 күн бұрын
Couldn't thank you enough for the 6 Wire Stepper Motor Bi-polar config for higher speed vs higher torque!
@momentsbruh5088
@momentsbruh5088 Жыл бұрын
Thank you very much, i’m doing a project with 2 stepper motors and your video help alot. Looking for your new video 🎉
@RandomMakingEncounters
@RandomMakingEncounters 2 жыл бұрын
Exactly what I was looking for! I’m working on a camera slider and was relying on some existing code that wasn’t really meeting my needs. This information gives me the foundational information to build a bit more from the ground up!
@HowToMechatronics
@HowToMechatronics 2 жыл бұрын
Glad to hear it! Have fun building that camera slider. Check my DIY camera slider video , it's a bit older project but still it could be helpful. Cheers!
@tordtengstrand
@tordtengstrand Ай бұрын
Thank you very much for a very good and instructive video.. My stepping motor is working now, I will use it for a sculpture, and continue to study your project in more detail
@navid9852
@navid9852 2 жыл бұрын
Best tutorial on stepper motor drivers ever! Very comprehensive.
@HowToMechatronics
@HowToMechatronics 2 жыл бұрын
Thank you!
@mrmakinist
@mrmakinist 2 жыл бұрын
By the way, you are my yuotuber that I liked and appreciated the most.
@marphymarphy
@marphymarphy Жыл бұрын
Díky!
@TheSquire101
@TheSquire101 Жыл бұрын
Oh my God thank you very much. I've been wondering why my setup wasn't working with my TMC 2209 until I saw your wire from EN to ground. Thank you.😊
@vikramsaini5605
@vikramsaini5605 6 ай бұрын
Bro did it worked using tmc 2209
@joaocamiloulhoa4878
@joaocamiloulhoa4878 2 жыл бұрын
The best Channel of YT.
@HowToMechatronics
@HowToMechatronics 2 жыл бұрын
Thank you!
@aaron6516
@aaron6516 2 жыл бұрын
Where have you been my whole life!!! Man super sweet tutorial!!!
@HowToMechatronics
@HowToMechatronics 2 жыл бұрын
haha, thanks!
@stub1116
@stub1116 Ай бұрын
That flight and construction was brilliant.
@Astro-Bob
@Astro-Bob Жыл бұрын
i didn't have a clue what to do! but now i do thank u so much, its a very clear what to do now u make it look easy. ur channel us well worth subscribing to👍
@HowToMechatronics
@HowToMechatronics Жыл бұрын
Glad I could help! Cheers 😀
@OrganizationalEngineering
@OrganizationalEngineering Жыл бұрын
Thank you so much! I'm brand new to all of this and trying to build a motorized/automated monitor stand for my sim rig. This video was super clear and easy to follow and I feel like I can go make it happen now, although I still have to figure out the WiFi connection piece. I'll be searching your channel for info on that.
@davidhryhoryev696
@davidhryhoryev696 Жыл бұрын
Thank you so much for this video, and for your high precision while describing the video 😄 it helped me really a lot
@PhG1961
@PhG1961 2 жыл бұрын
Excellent video and very well explained/documented.
@HowToMechatronics
@HowToMechatronics 2 жыл бұрын
Many thanks!
@vinxmod793
@vinxmod793 Жыл бұрын
Well Done. I feel many people would enjoy seeing your suggestion of a Video Tutorial for Larger Stepper motors like the NEMA 23 and NEMA 34 as you mentioned. Thank You for taking the time to make these videos.
@eyadalabboud313
@eyadalabboud313 Ай бұрын
Great work, excellent explanation, very good document and graphics.
@Mohamed_Ali-24M
@Mohamed_Ali-24M 2 жыл бұрын
The best channel in the world, please can you Explain how to make a Led Cube
@mmsanathara
@mmsanathara Жыл бұрын
Dear Sir, Fantastic explaination in simpleasic electronic language.
@mmsanathara
@mmsanathara Жыл бұрын
Do you have any video for run stepper for one degree and stop. When next pulse given stepper shaft move to one degree in clock ir anticlockwise move.
@adamoulegion1382
@adamoulegion1382 7 ай бұрын
Thank you for the video. This has helped me a lot in understanding stepper motors and how they work.
@veerasaijoshikunnam245
@veerasaijoshikunnam245 Жыл бұрын
Hey, I was wondering why you were not using a capacitor in the actual circuit but included it in the circuit diagram?
@UKsystems
@UKsystems 11 ай бұрын
It was probably best practice
@tafsirahmedkhan8080
@tafsirahmedkhan8080 2 жыл бұрын
Greatest video on Stepper Motor! Waited for this for so long.
@HowToMechatronics
@HowToMechatronics 2 жыл бұрын
Glad you liked it!
@allanminers1662
@allanminers1662 2 жыл бұрын
Congratulations.This is an excellent presentation.Close to the best I have seen. Thank you for sharing your knowledge
@RenatoMariscal
@RenatoMariscal 8 ай бұрын
Thanks, I am a beginner and I couldn't find the wiring for 2208 before this. I have been trying to put the 12 volt on VIO 😅
@customdevelopment136
@customdevelopment136 2 жыл бұрын
Question: Once power is removed from the stepper motor, does the motor lock in place? In battery operated conditions, there is no extra power available to lock the motor. How do you suggest to lock the motor without consuming energy? And is there an easy way to add a gearbox or a worm drive to the popular stepper motor to increase the torque and provide a natural lock function? Thank you for your videos which are very informative and helpful. It is very important to describe how a device works before explaining how to use it. I am happy to see that you use this methodology, unlike most other KZbin instructors. I notice that in this lesson you also explain which library function block and which don't. I can't stress enough how important this is. If the function is non-blocking can you also explain if it is timer interrupt driven, feedback interrupt driven, or in the case of the .run() function, it just blocks for microseconds - i.e. a micro-block. A micro-block will cause the stepper motor to be influenced by the flow of control in the software. On the other hand, interrupt driven will allow the stepper motor to behave naturally no matter how the software behaves.
@_VeljkoMiletic_
@_VeljkoMiletic_ 2 жыл бұрын
Answer to first question: No...
@tythompson7170
@tythompson7170 2 жыл бұрын
I know this was posted 5 months ago, but figured I’d give some extra help on your first question. If you need a way to self lock without power, do some research on the formulas for power screws. They can be self locking given a small enough lead (thread pitch) or a high enough friction coefficient. The calculations are relatively simple when given what each part of the formula represents. Good luck with your projects.
@Vintage_USA_Tech
@Vintage_USA_Tech 2 жыл бұрын
The best DAMN Stepper motor video I have ever seen.
@HowToMechatronics
@HowToMechatronics 2 жыл бұрын
Thanks!
@schlehrbear
@schlehrbear 2 ай бұрын
EXCELLENT THANK YOU FOR SHARING YOUR KNOWLEDGE 🎉
@alvarobyrne
@alvarobyrne 2 жыл бұрын
the (unexplainably at-least-in-youtube-missing) stepper motor guide, ha ha: thanks a lot, master
@MrTheNark
@MrTheNark 4 ай бұрын
Great explanation of the differences between stepper motors! One question: I need a driver that makes the current towards the stepper motor 0 during standstill (to limit power and heat in the motor). Holding torque during standstill is not important as the stepper motor is connected to a worm gear. Is any of the drivers capable of zero current during standstill?
@andreknuttson88
@andreknuttson88 2 жыл бұрын
Exelent video! i feel unsure about the decoupeling capacitor tho, what voltage should i use?
@hsnorh8180
@hsnorh8180 2 жыл бұрын
Instant like...👍 Great explanation...🙏
@HowToMechatronics
@HowToMechatronics 2 жыл бұрын
Glad you liked it!
@arduinomaquinas
@arduinomaquinas Жыл бұрын
Great 🇧🇷😉👏👏👏👏 thank you bro !
@GALENGODIS
@GALENGODIS 9 ай бұрын
Thanks, I wish you covered more about how to optimize the stepper motors for speed and not accuracy.
@joseosorio277
@joseosorio277 Жыл бұрын
Of course I enjoyed the video very much! Thank you for this excellent class!
@OrcusTrek
@OrcusTrek Жыл бұрын
hats off to the efforts putted in video, explaining every detail while making it quite engaging.
@HowToMechatronics
@HowToMechatronics Жыл бұрын
Glad you liked it!
@khaledbaraja8450
@khaledbaraja8450 2 жыл бұрын
My fav channel
@laygoman7547
@laygoman7547 2 жыл бұрын
Same here
@HowToMechatronics
@HowToMechatronics 2 жыл бұрын
Glad to hear it, thank you!
@buddhimaamarasinghe9997
@buddhimaamarasinghe9997 2 жыл бұрын
Excellent video Thanks for sharing your knowledge. What is the maximum RPM nema 17 stepper motor. Thanks
@SantaDragon
@SantaDragon 11 ай бұрын
Thanks firstly for this summary. 9:27 The order really doesnt matter? 5:14 I think it makes a difference by depoling 2A with 2B when the signal of the H-bridge goes the wrong way. As whe one coil pushes clockwise, and the second coil may then push counter-clockwise what makes the motor just buzzing instead moving, right? 22:11 Does the 3. motor not make 4 rotations as 3.200 / 800 = 4?
@harparduino5111
@harparduino5111 3 ай бұрын
Excellent tutorial ! Thank you.
@TheAngryMaskSalesman64
@TheAngryMaskSalesman64 8 ай бұрын
holy cow, thank you so much for this video. So much information presented so clearly :D
@humward888
@humward888 Жыл бұрын
Really well done video. Truly enjoyed every second of it... Thank you so much for this incredible video.
@HowToMechatronics
@HowToMechatronics Жыл бұрын
Glad you enjoyed it!
@davidgraham6140
@davidgraham6140 2 жыл бұрын
Thanks soooo much I really needed this video for my final year project
@HowToMechatronics
@HowToMechatronics 2 жыл бұрын
Glad I could help!
@christianbureau6732
@christianbureau6732 7 ай бұрын
Great video, I learn a lot's. Do you think you can have 2 rheostat (one for speed and the other for travel distance) and make it a forward-backward motion?
@stefanv.d.b818
@stefanv.d.b818 Жыл бұрын
Great Video ! What power supply should i use for the Motor?
@robertwebb9657
@robertwebb9657 2 жыл бұрын
thanks for a comprehensive explanation.
@juanjosesilva4315
@juanjosesilva4315 Жыл бұрын
Wow ! I never saw a video with nema motors like that
@Handay_78
@Handay_78 2 жыл бұрын
Excellent explanation... easy to understand..
@HowToMechatronics
@HowToMechatronics 2 жыл бұрын
Glad it was helpful!
@paul.alarner6410
@paul.alarner6410 3 ай бұрын
altium designer is free from the pirate bay!
@julianjuellz
@julianjuellz Жыл бұрын
thank you for your informations :) can you maybe help me on how to control the stepper motor speed with a potentiometer knob? how would i implement that?
@raymonddharmadipraja3630
@raymonddharmadipraja3630 Жыл бұрын
Very detailed explanation😊😊 thank you. But I have a question, If I want to run my rotary machine using stepper motor, where the stepper motor actions (on and off) are driven by photoelectric sensors just to make stop once the sensors are turned on, do I have to use driver? Or Can I just use transformer and capacitor only since it only run on single direction? Note: I only need the motor to stop exactly when the sensor are on Thank you
@OMNI_INFINITY
@OMNI_INFINITY Жыл бұрын
I kinda like the sound generated by a stepper driven by an A498. Sounds mechatronic.
@superman1755
@superman1755 2 жыл бұрын
What power supply are you using? Would a 12V 2A wall outlet supply work well? I'm having trouble online finding resources for this. Intending to use 1-4 stepper motors (2.4ohm, 1.5A) for CNC related projects
@johnkidd1694
@johnkidd1694 Жыл бұрын
Excellent teaching. Thanks.
@HowToMechatronics
@HowToMechatronics Жыл бұрын
Glad it was helpful!
@elijahsarvey8065
@elijahsarvey8065 2 ай бұрын
Would you be able to share the frizzing parts for the motor drivers if that is what you are using for the diagrams?
@AB-ee4nu
@AB-ee4nu 3 ай бұрын
Great video! Have tried to work this code for simultaneous motor control, but the motor is not moving smoothly as in the video for the speed and acceleration only for ACCELSTEPPER library, its like its starting and stopping each step till final position causing a juddering sound and slow motion of the motors... i cant figure out why its not running smooth
@danielevans465
@danielevans465 Жыл бұрын
Love this video, did an amazing job explanin how to use it.
@williambruneau8667
@williambruneau8667 Жыл бұрын
Super detailed video, thanks a lot!
@xrphobby1341
@xrphobby1341 9 ай бұрын
Hello thanks for your videos. How is it possible to rotate 30 degrees each time a button is pressed, a total of 10 presses will completeone rotation? Thank you.
@Emalak1bas
@Emalak1bas 11 ай бұрын
Thanks for your very informative video ❤
@franhdez4711
@franhdez4711 2 жыл бұрын
Excellent instruction. So much knowledge shared here. All my gratitude.
@HowToMechatronics
@HowToMechatronics 2 жыл бұрын
Thank you, glad you enjoyed it!
@MenMadeIt
@MenMadeIt Жыл бұрын
Much appreciated, thank you for the clear explanation
@rameshtripathy5978
@rameshtripathy5978 2 жыл бұрын
Nice description & helpful too !
@Jonzaum
@Jonzaum Жыл бұрын
Really nice video bro, if i try with the tb6600 driver, what will change?
@s0mby
@s0mby Жыл бұрын
Where can I find the Motor Power Supply module?
@gabucarneiro
@gabucarneiro Жыл бұрын
What a GREAT explanation!! You're great! Are you planning on making a drone?! I'd love to see your explanation about it all!!
@HowToMechatronics
@HowToMechatronics Жыл бұрын
Thank you! To be honest at this moment I don't have a plan of making a drone anytime soon.
@gabucarneiro
@gabucarneiro Жыл бұрын
@@HowToMechatronics I get it. I'll keep watching your videos anyway. Thank you for all your efforts!
@teocerda5367
@teocerda5367 2 жыл бұрын
Thank you for so excelent video, can I use Nema 34 12nm and keep the torque?
@davelee9111
@davelee9111 2 жыл бұрын
Thank you for a really great video. Unfortunately my motor is humming but not moving. Any idea where i have gone wrong? thanks
@LuisPa247
@LuisPa247 Жыл бұрын
Gold tutorial, Thanks for the information.
@HowToMechatronics
@HowToMechatronics Жыл бұрын
Glad it was helpful!
@herediiaa.e
@herediiaa.e 10 ай бұрын
@@HowToMechatronicspls answer my question, I would like to know what driver is going to make my motor go faster???
@ErickAlex1
@ErickAlex1 10 ай бұрын
Excellent video sir
@amazac9869
@amazac9869 2 жыл бұрын
outstanding efforts well prepared video as an opensource tutorial ,thank you so much.👍
@HowToMechatronics
@HowToMechatronics 2 жыл бұрын
Glad it was helpful!
@amazac9869
@amazac9869 2 жыл бұрын
@@HowToMechatronics It was ,keep the good work ,cheers.
@thomasmcann9474
@thomasmcann9474 2 жыл бұрын
Awesome video!,looking forward to the larger NEMA motors controlled by Arduino video
@avinashevilmonsterkane995
@avinashevilmonsterkane995 Жыл бұрын
very detailed explanation... Super
@HowToMechatronics
@HowToMechatronics Жыл бұрын
Thanks!
@andreayalagonzalez4366
@andreayalagonzalez4366 2 жыл бұрын
Thanks for explaining everything carefully and saying every detail, great video, you really do the homework!!!
@harikamalakarreddydarapu7410
@harikamalakarreddydarapu7410 2 жыл бұрын
Excellent tutorial and very well explained
@HowToMechatronics
@HowToMechatronics 2 жыл бұрын
Many thanks!
@a154james
@a154james 2 жыл бұрын
This video is an awesome recap on arduino stepper motor use! Theoretically, if you were to over drive a stepper motor with the driver, what would happen? Would you just burn out the stepper driver or would you also take out the arduino as well?
@anonymoususer3561
@anonymoususer3561 2 жыл бұрын
over drive?
@shafayethossain5217
@shafayethossain5217 2 жыл бұрын
Thank you so much for sharing the code with the explanation. That's really helpful.
@HowToMechatronics
@HowToMechatronics 2 жыл бұрын
Glad it was helpful!
@ChibuzobasildonOnyenagada
@ChibuzobasildonOnyenagada 3 ай бұрын
Thanks you so much for this video, please I'm a beginner I studied computer engineering & am so much in love with Mechatronics. Honestly I have no basic foundation in this field,help me to start from scratch with books to read & practicals to do with diagrams etc, thanks so much. I'll appreciate.
@emiliaklint3063
@emiliaklint3063 23 күн бұрын
I can't see the decoupling capacitor, where is it located? Thanks!!
@tjpprojects7192
@tjpprojects7192 2 жыл бұрын
1:41 Is this the start of an amazing meme? I'd watch a 1 minute loop of the ribbon going back and forth like a snake.
@chee4281
@chee4281 2 жыл бұрын
Can i know what is the name of the green thing that you are holding at 4:49 Edit: I found out what it is. It's an analog connector DC jack.
@jamesssydney
@jamesssydney 9 ай бұрын
Amazing Tutorial, just wondering if you're controlled more then 4 steppers at once? is it possible to control 8 or 12 etc and how would this be done?
@letsengineering5696
@letsengineering5696 2 жыл бұрын
Very well explained. Nice Video
@gabehorno
@gabehorno 2 жыл бұрын
14:42 If the coils only reach 0.7A, does that mean I can increase the limit to 1.43A in order to get 1A through the coils and driver?
@maker_pt
@maker_pt 2 жыл бұрын
Thanks for making this video. If I'd have watched this video 2 months ago, I'd have saved at least one full afternoon of swearing :D
@ProDesigneHd
@ProDesigneHd 2 жыл бұрын
what about controlling an stepper motor driver using SPI. Drivers such as TMC5160 usually can only be controlled by SPI and don't have a potentiometer. A video on that subject would be greatly appreciated!
@voodoobaz
@voodoobaz 3 ай бұрын
Super cool, thank you
@joebro391
@joebro391 Жыл бұрын
What should one use for a 3V stepper motor? It seems that's far too below the motor voltage threshold on any of these drivers. Can one provide 3 Volts to their motors with these drivers? Can the stepper motor handle higher than 3V? I am unsure
@manggalagiriputra8516
@manggalagiriputra8516 7 ай бұрын
what ampere value of the power supply that recommended for nema 23 bro?
@Dmsxj
@Dmsxj 2 жыл бұрын
Stepper motors are a very interesting and fun
@ramanarao32
@ramanarao32 2 жыл бұрын
what a nice video brother!!
@HowToMechatronics
@HowToMechatronics 2 жыл бұрын
Appreciate it!
@JohnnyChugh
@JohnnyChugh 2 жыл бұрын
Excellent video, thank you very much.
What Makes TMC2208 Stepper Motor Drivers Silent?
9:07
Michael Klements
Рет қаралды 312 М.
Beginners Guide To Using Large Stepper Motors: #087
19:49
Jeremy Fielding
Рет қаралды 309 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Stepper Motors with Arduino - Controlling Bipolar & Unipolar stepper motors
50:22
Power For Your Electronics Projects - Voltage Regulators and Converters
37:26
DroneBot Workshop
Рет қаралды 1,3 МЛН
I Printed A Better CNC Mill
30:22
Chris Borge
Рет қаралды 375 М.
Arduino Uno Gets Its BIGGEST Upgrade In 12 Years
11:49
Electronoobs
Рет қаралды 101 М.
High Precision Speed Reducer Using Rope
20:19
Aaed Musa
Рет қаралды 2,1 МЛН
How Stepper Motors Work - Electric motor
14:01
The Engineering Mindset
Рет қаралды 1,1 МЛН
Electronic Basics #24: Stepper Motors and how to use them
6:47
GreatScott!
Рет қаралды 2,2 МЛН
I'm Developing a New Circuit Board Manufacturing Technology
17:10
Levi Janssen
Рет қаралды 164 М.
Turn any DC Motor into a Servo Motor
25:24
How To Mechatronics
Рет қаралды 309 М.