Тёмный

Control Position and Speed of Stepper motor with L298N module using Arduino 

Robojax
Подписаться 109 тыс.
Просмотров 407 тыс.
50% 1

Опубликовано:

 

30 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 523   
@christopherchance4860
@christopherchance4860 5 лет назад
you have the best presentation and detailed step by step walkthroughs on RU-vid. Thank you for all your hard work, I would sub 100 times if possible
@robojax
@robojax 5 лет назад
Thank you very much.
@robertleonard7339
@robertleonard7339 7 месяцев назад
I know this is an old post but you have helped me more than you know. You're GREAT!
@program2445
@program2445 3 года назад
thank you so much for detailing explaination sir (also turkish subtitlet)
@frankdoyal6450
@frankdoyal6450 3 месяца назад
Nicely done,, wire to pulse regulator are they com from the PCU?
@joshlinehan3888
@joshlinehan3888 Год назад
Hi Robojax, is there anywhere I can view the full code for the speed control using the potentiometer. I see the position control code on the video but only half of the speed control. Thanks
@rameshtripathy5978
@rameshtripathy5978 3 года назад
Excellent description & very helpful to enhance application knowledge on stepper motor & Arduino !We hope to see you with your more tutorials of steeper motor application for use in a letter engraving machine , router machine & other applications ! Thank you so much Sir for this educative post !
@awaisqarni4823
@awaisqarni4823 3 года назад
Jazak Allah bro good information about subject by this video i drive my stepper very easily
@hernangarcia1690
@hernangarcia1690 7 месяцев назад
Exelente Gracias por compartir sus conocimientos
@mixme8655
@mixme8655 5 месяцев назад
I like your videos many important tips I learned thank you for sharing
@robojax
@robojax 5 месяцев назад
You are so welcome
@MohamadSaleem-w7z
@MohamadSaleem-w7z 4 года назад
Hello sir, I need to know how I can get the MOTOR to do 10 turns to the right and 10 turns to the left and keep doing that. THANKS.
@robojax
@robojax 4 года назад
Assalamu alaikum, wow. interesting project. I will put it on my list and if time permit, I will make video.
@bhgtanable
@bhgtanable Месяц назад
Awesome vidz ... here learning up on stepper motor controller ... quick question , I need to control a NEMA 17 but just needed to have a very small moment 1000steps controlled by a cnc encoder without the arduino module in a harsh environment..... thanks in advance.
@ChadE1020
@ChadE1020 Год назад
thank you I spent hours tying to figure out why it was just jittering, and it was the ground from uno to power supply!
@sunaybayraktaroglu
@sunaybayraktaroglu 5 месяцев назад
Super bir anlatım olmuş. Tesekkurler. Yabancı Dil bilmesem dahi yaptım. Supeeeerrrr.
@robojax
@robojax 5 месяцев назад
Bir şeyler öğrendiğine sevindim. Rica ederim
@wonderfulwolf5285
@wonderfulwolf5285 5 месяцев назад
Sunay kodu atabilir misin
@AtomDellow
@AtomDellow 5 месяцев назад
Fellow Canadian :) Thanks for the video, it was very helpful, and I've seen a few which kept me looking until I found this one.
@robojax
@robojax 5 месяцев назад
Glad I could help!
@RixtronixLAB
@RixtronixLAB 2 года назад
Creative video, thanks for sharing :)
@easy_3d
@easy_3d Месяц назад
my motor always keep on changing the distance, i used the same 200 steps per revolution and wanted to stop at every 50 , 100, 150 , 200 steps, used like a servo, but it is overshooting everytime
@robojax
@robojax Месяц назад
Hi, not sure what you have done with the code. have you watched this second video on this stepeper? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-csf_G1pi0ps.html
@Dancopymus
@Dancopymus 10 месяцев назад
Hello teacher, first, thank you for the video. It worked for me, connecting the pins in the sequence 8, 10, 9, 11. However, the Drive CI of the L298N Module is getting very hot. Does this have to do with the two ENA and ENB jumpers? (I left them connected). I'm using 12V (external) to power the L298N Module and the Arduino I'm powering via USB from the PC. My Step is an STP-57D101-01 (1.8 DEG/STEP 3.6V 0.8A. If you can answer me, I would appreciate it.
@robojax
@robojax 10 месяцев назад
Hi, please view this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-csf_G1pi0ps.html I have talked about "Hold" and "stop" to reduce the energy waste. If you did not understand tehe ENA and ENB, then you should watch it gain.
@charmingali34
@charmingali34 3 года назад
Hi, First of all thank you for making this wonderful tutorial. I have followed the steps of your video with my Nima17 motor and L298N driver. But at slow speed (below 60) its just giving a jerk not even a complete rotation. I didn;t change any value of Example provided in Arduino but the motor was not running as your was runing at same value. However, once i increase the speed it did revolved smoothly. Can you please help in this regard as am doing this tutorial to control stepper motor at slow speed (but more torque). Many Thanks!
@charmingali34
@charmingali34 3 года назад
I just figured out through guidance in your video that i was using less power supply and low speed motor was drawing more current. Now its working with changing power source
@robojax
@robojax 3 года назад
You are welcome. I am glad you found it useful and resolved the issue. Peace. Stay safe.
@அர்ஜூன்-ற1ங
@அர்ஜூன்-ற1ங 2 года назад
@@charmingali34 what rating of power supply you are used? I am also get same problem like u..
@Saxonpod
@Saxonpod 5 лет назад
Ive followed your instructions & all is working well. My L298N & stepper motor are getting extremely hot am I doing something wrong?
@robojax
@robojax 5 лет назад
Your motor must be powerful. either use another motor with lower power or some how increase the size of heat sink.
@giuseperangel9647
@giuseperangel9647 Год назад
Thank you for lesson teacher!
@juliuscaesar5001
@juliuscaesar5001 Год назад
Hi robojax, thank you, I did exactly what you did in the video, my nema stepper is running on the code but the module gets hot quickly, like very hot, the power supply is 12 volt 5 A, what's the solution, thanks
@robojax
@robojax Год назад
Hi, please see this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-csf_G1pi0ps.html to learn why the current is too high.
@omniyambot9876
@omniyambot9876 3 года назад
Great video sir but how to know what arrangement is would I put the wires?
@robojax
@robojax 3 года назад
Didn’t understand your question. I have explained the wiring fully. Watch it 2 or 3 or 4 time to get it if you can’t get in one time
@OxTongue0
@OxTongue0 4 года назад
Hello Sir Thanks for the video and very clear step by step explanation Please let me know how to control the without Aurduino ? Can I be able to control this same stepper motor with driver board by other means ? If yes what signals I need to feed the Driver module ? I am planning to use a PWM signal from other module
@robojax
@robojax 4 года назад
you are welcome. PWM is not the right way but can be done. this is all about counting. You can learn it from other video here ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Sl2mzXfTwCs.html
@21muhammadaqil57
@21muhammadaqil57 5 лет назад
how to control heating problem of the motor driver?
@robojax
@robojax 5 лет назад
You will need to use current detection and limit the current. I have a video on current sensing. You can search my channel.
@zakoursamir3997
@zakoursamir3997 3 года назад
Thank you so much sir, , excellent explanation
@robojax
@robojax 3 года назад
You are most welcome
@jp15sil24
@jp15sil24 Год назад
You said in the video, the arduino has no power , the board with the L298N has power. We just the ground between arduino and the L298 board. We do not need power on the arduino ????
@allanpatterson7653
@allanpatterson7653 3 года назад
Thanks for taking the time to share. An analog dial something like a temperature indicator using a thermistor or make an hour,minute,second hand of a clock. In an age of ultra cheap time keeping it is a Dinosaur but with so much salvaged parts laying around it might make an unusual display. I do not want anyone to do my assignment for me but it is nice to have help when encountering a bad block on the road to completion.
@bambangirawan6011
@bambangirawan6011 4 года назад
Thank you sir there are Indonesian subtitles 🙏
@robojax
@robojax 4 года назад
Wow. You are welcome. I am pleased that you used it. I spent so much time to fix and Write english subtitle and then create over 70 languages for the video. We just started working on the buttitles. Your comment is very important so I know people watch it in other languages. Thank you.
@haninasser3780
@haninasser3780 3 года назад
sketch uses 3262 bytes (10%) of program storage space. maximum is 32256 bytes. global variables use 230 bytes (11%) of dynamic memory, leaving 1818 bytes for local variables. maximum is 2048 bytes. an error occurred while uploading the sketch avrdude: ser_open(): can't open device "\\.\com5": the system cannot find the file specified.
@mdproForPC
@mdproForPC 5 месяцев назад
one of the bes tut i have seen and will use it much much thanks
@robojax
@robojax 5 месяцев назад
wow. Glad to hear that. you are welcome.
@mdproForPC
@mdproForPC 5 месяцев назад
@@robojax i bouth everything but my L298N getting way to hot, 12V 10 amp power supply,
@hppavilion6484
@hppavilion6484 3 года назад
i am facing the same problem had tried all the solutions changing wire combination, code, pins drivers but the motor is still sometime gives a beep only or rattles with beep and the strange thing is that motor is showing continuity in all four pairs, led blew up no matter what the wire combination is it show continuity on pairing 1,2 -1,3 -1,4 and so on for all. I had tried running motor directly with arduino without motor driver and it is running, but facing issue while it is connected to CNC shield with A4988 driver. I am using Arduino uno and motors are 4 pinned. Could you please tell me what I am doing wrong?
@MichaelBuetKESE
@MichaelBuetKESE Год назад
Can you help me setup a pair of stepper motors designed to control the four compressed air exhaust needle valves which are rotated via stepper motors, please? The 2 control air valves drive a set of two 2-way pistons, the piston shafts provides an End of Course and a start of Course reed switch contact closure: The goal is to detect the paired contact closures timing difference, and automatically adjust the corresponding needle valve setting until they are synchronized. IE: P1UP sensor and P2UP sensor need to be closing/opening simultaneously, or a timing difference P1UP - P2UP is produced that will cause the P2UP needle valve stepper to adjust the air escape rate until P1UP-P2UP is again 0. Can you use this as a practical example in your videos?
@robojax
@robojax Год назад
Hi, your projects needs a lot of work and special limiting switch which I can't do at the moments but it is on my list.
@alaninness8113
@alaninness8113 11 месяцев назад
One problem of this pre-made board, does not make the current sense pins of the L208 available in order to use a translator IC such as L297 and picmiocro, so that any current rated motor under 2a can be used, regardless of voltage,. The motor used with the board Has to be 12v !
@robojax
@robojax 11 месяцев назад
Here I use the current sensing with this shield which uses similar motor driver Current Sensing with Arduino Motor Shield with L298N L298P ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE--uQKBDTWHPM.html
@woldecosgrove
@woldecosgrove 5 месяцев назад
Hello the code u uploaded is not working and difference from the video...
@robojax
@robojax 5 месяцев назад
Hi, Just follwo the instruction and open the exact code from File-Examples->.... which I have shown.
@chayasulakhe9021
@chayasulakhe9021 5 месяцев назад
Excellent explained. Keep uploading new videos... enjoyed, thanks.
@Асти-г3п
@Асти-г3п 3 года назад
Hello. Help me please! I can't start my stepper (nema 17) with arduino. I did what you say in video but my stepper is twiching and don't go correct. And driver is very hot...... I changed driver, changed stepper, changed arduino and this all useless
@robojax
@robojax 3 года назад
check wiring. if you can't follow the way I've shown, then try all 16 possible ways connecting them. name the wires A, B, C D and then pins for example 1, 2,3 4. so start with ABCD, then ABDC, ACDB, ADCB .. . do this in 16 ways.
@jonpinkhasik8865
@jonpinkhasik8865 3 года назад
Thank you for the high quality, thorough explanation!
@Bgaun
@Bgaun Год назад
Whenever I try this for speed control, my potentiometer has no effect. My potentiometer says b10 K on top. I really need to get this to work. Any advice?
@grahamgideon9485
@grahamgideon9485 Год назад
This is a very good and helpful video. My stepper motor is just jittery and not rotating how can i solve this problem # i am using a 9v battery.
@bilbobaggins138
@bilbobaggins138 2 года назад
This is the best tutorial i could find. Very helpful, thanks!
@roghibashfahani15
@roghibashfahani15 2 года назад
Hello, how to make stepper move forward and back with timer. I mean i wanna move the stepper for 10 second and back after that. Thanks
@CraftTech-v4c
@CraftTech-v4c 2 года назад
Hi . How many tourqe the step motor can produce? I want it fir a spindle sander project . It sould lift . 775 motor horizontal .thanks.
@robojax
@robojax 2 года назад
Hi. You gotta get that information from the. Motor datasheet.
@andrewrowe7301
@andrewrowe7301 2 года назад
I am trying to use Arduino uno with rf24 and l298n to wirelessly control 2 12volt dc motors, 2 stepper motors, a servo, and a led. i want to use my laptop keyboard to control it. I am new to programming and any help would be great. I already have it built and wired i just need help with the code as the one i wrote does not work.
@robojax
@robojax 2 года назад
Hello, this video is on Stepper and there is no wireless. I have tones of DC motor videos. Here is one video to control 2 DC motors over Wifi ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-9lxdIAvV0l0.html and if you are new to ESP8266, then watch this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-pLvqh57T3s4.html
@apoloszombre9285
@apoloszombre9285 Год назад
Hello Sir how are you? excuse me I would like to ask you for help for my Arduino code, in reality I designed the code and it does not work, it is a semi automatic cleaning, the cleaning will be done from a push button and automatically and the automatic cleaning will be done every month from 6am
@robojax
@robojax Год назад
You need to sue a RTC or real time clock module to have alaram. Check my channel for ds3231 or search for RTC
@ermannoguerini5639
@ermannoguerini5639 3 года назад
No se scucia nada volume mucias gracias.
@semakzl4524
@semakzl4524 2 года назад
what should we do if we stepper motor run specific times( for example 10 times ) in one direction with same speed and same step number until hit the limitswitch and change dir actually ı've done all of part but there is only missing part is '10 times' I've tried for loop but it didnt work.
@robojax
@robojax 2 года назад
that needs full new program.
@alberoejearll.3484
@alberoejearll.3484 6 месяцев назад
Can you help me sir? Arduino: 1.8.19 (Windows 10), Board: "Arduino Uno" sketch_mar14b:4:19: error: 'stepsPerRevolution' was not declared in this scope Stepper myStepper(stepsPerRevolution,8,9,10,11); ^~~~~~~~~~~~~~~~~~ C:\Users\MOON_B~1\AppData\Local\Temp\arduino_modified_sketch_748971\sketch_mar14b.ino:4:19: note: suggested alternative: 'stepperPerRevolution' Stepper myStepper(stepsPerRevolution,8,9,10,11); ^~~~~~~~~~~~~~~~~~ stepperPerRevolution C:\Users\MOON_B~1\AppData\Local\Temp\arduino_modified_sketch_748971\sketch_mar14b.ino: In function 'void setup()': sketch_mar14b:11:1: error: expected ';' before '}' token } ^ exit status 1 'stepsPerRevolution' was not declared in this scope This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
@robojax
@robojax 6 месяцев назад
Hi Just read the error. it says "'stepsPerRevolution' was not found. which means you have deleted some code.
@AustinGarrett-d4k
@AustinGarrett-d4k 2 месяца назад
I’d like to control a stepper with a POT wirelessly. How would I do that?
@robojax
@robojax 2 месяца назад
Yes possible. I will put it on my list.
@tamborileyro
@tamborileyro 6 месяцев назад
RJ. Thank. My question : I have a Siemens step motor 1BC 2826 6AG. Has two ports. Each with (rfed,black,brown tern of wires). None is connected to other one. Hos can I discern how to connect this to L298. Cheers from Italy. Wait for your feedbcak. J. Could you give the brand and model of the stepper you used in the video?
@robojax
@robojax 6 месяцев назад
Hi, the motor I used it simply called NEMA17. For your motor you need to get that datasheet and see how the internal wiring is done. Then it would be simple if you watch this video. Cheers from Canada 🇨🇦
@tamborileyro
@tamborileyro 6 месяцев назад
tHX AHMAD. i am trying stepper 28BYJ-48; the simplest for L298. Using the sepped routine in lib, motor is rotating but at low speed: arger V into mA) and the stepper STOPS with hi pitch . I use ext VCC with damp 220uF cap but still wont y pass the observed rpm of 0.16 rpm ;;1/6 . The speed parameter i use is 10 to 15. Any higher , the stepping it stops. All the leds are lighted when this happens. My statement MAP does 10bit 1023 for the ADC to range 100; but is not even close to 20%. If I put highr value in the maping ceiling, the steeper stalls.. I will tryt getting the nema17. have good time. J@@robojax
@patrickyam6315
@patrickyam6315 2 года назад
You make it so easy to connect L298, stepper motor & Arduino. Excellent job and thank you.
@leadsengineers1394
@leadsengineers1394 4 года назад
YOU ARE THE BEST SIR.................Specially how you cover every espect...............HUGE THANKS>>>>>
@robojax
@robojax 4 года назад
You are most welcome
@Yeet-ef9hi
@Yeet-ef9hi 2 года назад
mine doesn't spin all the way around? exact same settings except I have a 100:1 geared nema 17 stepper motor
@robojax
@robojax 2 года назад
if you have not changed the code, then it is the wiring.
@vaitheeswarank9830
@vaitheeswarank9830 2 года назад
Best explanation 👍
@principecristiano
@principecristiano Год назад
gracias , será útil esta información para el L293D de un solo microcontrolador ,supongo que se programa igual en arduino, un saludo
@jayaprakashnv3953
@jayaprakashnv3953 Год назад
🙏🙏🙏
@joseantoniogomez6364
@joseantoniogomez6364 2 года назад
Hola me podría ayudar, me da error esta linea me falta algo. int step=map(val, 0, 1023, 0, STEPS);
@robojax
@robojax 2 года назад
Hola, el error de Arduino la mayoría de las veces se trata de la línea de arriba. Mira esto. esto parece estar bien. También he actualizado el código en robojax.com
@joseantoniogomez6364
@joseantoniogomez6364 2 года назад
@@robojax Muchas gracias todo correcto. Otra pregunta porque se calienta muchísimo el modulo L298N y también se calienta mucho con el controlador A4988 el motor mena 17.
@DoRoy-ph6kw
@DoRoy-ph6kw Год назад
how to connect on just L298N the clockwise and counter clock wise rotation of stepper motor without arduino
@robojax
@robojax Год назад
Stepper motor needs a controller (micro controller). It won’t work without such device
@muhammadkuronos6144
@muhammadkuronos6144 Год назад
Excuse me sir, I'm using stepper NEMA 17 with l298n driver, but my power supply is 12v, 3 ampere, how do I limit the amps to 2 ampere because my l298n get overheated, will using resistor on the wiring will solve it?
@robojax
@robojax Год назад
I have a video on how to use current sensing ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE--uQKBDTWHPM.html but you gotta wach and learn. once you learn you can use it anywhere. The chip in this video looks different but exact feature.
@muhammadkuronos6144
@muhammadkuronos6144 Год назад
@@robojax thank you sir for the advice
@oscarvalera410
@oscarvalera410 3 года назад
Muy buen trabajo , Very good job
@bigbear333uk1
@bigbear333uk1 11 месяцев назад
Great video but one problem is that my driver heatsink gets really hot to the point that i cant touch it. Do you know why that is?
@robojax
@robojax 11 месяцев назад
it is the matter of HOLD or just stop. I have explained it here in the second video in this series ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-csf_G1pi0ps.html
@NotEvenDeathCanSaveU
@NotEvenDeathCanSaveU 2 года назад
Will a bit bigger DC stepper motors hold its position, if lets say it turns something heavier, (0.5-1 kg to be precise so not really too heavy) will it hold its position where the weight of the object wont push on the rotor essentially turning it? So in other words when I turn the heavier object with this, by a number of steps, and I stop the motor, will the weight of the object turn the rotor changing the angle? Or will I need a motor with some kind of a brake? I am fairly new to this and I need some kind of a motor for a little project of mine, I have concerns the weight of the object would just turn it around when I stop the motor. Thanks if someone would try to explain
@robojax
@robojax 2 года назад
Hello, I have used brake and hold two different features so it holds the motor see it I. This video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-csf_G1pi0ps.html
@williammontenegrochamorro4191
@williammontenegrochamorro4191 3 года назад
Quiero comprar éste CONTROL DE POSSICIÓN Y VELOCIDAD DEL MOTOR paso a paso con L298N y Arduino. Cómo hago?
@robojax
@robojax 3 года назад
Proporcioné el enlace para comprarlos en la descripción del video.
@Tech23-p1y
@Tech23-p1y 5 месяцев назад
New subscriber here. Thanks for this informative video. Just one quick question, I want to use a push button to execute the start and stop of the code you used. How will I do that? Thanks a lot
@robojax
@robojax 5 месяцев назад
Ғpluses the links in description or search my channel. Thanks for subscribing
@Tech23-p1y
@Tech23-p1y 5 месяцев назад
@@robojax Thank you very much.. will check that
@LofiLull-it5mn
@LofiLull-it5mn 4 месяца назад
amazing tricks
@adamwishney3945
@adamwishney3945 4 года назад
Great video. Thank you! When I use the L298N with my SY42STH47-1684MA stepper motor running at 12V, the L298N gets really hot. Do you know why this may be?
@robojax
@robojax 4 года назад
You are welcome. When you connect 12V to the module, it passes the 12V to the motor. Perhaps your motor is not rated at 12V or it is over loaded. if there is no load and still getting hot, it could also be that the signal is going to the motor to hold it in a position but the motor should tolerate that. So check the voltage of motor unless the wiring is incorrect.
@slathian1223
@slathian1223 4 года назад
The L298N is not really made to run steppers you would be better off spending a bit more on a TB6600 or an A4988. If you do still want to use the L298N you need to have a fan blow on it.
@paup8778
@paup8778 3 года назад
muy bueno, gracias
@robojax
@robojax 3 года назад
***** Free Arduino Course worth $200**** Arduino Step by Step Course (over 150 lectures) Starts here robojax.com/L/?id=338
@eonoire
@eonoire 3 года назад
Can I run this with 9 Volts or does it need specifically 12
@robojax
@robojax 3 года назад
please watch it fully. there is nothing excess. if you have the module, then you should learn everything about it.
@zulnazhulx2019
@zulnazhulx2019 3 года назад
Hi i want to ask how do i want to move the stepper motor if the usb cable on the arduino is unplugged?
@robojax
@robojax 3 года назад
Hi, why should it be connected to USB? I think you have skipped most stuff on Arduino. Please start Arduino Step by Step Course (over 150 lectures) Starts here robojax.com/L/?id=338
@sanperez313
@sanperez313 2 года назад
Hello, I am wondering why my L298n heat sink is getting very hot, is that normal? I have 12v 7.2AH/20H battery hooked up to a ZK-4KX buck-boost converter that I have set to 12v, 1.8A output.
@robojax
@robojax 2 года назад
Hello, it is the difference between HOLD and STOP which I have explained it in this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-csf_G1pi0ps.html and Hold is consuming lots of power to hold the motor.
@Ronavargas
@Ronavargas 4 года назад
Great video! Thanks for teaching us.
@robojax
@robojax 4 года назад
My pleasure!
@அர்ஜூன்-ற1ங
@அர்ஜூன்-ற1ங 2 года назад
I need details about power supply for various ratings of stepper motors
@robojax
@robojax 2 года назад
you need to know the voltage and current (voltage x currfent= power in Watts) then get a power module or power supply with 20% more power.
@jindarattinnongwang6743
@jindarattinnongwang6743 3 года назад
Control position stepper motor with Microstepdriver give me a hint.
@planker
@planker 3 года назад
ABSOLUTLY the best Video on the L293N. If I had the chore of explaining this, I could only wish to do it as well. Awesome!
@robojax
@robojax 3 года назад
I am glad you found my tutorial useful. Here is $200 Arduino course for free Arduino Step by Step Course (over 100 video lectures) Starts here robojax.com/L/?id=338
@febochestbox5507
@febochestbox5507 3 года назад
What about sample wiring connection for 24Vpower supply to drive two 24V DCmotor, using Arduino Uno along a breadboard. Assuming Arduino Board is powered by 9V Battery, ENA and ENB enable.
@robojax
@robojax 3 года назад
this is the wrong video. if you are you look at to run DC motors, then here is the video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-2JTMqURJTwg.html fully explained and here are all videos where L298N is used ru-vid.comsearch?query=L298N
@ramybrahim3188
@ramybrahim3188 9 месяцев назад
Thankyou Prof From Morocco
@robojax
@robojax 9 месяцев назад
you are welcome akhi.
@severiaquevedo8614
@severiaquevedo8614 Год назад
Por
@jeannesisi9646
@jeannesisi9646 2 года назад
Thanks à lot
@MicrobyteAlan
@MicrobyteAlan 3 года назад
This is exactly where I am in my exploration. Well presented and thorough. I subscribed and liked. Thanks
@robojax
@robojax 3 года назад
Thanks for the sub!
@happycoloring8505
@happycoloring8505 3 года назад
How schema to control induction motor 3 phase with arduino?
@robojax
@robojax 3 года назад
that is totally different project, driver and code. I have no 3 phase in my location but this is indeed interesting project.
@diydantex6150
@diydantex6150 Год назад
Thank you
@jemyj2591
@jemyj2591 Год назад
Love you bro
@bien-airindia7071
@bien-airindia7071 4 года назад
Hello Sir I will be very thankful Please guide us to run this step motor Shinano Kenshi Step motor model-SST43D2140 1.8°/STEP 2.3Ω.
@robojax
@robojax 4 года назад
Hello, I have not seen this motor. Send me the motor with controller and I will make video for that given if time permits.
@elionorrafael8415
@elionorrafael8415 2 года назад
Thx i get it
@90FF1
@90FF1 Год назад
Have a project. Need some answers. Where is the best resource. Of course! Robojax is #1.Thank you. Exactly what I was looking for and clearly explained. Thank you.
@gasparigi
@gasparigi 4 года назад
I am beginner with Arduino. But from data sheet it says Vin 6-12V (or 7-12V). I am confused. Should it be 7-12V Or 5V? Or 5V goes into 5V pin? (11:07 in video)
@robojax
@robojax 4 года назад
I had to watch the video to make sure I've explained it. and indeed I did. Please watch from the beginning where I explained the module at 3:45 and then the wiring section at 10:20.
@bablugaonkar666
@bablugaonkar666 7 месяцев назад
What is the value of potentiometer plz replay
@robojax
@robojax 7 месяцев назад
Any value . I believe I have mentioned it in the video.
@portlyoldman
@portlyoldman Год назад
Just found our channel after much frusta searching and you have loved the clearest explanation of this topic !
@robojax
@robojax Год назад
Thanks and welcome
@shadowfighter7085
@shadowfighter7085 Год назад
Why my l298n driver is getting very hot
@deveshdudhaiya65
@deveshdudhaiya65 2 года назад
Good
@urnamed32
@urnamed32 3 месяца назад
Can I use 1 arduino to control 6 stepper motors?
@robojax
@robojax 3 месяца назад
If you have enough pins yes. Use arduino mega with over 50 pins.
@perinoveriza1658
@perinoveriza1658 4 года назад
Love your channels use multi language...thanks
@robojax
@robojax 4 года назад
So nice of you. you are welcome.
@boffinschist1098
@boffinschist1098 4 года назад
Seems like this code can't be changed to make it work for anything other than a full revolution. Also doesn't work for slow speeds. Attaching any mass at such a high speed means the momentum keeps it spinning and negates the purpose of using a stepper motor. How can I attach a mass to the Nema 17 stepper and make it move precisely 40 steps (1/8th of a revolution)? I think if you had helped the person with the arabic name below then it would have stopped me from wasting time on this code.
@robojax
@robojax 4 года назад
I have provided code to control the speed. it is in the library. I will make more videos on controlling stepper motor with push buttons. For the comments I don't see it yet as I have one page showing all comments from all videos. I will visit the video and read the comment.
@prakashsharma6186
@prakashsharma6186 3 года назад
Sir , thanks for the super vidio. I have subscribed your channel. Kindly let us know how can I master in programming for stepper with Arduino.
@robojax
@robojax 3 года назад
Thank you. there are tones of articles to know how stepper motor works. but for Arduino, if you know how a motor works, then you can write code. watch this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-csf_G1pi0ps.html and search my channel I have so many videos on different motor where you can learn. good luck.
@firasathali9537
@firasathali9537 3 года назад
worst presentation, video is cropped from the ends
@robojax
@robojax 3 года назад
I just watched the video. no part that is needed is cropped. The code has been provided. The part that was not needed, not shown. Thank you though
@steviemackie3401
@steviemackie3401 3 года назад
I can't find the wiring diagram anywhere ?
@robojax
@robojax 3 года назад
This for this who want to learn. Module is fully explained which I mentioned each pin name. Learn that , you don’t need diagram. If you need typhus for school project , then draw it using free software called fritzing
@cofa4011
@cofa4011 5 лет назад
Found this video (again), and got the answer to the question i send you hours ago about this L298N ;) Thank you Ahmad for your videos !
@robojax
@robojax 5 лет назад
You are welcome.
@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
@robojax
@robojax 2 года назад
Please see the second video I have created to eliminate the issue of heat. See the link in description or search my channel. It is about stop and hold.
@phattangpt0939
@phattangpt0939 2 года назад
@@robojax Can I have the link please?😊
@josiecrotty6871
@josiecrotty6871 Год назад
were you able to find a solution to this? i have the same issue
@scottwindham9824
@scottwindham9824 4 года назад
As far as the step and direction is concerned, can I switch a 5VDC signal without the use of an external computer or aurduino? I would like to use a very simple handheld box with a switch (up/down) to move a motor cw and ccw. I have used STAC5 controllers in this way with a fixed velocity. 5VDC to the step input energizes the motor and then adding a 5VDC signal to the dir changes it's direction. Thanks!
@robojax
@robojax 4 года назад
You can’t do it. It has be turned and off 1000s of times by microcontroller
@symontorres3952
@symontorres3952 2 года назад
Is it possible to add relay module so that i can directly plug to 220v instead of using battery
@robojax
@robojax 2 года назад
You need power supply or power adapter that you connect to the wall outlet and they adapter gives you 12V.
@symontorres3952
@symontorres3952 2 года назад
But why the l289 ang the motor becomes hot in a short period of time
@AnshSingh-uq5mt
@AnshSingh-uq5mt 4 года назад
Is there any connection problem
@robojax
@robojax 4 года назад
I assume this is question asking me if I have problem. then NO. if you have got problem, then check it step by step as shown in the video.
@rommelvillegas
@rommelvillegas 2 года назад
How come the drive heats up so hot ? can it catch fire?
@robojax
@robojax 2 года назад
I have another video where you can stop or use hold . holding consume more energy. Search on my channel for "stepper" and you will find it. Here is how to find Specific RU-vid Video in a channel bit.ly/findRU-vidVideo
Далее
How Stepper Motors Work - Electric motor
14:01
Просмотров 1 млн
Big Stepper Motors with Arduino
29:43
Просмотров 1,2 млн
ТАРАКАН
00:38
Просмотров 1,6 млн
DAXSHAT!!! Avaz Oxun sahnada yeg'lab yubordi
10:46
Просмотров 515 тыс.