NEMA 17 Stepper Motor Control using L298N Arduino tutorial

  Рет қаралды 118,323

Maker Tutor

Maker Tutor

Күн бұрын

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
@DomBurgess
@DomBurgess 8 ай бұрын
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?
@festerbestertester2232
@festerbestertester2232 4 жыл бұрын
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.
@douglanders5558
@douglanders5558 3 жыл бұрын
Finally the first tutorial with actual code that works! I've been through a number of them where the code ultimately fails. Thanks!
@caxio2
@caxio2 3 жыл бұрын
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.
@atulkhatavkar6986
@atulkhatavkar6986 4 жыл бұрын
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
@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.
@terrys824
@terrys824 5 жыл бұрын
Now just wire in a variable speed controller and could be used on a camera slider?
@sen168
@sen168 6 жыл бұрын
If I want to use the joystick to do real-time control, what should I do?
@alfredh7108
@alfredh7108 6 жыл бұрын
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.
@Lann91
@Lann91 3 жыл бұрын
I'm sorry but you can apply ~35V on the 12V input? what?
@blackfaithdoom9018
@blackfaithdoom9018 3 жыл бұрын
I am sorry, i am wondering which model of a 3D-Printer we are seeing in the Video .
@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?
@asimov741
@asimov741 6 жыл бұрын
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?
@joaocamiloulhoa4878
@joaocamiloulhoa4878 2 жыл бұрын
it is possible to control microsteping?
@theenlightenedone4738
@theenlightenedone4738 6 жыл бұрын
Great video........Check out my ps2 controlled car I used a l298n but the motor over heats fast any advice
@kiranshashiny
@kiranshashiny 2 жыл бұрын
Did not work for me ! I think the newer motors need A4988 .
@josephdavid8091
@josephdavid8091 4 жыл бұрын
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
@bobsoto7131
@bobsoto7131 4 жыл бұрын
Unable to find the sketch. link is broken
@lakshaynarayan1853
@lakshaynarayan1853 5 жыл бұрын
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; }
@Jk-rm9sx
@Jk-rm9sx 6 жыл бұрын
Could you provide the parts used to incorporate the belt driven linear actuator?
@eks2288
@eks2288 6 жыл бұрын
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.
@sydms36
@sydms36 4 жыл бұрын
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..?
@RonAdamsky
@RonAdamsky 3 жыл бұрын
Not for low resistance stepper motors Nema17 , HS4401 doesn't work.
@kudin8082
@kudin8082 3 жыл бұрын
for this stepper motor, what power supply need to use.?
@marianpelmus
@marianpelmus 6 жыл бұрын
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 6 жыл бұрын
Dude, with the l298n the max is 2A
@andrew_with_laser_eyes
@andrew_with_laser_eyes 5 жыл бұрын
Still struggling? I can help you out
@Dr.Sarkar
@Dr.Sarkar 4 жыл бұрын
@@andrew_with_laser_eyes 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_with_laser_eyes
@andrew_with_laser_eyes 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 :)
@luqmananuar791
@luqmananuar791 4 жыл бұрын
Sir... The link i cant access.. i really i need this sketch T T
@zainnoor435
@zainnoor435 6 жыл бұрын
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.
@عمرمرخي-ط2ذ
@عمرمرخي-ط2ذ 2 жыл бұрын
شكرا انت فنانة
@1yyymmmddd
@1yyymmmddd 2 жыл бұрын
Pretty limited use project as it requires two power sources (5V and 12V).
@gnanamanikandangopichandir1571
@gnanamanikandangopichandir1571 3 жыл бұрын
I want use wemos instead of arduino
@kenjimax73
@kenjimax73 5 жыл бұрын
what type of this nema?
@mrilhamtech6632
@mrilhamtech6632 4 жыл бұрын
LINK SKETCH eror.
@mariangelamiranda8949
@mariangelamiranda8949 5 жыл бұрын
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;
@gabrielsantos19
@gabrielsantos19 3 жыл бұрын
Nice
@MrHomyachek
@MrHomyachek 5 жыл бұрын
Как к нему подцепить мотор сканера чтоб играть музыку?
@ibaadulatqiyaatkj1214
@ibaadulatqiyaatkj1214 4 жыл бұрын
thanks i like ittt
@sarthaksarode3982
@sarthaksarode3982 4 жыл бұрын
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
@Guerra_automacao
@Guerra_automacao 3 жыл бұрын
parabens. top obrigado
@FaheemYaseen-tb8gz
@FaheemYaseen-tb8gz Жыл бұрын
Hy nice
@ناقدطعام
@ناقدطعام 6 жыл бұрын
thanx it is nice
@mustafatunc3903
@mustafatunc3903 6 жыл бұрын
Thank you
@rethom9427
@rethom9427 6 жыл бұрын
no picture, kein Bild
@hmeydesaid9327
@hmeydesaid9327 6 жыл бұрын
so nice thanks for helping .....
@alistairbalistair9596
@alistairbalistair9596 2 жыл бұрын
thank god for the mute button
@이승우-e3p
@이승우-e3p 4 ай бұрын
Coding please
@nizarworld2020
@nizarworld2020 4 жыл бұрын
Nothing informative
@АлексейЛебедев-з7в
@АлексейЛебедев-з7в 3 жыл бұрын
Молодец милашка
Arduino GRBL - How are steps per mm set?
2:54
Maker Tutor
Рет қаралды 35 М.
黑的奸计得逞 #古风
00:24
Black and white double fury
Рет қаралды 14 МЛН
Я сделала самое маленькое в мире мороженое!
00:43
Кушать Хочу
Рет қаралды 4,5 МЛН
What Makes TMC2208 Stepper Motor Drivers Silent?
9:07
Michael Klements
Рет қаралды 303 М.
How To Control a Stepper Motor with A4988 Driver and Arduino
9:34
How To Mechatronics
Рет қаралды 944 М.
Run L298 Motor Driver with Flysky Receiver without Arduino
3:53
Stepper Motors and Arduino - The Ultimate Guide
29:57
How To Mechatronics
Рет қаралды 1,2 МЛН
How to Run Stepper Motor with Arduino using L298N Driver Module
3:07
Big Stepper Motors with Arduino
29:43
DroneBot Workshop
Рет қаралды 1,2 МЛН
Nema 17 Stepper Motor - Arduino Uno/A4988/Potentiometer/Buttons
10:41
How to control Nema17 stepper motor with L298n motor driver.
8:57
Passion Tech KLM
Рет қаралды 65 М.
黑的奸计得逞 #古风
00:24
Black and white double fury
Рет қаралды 14 МЛН