No video

NEMA 17 Stepper Motor Control using L298N Arduino tutorial

Stepper Motor Control using L298N Arduino tutorial
Link sketch download : github.com/mak...
::::::::::: SUPPORT CHANNEL ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Please Donate To Help Me Afford New Equipment And Software To Make My Videos More : goo.gl/1m8Dg2
Don't forget to subscribe!

Пікірлер: 71

  • @festerbestertester2232
    @festerbestertester22324 жыл бұрын

    Still an awesome video - solved my problem. More importantly, uses the best music track ever, none of that wack electronica rave junk that usually gets pumped out. Kudos.

  • @TLeeDestiny
    @TLeeDestiny5 жыл бұрын

    Now just wire in a variable speed controller and could be used on a camera slider?

  • @douglanders5558
    @douglanders55583 жыл бұрын

    Finally the first tutorial with actual code that works! I've been through a number of them where the code ultimately fails. Thanks!

  • @DomBurgess
    @DomBurgess6 ай бұрын

    Thanks for the video! I have an Nema 17 hooked up to a L298n and an Arduino. I have no issues operating it, but I'm having problems powering it. If I use a 5v 1a supply, it works but torque is low. If I use a 12v 2a supply, the torque is great, but the L298n pulses ever second or so which sends power to the motor. It doesnt appear to actually turn the motor, but it makes a buzzing noise which is VERY annoying. Do you know why I'm getting this pulsing from the driver?

  • @sen168
    @sen1686 жыл бұрын

    If I want to use the joystick to do real-time control, what should I do?

  • @alfredh7108
    @alfredh71086 жыл бұрын

    Thank you for this helpful informations! Please let me ask a typical "Beginner-Question": I want to include a Potentiometer or 2 Switches (clockwise/counterclockwise) for controlling the NEMA17. How is the best way to integrate/connect? Have I to Change something in the Sketch? Thank you for your helpful answer.

  • @suvobratasil4731
    @suvobratasil4731 Жыл бұрын

    Kindly tell me how to program stepper motor to make any specific number of revolution in clockwise direction and then the same number of revolution in anticlockwise direction continuously. And also how can I vary the speed of revolution. All the programming I am getting is about single revolution in clockwise and single in anticlockwise direction.

  • @caxio2
    @caxio23 жыл бұрын

    Hello, my L298 gets tremendously hot as soon as connected to the Pins 8,9, 10 and 11 of the Arduino board. I use L298N with a Nema 17 45Ncm 1.5A 12V and identic wiring as shown by you. This has quite some effect on the step motor after 30secs that get noisy then stops working after 30secs. Thank you for any hint.

  • @RonAdamsky

    @RonAdamsky

    3 жыл бұрын

    Most of Nema17 work only with new drivers : A4988 , Tmc2208.

  • @ghanshyamc463

    @ghanshyamc463

    3 жыл бұрын

    @@RonAdamsky I have the same overheating issue. Will using the a4988 solve it??

  • @RonAdamsky

    @RonAdamsky

    3 жыл бұрын

    Yes I tried with TB6600 and works great.With L298 Nema17 don' t move at all.My Nema17 motors have only 2ohm resistance of coil.

  • @theenlightenedone4738
    @theenlightenedone47386 жыл бұрын

    Great video........Check out my ps2 controlled car I used a l298n but the motor over heats fast any advice

  • @Jk-rm9sx
    @Jk-rm9sx6 жыл бұрын

    Could you provide the parts used to incorporate the belt driven linear actuator?

  • @atulkhatavkar6986
    @atulkhatavkar69864 жыл бұрын

    How to determine A+&A-&B+&B- mine is just vibrate and not moving. Nema 17 5.6kg motor driver and connected similar to you. Power supply 2amp 5 volt please help

  • @luqmananuar791
    @luqmananuar7914 жыл бұрын

    Sir... The link i cant access.. i really i need this sketch T T

  • @blackfaithdoom9018
    @blackfaithdoom90183 жыл бұрын

    I am sorry, i am wondering which model of a 3D-Printer we are seeing in the Video .

  • @FaheemYaseen-tb8gz
    @FaheemYaseen-tb8gz10 ай бұрын

    Hy nice

  • @Lann91
    @Lann913 жыл бұрын

    I'm sorry but you can apply ~35V on the 12V input? what?

  • @dablet
    @dablet Жыл бұрын

    has anyone gotten this L298N+Nema 17 to work with ESPHome or Tasmota? if so, could you please show the wiring diagram as well as the codes?

  • @josephdavid8091
    @josephdavid80913 жыл бұрын

    I used an arduino i previously had used to play the game of thrones theme song on a piezo buzzer and when i turned it all on the motor started humming the theme song

  • @joaocamiloulhoa4878
    @joaocamiloulhoa48782 жыл бұрын

    it is possible to control microsteping?

  • @user-cb4vv4yw4q
    @user-cb4vv4yw4q Жыл бұрын

    شكرا انت فنانة

  • @kiranshashiny
    @kiranshashiny Жыл бұрын

    Did not work for me ! I think the newer motors need A4988 .

  • @user-qf3fq9sv2k
    @user-qf3fq9sv2k3 жыл бұрын

    Молодец милашка

  • @1yyymmmddd
    @1yyymmmddd2 жыл бұрын

    Pretty limited use project as it requires two power sources (5V and 12V).

  • @bobsoto7131
    @bobsoto71314 жыл бұрын

    Unable to find the sketch. link is broken

  • @gnanamanikandangopichandir1571
    @gnanamanikandangopichandir15713 жыл бұрын

    I want use wemos instead of arduino

  • @mrilhamtech6632
    @mrilhamtech66324 жыл бұрын

    LINK SKETCH eror.

  • @gabrielsantos19
    @gabrielsantos193 жыл бұрын

    Nice

  • @zainnoor435
    @zainnoor4356 жыл бұрын

    Hi I needed some help with ardino sketching. I just started a month ago. I need some help with a project that i am working on.

  • @RonAdamsky
    @RonAdamsky3 жыл бұрын

    Not for low resistance stepper motors Nema17 , HS4401 doesn't work.

  • @kudin8082

    @kudin8082

    3 жыл бұрын

    for this stepper motor, what power supply need to use.?

  • @eks2288
    @eks22885 жыл бұрын

    How to connect 3 of L298's (3 axis xyz) with Arduino for CNC purpose? Is it possible?

  • @atihrot755

    @atihrot755

    Жыл бұрын

    Je to možné ale treba zvlášt 3 ks ovládačov na každý krokový motor.

  • @kenjimax73
    @kenjimax735 жыл бұрын

    what type of this nema?

  • @ibaadulatqiyaatkj1214
    @ibaadulatqiyaatkj12143 жыл бұрын

    thanks i like ittt

  • @mustafatunc3903
    @mustafatunc39035 жыл бұрын

    Thank you

  • @user-oh8tx4zh4w
    @user-oh8tx4zh4w6 жыл бұрын

    thanx it is nice

  • @asimov741
    @asimov7416 жыл бұрын

    I'm using 5A 12V power source and 1.68A stepping motors, but they are only vibrating, tried all wires combinations, do you have an idea to make it work ? :(

  • @nizarworld2020

    @nizarworld2020

    6 жыл бұрын

    change wiring.coils are not in the same line .but across the board. i had same exp . now it working fine

  • @asimov741

    @asimov741

    6 жыл бұрын

    Well i fixed it, that wasn't wiring but Arduino D8 which was in HIGH whatever I would program 🤔

  • @nizarworld2020

    @nizarworld2020

    6 жыл бұрын

    will u pls reply to my doubts

  • @martienrurenga772

    @martienrurenga772

    5 жыл бұрын

    hi, i'm having the same exact problem, could you maybe tell me how you fixed it?

  • @sydms36
    @sydms364 жыл бұрын

    My stepper motor is vibrating but the shaft not rotating could u help me out

  • @slathian1223

    @slathian1223

    4 жыл бұрын

    I had this issue too. A couple things you could try: make sure the polarity is correct on you connections. Use a multimeter to see the resistance it should be .009 ohms. If that doesn't work disconnect your ground wire from your power supply and the arduino and make sure your PSU outputs a minimum of 3.5 amps. This will be 1.7 amps per motor phase.

  • @RonAdamsky

    @RonAdamsky

    3 жыл бұрын

    Try with another drivers ie. A4988 or TMC.

  • @kudin8082

    @kudin8082

    3 жыл бұрын

    @@slathian1223 what power supply I should use for stepper motor nema17 hs4401..?

  • @Guerra_automacao
    @Guerra_automacao3 жыл бұрын

    parabens. top obrigado

  • @lakshaynarayan1853
    @lakshaynarayan18535 жыл бұрын

    Continously? Or Motor Will Stop After Sketch?

  • @MakerTutor101

    @MakerTutor101

    5 жыл бұрын

    continuously. dirStep = 1 to left , dirStep = 1 to right if( stepCount > 500){ stepCount = 0; if( dirStep == 1) dirStep = -1; else dirStep = 1; }

  • @mariangelamiranda8949
    @mariangelamiranda89495 жыл бұрын

    May I know the holding torque of this motor?

  • @hemanthnarayan373

    @hemanthnarayan373

    4 жыл бұрын

    www.amazon.com/STEPPERONLINE-Stepper-Bipolar-Connector-compatible/dp/B00PNEQKC0/ref=sr_1_2?dchild=1&keywords=Nema+17&qid=1590211554&sr=8-2 You can find the user manual in the link;

  • @marianpelmus
    @marianpelmus6 жыл бұрын

    my l298n gets very hot after just 30s of motor spinning, and i cant figure why :( i have a NEMA 17HS8401S same driver module, and a power supply 12v 5A motor spins ok

  • @ivang.7526

    @ivang.7526

    5 жыл бұрын

    Dude, with the l298n the max is 2A

  • @Andrew-gx3ps

    @Andrew-gx3ps

    5 жыл бұрын

    Still struggling? I can help you out

  • @Dr.Sarkar

    @Dr.Sarkar

    4 жыл бұрын

    @@Andrew-gx3ps I have the same problem, I have nema23 with l298n, the l298n gets very extremely hot after a few seconds..

  • @memahrez

    @memahrez

    4 жыл бұрын

    @@Dr.Sarkar ln298 is rated for 2amps max

  • @Andrew-gx3ps

    @Andrew-gx3ps

    4 жыл бұрын

    @@Dr.Sarkar Hi, If you're using a PS that is capable of supplying more than the 2A max of L298N, you can still use the power supply. What you'll need to do to make this work and not overheat/blow your L298n is to send a PWM signal to the enable pins on the H-Bridge. Start with a low duty cycle and increase from there. If youre driving 2 phases of a stepper with the H-Bridge, set the PWM to be the same for both enA and enB. Sending a PWM signal to the enable pins is used to limit the current passing through your L298N module. If you are currently setting the enable pins to HIGH, your essentially setting up a 100% duty cycle thus allowing the full current to pass through. If your current is not limited by your PS or by PWM, current will pass through and it is defined by Ohm's Law(ignoring induction of the motor). I hope this helps you. Have fun :)

  • @hmeydesaid9327
    @hmeydesaid93276 жыл бұрын

    so nice thanks for helping .....

  • @MrHomyachek
    @MrHomyachek5 жыл бұрын

    Как к нему подцепить мотор сканера чтоб играть музыку?

  • @user-wx1zs2li1u
    @user-wx1zs2li1u2 ай бұрын

    Coding please

  • @rethom9427
    @rethom94276 жыл бұрын

    no picture, kein Bild

  • @alistairbalistair9596
    @alistairbalistair95962 жыл бұрын

    thank god for the mute button

  • @sarthaksarode3982
    @sarthaksarode39824 жыл бұрын

    Nema ke wires l298n ke konse port pe jayege like in 1,2,3,4 kon tera bap batayega kya, agar video dalni to thik se dal

  • @nizarworld2020
    @nizarworld20204 жыл бұрын

    Nothing informative