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!
@piconano2 жыл бұрын
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.
@jakebozz76774 жыл бұрын
Quick & dirty-- short & to the point. Thanks, Nikodem. Stay safe.
@czupryna014 жыл бұрын
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 ;)
@TechBuild3 жыл бұрын
Quite useful.
@kimbalcalkins69034 жыл бұрын
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 !
@omersidiqui3 жыл бұрын
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 .
@msdesignru4 жыл бұрын
Short but clear vid, good job!
@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); }
@lovecastle71544 жыл бұрын
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.
@otheraccount52524 жыл бұрын
RIP this guy's motor driver.
@sgicorporation71614 жыл бұрын
Thanks a lot castle
@TechsScience2 жыл бұрын
My stepper motor has 6 pins should I have to connect all six wires of 4 of them?
@nkronert3 жыл бұрын
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_Tushe2 жыл бұрын
Yes, it is.
@pooyabehravesh15683 жыл бұрын
quick and complete! thanks a lot
@kryptotron2 жыл бұрын
Your schematic is missing the ground to power section of Arduino board for enable + which is activated with low signal
@lewymartain826710 ай бұрын
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 !
@TechsScience2 жыл бұрын
Thanks for this video it helped me with my project
@OMNI_INFINITY5 ай бұрын
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?
@tacomaastro74623 жыл бұрын
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
@rudolph427 ай бұрын
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_INFINITY5 ай бұрын
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 Жыл бұрын
very nice, simple but powerful program and presentation! Thank you and God bless!
@m.han079 ай бұрын
Thank you for the basic explanation.
@user-rk6bz7sr4v4 жыл бұрын
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.
@MisterMakerNL4 жыл бұрын
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.
@lewymartain826710 ай бұрын
what is 12c?
@alexchiosso2214 жыл бұрын
Nice instructing short video. Waiting for the next one. :-)
@supahstarclod3 жыл бұрын
What's the minimum amperage required for powering the microstep driver?
@MRNBricks4 жыл бұрын
Great video. Thank you. Maybe another for all 4 motors?
@MEGATestberichte2 жыл бұрын
Great video. very quick and simple.
@dirk84722 жыл бұрын
great job, was pretty helpful
@luizmtz73704 жыл бұрын
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?
@vkritis2 жыл бұрын
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.
@marcinmiszewski26582 жыл бұрын
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?
@electronic79794 жыл бұрын
Very helpful video
@patdowling53 жыл бұрын
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
@CuriousScientist4 жыл бұрын
Nice, but why would you waste the valuable interrupt pins of the Arduino for controlling the stepper motor?
@NatnaelTasew4 ай бұрын
good video mate
@damircvijetic8567 Жыл бұрын
The x-axis pins on the Arduino are 2 and 5.
@Drxxx4 жыл бұрын
Super video!!
@drnda20073 жыл бұрын
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.
@neurojitsu2 жыл бұрын
Brilliant. 3.5 minuites to explain what other videos take 20+ minutes to explain!
@hamadaali56873 жыл бұрын
Can this be used on all 3 stepper motors , or do I have to buy all this for each stepper motor? Thanks in advance:)
@rikerthiessen50273 жыл бұрын
Did you ever figure out whether you needed the TB6600 driver for each motor, or one for all 3?
@igorbarbarossa4 жыл бұрын
What are the benefits of using this kind of driver rather than a CNC shield and the small drivers
@Whiteknuckle1574 жыл бұрын
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.
@nielsvandenboom4 жыл бұрын
They are also generally able to handle way more current than the small drivers for the shield, which means you can run bigger motors.
@DomsetChannel4 жыл бұрын
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 ?
@dawiduchmanowicz36804 жыл бұрын
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 ?
@ibkawan16522 жыл бұрын
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?
@phillipneal81944 жыл бұрын
I like that nano io shield
@Im_The_Slep Жыл бұрын
God damn I wish I was this smart bruh 😭
@katzendrama8234 жыл бұрын
Thanks for the good video
@ZayMeisters3 жыл бұрын
can I ground the EN+ with the other pins or must it be grounded separately?
@liviu28602 жыл бұрын
If I am not mistaken the motor is rated at 2.8A/phase. Why limit the driver current at 2A?
@alfianfahmi54302 жыл бұрын
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.
@manitoulinmakers8492 жыл бұрын
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
@limchuanxiong95293 жыл бұрын
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 ??
@ritukoursardar50744 жыл бұрын
Man nikodem bartnik trying to make smart watch this is new some cool let's do it nikodem
@alibuyukbesnili18743 жыл бұрын
Thank you bro ❤️
@drejegetahun99162 жыл бұрын
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?
@technicalknowledge23923 ай бұрын
Thanks
@user-os2dt5bn1o3 жыл бұрын
Thank you very much
@JM_Tushe2 жыл бұрын
Thank you.
@rafikbouhouse97883 жыл бұрын
Hello, can I run a servo ac motor with the same program that starts the stepper motor (dir pulse)?
@jamiebaxter93603 жыл бұрын
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?
@rureadynow91894 жыл бұрын
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?
@msdesignru4 жыл бұрын
just use 4 of them excluding 2 coils middle wires
@sandeeprajmane2 жыл бұрын
That's ok but which pair is A and which is b of stepper motor let me know please
@ntsanjeewadesilva53923 жыл бұрын
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
@michaelbush41404 жыл бұрын
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?
@arbjful3 жыл бұрын
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.
@marcinmiszewski26582 жыл бұрын
@@arbjful so all in all both ENA+ and ENA- can be bridged with all other - outputs?
@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-bw9hx9 ай бұрын
Did you use any additional library when setting up the Arduino script?
@edaluz17246 ай бұрын
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
@raer78444 жыл бұрын
you can make diy wit linestepper motor . or dc servo motor arduino . for like that projects
@AJ-mw4nb4 жыл бұрын
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-os2dt5bn1o3 жыл бұрын
Can a video tutorial of RC remote control controlling stepper motor through ARDUINO, including code writing
@uservi6884 жыл бұрын
It is possible for one driver TB6600 to connect 2 motors Y -coordinate?
@evgenitantikov58654 жыл бұрын
It is possible, but don't do it.
@Rouverius4 жыл бұрын
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 ?
@geekoid1834 жыл бұрын
USB. The driver is at least powered from 12v so the arduino regulator will not like the joke for to long !
@evgenitantikov58654 жыл бұрын
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.
@GASNICABRUNATNA3 жыл бұрын
@@evgenitantikov5865 What would you recommend, and some use cases?
@evgenitantikov58653 жыл бұрын
@@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.
@arbjful3 жыл бұрын
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??
@saeidkasraeian1902 жыл бұрын
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 🌹
@deeepakkushwah25033 жыл бұрын
We can control tb6600 stapper motor drive 24 hours
@arduinomaquinas Жыл бұрын
Like 2K6 👏👏
@jordanb60293 жыл бұрын
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
@TheNamelessOne123574 жыл бұрын
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.
@robertorodriguez108810 ай бұрын
Can the ENA and DIR inputs be supplied by more than 5V? Will it work with 12V?
@automaticpanipurimachine-n93262 жыл бұрын
On rating Nema 23 work on 24v,but u ran it on 12v,how it work on 12?
@easy_engineering_drawing2 жыл бұрын
Can we use both Nema 17 (DRV8825) and Nema 23 (TB6600) on same Arduino simultaneously?
@hamidfazli51843 жыл бұрын
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?
@kavapravin64453 жыл бұрын
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
@jahirnoe4 жыл бұрын
it will be nice to see the life of those drivers, are those good??
@Rikktor12310 ай бұрын
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-mot4 жыл бұрын
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 .
@ahmedrebay4353 жыл бұрын
I'am using 24VDC supply for the TB6600 driver, but Nema 23 (23HS5628) works on 2.5 VDC Is it safe to use ?
@mohammadsantosochannel49214 жыл бұрын
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
@lucabattistello12403 жыл бұрын
hi , i have a question, i looking your video, but my motor don't move end produced a bip bip , you can help me?
@tiberiud19554 жыл бұрын
Can you use this instead of NEMA 17 on the CNC machine for Y axis ?
@kelianmorin79003 жыл бұрын
is it possible to plot an angle for the motor, cause it's a stepper, with the TB66000 ?
@NiherRD2 жыл бұрын
V good. How can stop the current command?
@Piksar6666 Жыл бұрын
Info for people who already know everything. Pointless for people want to learn.
@varietystore96992 жыл бұрын
What will be torque at 3000 steps per second
@ammarazizulraheem56732 жыл бұрын
Is there a command to STOP the stepper motor?
@fpvcowboy26352 жыл бұрын
How many motors can You connect to the shield thanks
@salehmohamed19812 жыл бұрын
Is it possible to control 20 devices at once?
@cocotaco_8753 жыл бұрын
Could you make another video without using arduino? By using PLC to rotate it at a 90 degree angle, need help though
@aerobicsparadise3 жыл бұрын
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..