How to control Nema17 stepper motor with L298n motor driver.

Поделиться
HTML-код
  • Опубликовано: 7 июл 2021
  • In this video we will learn how to use NEMA17 stepper motor with L298N motor driver.
    This is bipolar stepper motor some times the motor did not display the wiring diagrams
    we have to identify the wire of the same coil.Please dont skip so that you would not miss any explaination in this video. Thanks for watching.
    Download the code here;github.com/passion-tech/Hello...
    Music in this video;
    Music credit to;
    Song: Ikson - Blue Sky (Vlog No Copyright Music)
    Music promoted by Vlog No Copyright Music.
    Video Link: • Ikson - Blue Sky (Vlog...
    Music credit to;
    Song: Fredji - Happy Life (Vlog No Copyright Music)
    Music provided by Vlog No Copyright Music.
    Video Link: • Fredji - Happy Life (V...

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

  • @AmirHamza-wi7os
    @AmirHamza-wi7os 2 месяца назад +2

    For those who are wondering how to change motors direction just put (steps_per_rev/ -100) at the end of the code. It worked with l298n (Green) .... but I cant tell whether it will work with l298n (Red)....Anyways Aewsome Video....❤

  • @dhanushhr3342
    @dhanushhr3342 2 года назад +2

    Thank you it worked great

  • @AmirHamza-wi7os
    @AmirHamza-wi7os 2 месяца назад +1

    thank you❤

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

    Very nice tutorial

  • @Sohail-fi3dl
    @Sohail-fi3dl Год назад

    appreciate

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

    AMAZING !!!

  • @dablet
    @dablet Год назад +2

    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?

  • @DomBurgess
    @DomBurgess 5 месяцев назад +1

    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?

    • @passiontechklm
      @passiontechklm  5 месяцев назад +2

      This is all because of l298n driver current not enough to support Nema 17 stepper motor current,basically this driver can handle only up to 1 of continuous and of peak 2A , but if you add bigger size of heat sink will be solve .

  • @eduardoguedespavao4793
    @eduardoguedespavao4793 8 месяцев назад +1

    How can I do this with arduino nano? I tried to change the pins from 1,2,3,4 to 9,12,13,14 (nano pwm pins) with no results...

  • @braulioayala6574
    @braulioayala6574 2 года назад +5

    What is your current in your 12V supply??

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

    I want to ask, if you want to change the direction of rotation, how do you do it?

  • @diegoalbertomartinezgonzal889
    @diegoalbertomartinezgonzal889 3 месяца назад

    Puedo conectar una fuente conmutada 12v 10A al L298n

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

    your video is very good. let me ask when i supply 12V/5A to L298 and nema 17 stepper motor then after some time the motor and l298 get very hot

    • @passiontechklm
      @passiontechklm  2 года назад +2

      L298N is peak 2Amps so to be able to handle the NEMA 17 you have to change the heatsink to the lager size and give air flow to the heatsink something like a mall fan to blow the heat.

  • @robertgubberiksson2068
    @robertgubberiksson2068 2 года назад +2

    Nice tutorial!
    I have done exactly as in your video, with the same components, but my driver gets really hot. Do you have any idea why?

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

      this driver is peak 2Amps only but if you add bigger size of heatsink its will be fine.

    • @muhammadmudassir6343
      @muhammadmudassir6343 Год назад +3

      sir all these video that use L298n are fake this driver is not suitable for NEMA 17 I've tried it and it gets super hot , so the solution for this is a4988 driver which I also used practically and working fine

    • @unodragon2294
      @unodragon2294 Год назад +2

      @@muhammadmudassir6343 do you maybe have a code I wanna control a nema17 as a servo motor with potentiometer

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

    Can we use 6 pin stepper motor

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

    Helo, thanks for the vid. My motor isn't turning smoothly but stopping what do you think might be the problem? thanks

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

      May be your power supply current not enough?

  • @kondordv
    @kondordv 5 месяцев назад +1

    what driver do you use for unipolar stepper motor?

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

      There are many stepper motor drivers out there depending on current holding.... like a4988 , uln 2003 driver etc

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

    Is it possible to add relay module 12v to 220 instead of a battery(newbie question)

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

      As I understand your question....12V relay module means you need supply 12V to active the relay on and off but the load side Com to No is can apply either 12V or 220VAC .

  • @alisatheeralap8763
    @alisatheeralap8763 5 месяцев назад +1

    Very nice, Can I use with Jetson nano

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

    can we use two nema stepper motor on one L298n motor drive

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

      No you can use two because l298 module is just 2Ampier so it will burn out.

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

    Can i connect nema 23 with the same way?

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

    Can I use 9v DC current?

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

    Hello, my stepper motor just vibrates, it doesnt rotate??? do you know why??

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

      Normally that issue happen when the current is not enough to push the motor or when signal is not detect properly if you use the driver

    • @TheSquire101
      @TheSquire101 5 месяцев назад +1

      @@passiontechklm Can you share with us the power supply you used

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

      @@TheSquire101 you can use 12V 3A AC/DC power supply

    • @timlesellier734
      @timlesellier734 4 месяца назад

      Hello, I have the same problem (the motor vibrates but does not turn). I have a 12V, 1.5A power supply, is this the problem?@@passiontechklm

  • @BlesTtag002
    @BlesTtag002 3 месяца назад +1

    The controller gets hot, is it normal?

    • @passiontechklm
      @passiontechklm  3 месяца назад

      Yes, that's normal but to get more reliable need to add bigger heat sink.

  • @electronicsideas1361
    @electronicsideas1361 Месяц назад

    Fantastic .Circuit diagram please

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

    not working..................very disappointed