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.
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!!!!
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.
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
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.
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!
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.
3:50 you saved my life thank you. i bought a motor without driver and the motor takes 2 and the driver 24 volts and i had no idea how thac could make sense and i was scared to test my mowotor with the driver.
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.
Omg i just realized your workbench setup with your custom panel for your power supply. That is outstanding!! Ik setting up my new workshop now and was wondering how I can clean up my workbench to not have so many devices and cables running everywhere. I am absolutely going to copy that idea 🙂 thanks for the inspiration!
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!
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!
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!
That's for this video. I'm building a rotary axis for my milling machine for gear hobbing, helical milling, and indexing and while I know what I'm doing with the mechanical build but electrically I've got no clue. I've got myself a NEMA 23 motor and controller as well as an arduino uno.
Bill, I have an arduino project here - - I have a 500 gallon pvc plastic water tank in my yard, to a pump, to water drip my yard. I want to measure the water level and alarm if it gets critically low. I also want to disconnect power to the pump to the yard. This is a watter pressure demand pump and turns on when water is called for by opening the hose. The question - - a water level sensor is required, that is non invasive..can not drill into the tank. If there a sensor that can be mounted on the surface of the tank and then with a change of density of the tank shell and water, detect that water is missing at this sensor point? It needs to take into consideration the mass of the plastic shell and water versus just the shell itself ( no water). Love your series and I watch all of them. You explain very well and teach enough theory to tie it all together. Bob - Brecksville, Ohio
why don't you just make a stick with two wires one at the "critically low level and one at the bottom of the stick. if the water is too low to connect the wires it turns on the pump. or just use a float valve like we use for farming for feeding animals. goes on when the water drops. maybe I don't get it what you are trying to do.
Make sure you double check the steps per revolution DIP switches on your driver if your motor does not turn or only turns slowly .... don't ask 😁😁😁 HBS86H with Nema 34 is finally working. Thanks for the video!
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.
Curious about the description of doubling the amp rating when half stepping, which seems to make sense as described, but then when the torque specs were shown with the 36V supply rating the amps were still listed as 4.2A. I'm just a little confused. EXCELLENT tutorial for a person new to this. Thank-you.
If you really want to learn about current and stepper motors then I suggest you monitor the current of a running stepper motor. Analog meters work best for this as they average out what's going on. There's a definite trend that can be observed too. The faster a stepper motor runs the less current it draws. This is due to the inductive reluctance of the motor coils. As the step rate increases the window of time to energize the coils decreases. Motor coils are inductive so they resist changes of current occurring. As current drops off so does torque. Power equals Volts times Amps. So when the amps goes down then so does the power.
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.
Hi Bill I recently bought a Nema 23 to power a project that I'm building, I decided to watch your video concerning this product to gain some incite On the motor, but after watching two or three times I then decided to put your information into action but it was then that I noticed the difference between our motors......Mine is a "Closed Loop" motor, you know the one with its brains in the boot. so I am now enquiring of you to shed some light on "Closed Loop stepper motors either in a video or maybe in the newsletter in fact that may be a better solution Looking forward to hearing your suggestions Fred
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
The reason a high voltage is used driving a stepper motor is because the supply needs to overcome the back emf generated as a result of the fast switching of the inductors. If the back emf becomes large enough then the motor will not turn, or lose steps since it cannot uphold the torque. At lower speeds and still the high voltage, the controller current limit so the motor's current rating will not be exceeded which will damage the motor. The biggest speed enemy of any frequency driven motor is the rate at which the metal core can be magnetized and then again magnetized in the opposite direction. Amorphous metals are usually used for fast pole changes with the least energy required.
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.
Definitely a video with torque, thanks Bill. What do you mean about big? Big starts at 100Nm. Joking, big is relative:) In addendum to your great safety advice: Have a kill switch in range when building and playing with your apparatus. And use your brain before that, keep moving parts enclosed and out of range of your fingers or other body parts, best by design. Often, a well thought-out mechanical design can make some electronic frills unnecessary. You'll need all those considerations when using an Arduino for your end product because this is no industrial device. It can't provide latch-up protection of outputs nor a full blown reliable brown-out detection over its complete specs.
hello Bill I am learning electronics for a CNC plasma cutter. Torch Height Controller is a bit of a problem to me. I have a lot to learn about CNC in general as an entry level. I could bother you big time for the next few years if you only want me to. I need to learn real stuff not just as a hobby, it is my job already. Your pedagogical teaching style has a big value. waiting , thank you gabi
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!
Can I use a sensor to get that stepper motor to turn instead of a switch? Say your holding the sensor and you turn one direction, can you get the motor to turn in that direction? if you kept spinning 360 deg and get it to turn with you, when you stop turning it would stop the motor? What else would be needed? Thanks for this video.
Why do we use a common 5V for both the pulse and direction signals instead of a common ground? What difference does it make? Are there any advantages to operating the circuit one way or the other? Couldn't we connect the 5V for the potentiometer and the button separately and operate them independently? Thank you for your help :)
I learned more in the past 30 minutes then I have in the past 5 years designing and building a CNC Router. It's too bad that I already bought a higher end Stepper Driver with a builtin Breakout Board. This would have saved me more than a few hundred dollars had it been available 5 years ago. I wish you would explain how to hook up multiple steppers to an Arduino. Then I could troubleshoot my system without having to ship it out of country for diagnostics.
cheapen cnc can build arduino cnc shiel 34 motor can controller whit GRBL, but worst only hobby user small system, if need build perfect good cnc need linuxcnc pc controller paraller port or two port cards and controllers, and stepper drivers 5 axis or less, can use 2 paraller port card and 2 controller board, brealoutboards. and stpper driver whit motors. minimum nema24 but better use nema 34 and 80-90 volt handle driver big nema 34 motors about 3-20Nm 4-8A handle drivers. arduino can use controller board but problem have no fast and use pre-history old GRBL controll system. and not can add anything additional tools etc makro etc, many, linuxcnc have only hobby users what can do all what want. make hall file,makro,tools,automatic tools changers etc.
Thanks for great video. I have a question, at 14:40 why would you need 10k resistor connect to the switch button? isn't it without the resistor the push button still work?
I have watched many of your videos on Arduino and stepper motors, they are great, thank you. Why are you connectig Arduino pins to PUL- & DIR- and Arduino 5V to PUL+ & DIR- instead of Arduino pins going to PUL+ & DIR+ and Arduino GND going to PUL- & DIR-?
Working for a copier company, I have access to hundreds of steppers from harvest or trash machines. Many come with driver boards with discrete IC drivers (SLA7072) that are much like your driver. I'm going to see if I can apply some of the information here to drive these motors.
This is just what I was looking for! So I have an Arduino Uno and it has a custom library in it that I had a person who knows coding make for me. It works exactly like how I want it to. The problem is that the Arduino Motor Shield and the stepper motor that I'm using do not have enough power for my purpose. My question is, can I simply remove the Arduino Motor Shield and connect up a driver and motor like the ones you demonstrated in this video and not have to change any of the existing library?
I have been involved in industrial electronics through years in factory maintenance. I have a good hold on the price of some of this stuff. You must either be involved with someone that supplies you with equipment like this or you are incredibly flush for cash. Not that I am dissing what you are doing. You are doing a fantastic job, but man I would so like to be able to afford some of this stuff.
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...
As a newbie on Arduino i would say that in this video everything was explained in a professional way. Although a question came up, as far as the map in the void loop part. Is that suppose to be included in the sketch because i dont get the function. I can raise or lower the speed with the potensiometer, i can change direction with the switches but as i said there is no bounce or acceleration. Does it belong to the next try.? (Accel). Is it meaningfull to take only the map line out, or the whole loop since ports 2, 6, 7 and A0 activates the controller either way.
btw: you should make sure that the highest frequency your arduino puts out is matching your driver. my driver a.e. has a input frequency up to 200khz so i had to change the fifty in "pd = map((analogRead(spd)),0,1023,2000,50);" to a five "pd = map((analogRead(spd)),0,1023,2000,5);" check that or your motor wont spin at full speed.
....also, are the control signals on drivers all basically the same? Can you recommend a video to learn the basics of genrating and cotrollin the kinds of signals I will need to control my motor? Ive bought a closed loop Nema34 as the camera is fairly hefty and I want to overspec the motor?
How to figure out the maximum rotation speed of the stepper? What would be the frequency and the pd period of the arduino sketch? If I decide to run the motor with 800 pulses per rev should I select the same on the stepper driver unit or can I leave it at 200?
Nice vidéo, usefull. I would to ses how you setvthe dip switches. We know than the max amp of the stepper motor is 4.2 amps/phase; so do you set the dip switches to 4.2 or 8.4 ???? Thanks
I know this is an old video, but I was hoping to still get a reply here about a sort of related question about the stepper motors and the stepper drivers. What I was wondering is, can you take the Woodpecker board off a 3018 CNC machine, and use that board X, Y, and Z motor outputs, to go to the Stepper Motor Driver? Since the Woodpecker board has the drivers on the board, and are for the smaller Nema 17 stepper motors, or whatever small ones they use, the power for the steppers comes out of the board straight to those steppers, so I was wondering if that was different than the pulse and dir signals, or if it was pretty much the same, or if these DM stepper motor drivers (I have 3 DM556's) can accept and work that way? Or maybe I would have to try to tap into the connections before they get to those onboard drivers on the Woodpecker board? Or maybe there's a way to add resistors or something, to be able to use the Woodpecker outputs to the DM556 stepper driver? I could use my arduino, but I figured why not just use what's already working on my cheaper little 3018 CNC off amazon that I have, which I am now recreating a lot larger with Nema 23's and a Makita router. Any help with this would be appreciated, please and thank you in advance.
I am using a planet cnc to feed the stepper motor driver. It wasn't that expensive and a lot of software is included. Unless you are really strong on arduino ( I am not) it will save a bunch of time.
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'd like to get my hands dirty with a project, can I automate this EXACT set up with different code ? Example, I'd like for the motor to make half a rotation in the span of 2 seconds, pause for 10 seconds, and then do a full rotation in the span of 3 seconds opposite way. The loop 4 times and halt. Can this be done using this exact setup just by playing with nothing but the code itself? Or would I have to add more modules/hardware add-ons to the circuit setup?
Thanks a lot for your instructive videos! I have a question: isn't it a contradiction that you say that the bipolar stepper motor needs 2 x 4.2A = 8.4A when in microstepping mode (and you used microstepping) BUT the driver can only deliver 6A? Or will this only have an effect when the stepper is under high mechanical load? And if this load exceeds the power delivery of the driver - will the latter switch off (overload protection)?
Great video... Complete clarity on hardware and software architecture and clear communication is the best part of this video. Thanks alot... Can you deliver once video on how to design a DC battery bank capacity for the same application instead of a DC power supply? This will hep us on how to select the appropriate V and Ah for the same application and what electical precautions need to be taken while driving at full capacity and what challenges we can face? Will be happy to hear from you.
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.
I'm pretty new to electronics so forgive me if I'm asking dumb questions, but if you're using a 30 volt - 5 amp power supply, won't that burn the stepper's coils that are rated at 4.2A? Are you specifically setting the power supply to 4.2A, or does the power supply, having a maximum output of 5A, give no more current to the device than it requires, therefore requiring no resistor to bring down 5A to 4.2A. And why are you running the motor at 24 volts? It seems for no particular reason since you said the voltage rating doesn't matter. In that case, couldn't you have used a 12V or 100V power supply as long as it can supply 4.2A?
Potentiometer anything above 5k ohm is good he has 10k ohm. Resistor is ok a 1k omh or something close. It doesn't matter as it is only there to not cause a short circuit when the arduino pin is pulling up.
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.
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!!!!
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.
Thanks!
And thank you too, Dave!
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
"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
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.
You have THE BEST Arduino channel on TH-cam! Thanks for all the videos!
Best vid yet that I've seen for steppers with the controller and Arduino. Good job, obviously a new subscriber.
While a total novice with electronics, I understood everything you explained. Much of the information you presented, I was looking for. Thank you!
The quality and organisation of your presentation is only surpassed by your teaching skill. Keep up the amazing work.
I want to thank you for your video. I used this configuration to drive an old Ender 3 stepper for an O Gauge Aerial Tramway.
I only just bought some NEMA 17 and 23 motors and a TB6600 controller and very much appreciate your excellent tutorial to help me get started.
This video is insanely well done. Stellar format, excellent content, and concise presentation. Definitely helped me out!
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!
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.
3:50 you saved my life thank you. i bought a motor without driver and the motor takes 2 and the driver 24 volts and i had no idea how thac could make sense and i was scared to test my mowotor with the driver.
bro is literly the best teacher ever
he just did a full semester in 29min
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.
Omg i just realized your workbench setup with your custom panel for your power supply. That is outstanding!! Ik setting up my new workshop now and was wondering how I can clean up my workbench to not have so many devices and cables running everywhere. I am absolutely going to copy that idea 🙂 thanks for the inspiration!
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!
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!
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!
Great video, one important thing to note is the max stepper speed for an Arduino uno is limited to 4000 steps/second due to the 16MHZ clock speed.
My stepper motor has 6 pins should I have to connect all six wires of 4 of them?
all can use 4 wire,6 wire,8 wire. learn more at stepper motors.
That's for this video. I'm building a rotary axis for my milling machine for gear hobbing, helical milling, and indexing and while I know what I'm doing with the mechanical build but electrically I've got no clue. I've got myself a NEMA 23 motor and controller as well as an arduino uno.
You are very good at demonstrating things , u r a good teacher indeed , thanx for making this video, u cleared most of my doubts .
Bill, I have an arduino project here - -
I have a 500 gallon pvc plastic water tank in my yard, to a pump, to water drip my yard. I want to measure the water level and alarm if it gets critically low. I also want to disconnect power to the pump to the yard. This is a watter pressure demand pump and turns on when water is called for by opening the hose.
The question - - a water level sensor is required, that is non invasive..can not drill into the tank. If there a sensor that can be mounted on the surface of the tank and then with a change of density of the tank shell and water, detect that water is missing at this sensor point? It needs to take into consideration the mass of the plastic shell and water versus just the shell itself ( no water).
Love your series and I watch all of them. You explain very well and teach enough theory to tie it all together. Bob - Brecksville, Ohio
You could try this type of sensor.
www.aliexpress.com/item/-/32994484253.html
why don't you just make a stick with two wires one at the "critically low level and one at the bottom of the stick. if the water is too low to connect the wires it turns on the pump. or just use a float valve like we use for farming for feeding animals. goes on when the water drops. maybe I don't get it what you are trying to do.
Make sure you double check the steps per revolution DIP switches on your driver if your motor does not turn or only turns slowly .... don't ask 😁😁😁
HBS86H with Nema 34 is finally working. Thanks for the video!
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.
your explanations make me wish I had a professor like you at Uni
Very informative. After I get a chance to build my 3018 I will come back to your vids. Thanks.
That is the cleanest an most organized shop I have ever seen. Nice video and great explantion.
Thank you. This is my first stepper motor circuit. Moving to bigger things now
Perfect. Your tutorials are very helpful in building confidence of making CNC.
watch it a second time after two years. works for me! 👍
Curious about the description of doubling the amp rating when half stepping, which seems to make sense as described, but then when the torque specs were shown with the 36V supply rating the amps were still listed as 4.2A. I'm just a little confused. EXCELLENT tutorial for a person new to this. Thank-you.
If you really want to learn about current and stepper motors then I suggest you monitor the current of a running stepper motor. Analog meters work best for this as they average out what's going on. There's a definite trend that can be observed too. The faster a stepper motor runs the less current it draws. This is due to the inductive reluctance of the motor coils. As the step rate increases the window of time to energize the coils decreases. Motor coils are inductive so they resist changes of current occurring. As current drops off so does torque. Power equals Volts times Amps. So when the amps goes down then so does the power.
@@1pcfred Thank-you. I think I understand.
My new favorite youtube channel! Such a great content.
Thanks for making the electronics simple and straight forward. I believe i could build a CNC of virtually ANY SIZE with your tutorial.
Teaching in a very good manner. Understanding the things even i no nothing about stepper motor.
Thanks for the tutorial,looks like we are moving closer to a ESL for the lathe lead screw I am always following.
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.
This was a very helpful video and I appreciate how clearly you explain it, including how to read data datasheets.
Hi Bill I recently bought a Nema 23 to power a project that I'm building, I decided to watch your video concerning this product to gain some incite On the motor, but after watching two or three times I then decided to put your information into action but it was then that I noticed the difference between our motors......Mine is a "Closed Loop" motor, you know the one with its brains in the boot. so I am now enquiring of you to shed some light on "Closed Loop stepper motors either in a video or maybe in the newsletter in fact that may be a better solution
Looking forward to hearing your suggestions
Fred
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
The reason a high voltage is used driving a stepper motor is because the supply needs to overcome the back emf generated as a result of the fast switching of the inductors. If the back emf becomes large enough then the motor will not turn, or lose steps since it cannot uphold the torque. At lower speeds and still the high voltage, the controller current limit so the motor's current rating will not be exceeded which will damage the motor. The biggest speed enemy of any frequency driven motor is the rate at which the metal core can be magnetized and then again magnetized in the opposite direction. Amorphous metals are usually used for fast pole changes with the least energy required.
You are my best teacher i ever has. Thanks a lot.
This explanation is gold. First try, it worked perfectly. 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.
14:45 Isnt the connection between 5V and Pin 2 (even with resistor) a problem? Isnt it a short on the board it I press the push button then?
Definitely a video with torque, thanks Bill.
What do you mean about big? Big starts at 100Nm. Joking, big is relative:) In addendum to your great safety advice: Have a kill switch in range when building and playing with your apparatus. And use your brain before that, keep moving parts enclosed and out of range of your fingers or other body parts, best by design. Often, a well thought-out mechanical design can make some electronic frills unnecessary. You'll need all those considerations when using an Arduino for your end product because this is no industrial device. It can't provide latch-up protection of outputs nor a full blown reliable brown-out detection over its complete specs.
hello Bill
I am learning electronics for a CNC plasma cutter. Torch Height Controller is a bit of a problem to me. I have a lot to learn about CNC in general as an entry level. I could bother you big time for the next few years if you only want me to.
I need to learn real stuff not just as a hobby, it is my job already.
Your pedagogical teaching style has a big value.
waiting ,
thank you
gabi
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!
Bill, This is yet another very clear video on what is a difficult topic for some. Keep up the great work!
Can I use a sensor to get that stepper motor to turn instead of a switch? Say your holding the sensor and you turn one direction, can you get the motor to turn in that direction? if you kept spinning 360 deg and get it to turn with you, when you stop turning it would stop the motor? What else would be needed? Thanks for this video.
Like with this motor, how about using a gyro/accelerometer sensor with Arduino to control this?
You have a great style of instruction - methodical, clear and focused. Thanks for your effort.
Thank you so much for the explanation and for this video! Just saved my electrospinning project!
So happy I landed on you Channel - top quality instructional video! I am subscribed! Thanks
Why do we use a common 5V for both the pulse and direction signals instead of a common ground? What difference does it make? Are there any advantages to operating the circuit one way or the other? Couldn't we connect the 5V for the potentiometer and the button separately and operate them independently? Thank you for your help :)
I learned more in the past 30 minutes then I have in the past 5 years designing and building a CNC Router. It's too bad that I already bought a higher end Stepper Driver with a builtin Breakout Board. This would have saved me more than a few hundred dollars had it been available 5 years ago. I wish you would explain how to hook up multiple steppers to an Arduino. Then I could troubleshoot my system without having to ship it out of country for diagnostics.
Just hook up more driver to the remaining pins and add another accelstepper object.
cheapen cnc can build arduino cnc shiel 34 motor can controller whit GRBL, but worst only hobby user small system, if need build perfect good cnc need linuxcnc pc controller paraller port or two port cards and controllers, and stepper drivers 5 axis or less, can use 2 paraller port card and 2 controller board, brealoutboards. and stpper driver whit motors. minimum nema24 but better use nema 34 and 80-90 volt handle driver big nema 34 motors about 3-20Nm 4-8A handle drivers. arduino can use controller board but problem have no fast and use pre-history old GRBL controll system. and not can add anything additional tools etc makro etc, many, linuxcnc have only hobby users what can do all what want. make hall file,makro,tools,automatic tools changers etc.
Thanks for great video. I have a question, at 14:40 why would you need 10k resistor connect to the switch button? isn't it without the resistor the push button still work?
Wish I had a teacher like you :) . You are doing wonderfull job on all of your videos. Greatings from Czech Rep.
thanks to TH-cam, you do!
The method of expression and visuals are great. Thank you so much.
I have watched many of your videos on Arduino and stepper motors, they are great, thank you.
Why are you connectig Arduino pins to PUL- & DIR- and Arduino 5V to PUL+ & DIR- instead of Arduino pins going to PUL+ & DIR+ and Arduino GND going to PUL- & DIR-?
Exactly what I was looking for, very helpful in building my milling machine power feed. Thank you your time and effort is appreciated!
Working for a copier company, I have access to hundreds of steppers from harvest or trash machines. Many come with driver boards with discrete IC drivers (SLA7072) that are much like your driver. I'm going to see if I can apply some of the information here to drive these motors.
This is just what I was looking for! So I have an Arduino Uno and it has a custom library in it that I had a person who knows coding make for me. It works exactly like how I want it to. The problem is that the Arduino Motor Shield and the stepper motor that I'm using do not have enough power for my purpose. My question is, can I simply remove the Arduino Motor Shield and connect up a driver and motor like the ones you demonstrated in this video and not have to change any of the existing library?
Dude you are so cool. Thank you for doing this for us.
Mr. Spock explains electronics. Beam me up! Great stuff! Thank you so much.
I have been involved in industrial electronics through years in factory maintenance. I have a good hold on the price of some of this stuff. You must either be involved with someone that supplies you with equipment like this or you are incredibly flush for cash. Not that I am dissing what you are doing. You are doing a fantastic job, but man I would so like to be able to afford some of this stuff.
This is insanely valuable teaching!!!
I've never heard about AccelStepper library and I discovered because of your video. Thank you.
Seems interesting. Where should we start for new arduino students? Electronics fundamental along with arduino pratical sessions?
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...
As a newbie on Arduino i would say that in this video everything was explained in a professional way. Although a question came up, as far as the map in the void loop part. Is that suppose to be included in the sketch because i dont get the function. I can raise or lower the speed with the potensiometer, i can change direction with the switches but as i said there is no bounce or acceleration. Does it belong to the next try.? (Accel). Is it meaningfull to take only the map line out, or the whole loop since ports 2, 6, 7 and A0 activates the controller either way.
Can you make a video about installing a stepper motor with two extremes? like for running a blade with different strokes
btw: you should make sure that the highest frequency your arduino puts out is matching your driver. my driver a.e. has a input frequency up to 200khz so i had to change the fifty in
"pd = map((analogRead(spd)),0,1023,2000,50);"
to a five
"pd = map((analogRead(spd)),0,1023,2000,5);"
check that or your motor wont spin at full speed.
....also, are the control signals on drivers all basically the same? Can you recommend a video to learn the basics of genrating and cotrollin the kinds of signals I will need to control my motor? Ive bought a closed loop Nema34 as the camera is fairly hefty and I want to overspec the motor?
Many thanks for your easy to follow videos.
How to figure out the maximum rotation speed of the stepper? What would be the frequency and the pd period of the arduino sketch? If I decide to run the motor with 800 pulses per rev should I select the same on the stepper driver unit or can I leave it at 200?
Nice vidéo, usefull.
I would to ses how you setvthe dip switches.
We know than the max amp of the stepper motor is 4.2 amps/phase; so do you set the dip switches to 4.2 or 8.4 ????
Thanks
Sir I am very thankful for your teaching method.Please keep it up
3:50 was such a revelation :D I always wondered what that means!
I know this is an old video, but I was hoping to still get a reply here about a sort of related question about the stepper motors and the stepper drivers.
What I was wondering is, can you take the Woodpecker board off a 3018 CNC machine, and use that board X, Y, and Z motor outputs, to go to the Stepper Motor Driver?
Since the Woodpecker board has the drivers on the board, and are for the smaller Nema 17 stepper motors, or whatever small ones they use, the power for the steppers comes out of the board straight to those steppers, so I was wondering if that was different than the pulse and dir signals, or if it was pretty much the same, or if these DM stepper motor drivers (I have 3 DM556's) can accept and work that way?
Or maybe I would have to try to tap into the connections before they get to those onboard drivers on the Woodpecker board?
Or maybe there's a way to add resistors or something, to be able to use the Woodpecker outputs to the DM556 stepper driver?
I could use my arduino, but I figured why not just use what's already working on my cheaper little 3018 CNC off amazon that I have, which I am now recreating a lot larger with Nema 23's and a Makita router.
Any help with this would be appreciated, please and thank you in advance.
Meh... maybe I'll just use an Arduino.
I am using a planet cnc to feed the stepper motor driver. It wasn't that expensive and a lot of software is included. Unless you are really strong on arduino ( I am not) it will save a bunch of time.
@@harryniedecken5321 Thanks for the reply. I ended up getting an ESP32 with FluidNC as the firmware for it, and UGS for the software GUI.
You are blessed, man!! Very useful video and channel. You have one more follower
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
30V 5A may not be sufficient to drive the motor since the current/phase is 4.2A and two phase should be 8.4A and the power supply is not enough?
I'd like to get my hands dirty with a project, can I automate this EXACT set up with different code ?
Example, I'd like for the motor to make half a rotation in the span of 2 seconds, pause for 10 seconds, and then do a full rotation in the span of 3 seconds opposite way. The loop 4 times and halt. Can this be done using this exact setup just by playing with nothing but the code itself? Or would I have to add more modules/hardware add-ons to the circuit setup?
Can you incorporate an external input system to give the angular displacement for the stepper motor?
Please advise.
What kind of motors are used for modulating boilers. Is it AC servo motors ?? Motors that modulate the gas and air intake.
Question… would a bad driver short out a stepper motor or would a bad stepper motor short out the driver?
Thanks a lot for your instructive videos! I have a question: isn't it a contradiction that you say that the bipolar stepper motor needs 2 x 4.2A = 8.4A when in microstepping mode (and you used microstepping) BUT the driver can only deliver 6A? Or will this only have an effect when the stepper is under high mechanical load? And if this load exceeds the power delivery of the driver - will the latter switch off (overload protection)?
I found the answer in the comments to the article, so no answer required in addition. Thanks.
Great video... Complete clarity on hardware and software architecture and clear communication is the best part of this video.
Thanks alot...
Can you deliver once video on how to design a DC battery bank capacity for the same application instead of a DC power supply? This will hep us on how to select the appropriate V and Ah for the same application and what electical precautions need to be taken while driving at full capacity and what challenges we can face?
Will be happy to hear from you.
Adding one more point. Also if you can explain us what are the circumstances under which battery burst.
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.
Thank you for sharing your knowledge.
Your content and presentation & delivery is prefect..... you really nailed everything !! Thanks !! Keep it going !!
I'm pretty new to electronics so forgive me if I'm asking dumb questions, but if you're using a 30 volt - 5 amp power supply, won't that burn the stepper's coils that are rated at 4.2A? Are you specifically setting the power supply to 4.2A, or does the power supply, having a maximum output of 5A, give no more current to the device than it requires, therefore requiring no resistor to bring down 5A to 4.2A. And why are you running the motor at 24 volts? It seems for no particular reason since you said the voltage rating doesn't matter. In that case, couldn't you have used a 12V or 100V power supply as long as it can supply 4.2A?
finally a video I can learn something from....thank U so very much.
How big of a stepper motor do you need for making a miter saw a cold saw ? ARE they rated in watts or HP?
Kindly I would like to know the value of the Resistance and the Potentiometer, tank jou.
Potentiometer anything above 5k ohm is good he has 10k ohm. Resistor is ok a 1k omh or something close. It doesn't matter as it is only there to not cause a short circuit when the arduino pin is pulling up.