How to control Nema17 stepper motor with L298n motor driver.

  Рет қаралды 57,406

Passion Tech KLM

Passion Tech KLM

3 жыл бұрын

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 ай бұрын
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 жыл бұрын
Thank you it worked great
@passiontechklm
@passiontechklm 2 жыл бұрын
🤗
@HoXDipannew
@HoXDipannew 3 жыл бұрын
Very nice tutorial
@passiontechklm
@passiontechklm 3 жыл бұрын
Thanks alot bro 🙏🙏🙏🙏🙏
@AmirHamza-wi7os
@AmirHamza-wi7os 2 ай бұрын
thank you❤
@Sohail-fi3dl
@Sohail-fi3dl Жыл бұрын
appreciate
@nobrane6139
@nobrane6139 3 жыл бұрын
AMAZING !!!
@nobrane6139
@nobrane6139 3 жыл бұрын
subscribed an liked
@passiontechklm
@passiontechklm 3 жыл бұрын
Thanks bro 😊
@braulioayala6574
@braulioayala6574 2 жыл бұрын
What is your current in your 12V supply??
@DomBurgess
@DomBurgess 5 ай бұрын
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 ай бұрын
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 ай бұрын
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...
@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?
@yessyayuamandasari5710
@yessyayuamandasari5710 Жыл бұрын
I want to ask, if you want to change the direction of rotation, how do you do it?
@user-ig8zc2yq9n
@user-ig8zc2yq9n Жыл бұрын
Change motor wires
@electronicsideas1361
@electronicsideas1361 Ай бұрын
Fantastic .Circuit diagram please
@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 жыл бұрын
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.
@annamotiwale1998
@annamotiwale1998 Жыл бұрын
Can we use 6 pin stepper motor
@alisatheeralap8763
@alisatheeralap8763 5 ай бұрын
Very nice, Can I use with Jetson nano
@passiontechklm
@passiontechklm 5 ай бұрын
Yes, you can use that
@justinalentecer
@justinalentecer 2 жыл бұрын
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?
@robertgubberiksson2068
@robertgubberiksson2068 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 Жыл бұрын
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 Жыл бұрын
@@muhammadmudassir6343 do you maybe have a code I wanna control a nema17 as a servo motor with potentiometer
@diegoalbertomartinezgonzal889
@diegoalbertomartinezgonzal889 3 ай бұрын
Puedo conectar una fuente conmutada 12v 10A al L298n
@kondordv
@kondordv 5 ай бұрын
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 .
@faresalkhoor4405
@faresalkhoor4405 Жыл бұрын
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 жыл бұрын
Can i connect nema 23 with the same way?
@passiontechklm
@passiontechklm 2 жыл бұрын
Yes you can connect it the same way bro
@amalmahmoud2185
@amalmahmoud2185 2 жыл бұрын
@@passiontechklm Thank you so much 😊
@passiontechklm
@passiontechklm 2 жыл бұрын
@@amalmahmoud2185 you are welcome bro
@aaryaprayagi1929
@aaryaprayagi1929 2 жыл бұрын
Can I use 9v DC current?
@passiontechklm
@passiontechklm 2 жыл бұрын
9v is not support for this stepper motor
@aaryaprayagi1929
@aaryaprayagi1929 2 жыл бұрын
@@passiontechklm so I can use a 12V battery right?
@passiontechklm
@passiontechklm 2 жыл бұрын
@@aaryaprayagi1929 Yes can
@aaryaprayagi1929
@aaryaprayagi1929 2 жыл бұрын
@@passiontechklm ok thanks
@BlesTtag002
@BlesTtag002 4 ай бұрын
The controller gets hot, is it normal?
@passiontechklm
@passiontechklm 4 ай бұрын
Yes, that's normal but to get more reliable need to add bigger heat sink.
@carfiallos
@carfiallos Жыл бұрын
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 ай бұрын
@@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
@m3dp_official
@m3dp_official Жыл бұрын
not working..................very disappointed
Stepper Motors with Arduino - Controlling Bipolar & Unipolar stepper motors
50:22
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 76 МЛН
Run L298 Motor Driver with Flysky Receiver without Arduino
3:53
A4988 Driver with Nema17 Stepper Motor
4:45
Passion Tech KLM
Рет қаралды 17 М.
NEMA 17 Stepper Motor Control using L298N Arduino tutorial
3:20
Maker Tutor
Рет қаралды 116 М.
Servo Motors, how do they work?
15:12
The Engineering Mindset
Рет қаралды 1,9 МЛН
Stepper Motor Driver Control Board 36820 MS
9:44
mpjaonline
Рет қаралды 91 М.