I have tried so many wire configs from the internet & this is the only one that worked, because, I found a 3018 controller board which has digital out just before the "on-board" stepper drivers & shorting the ENA+ to ground got it working, thanks...saves me using mach3 on my larger home made cnc, which is a headache to setup,Thanks...
A really useful video thank you, I have a question regarding a project I am about to try and build, and that is how do you know what size stepper motor to buy for the project you are proposing to build? I want to build a unit that operates as a lift in what is commonly known as z axis so it is lifting and holding a load and lowering and still controlling that same load.
I'm doing the same thing, I think. I'm trying to build a Z-axis power feed for a Bridgeport milling machine. I'm not finished yet, but I'm trying a NEMA 34 with a 4:1 timing pulley arrangement.
I've been buying steppers and drivers for a few years. Every item was checked ok at delivery. Now some year later a NEMA 23 and a modern TB6600 produces 15% to 30% more steps than commanded. This happens both using the test code You showed but also when using AccelStepper library. I've never faced this before. Any ideas?
@@KW-ei3pi It's possible but I need it. The stepper is turning a rotating table and resolution is often important. The solution was dismissing the 24 volt 17 Amp and using a 12 volt 20 Amp supply.
Thanks for the tutotial Henry, I'd been struggling with this and yours is very clear. However, mine only works if instead of connecting ENA-, ENA+, DIR+ and PUL+ to ground as you say, I instead connect them to 5V. Until then I got no movement, but with 5v it works as per the rest of your description. Do you know what the reason for this might be? I only swapped it as I'd seen on another tutorial that they used 5V, but I found the rest of their description complicated. I'd be interested in your view so I can learn more. Thanks again
I don't believe that the wiring diagram shows what you describe. It shows all negative pins on the driver connected to ground, DIR+ and PUL+ connected to digital pins on the Arduino, and they are set to HIGH (5v) in the code. I also had questions, but the poster did not reply.
Dear Henry, can this procedure be used on the DM556 drive? My Arduino is giving me an error when I order the data to be compiled. I can't send the error, but could you help me? Thanks
i know i a quite old vid,but is it ok if i do 24v-1A current as input from the driver for this motor? will it affect the perf alot(will it destroy my motor?) is 24v-.5A mandatory?
Did you find the data plate on your motor? It will tell you what it can take in volts and amps. Volts are pushed into a device, it has no choice, but amps are pulled by the device (motor) so will only take what they need, but can be greedy and get hot but not suicidal. Usually. lol
Thanks a lot. Very helpful for beginners like me. But how I will connect to power supply. I have one adaptor to use in Arduino board. Do I need to buy another adapter for controller power supply?
You can get a 24v to 5v converter which you can wire in-between the 24v power supply and the Ardunio so everything will be supplied by one power supply, rather than having multiple power supplies. Have a look for a 24v dc to 5v dc step down converter 😊
Very good tutorial. Could you tell me why the ENA+ and ENA- pins are jumpered together? I see most tutorials leave both unconnected, which I think defaults to Enabled. Also, I didn't catch what the "While" statement does, as you went over that pretty fast. Thanks!
Hey! I don't know about the ENA pins, but the while at the end of the code basically never exits and since there is nothing in it it basically stops the loop. It would be the same effect if he wrote everything in the setup.
Hi Henry, I need some help, I'm a Civil Engineer and electronics is not my thing. I'm building a 40w CO2 laser and need some help with the electronics. First on the configuration of the driver: how do you determine the steps per revolution on the motor you're connecting to the driver, in your example, you set yours to 6400 steps per revolution. is that so the motor will perform at its maximum when asked by the controller/computer, or is this peramiter set according to the size of the motor? I watched another video on this subject and the guy totally lost me, any help would be greatly appreciated.
Do you know what the amp the power supply is? Just make sure that the amp of the power supply is great than the total of the amps requited for the 3 stepper motors
Hey, yes I have the ENA pins wired up to ground. If you want to you can have one of the ENA pins connected to one of the Arduino I/O pins to turn the power going to the stepper motor off and on. This is useful to stop the stepper motors from drawing current when they are not being used :)
Hey, just wire the stepper motors cables into the same points on the stepper driver. (Into tha A-, A+, B-, B+ terminals) you may need to adjust the amps to power both steppers
power need be curret important near motor max current 1,5-2A then working, power supply have very cheap buy. or search salvage yard have lot old computer power etc,
Has the stepper motor got power going to it? If so the motor will be applying a "holding torque" which will make it very difficult to turn. If you want to use the hand cranks you could use the enable pins of the tb6600 to turn the power on and off going to the stepper motor. Hence you could turn the power off to turn them manually then turn then on when you want to use the steppers
need lot lot biggest motor, retro fit need big motor and driver. i used my old hand mill nema 34 6A motor and DM860 driver, all same iring. nema 17 used only toy,laser,3D printers no need lot torque. minimum cnc need 3Nm torque, 426 oz about.
If you want to stop the script from running over and over again then put the following statement at the bottom of your void loop() section while(1) { }
Hello! If anyone see this message please help me!!!! I wire my nema17 with gearbox to tb6600 ,like in video but my motor can go just in one direction,when he try to change,it can't...please help me,i also change the driver with one new ,and wire corectly pul+,dir+,ena+ at pin 2,4,6 and all pul-,dir-,ena- wire all in wagoo to create one wire and i put it in GND ,on mai board. What is the problem?pls help😅😢😢😢😢
I have tried so many wire configs from the internet & this is the only one that worked, because, I found a 3018 controller board which has digital out just before the "on-board" stepper drivers & shorting the ENA+ to ground got it working, thanks...saves me using mach3 on my larger home made cnc, which is a headache to setup,Thanks...
Thanks for this Henry. I'm ready to go from PWM to steppers. 🙂
Great video, got me up and running in a few minutes. Thank you!
This is a very well done video. Simple and clear. Thank you!
Thank you for this video. Very clear and informative.
Thank you, I really appreciate the comment 😊
The part where you connect 4 pins to the GND, is that cause you want the stepper to only spin in one direction?
Hi Henry! After programming if i want to control the motor from display. How can I do it?
it can be very nice of you if you can explain how you can run yours CNC with one motor ?
can you make a video on how you can wire the tb6600 to a ramps1.4 or mks gen l v.0 mother board for a 3d printer?
A really useful video thank you, I have a question regarding a project I am about to try and build, and that is how do you know what size stepper motor to buy for the project you are proposing to build? I want to build a unit that operates as a lift in what is commonly known as z axis so it is lifting and holding a load and lowering and still controlling that same load.
I'm doing the same thing, I think. I'm trying to build a Z-axis power feed for a Bridgeport milling machine. I'm not finished yet, but I'm trying a NEMA 34 with a 4:1 timing pulley arrangement.
I've been buying steppers and drivers for a few years. Every item was checked ok at delivery. Now some year later a NEMA 23 and a modern TB6600 produces 15% to 30% more steps than commanded. This happens both using the test code You showed but also when using AccelStepper library. I've never faced this before. Any ideas?
Could it be the Microstep setting on the Driver?
@@KW-ei3pi It's possible but I need it. The stepper is turning a rotating table and resolution is often important. The solution was dismissing the 24 volt 17 Amp and using a 12 volt 20 Amp supply.
how can we run accelstepper bounce example with the tb6600?.
Thanks for the tutotial Henry, I'd been struggling with this and yours is very clear. However, mine only works if instead of connecting ENA-, ENA+, DIR+ and PUL+ to ground as you say, I instead connect them to 5V. Until then I got no movement, but with 5v it works as per the rest of your description. Do you know what the reason for this might be? I only swapped it as I'd seen on another tutorial that they used 5V, but I found the rest of their description complicated. I'd be interested in your view so I can learn more. Thanks again
I don't believe that the wiring diagram shows what you describe. It shows all negative pins on the driver connected to ground, DIR+ and PUL+ connected to digital pins on the Arduino, and they are set to HIGH (5v) in the code.
I also had questions, but the poster did not reply.
why not use PWN pin insted of manually setting the pins value>?
Dear Henry, can this procedure be used on the DM556 drive? My Arduino is giving me an error when I order the data to be compiled. I can't send the error, but could you help me? Thanks
i know i a quite old vid,but is it ok if i do 24v-1A current as input from the driver for this motor?
will it affect the perf alot(will it destroy my motor?)
is 24v-.5A mandatory?
Did you find the data plate on your motor? It will tell you what it can take in volts and amps. Volts are pushed into a device, it has no choice, but amps are pulled by the device (motor) so will only take what they need, but can be greedy and get hot but not suicidal. Usually. lol
Thanks a lot. Very helpful for beginners like me. But how I will connect to power supply. I have one adaptor to use in Arduino board. Do I need to buy another adapter for controller power supply?
You can get a 24v to 5v converter which you can wire in-between the 24v power supply and the Ardunio so everything will be supplied by one power supply, rather than having multiple power supplies. Have a look for a 24v dc to 5v dc step down converter 😊
@@henrycawley2 thanks a lot. I followed your system but my motor is vibrating not spinning. Cant solve the problem need your help.
Very good tutorial. Could you tell me why the ENA+ and ENA- pins are jumpered together?
I see most tutorials leave both unconnected, which I think defaults to Enabled.
Also, I didn't catch what the "While" statement does, as you went over that pretty fast. Thanks!
Hey! I don't know about the ENA pins, but the while at the end of the code basically never exits and since there is nothing in it it basically stops the loop. It would be the same effect if he wrote everything in the setup.
How do I make the stepper rotate to a certain point and then make it reverse ?
hello, what is the difference between a common anode assembly and a common cathode? Will the engine run differently?
a common cathode is negative and a common anode is positive.
Hi Henry, I need some help, I'm a Civil Engineer and electronics is not my thing. I'm building a 40w CO2 laser and need some help with the electronics. First on the configuration of the driver: how do you determine the steps per revolution on the motor you're connecting to the driver, in your example, you set yours to 6400 steps per revolution. is that so the motor will perform at its maximum when asked by the controller/computer, or is this peramiter set according to the size of the motor? I watched another video on this subject and the guy totally lost me, any help would be greatly appreciated.
Very useful. Thank you
I am going to use 3 nema17 7.2kg torque motor is 1 lrs75 24v power enough for it?
Do you know what the amp the power supply is? Just make sure that the amp of the power supply is great than the total of the amps requited for the 3 stepper motors
@@henrycawley2
Ok!
1.7A×3=5.1!
Lrs 75-3.2A if I use 2 of them 6.4A!
So can I use 2xlrs ?
I am currently using arduino+cnc shield, this drives 3 stepper motors in my cnc.
Do I need 3 of these TB6600 to drive 3 stepper motors?
Yes. One TB per Motor.
@@christianmontagx8461 Can we make 4-axis mashines with a basic arduino like you're using?
you have ENA+(5v) hooked up to ground in your diagram. Is that right?
i was woundering them same. very new to this and was just curious
Hey, yes I have the ENA pins wired up to ground. If you want to you can have one of the ENA pins connected to one of the Arduino I/O pins to turn the power going to the stepper motor off and on. This is useful to stop the stepper motors from drawing current when they are not being used :)
What's the code for rotating the motor up to the desired angle
can you please explain how the code achieved a full step?
Creative video,thanks :)
Is TB 6600 compatible with all NEMA 23 motor?
Hi, the TB6600 is compatible with the NEMA 23. Just adjust the amp settings to suite the motor
How come on some cnc show the signal on some cnc circuits positive 5 common and on others negative is com😢
Excellent.
Hey dude, my cnc machine has 2 stepper motor on X axis.How to wire the second driver into the arduino uno ???
Hey, just wire the stepper motors cables into the same points on the stepper driver. (Into tha A-, A+, B-, B+ terminals) you may need to adjust the amps to power both steppers
If I only have a power supply rated 0.2A, 21V, will tb6600 be able to output at least 2 amps?
Hello, I don't believe so, I think it will cap the current to 0.2A
power need be curret important near motor max current 1,5-2A then working, power supply have very cheap buy. or search salvage yard have lot old computer power etc,
Hi why I cannot turn the hand crank on a lathe after I install the stepper motor thanks Eli
Has the stepper motor got power going to it? If so the motor will be applying a "holding torque" which will make it very difficult to turn. If you want to use the hand cranks you could use the enable pins of the tb6600 to turn the power on and off going to the stepper motor. Hence you could turn the power off to turn them manually then turn then on when you want to use the steppers
need lot lot biggest motor, retro fit need big motor and driver. i used my old hand mill nema 34 6A motor and DM860 driver, all same iring. nema 17 used only toy,laser,3D printers no need lot torque. minimum cnc need 3Nm torque, 426 oz about.
Sir if we want to stop stepper,,which command is use?
If you want to stop the script from running over and over again then put the following statement at the bottom of your void loop() section
while(1) {
}
for some reasons mi Nema17 vibrate instead of rotate. I don't know how to figure out
Hi, this usually happens if you have a couple of the wires the wrong way round. I have had the same issue many times
Hello!
If anyone see this message please help me!!!!
I wire my nema17 with gearbox to tb6600 ,like in video but my motor can go just in one direction,when he try to change,it can't...please help me,i also change the driver with one new ,and wire corectly pul+,dir+,ena+ at pin 2,4,6 and all pul-,dir-,ena- wire all in wagoo to create one wire and i put it in GND ,on mai board.
What is the problem?pls help😅😢😢😢😢
code please
The TB6600 Stepper Driver is garbage! Don't waste you time with this junk.
I got f2100b control and that driver with nema 17 motor