TB6600 Stepper Driver + Arduino + NEMA Motor Wiring and Control (Uno Mega Nano)

  Рет қаралды 114,796

Henry Cawley

Henry Cawley

Күн бұрын

Пікірлер: 69
@jonathanwright1507
@jonathanwright1507 10 ай бұрын
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...
@MoltoMorendo
@MoltoMorendo 9 ай бұрын
Great video, got me up and running in a few minutes. Thank you!
@markmorris6357
@markmorris6357 2 жыл бұрын
Thanks for this Henry. I'm ready to go from PWM to steppers. 🙂
@CleanPhilWanted
@CleanPhilWanted 2 жыл бұрын
This is a very well done video. Simple and clear. Thank you!
@paul.alarner6410
@paul.alarner6410 Ай бұрын
how can we run accelstepper bounce example with the tb6600?.
@alonewolf205
@alonewolf205 2 ай бұрын
Hi Henry! After programming if i want to control the motor from display. How can I do it?
@siete8932
@siete8932 2 жыл бұрын
hello, what is the difference between a common anode assembly and a common cathode? Will the engine run differently?
@BariumCobaltNitrog3n
@BariumCobaltNitrog3n 3 ай бұрын
a common cathode is negative and a common anode is positive.
@olanordmann7836
@olanordmann7836 2 ай бұрын
The part where you connect 4 pins to the GND, is that cause you want the stepper to only spin in one direction?
@MagicMan-z2g
@MagicMan-z2g 13 күн бұрын
No, this is because the ground is shared between all of them and the arduino (GND means Ground) by changing how you are powering the positives is what allows for direction control specifically the direction signal by powering it it goes one way and by unpowering it the motor spins the other way.
@MagicMan-z2g
@MagicMan-z2g 13 күн бұрын
The Direction Chanel is the one that says DIR.
@tt3233
@tt3233 2 жыл бұрын
you have ENA+(5v) hooked up to ground in your diagram. Is that right?
@kennyrichardson411
@kennyrichardson411 2 жыл бұрын
i was woundering them same. very new to this and was just curious
@henrycawley2
@henrycawley2 2 жыл бұрын
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 :)
@Stefan_Boerjesson
@Stefan_Boerjesson 2 жыл бұрын
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
@KW-ei3pi Жыл бұрын
Could it be the Microstep setting on the Driver?
@Stefan_Boerjesson
@Stefan_Boerjesson Жыл бұрын
@@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.
@abedkhan2296
@abedkhan2296 Жыл бұрын
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?
@henrycawley2
@henrycawley2 Жыл бұрын
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 😊
@abedkhan2296
@abedkhan2296 Жыл бұрын
​@@henrycawley2 thanks a lot. I followed your system but my motor is vibrating not spinning. Cant solve the problem need your help.
@pham3383
@pham3383 8 ай бұрын
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?
@BariumCobaltNitrog3n
@BariumCobaltNitrog3n 3 ай бұрын
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
@Jking08
@Jking08 5 ай бұрын
How do I make the stepper rotate to a certain point and then make it reverse ?
@geminiman2831
@geminiman2831 Жыл бұрын
I am going to use 3 nema17 7.2kg torque motor is 1 lrs75 24v power enough for it?
@henrycawley2
@henrycawley2 Жыл бұрын
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
@geminiman2831
@geminiman2831 Жыл бұрын
@@henrycawley2 Ok!
@geminiman2831
@geminiman2831 Жыл бұрын
1.7A×3=5.1! Lrs 75-3.2A if I use 2 of them 6.4A! So can I use 2xlrs ?
@Ziplock9000
@Ziplock9000 Жыл бұрын
why not use PWN pin insted of manually setting the pins value>?
@sergiofernandes0365
@sergiofernandes0365 5 ай бұрын
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
@olanordmann7836
@olanordmann7836 7 ай бұрын
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?
@christianmontagx8461
@christianmontagx8461 6 ай бұрын
Yes. One TB per Motor.
@olanordmann7836
@olanordmann7836 5 ай бұрын
@@christianmontagx8461 Can we make 4-axis mashines with a basic arduino like you're using?
@FelixSamulevich
@FelixSamulevich 4 ай бұрын
it can be very nice of you if you can explain how you can run yours CNC with one motor ?
@gabdan1000
@gabdan1000 Жыл бұрын
How come on some cnc show the signal on some cnc circuits positive 5 common and on others negative is com😢
@KW-ei3pi
@KW-ei3pi Жыл бұрын
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!
@KrisztianVarga1993
@KrisztianVarga1993 11 ай бұрын
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.
@sathwika4001
@sathwika4001 22 күн бұрын
I need code plz
@musaaftabi6269
@musaaftabi6269 Жыл бұрын
Hey dude, my cnc machine has 2 stepper motor on X axis.How to wire the second driver into the arduino uno ???
@henrycawley2
@henrycawley2 Жыл бұрын
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
@philnewman1110
@philnewman1110 Жыл бұрын
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.
@KW-ei3pi
@KW-ei3pi Жыл бұрын
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.
@LegitLeeVelez
@LegitLeeVelez 2 жыл бұрын
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?
@Whathefishbro
@Whathefishbro 7 ай бұрын
What's the code for rotating the motor up to the desired angle
@elidari60
@elidari60 2 жыл бұрын
Hi why I cannot turn the hand crank on a lathe after I install the stepper motor thanks Eli
@henrycawley2
@henrycawley2 2 жыл бұрын
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
@mattivirta
@mattivirta Жыл бұрын
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.
@ishakmerchant1582
@ishakmerchant1582 9 ай бұрын
Is TB 6600 compatible with all NEMA 23 motor?
@henrycawley2
@henrycawley2 9 ай бұрын
Hi, the TB6600 is compatible with the NEMA 23. Just adjust the amp settings to suite the motor
@rahaff9335
@rahaff9335 2 жыл бұрын
can you please explain how the code achieved a full step?
@thomcarr7021
@thomcarr7021 2 жыл бұрын
Thank you for this video. Very clear and informative.
@henrycawley2
@henrycawley2 2 жыл бұрын
Thank you, I really appreciate the comment 😊
@richardhill3035
@richardhill3035 Жыл бұрын
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
@KW-ei3pi
@KW-ei3pi Жыл бұрын
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.
@interestingWorld3.0
@interestingWorld3.0 2 жыл бұрын
Sir if we want to stop stepper,,which command is use?
@henrycawley2
@henrycawley2 2 жыл бұрын
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) { }
@mariomattiadimuro5185
@mariomattiadimuro5185 8 ай бұрын
for some reasons mi Nema17 vibrate instead of rotate. I don't know how to figure out
@henrycawley2
@henrycawley2 4 ай бұрын
Hi, this usually happens if you have a couple of the wires the wrong way round. I have had the same issue many times
@rodrigoa.velascojr.739
@rodrigoa.velascojr.739 2 жыл бұрын
If I only have a power supply rated 0.2A, 21V, will tb6600 be able to output at least 2 amps?
@henrycawley2
@henrycawley2 2 жыл бұрын
Hello, I don't believe so, I think it will cap the current to 0.2A
@mattivirta
@mattivirta Жыл бұрын
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,
@dspencer1966
@dspencer1966 8 ай бұрын
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.
@rfurdui26
@rfurdui26 2 ай бұрын
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😅😢😢😢😢
@ReallyMendin
@ReallyMendin Жыл бұрын
Very useful. Thank you
@RixtronixLAB
@RixtronixLAB 2 жыл бұрын
Creative video,thanks :)
@electronicsideas1361
@electronicsideas1361 Жыл бұрын
code please
@RobotDiggME
@RobotDiggME Жыл бұрын
Excellent.
@rmp3499
@rmp3499 Жыл бұрын
The TB6600 Stepper Driver is garbage! Don't waste you time with this junk.
@guypatts494
@guypatts494 Жыл бұрын
I got f2100b control and that driver with nema 17 motor
Big Stepper Motors with Arduino
29:43
DroneBot Workshop
Рет қаралды 1,2 МЛН
Stepper Motors and Arduino - The Ultimate Guide
29:57
How To Mechatronics
Рет қаралды 1,2 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
BIG STEPPER MOTOR Driver DM542
13:58
Saravanan AL
Рет қаралды 39 М.
The simple A to Z of CNC wiring stepper motors, BOBs and drivers
21:04
TB6600 and Arduino - Wiring and demonstration
15:39
Curious Scientist
Рет қаралды 101 М.
TB6600 Stepper Driver - Arduino Control
4:55
Electronic Journeys
Рет қаралды 107 М.
DIY CNC 010 - Closed Loop NEMA Wiring and Mach3 Setup
1:22:00
thehardwareguy
Рет қаралды 30 М.
TB6600 Stepper Motor Driver with Arduino
10:03
MYTECTUTOR
Рет қаралды 155 М.
DM556 Open Loop Stepper Motor Driver Review for CNC Machines.
6:22
Making Stuff
Рет қаралды 107 М.
Control a Stepper Motor with Hall Effect Switches
28:13
DroneBot Workshop
Рет қаралды 247 М.