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

Поділитися
Вставка
  • Опубліковано 27 лис 2024

КОМЕНТАРІ • 66

  • @jonathanwright1507
    @jonathanwright1507 9 місяців тому +4

    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...

  • @markmorris6357
    @markmorris6357 Рік тому +1

    Thanks for this Henry. I'm ready to go from PWM to steppers. 🙂

  • @MoltoMorendo
    @MoltoMorendo 8 місяців тому

    Great video, got me up and running in a few minutes. Thank you!

  • @CleanPhilWanted
    @CleanPhilWanted Рік тому +1

    This is a very well done video. Simple and clear. Thank you!

  • @thomcarr7021
    @thomcarr7021 2 роки тому +1

    Thank you for this video. Very clear and informative.

    • @henrycawley2
      @henrycawley2  2 роки тому

      Thank you, I really appreciate the comment 😊

  • @olanordmann7836
    @olanordmann7836 Місяць тому

    The part where you connect 4 pins to the GND, is that cause you want the stepper to only spin in one direction?

  • @alonewolf205
    @alonewolf205 Місяць тому

    Hi Henry! After programming if i want to control the motor from display. How can I do it?

  • @FelixSamulevich
    @FelixSamulevich 3 місяці тому

    it can be very nice of you if you can explain how you can run yours CNC with one motor ?

  • @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?

  • @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.

  • @Stefan_Boerjesson
    @Stefan_Boerjesson 2 роки тому +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.

  • @paul.alarner6410
    @paul.alarner6410 Місяць тому

    how can we run accelstepper bounce example with the tb6600?.

  • @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.

  • @Ziplock9000
    @Ziplock9000 11 місяців тому

    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

  • @pham3383
    @pham3383 7 місяців тому +1

    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 2 місяці тому

      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

  • @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.

  • @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 10 місяців тому

      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.

  • @Jking08
    @Jking08 4 місяці тому

    How do I make the stepper rotate to a certain point and then make it reverse ?

  • @siete8932
    @siete8932 2 роки тому +1

    hello, what is the difference between a common anode assembly and a common cathode? Will the engine run differently?

    • @BariumCobaltNitrog3n
      @BariumCobaltNitrog3n 2 місяці тому

      a common cathode is negative and a common anode is positive.

  • @dspencer1966
    @dspencer1966 7 місяців тому

    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.

  • @ReallyMendin
    @ReallyMendin Рік тому

    Very useful. Thank you

  • @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 ?

  • @olanordmann7836
    @olanordmann7836 6 місяців тому

    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 5 місяців тому +1

      Yes. One TB per Motor.

    • @olanordmann7836
      @olanordmann7836 4 місяці тому

      @@christianmontagx8461 Can we make 4-axis mashines with a basic arduino like you're using?

  • @tt3233
    @tt3233 2 роки тому +1

    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 :)

  • @Whathefishbro
    @Whathefishbro 6 місяців тому

    What's the code for rotating the motor up to the desired angle

  • @rahaff9335
    @rahaff9335 Рік тому

    can you please explain how the code achieved a full step?

  • @RixtronixLAB
    @RixtronixLAB 2 роки тому

    Creative video,thanks :)

  • @ishakmerchant1582
    @ishakmerchant1582 8 місяців тому

    Is TB 6600 compatible with all NEMA 23 motor?

    • @henrycawley2
      @henrycawley2  8 місяців тому

      Hi, the TB6600 is compatible with the NEMA 23. Just adjust the amp settings to suite the motor

  • @gabdan1000
    @gabdan1000 Рік тому

    How come on some cnc show the signal on some cnc circuits positive 5 common and on others negative is com😢

  • @RobotDiggME
    @RobotDiggME Рік тому

    Excellent.

  • @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  Рік тому +1

      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

  • @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 роки тому +1

      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,

  • @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.

  • @interestingWorld3.0
    @interestingWorld3.0 2 роки тому

    Sir if we want to stop stepper,,which command is use?

    • @henrycawley2
      @henrycawley2  2 роки тому +1

      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 7 місяців тому

    for some reasons mi Nema17 vibrate instead of rotate. I don't know how to figure out

    • @henrycawley2
      @henrycawley2  3 місяці тому

      Hi, this usually happens if you have a couple of the wires the wrong way round. I have had the same issue many times

  • @rfurdui26
    @rfurdui26 Місяць тому

    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😅😢😢😢😢

  • @electronicsideas1361
    @electronicsideas1361 Рік тому

    code please

  • @rmp3499
    @rmp3499 Рік тому +1

    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