No video

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

  Рет қаралды 314,154

Nikodem Bartnik

Nikodem Bartnik

Күн бұрын

Пікірлер: 170
@cranksinatra3591
@cranksinatra3591 4 жыл бұрын
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!
@piconano
@piconano 2 жыл бұрын
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.
@jakebozz7677
@jakebozz7677 4 жыл бұрын
Quick & dirty-- short & to the point. Thanks, Nikodem. Stay safe.
@czupryna01
@czupryna01 4 жыл бұрын
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 ;)
@TechBuild
@TechBuild 3 жыл бұрын
Quite useful.
@kimbalcalkins6903
@kimbalcalkins6903 4 жыл бұрын
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 жыл бұрын
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 .
@msdesignru
@msdesignru 4 жыл бұрын
Short but clear vid, good job!
@viktorpavlov4499
@viktorpavlov4499 Жыл бұрын
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); }
@lovecastle7154
@lovecastle7154 4 жыл бұрын
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.
@otheraccount5252
@otheraccount5252 4 жыл бұрын
RIP this guy's motor driver.
@sgicorporation7161
@sgicorporation7161 4 жыл бұрын
Thanks a lot castle
@TechsScience
@TechsScience 2 жыл бұрын
My stepper motor has 6 pins should I have to connect all six wires of 4 of them?
@nkronert
@nkronert 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?
@JM_Tushe
@JM_Tushe 2 жыл бұрын
Yes, it is.
@pooyabehravesh1568
@pooyabehravesh1568 3 жыл бұрын
quick and complete! thanks a lot
@kryptotron
@kryptotron 2 жыл бұрын
Your schematic is missing the ground to power section of Arduino board for enable + which is activated with low signal
@lewymartain8267
@lewymartain8267 10 ай бұрын
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 !
@TechsScience
@TechsScience 2 жыл бұрын
Thanks for this video it helped me with my project
@OMNI_INFINITY
@OMNI_INFINITY 5 ай бұрын
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?
@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
@rudolph42
@rudolph42 7 ай бұрын
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!
@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.
@rporticio
@rporticio Жыл бұрын
very nice, simple but powerful program and presentation! Thank you and God bless!
@m.han07
@m.han07 9 ай бұрын
Thank you for the basic explanation.
@user-rk6bz7sr4v
@user-rk6bz7sr4v 4 жыл бұрын
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.
@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.
@lewymartain8267
@lewymartain8267 10 ай бұрын
what is 12c?
@alexchiosso221
@alexchiosso221 4 жыл бұрын
Nice instructing short video. Waiting for the next one. :-)
@supahstarclod
@supahstarclod 3 жыл бұрын
What's the minimum amperage required for powering the microstep driver?
@MRNBricks
@MRNBricks 4 жыл бұрын
Great video. Thank you. Maybe another for all 4 motors?
@MEGATestberichte
@MEGATestberichte 2 жыл бұрын
Great video. very quick and simple.
@dirk8472
@dirk8472 2 жыл бұрын
great job, was pretty helpful
@luizmtz7370
@luizmtz7370 4 жыл бұрын
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?
@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.
@marcinmiszewski2658
@marcinmiszewski2658 2 жыл бұрын
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?
@electronic7979
@electronic7979 4 жыл бұрын
Very helpful video
@patdowling5
@patdowling5 3 жыл бұрын
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
@CuriousScientist
@CuriousScientist 4 жыл бұрын
Nice, but why would you waste the valuable interrupt pins of the Arduino for controlling the stepper motor?
@NatnaelTasew
@NatnaelTasew 4 ай бұрын
good video mate
@damircvijetic8567
@damircvijetic8567 Жыл бұрын
The x-axis pins on the Arduino are 2 and 5.
@Drxxx
@Drxxx 4 жыл бұрын
Super video!!
@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.
@neurojitsu
@neurojitsu 2 жыл бұрын
Brilliant. 3.5 minuites to explain what other videos take 20+ minutes to explain!
@hamadaali5687
@hamadaali5687 3 жыл бұрын
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?
@igorbarbarossa
@igorbarbarossa 4 жыл бұрын
What are the benefits of using this kind of driver rather than a CNC shield and the small drivers
@Whiteknuckle157
@Whiteknuckle157 4 жыл бұрын
Easy to configure with the DIP switches vs tiny potentiometers on the shield. Bigger heatsink=more power. You can use them for other systems like NVEM (=Ethernet) also therefore not dependent on USB or Arduino.
@nielsvandenboom
@nielsvandenboom 4 жыл бұрын
They are also generally able to handle way more current than the small drivers for the shield, which means you can run bigger motors.
@DomsetChannel
@DomsetChannel 4 жыл бұрын
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 ?
@dawiduchmanowicz3680
@dawiduchmanowicz3680 4 жыл бұрын
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 ?
@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?
@phillipneal8194
@phillipneal8194 4 жыл бұрын
I like that nano io shield
@Im_The_Slep
@Im_The_Slep Жыл бұрын
God damn I wish I was this smart bruh 😭
@katzendrama823
@katzendrama823 4 жыл бұрын
Thanks for the good video
@ZayMeisters
@ZayMeisters 3 жыл бұрын
can I ground the EN+ with the other pins or must it be grounded separately?
@liviu2860
@liviu2860 2 жыл бұрын
If I am not mistaken the motor is rated at 2.8A/phase. Why limit the driver current at 2A?
@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.
@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
@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 ??
@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 ❤️
@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?
@technicalknowledge2392
@technicalknowledge2392 3 ай бұрын
Thanks
@user-os2dt5bn1o
@user-os2dt5bn1o 3 жыл бұрын
Thank you very much
@JM_Tushe
@JM_Tushe 2 жыл бұрын
Thank you.
@rafikbouhouse9788
@rafikbouhouse9788 3 жыл бұрын
Hello, can I run a servo ac motor with the same program that starts the stepper motor (dir pulse)?
@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?
@rureadynow9189
@rureadynow9189 4 жыл бұрын
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
@sandeeprajmane
@sandeeprajmane 2 жыл бұрын
That's ok but which pair is A and which is b of stepper motor let me know please
@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
@michaelbush4140
@michaelbush4140 4 жыл бұрын
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 жыл бұрын
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?
@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?
@AndonSpassov-bw9hx
@AndonSpassov-bw9hx 9 ай бұрын
Did you use any additional library when setting up the Arduino script?
@edaluz1724
@edaluz1724 6 ай бұрын
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
@raer7844
@raer7844 4 жыл бұрын
you can make diy wit linestepper motor . or dc servo motor arduino . for like that projects
@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?
@user-os2dt5bn1o
@user-os2dt5bn1o 3 жыл бұрын
Can a video tutorial of RC remote control controlling stepper motor through ARDUINO, including code writing
@uservi688
@uservi688 4 жыл бұрын
It is possible for one driver TB6600 to connect 2 motors Y -coordinate?
@evgenitantikov5865
@evgenitantikov5865 4 жыл бұрын
It is possible, but don't do it.
@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 жыл бұрын
USB. The driver is at least powered from 12v so the arduino regulator will not like the joke for to long !
@evgenitantikov5865
@evgenitantikov5865 4 жыл бұрын
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.
@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??
@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 🌹
@deeepakkushwah2503
@deeepakkushwah2503 3 жыл бұрын
We can control tb6600 stapper motor drive 24 hours
@arduinomaquinas
@arduinomaquinas Жыл бұрын
Like 2K6 👏👏
@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
@TheNamelessOne12357
@TheNamelessOne12357 4 жыл бұрын
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.
@robertorodriguez1088
@robertorodriguez1088 10 ай бұрын
Can the ENA and DIR inputs be supplied by more than 5V? Will it work with 12V?
@automaticpanipurimachine-n9326
@automaticpanipurimachine-n9326 2 жыл бұрын
On rating Nema 23 work on 24v,but u ran it on 12v,how it work on 12?
@easy_engineering_drawing
@easy_engineering_drawing 2 жыл бұрын
Can we use both Nema 17 (DRV8825) and Nema 23 (TB6600) on same Arduino simultaneously?
@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?
@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
@jahirnoe
@jahirnoe 4 жыл бұрын
it will be nice to see the life of those drivers, are those good??
@Rikktor123
@Rikktor123 10 ай бұрын
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.
@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 .
@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 ?
@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
@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?
@tiberiud1955
@tiberiud1955 4 жыл бұрын
Can you use this instead of NEMA 17 on the CNC machine for Y axis ?
@kelianmorin7900
@kelianmorin7900 3 жыл бұрын
is it possible to plot an angle for the motor, cause it's a stepper, with the TB66000 ?
@NiherRD
@NiherRD 2 жыл бұрын
V good. How can stop the current command?
@Piksar6666
@Piksar6666 Жыл бұрын
Info for people who already know everything. Pointless for people want to learn.
@varietystore9699
@varietystore9699 2 жыл бұрын
What will be torque at 3000 steps per second
@ammarazizulraheem5673
@ammarazizulraheem5673 2 жыл бұрын
Is there a command to STOP the stepper motor?
@fpvcowboy2635
@fpvcowboy2635 2 жыл бұрын
How many motors can You connect to the shield thanks
@salehmohamed1981
@salehmohamed1981 2 жыл бұрын
Is it possible to control 20 devices at once?
@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..
@ayarzuki
@ayarzuki 3 жыл бұрын
Why ENA+ didn't connected?
@user-cb4vv4yw4q
@user-cb4vv4yw4q Жыл бұрын
انت فنان شكرا
Big Stepper Motors with Arduino
29:43
DroneBot Workshop
Рет қаралды 1,2 МЛН
WHO CAN RUN FASTER?
00:23
Zhong
Рет қаралды 42 МЛН
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 191 МЛН
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 43 МЛН
Pool Bed Prank By My Grandpa 😂 #funny
00:47
SKITS
Рет қаралды 19 МЛН
Stepper Motors and Arduino - The Ultimate Guide
29:57
How To Mechatronics
Рет қаралды 1,1 МЛН
TB6600 and Arduino - Wiring and demonstration
15:39
Curious Scientist
Рет қаралды 95 М.
Electronic Basics #24: Stepper Motors and how to use them
6:47
GreatScott!
Рет қаралды 2,2 МЛН
TB6600 Stepper Motor Driver with Arduino
10:03
MYTECTUTOR
Рет қаралды 139 М.
GRBL Arduino Controller For IndyMill - IndyShield
12:35
Nikodem Bartnik
Рет қаралды 55 М.
How to run stepper motor using TB6560 stepper driver
5:39
Mr Innovative
Рет қаралды 95 М.
WHO CAN RUN FASTER?
00:23
Zhong
Рет қаралды 42 МЛН