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

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024

Комментарии • 172

  • @cranksinatra3591
    @cranksinatra3591 4 года назад +149

    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!

  • @jakebozz7677
    @jakebozz7677 4 года назад +22

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

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

  • @kimbalcalkins6903
    @kimbalcalkins6903 4 года назад +8

    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 !

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

  • @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 ;)

  • @viktorpavlov4499
    @viktorpavlov4499 Год назад +4

    void setup() {
    // put your setup code here, to run once:
    pinMode(2, OUTPUT);
    pinMode(3, OUTPUT);
    digitalWrite(2,HIGH);
    }
    void loop() {
    digitalWrite(3,LOW);
    digitalWrite(3,HIGH);
    delayMicroseconds(60);

    }

  • @msdesignru
    @msdesignru 4 года назад +5

    Short but clear vid, good job!

  • @lovecastle7154
    @lovecastle7154 4 года назад +9

    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.

  • @TechsScience
    @TechsScience 3 года назад +2

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

  • @OMNI_INFINITY
    @OMNI_INFINITY 7 месяцев назад +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?

  • @TechsScience
    @TechsScience 2 года назад +1

    Thanks for this video it helped me with my project

  • @lewymartain8267
    @lewymartain8267 11 месяцев назад

    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 !

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

  • @pooyabehravesh1568
    @pooyabehravesh1568 3 года назад +3

    quick and complete! thanks a lot

  • @rudolph42
    @rudolph42 8 месяцев назад

    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!

  • @m.han07
    @m.han07 11 месяцев назад

    Thank you for the basic explanation.

  • @OMNI_INFINITY
    @OMNI_INFINITY 7 месяцев назад

    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.

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

  • @rporticio
    @rporticio Год назад

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

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

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

  • @supahstarclod
    @supahstarclod 3 года назад +3

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

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

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

  • @CuriousScientist
    @CuriousScientist 4 года назад

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

  • @MEGATestberichte
    @MEGATestberichte 2 года назад

    Great video. very quick and simple.

  • @冒险中国ING
    @冒险中国ING 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.

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

  • @kryptotron
    @kryptotron 2 года назад +1

    Your schematic is missing the ground to power section of Arduino board for enable + which is activated with low signal

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

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

  • @dirk8472
    @dirk8472 2 года назад

    great job, was pretty helpful

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

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

  • @alexchiosso221
    @alexchiosso221 4 года назад +1

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

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

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

  • @MRNBricks
    @MRNBricks 4 года назад +3

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

  • @electronic7979
    @electronic7979 4 года назад +1

    Very helpful video

  • @ZayMeisters
    @ZayMeisters 3 года назад +1

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

  • @ibkawan1652
    @ibkawan1652 3 года назад

    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?

  • @AndonSpassov-bw9hx
    @AndonSpassov-bw9hx 11 месяцев назад

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

  • @Rouverius
    @Rouverius 4 года назад

    Cool. Those NEMA23 seem like they have a lot more torque.
    So about the Arduino, it it getting power from the USB or the TB6600 ?

    • @geekoid183
      @geekoid183 4 года назад +1

      USB. The driver is at least powered from 12v so the arduino regulator will not like the joke for to long !

    • @evgenitantikov5865
      @evgenitantikov5865 4 года назад +1

      This exact model motors are over 9mH inductance (wow). They will perform the best with over 70 volts...One of the worst nema23 on the market.

    • @GASNICABRUNATNA
      @GASNICABRUNATNA 3 года назад

      @@evgenitantikov5865 What would you recommend, and some use cases?

    • @evgenitantikov5865
      @evgenitantikov5865 3 года назад

      @@GASNICABRUNATNA Search for low inductance motors in the range of 2 to 3.5mH.
      For example Nema24 (60 series) 4A, 3.2mH, 3Nm paired with DM556 or better with TMC2160 driver set at 3.2-3.5A to avoid overheating and set 1/8 or 1/10 microstepping. Run with 48V power supply.
      Chinese versions of this motors and drivers are around 20 dollars each. As for PSU Meanwell is a good, cheap and reliable brand. You need 1 psu 48V 3.3A for each motor. It cost around 20 dollars.
      This is powerful enough for even larger and heavier machines, and cheap enough with the cost of 60 dollars per axis.
      If this is too powerful for your needs, search for 2-2.3 mH motors, and use with 36V psu - it gets even cheaper.

  • @Stefan_Boerjesson
    @Stefan_Boerjesson Год назад

    Working with 2 different TB6600 and 2 different switched 24 volt, 15 - 20 Amp supplies 3 different NEMA23 steppers all overran by 15% - 30%. On low speed the steppers even make short moves in the wrong direction.
    Changing the power supply to 12 volt, the stepper run as expected.
    Are my 2 TB6600, bought either from Banggood or Ebay, fakes, nock outs, rejects or what?

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

  • @liviu2860
    @liviu2860 2 года назад

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

  • @AJ-mw4nb
    @AJ-mw4nb 4 года назад

    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?

  • @robertorodriguez1088
    @robertorodriguez1088 11 месяцев назад

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

  • @crystalcastlesonautobahn
    @crystalcastlesonautobahn 2 месяца назад

    void setup() {
    // put your setup code here, to run once:
    pinMode(2, OUTPUT);
    pinMode(3, OUTPUT);
    digitalWrite(2,HIGH);
    }
    void loop() {
    digitalWrite(3,LOW);
    digitalWrite(3,HIGH);
    delayMicroseconds(60);

    }

  • @rafikbouhouse9788
    @rafikbouhouse9788 3 года назад +1

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

  • @NatnaelTasew
    @NatnaelTasew 6 месяцев назад

    good video mate

  • @edaluz1724
    @edaluz1724 8 месяцев назад

    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

  • @drnda2007
    @drnda2007 3 года назад

    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.

  • @easy_engineering_drawing
    @easy_engineering_drawing 2 года назад

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

  • @michaelbush4140
    @michaelbush4140 4 года назад +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?

  • @damircvijetic8567
    @damircvijetic8567 Год назад

    The x-axis pins on the Arduino are 2 and 5.

  • @1986ah
    @1986ah Месяц назад

    I'm using atmega and nema42 stepper with driver. I'm facing big EMI interférences and disturbed inputs. How can i fix this ?

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

  • @NiherRD
    @NiherRD 3 года назад

    V good. How can stop the current command?

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

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

  • @Im_The_Slep
    @Im_The_Slep Год назад +1

    God damn I wish I was this smart bruh 😭

  • @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 4 года назад

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

  • @drejegetahun9916
    @drejegetahun9916 2 года назад

    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?

  • @Rikktor123
    @Rikktor123 Год назад

    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.

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

  • @Drxxx
    @Drxxx 4 года назад

    Super video!!

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

  • @tiberiud1955
    @tiberiud1955 4 года назад

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

  • @kudin8082
    @kudin8082 3 года назад

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

  • @phillipneal8194
    @phillipneal8194 4 года назад

    I like that nano io shield

  • @saeidkasraeian190
    @saeidkasraeian190 3 года назад

    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 🌹

  • @automaticpanipurimachine-n9326
    @automaticpanipurimachine-n9326 2 года назад

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

  • @Proto61
    @Proto61 Год назад

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

  • @raer7844
    @raer7844 4 года назад

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

  • @唐浩-j2r
    @唐浩-j2r 3 года назад

    Can a video tutorial of RC remote control controlling stepper motor through ARDUINO, including code writing

  • @uservi688
    @uservi688 4 года назад +1

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

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

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

  • @sandeeprajmane
    @sandeeprajmane 3 года назад

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

  • @TheNamelessOne12357
    @TheNamelessOne12357 4 года назад +1

    TB6600 are not good drivers. DM524T drivers are much quieter, reliable and can take up to 50V DC input, which allows to run motors at much higher RPMs without loosing steps.

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

  • @kavapravin6445
    @kavapravin6445 4 года назад

    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

  • @katzendrama823
    @katzendrama823 4 года назад

    Thanks for the good video

  • @neurojitsu
    @neurojitsu 3 года назад +1

    Brilliant. 3.5 minuites to explain what other videos take 20+ minutes to explain!

  • @عمرمرخي-ط2ذ
    @عمرمرخي-ط2ذ 2 года назад

    انت فنان شكرا

  • @JM_Tushe
    @JM_Tushe 2 года назад

    Thank you.

  • @ritukoursardar5074
    @ritukoursardar5074 4 года назад

    Man nikodem bartnik trying to make smart watch this is new some cool let's do it nikodem

  • @alibuyukbesnili1874
    @alibuyukbesnili1874 3 года назад

    Thank you bro ❤️

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

  • @leozunic9508
    @leozunic9508 3 года назад

    Hey guys im doing something very similar for school and i have a couple assignments fairly easy i would need help with. I would appreciate help very much.

  • @fpvcowboy2635
    @fpvcowboy2635 2 года назад

    How many motors can You connect to the shield thanks

  • @varietystore9699
    @varietystore9699 2 года назад

    What will be torque at 3000 steps per second

  • @cocotaco_875
    @cocotaco_875 3 года назад

    Could you make another video without using arduino? By using PLC to rotate it at a 90 degree angle, need help though

    • @aerobicsparadise
      @aerobicsparadise 3 года назад

      LOL !! If you need a video how to set up a nema with a PLC then you don't know how to use/nor program a PLC..

  • @唐浩-j2r
    @唐浩-j2r 3 года назад

    Thank you very much

  • @stanleyagbanyim5151
    @stanleyagbanyim5151 14 дней назад

    I need something and help to test run my stepper motors.

  • @technicalknowledge2392
    @technicalknowledge2392 5 месяцев назад

    Thanks

  • @jahirnoe
    @jahirnoe 4 года назад

    it will be nice to see the life of those drivers, are those good??