Nema23 Stepper Motor and TB6600 Arduino (Quick tutorial for beginners)

Поділитися
Вставка
  • Опубліковано 2 сер 2024
  • Check out my CNC machine: indystry.cc/about-indymill/
    Stepper with driver: amzn.to/3Ml2Iye
    How to use Nema23 stepper motor with TB6600 driver and Arduino? It's super simple! Actually, you can control this driver in exactly the same way that you control A4988. Schematic in the video.
    Indystry: indystry.cc/
    Support my projects on Patreon → / nikodembartnik
    Instagram: nikodembartnik
    #cnc #motor #arduino
  • Наука та технологія

КОМЕНТАРІ • 169

  • @cranksinatra3591
    @cranksinatra3591 4 роки тому +142

    Finally, a stepper motor video that doesn't spend 12 minutes explaining unipolar vs bipolar and then forgetting to mention what power supply is used. Great job!

  • @kimbalcalkins6903
    @kimbalcalkins6903 4 роки тому +9

    thanks for the great info, I was ready to give up on my TB6600's , but following your setup it now works perfectly. I had followed other advice suggesting a delay between step pulses !

  • @jakebozz7677
    @jakebozz7677 4 роки тому +21

    Quick & dirty-- short & to the point. Thanks, Nikodem. Stay safe.

  • @msdesignru
    @msdesignru 4 роки тому +5

    Short but clear vid, good job!

  • @piconano
    @piconano 2 роки тому +15

    The strongest mode for stepper motors is half stepping to prevent resonance.
    It is also the most repeatable, after full stepping.
    Micro stepping is smoother but lacks torque and repeatability.
    Since these drivers are current choppers, the higher the voltage of the power supply, the faster the motor reaches its speed.

  • @omersidiqui
    @omersidiqui 3 роки тому +2

    Thank God you explained it in a very short time .. I am soo impressed .. this is the way they should guide rather than making 15 minute videos .

  • @pooyabehravesh1568
    @pooyabehravesh1568 3 роки тому +3

    quick and complete! thanks a lot

  • @czupryna01
    @czupryna01 4 роки тому +6

    For find motor coil, you can just simply short cables and spin motor- if you fill a little resistance you find coil (usually is one middle and one side pin). Good tutorial! pozdrawiam ;)

  • @lewymartain8267
    @lewymartain8267 9 місяців тому

    Brilliant for beginners like me. Im learning as i want to build a CNC machine. I can tell its going to be a long Haul !

  • @rafikbouhouse9788
    @rafikbouhouse9788 3 роки тому +1

    Hello, can I run a servo ac motor with the same program that starts the stepper motor (dir pulse)?

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

    very nice, simple but powerful program and presentation! Thank you and God bless!

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

    Thanks for this video it helped me with my project

  • @alexchiosso221
    @alexchiosso221 4 роки тому +1

    Nice instructing short video. Waiting for the next one. :-)

  • @m.han07
    @m.han07 9 місяців тому

    Thank you for the basic explanation.

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

    great job, was pretty helpful

  • @user-rk6bz7sr4v
    @user-rk6bz7sr4v 4 роки тому +1

    Great! I know how to control a stepper motor with PLC, and I used it when I got my first job. I searched for many manuals so that it can run normally. Just a question: whether it is controlled by the single-chip microcomputer. Looks good.

  • @kavapravin6445
    @kavapravin6445 3 роки тому

    I have question that your motor can run only clock wis that I can run that moter clock wise and anticlock wise that what cording I can write

  • @lucabattistello1240
    @lucabattistello1240 3 роки тому

    hi , i have a question, i looking your video, but my motor don't move end produced a bip bip , you can help me?

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

    Great video. very quick and simple.

  • @supahstarclod
    @supahstarclod 3 роки тому +3

    What's the minimum amperage required for powering the microstep driver?

  • @limchuanxiong9529
    @limchuanxiong9529 3 роки тому

    thanks a lot for your video. Is it possible to run multiple stepper motor drivers with only single power supply ?? Or I should have buy the power supply for every single stepper motor driver ??

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

    can I ground the EN+ with the other pins or must it be grounded separately?

  • @tiberiud1955
    @tiberiud1955 4 роки тому

    Can you use this instead of NEMA 17 on the CNC machine for Y axis ?

  • @Mots-mot
    @Mots-mot 4 роки тому

    whats the maximum RPM (rotation per minute ) you can achieve with this. I am getting only 200 RPM with another type of shield and Nema 23 motor .

  • @kelianmorin7900
    @kelianmorin7900 3 роки тому

    is it possible to plot an angle for the motor, cause it's a stepper, with the TB66000 ?

  • @MisterMakerNL
    @MisterMakerNL 4 роки тому

    Nice short video!
    Been screwing around with one last week. My biggest issue was: I had a program running on my esp32, and wanted to move a stepper. And I couldn't use the delay function. Now some libraries advertise non-blocking functions. But it just didn't work. I ended up with a separate arduino Nano that was controlled by I2C by my esp32. I have had this issue before and therefore I switched to i2c quickly. Now everything runs smoothly.

  • @DomsetChannel
    @DomsetChannel 4 роки тому +1

    Ogladalem filmik gdzie gosc przerabia stopniowo cnc 3018 i zrezygnowal z tb6600 na rzecz DM542 z powodu "dryftowania" .Wygladalo to tak jakby silniki gubily kroki. Uzywa silnikow nema 17. Co o tym myslisz ?

  • @jordanb6029
    @jordanb6029 3 роки тому

    are you able to help me i followed the code and wiring diagram but when i run the motor it just buzzes and doesnt rotate

  • @TechsScience
    @TechsScience 2 роки тому +2

    My stepper motor has 6 pins should I have to connect all six wires of 4 of them?

  • @MRNBricks
    @MRNBricks 4 роки тому +3

    Great video. Thank you. Maybe another for all 4 motors?

  • @katzendrama823
    @katzendrama823 4 роки тому

    Thanks for the good video

  • @Drxxx
    @Drxxx 4 роки тому

    Super video!!

  • @electronic7979
    @electronic7979 4 роки тому +1

    Very helpful video

  • @user-yw3ni7dl6k
    @user-yw3ni7dl6k 3 роки тому

    Can the same code and connection work on driver DM556?

  • @jamiebaxter9360
    @jamiebaxter9360 3 роки тому

    Hi, I’ve followed this exactly on 2 separate TB6600s and nothing happens. I’ve checked with a multimeter and there’s voltage applied on the pulse and direction pins as expected and 12v on the VCC but nothing is going to the coils. What could be wrong?

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

    is it the same for the dm556 driver?

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

    V good. How can stop the current command?

  • @hamidfazli5184
    @hamidfazli5184 3 роки тому

    Hi Mate,
    I am going to carry a steel pallet (overall weight of 700 kg) over rollers with 2 stepper motors on each sides, do you reckon "Nema 42 CNC Stepper Motor Bipolar 30Nm" is enough for this application?

  • @patdowling5
    @patdowling5 3 роки тому +1

    Really good format for explaining concept and practical implementation, would love to see more like this. Like a library of short ‘must have’ type concepts for expanding upon, thanks for this Nikodem

  • @OMNI_INFINITY
    @OMNI_INFINITY 5 місяців тому +1

    So if connect a function generator with a square wave output, it will control the pulse also? Then a switch connected to a battery can be used to manually control direction?

  • @alibuyukbesnili1874
    @alibuyukbesnili1874 3 роки тому

    Thank you bro ❤️

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

    with the dip switches. which way is on, down or up. there is a small diagra, that says with an arrow pointing down then
    says beside it, up

  • @dawiduchmanowicz3680
    @dawiduchmanowicz3680 4 роки тому +1

    Czy ten sterownik TB6600 toleruje również sterowanie z arudino 3,3V (a raczej czy arudino da radę) ? Czy raczej będzie potrzebny konwerter poziomów logicznych ?

  • @AJ-mw4nb
    @AJ-mw4nb 3 роки тому

    Can I use two of these motors to power a wheelchair? The person who will use it weighs 90kg. Which the shaft of this exact model of Stepper Motor hold that weight?

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

    sorry for dumb question but ENA + can be bridged with PUL-, DIR- and ENA-? no need to get separate groudn wire? just one to the Uno?

  • @lovecastle7154
    @lovecastle7154 4 роки тому +8

    Top tip from personal experience. If you're using an arduino shield with plug in drivers DO NOT TURN ON THE STEPPER DRIVER WITHOUT A MOTOR CONNECTED. the drivers will burn out.

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

    can you connect a nema 23 stepper motor to a jetson nano?

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

    can i control the nema 23 with a4988 driver

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

    How many motors can You connect to the shield thanks

  • @ahmedrebay435
    @ahmedrebay435 3 роки тому

    I'am using 24VDC supply for the TB6600 driver, but Nema 23 (23HS5628) works on 2.5 VDC
    Is it safe to use ?

  • @luizmtz7370
    @luizmtz7370 4 роки тому +1

    I have a question about your code...
    I see you are writing a low pulse but immediately High pulse is next, and then a little delay.
    My question is about the pulse train, duty cycle is the same for high and low?

  • @AndonSpassov-bw9hx
    @AndonSpassov-bw9hx 9 місяців тому

    Did you use any additional library when setting up the Arduino script?

  • @arbjful
    @arbjful 3 роки тому

    How is the quality of the motor and driver??, do they get hot after constant use?? I am thinking of using in an industrial motion control system, the motor will be running almost 24x7. Is this OK for this application??

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

    Great presentation and simple... quick question, when not using a PC connection after uploading the code via the arduino USB, do you provide power to it itself from the same power supply or a separate one? You said you used 12V; Arduino can also operate with that voltage. Thanx much for responding. And keep up with the good work.

  • @boycano8819
    @boycano8819 3 роки тому

    Can a po 320-A display work with it,

  • @rahulsinghbhardwaj3353
    @rahulsinghbhardwaj3353 3 роки тому

    How to find torque, hp for this motor

  • @abdulrahmanfakahani8152
    @abdulrahmanfakahani8152 3 роки тому

    can i connect 2 steeper motor to 1 Tb600???

  • @user-os2dt5bn1o
    @user-os2dt5bn1o 3 роки тому

    Thank you very much

  • @tacomaastro7462
    @tacomaastro7462 3 роки тому

    Not an exact match to what I was working with but gave me enough enlightenment to figure out what was missing ... problem being, some assembly required but no assembly instructions... Thanks

  • @kudin8082
    @kudin8082 3 роки тому

    what source you used.? direct plug or battery.?

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

    can i use nema 24 with this driver?

  • @shrivardhanpatil3443
    @shrivardhanpatil3443 3 роки тому

    How to use this in cnc shild

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

    I have a 24v 15A power supply would that work? Or is 15a too high.

  • @robertorodriguez1088
    @robertorodriguez1088 9 місяців тому

    Can the ENA and DIR inputs be supplied by more than 5V? Will it work with 12V?

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

    Hi . please help me 🙏i have all this parts and need a programming code.
    I want to make a reciprocating motion similar to the movement of an elevator so that I place a micro switch at the top and bottom of the path. The switch is not turned off, continue, and finally (it is the if section of programming)when the switch is off, the object will stop at its starting point at any point in the path.for more information about the if section imagine the split air-conditioned swing part when off the set the swing door automatically closed.
    Thank you 🌹

  • @ntsanjeewadesilva5392
    @ntsanjeewadesilva5392 3 роки тому

    Dear sir with your code I got to rotate it so now I want to stope my motor after few rotation and should stop till I switch on it again

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

    good video mate

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

    Can we use both Nema 17 (DRV8825) and Nema 23 (TB6600) on same Arduino simultaneously?

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

    i have the same stepper and i set my switches to off, off, off, off, on, off and it's working perfectly, should i be worried?

  • @mohammadsantosochannel4921
    @mohammadsantosochannel4921 4 роки тому

    hello, I am Santo from Indonesia, I want to ask you how to program a stepper motor with TB6600 driver so that it can work like an automatic portal door. I really hope you can help me. thank you

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

    Is it possible to control 20 devices at once?

  • @nkronert
    @nkronert 3 роки тому +3

    Thanks for this quick start guide. I would assume that besides finding out which two wires belong to the same coil, it would be also important to figure out the polarity of each coil?

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

    That's ok but which pair is A and which is b of stepper motor let me know please

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

    what driver do you use?

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

    What will be torque at 3000 steps per second

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

    Thank you.

  • @boycano8819
    @boycano8819 3 роки тому

    Is it cw ccw?also..

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

    Thanks

  • @Rikktor123
    @Rikktor123 9 місяців тому

    Can I use GRBL firmware instead of programming the script myself? Does that statement even make sense? I don't really know what any of this means. I uploaded GRBL firmware to my Arduino so I could use UGS to send gcode to my CNC, but the motor only turned in one direction when I tried to jog in the -X and +X directions.

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

    If I am not mistaken the motor is rated at 2.8A/phase. Why limit the driver current at 2A?

  • @CuriousScientist
    @CuriousScientist 4 роки тому

    Nice, but why would you waste the valuable interrupt pins of the Arduino for controlling the stepper motor?

  • @rureadynow9189
    @rureadynow9189 4 роки тому +1

    I have motors with more than 4 wires. Are they setup the same way, just using the 4 color wires you show, and not using the other wires?

    • @msdesignru
      @msdesignru 4 роки тому

      just use 4 of them excluding 2 coils middle wires

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

    How to make the motor paused for a few seconds, then spin other way around, then pause again, and then spin other way faster?
    I'm still very new in programming Arduino, especially programming stepper motors.

  • @jyothirmayeelucky2614
    @jyothirmayeelucky2614 3 роки тому

    How can I run motor clock wise and anti clock wise with a limited switch or a proximity sensor at the ends of linier motion how can we write the program.

    • @lwizzit
      @lwizzit 3 роки тому

      Connect your switch to another digital pin on the Arduino. Do a digital read on that pin. When the state changes, just flip your direction bit.

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

    This is a simple thing and when I've tested rotational speed was not as I've expected. If we set delay to 60us (as per program) pulse frequency is about 16,666.67Hz or that many pulses per second. Quite high! I set my driver to 1600 microsteps per rotation so I expect something like 10 rotation per second and get only 1/2 rotation. If I increase microstepping, rotational speed also increases and I expect to decrease. Maybe I am thinking something wrong here.

  • @phillipneal8194
    @phillipneal8194 4 роки тому

    I like that nano io shield

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

    Is there a command to STOP the stepper motor?

  • @automaticpanipurimachine-n9326
    @automaticpanipurimachine-n9326 2 роки тому

    On rating Nema 23 work on 24v,but u ran it on 12v,how it work on 12?

  • @user-cb4vv4yw4q
    @user-cb4vv4yw4q Рік тому

    انت فنان شكرا

  • @raer7844
    @raer7844 4 роки тому

    you can make diy wit linestepper motor . or dc servo motor arduino . for like that projects

  • @chanchalsakarde2768
    @chanchalsakarde2768 5 місяців тому

    how to control steps movements, like lets say we have 400 circular points to move one by one and i need to move pointer in following example sequence starting from 0->10->240->45->28-> .......... -> 400 . How can we automate this ..

  • @edaluz1724
    @edaluz1724 5 місяців тому

    do you have instructions for installing and operating STEPPER MOTOR NEMA 23 CLOSED LOOP - 2.2N.M 4 WIRES 285OZ-IN + DRIVER ? thanks for your help

  • @hamadaali5687
    @hamadaali5687 3 роки тому +2

    Can this be used on all 3 stepper motors , or do I have to buy all this for each stepper motor? Thanks in advance:)

    • @rikerthiessen5027
      @rikerthiessen5027 3 роки тому

      Did you ever figure out whether you needed the TB6600 driver for each motor, or one for all 3?

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

    Hi.
    Sorry but at the end of the video, I can see a fourth wire (red) apparently connected to a ground pin (7) I believe.
    Why 2 grounds?

  • @uservi688
    @uservi688 4 роки тому +1

    It is possible for one driver TB6600 to connect 2 motors Y -coordinate?

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

    So sorry but I was wondering how you powered the stepper motor? I understand it is a 12 volt power supply which is amazing I'm just not to sure how that whole setup works. Inquiring for a school project. Awesome video though really informative and straight to the point. Thank you!

  • @michaelbush4140
    @michaelbush4140 3 роки тому +1

    thank you!!! Can anybody answer why the ENA +/- are both to ground? I like it because it leave more IO pins for other drivers, but I don't understand what the ENA pins do?

    • @arbjful
      @arbjful 3 роки тому +1

      ENA is used to energize the coils. Keeping ENA enabled all times will cause some current to flow into the coils, thus keeping it energized, which will also heat up the coils. This is good for creating a brake on the motor to prevent the shaft from turning, however this also consumes energy when doing so.

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

      @@arbjful so all in all both ENA+ and ENA- can be bridged with all other - outputs?

  • @ayarzuki
    @ayarzuki 3 роки тому

    Why ENA+ didn't connected?

  • @OMNI_INFINITY
    @OMNI_INFINITY 5 місяців тому

    Haha. Saw My comment from back when I was using DRV modules. Thankfully got a TB6600 instead. MUCH BETTER to screw the wires into those terminals than wonder if the breadboard was connected nicely.

  • @arbjful
    @arbjful 4 роки тому

    Is this motor and driver reliable? What is the failure rate? I want to try in a industrial application, where it’s going be running continuously like 24x7

    • @evgenitantikov5865
      @evgenitantikov5865 3 роки тому

      No. Both are one of the worst on the market. You should search for other drivers (more than 5 dollars) for industrial needs :D