Thank you for an excellent video. Not just "How to use..." but "How to test the hardware." Software people (like me) should be reluctant to blame the hardware without proof. (I think I also understand why L298N modules are cheaper by the dozen. :) )
can I change stepper motor speed using L298N THROUGH pulses generated from CNC axis pulses(let say Z AXIS PULSES)?????in another word i am requiring z axis heights to control stepper motor speed proportionally
I am facing a problem while connecting 9v battery to 12v output pin of l289n, for 5v it is supplying the power, but not the 12v can u help me plz send me replay fast
hi, when I look at the schematic for this L298N, i also saw 2 pin 1 and 15 are SenA and SenB which are current sensing A and B, but I could not see any pin named this on the board, can you please explain? thanks
SeaA and senB are to sence and limit the current going to motor through ic but in this module those pins are grounded to make it universal and doesn’t shutdown if high current is drawn by motor. Which is bad but also good for fresher not knowing what just triggered the shutdown function.
I’m facing issue.. l298n only giving me 3.26 output voltage when I connected the gear motor as u used in video and move very slow. How i can fix it out.. I’m using 12v 4.5amp battery
I want to use max speed all the time so I don’t need to use pwn ... the main reason is that when i provide 12v 4.5amp to L298 the give me only 3.26v 0.07amp at output .. I want to get 11v 1amp at output.. how i can do this..
@@sajjadulhaq4136 to get the max speed you just need to give 5V or digital high to input pins. while testing your motor driver is working perfectly just disconnect the motors and test the voltage at the motor terminal in module which should be in betn 11-12v, make sure the thickness of the wire you used is good enough for motor, test the voltage and current of the motor directly through your battery. thats all if your motor while connected to battery is performs well then test the module as shown in this video. thats all i can help. if further problem feel free to comment.
0:05 you show the module without top row for in1, in2,in3,and in4. At 6:10 you insert green wire from top row to bottom row. How do you archive the same thing with the module that has no top row?
I had to deal with this today with the drivers I received. I just hooked up a male-to-female jumper from the 5V out on the blue VCC GND, 5V terminal block.
im trying to run a stepper modal 17hs4401s and trying using L298N only using a a bench power supply .i have kept the three jumpers on. putting 7.4 dc volts on the 12v pin and ground on center, and have out put of 5 volts im using the 5 v to run to pin 2 getting nothing moving . i see you have 4 wires on the 4 pins. the video i have been watching only uses 5v on pin 2. is this my problem. that being said the video that have been watching is just running one motor and its not a stepper HELP
Sorry to say but i didnt quite understand how are you driving the motor. But the power supply part as u said is fine. Being stepper motor it just wont run as dc motor only by giving hi or low to enable pin or signal pin. However to run stepper motor using l298n module is possible. For that you need to connect the 4 corresponding wire to two motor op terminal matching the two internal winding terminals of motor and need to give a sequencial input to drive front and reverse to the signal pins.
If I want to make a convayerbelt with a 12v motor from a windshield whiper from a car, can I do that with just a relay to turn on of motor, or do I need a motordriver?
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.
Just give 24v power to power in and connect signal pins fron motor driver module to arduino no need to worry about powering the arduino with 9 v or other just make sure the ground pin of arduino and motordriver are connected
@@madangyawali9863Thanks, I really appreciate your good solution, just before working on your suggestion. How is that, my power supply is 24V to run two DC motors, Arduino Board recommended input voltage is 7-12V, now that motor driver jumper is disabled because of power supply greater than 12V and 5V input is suggested for your motor driver IC Controller. Please educate me on this issue.
@@febochestbox5507 it will be good if you use 7805 or buck module to stop down the 24v to 5v for arduino and motor driver module. 7805 must be very hot while doing so, so my recomendation would be good if used buck module.
@@madangyawali9863 meaning 5V buck converter will supply 5V for motor driver module and to Arduino, and 24V power supply remain for my 24V DCmotors, disable jumper and the rest simply connect them to Arduino pin such as; enA, enB,in1, in2, in3,in4 but making sure enA and enB are connnected to PWM is that all?
@@madangyawali9863 I thought power supply voltage must match motor voltage. Anyway when do you disable or enable 5v regulator? I still don't understand it. I found information on the internet. It says that if voltage is over 12v it will be used as input. Why is that? Why do you need another input when there is already external input port? This is where i found: qqtrading.com.my/stepper-motor-driver-module-L298N
Paul Sih yes the power supply voltage must match the rated motor voltage. This is necessary for safe and reliable operation but you can sometime escape this when the powersupply you are using has low capacity to do any major damage to the load you are using. And sometime you can use low voltage to high voltage load to perform it slower and more gentle during operation.
Paul Sih you dissable 5v regulator if you are providing 5v power to the motor driver from arduino or any 5v supply source to 5v and ground pin of motor driver. And enable when you have atleast 1.7v greater then 5v or say voltage greater then 6.7v at vin of motor driver module which can enable the 7805 voltage regulator ic of that module.
Perfect, received a batch of 10 drivers and this let me quickly test all of them before putting them away for future projects. All ten work fine.
Brings a whole different (or the original) meaning to thumbnail, also the video was very informative, thanks.
Best video on l298 explanation
keep doing this i think u are nailed it
Very clear explanation.Thank you
Thank you for an excellent video. Not just "How to use..." but "How to test the hardware." Software people (like me) should be reluctant to blame the hardware without proof. (I think I also understand why L298N modules are cheaper by the dozen. :) )
Great bro.. it is helpful for all beginers
Very helpful ....👍👍👍
how to repair that module? The video is still not out after 2 years?
Very well explained 👌👍
Is the repair video available to watch, can u add link to description fo this video.
I love the part where you speed up the video😂😂♥️❤️♥️❤️It is a great help
Great diagram
Question the motor seems to have the same velocity , is this correct?
Can I use it with camera zoom control??
than you
Can we control dc motor speed with gps module? (Dc motor hızını gps modülü ile kontrol edebilir miyiz?)
can I change stepper motor speed using L298N THROUGH pulses generated from CNC axis pulses(let say Z AXIS PULSES)?????in another word i am requiring z axis heights to control stepper motor speed proportionally
I am facing a problem while connecting 9v battery to 12v output pin of l289n, for 5v it is supplying the power, but not the 12v can u help me plz send me replay fast
New subscriber!!
Excellent video! How to fix if broken?
Where did you buy l298 module
Hi everyone.
Can someone tell me or guide me for changing polarity for one coil with L 298 N ?
I want to see how is work 100 times per second.
Thanks
hi, when I look at the schematic for this L298N, i also saw 2 pin 1 and 15 are SenA and SenB which are current sensing A and B, but I could not see any pin named this on the board, can you please explain? thanks
SeaA and senB are to sence and limit the current going to motor through ic but in this module those pins are grounded to make it universal and doesn’t shutdown if high current is drawn by motor. Which is bad but also good for fresher not knowing what just triggered the shutdown function.
I’m facing issue.. l298n only giving me 3.26 output voltage when I connected the gear motor as u used in video and move very slow. How i can fix it out.. I’m using 12v 4.5amp battery
sajjad ul haq you can change the speed by changing the value of PWM.
I want to use max speed all the time so I don’t need to use pwn ... the main reason is that when i provide 12v 4.5amp to L298 the give me only 3.26v 0.07amp at output ..
I want to get 11v 1amp at output.. how i can do this..
@@sajjadulhaq4136 to get the max speed you just need to give 5V or digital high to input pins. while testing your motor driver is working perfectly just disconnect the motors and test the voltage at the motor terminal in module which should be in betn 11-12v, make sure the thickness of the wire you used is good enough for motor, test the voltage and current of the motor directly through your battery. thats all if your motor while connected to battery is performs well then test the module as shown in this video. thats all i can help. if further problem feel free to comment.
Thanks i got it..
0:05 you show the module without top row for in1, in2,in3,and in4. At 6:10 you insert green wire from top row to bottom row. How do you archive the same thing with the module that has no top row?
I had to deal with this today with the drivers I received. I just hooked up a male-to-female jumper from the 5V out on the blue VCC GND, 5V terminal block.
how to control speed?
Can i used 12v 2A power adapter to operate this module...
Yes you can if your load or motor is rated for 12V.
im trying to run a stepper modal 17hs4401s and trying using L298N only using a a bench power supply .i have kept the three jumpers on. putting 7.4 dc volts on the 12v pin and ground on center, and have out put of 5 volts im using the 5 v to run to pin 2 getting nothing moving . i see you have 4 wires on the 4 pins. the video i have been watching only uses 5v on pin 2. is this my problem. that being said the video that have been watching is just running one motor and its not a stepper HELP
Sorry to say but i didnt quite understand how are you driving the motor. But the power supply part as u said is fine. Being stepper motor it just wont run as dc motor only by giving hi or low to enable pin or signal pin. However to run stepper motor using l298n module is possible. For that you need to connect the 4 corresponding wire to two motor op terminal matching the two internal winding terminals of motor and need to give a sequencial input to drive front and reverse to the signal pins.
If I want to make a convayerbelt with a 12v motor from a windshield whiper from a car, can I do that with just a relay to turn on of motor, or do I need a motordriver?
You can do it just using relay only but the relay should be powerful enough to handle the switching current. Then you are good to go
@@madangyawali9863 to make sure its strong.enough, can I connect the.relay to a 12v input relay thats in a car that one has.to be strong enough.
@@superliegebeest544 yes you can
Is it possible to control the speed of the DC motor with this board ? If so please let me know the connection details.
Yes it is possible to control speed. Just give pwm signal to ip pins or enable pins
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.
Just give 24v power to power in and connect signal pins fron motor driver module to arduino no need to worry about powering the arduino with 9 v or other just make sure the ground pin of arduino and motordriver are connected
@@madangyawali9863Thanks, I really appreciate your good solution, just before working on your suggestion. How is that, my power supply is 24V to run two DC motors, Arduino Board recommended input voltage is 7-12V, now that motor driver jumper is disabled because of power supply greater than 12V and 5V input is suggested for your motor driver IC Controller. Please educate me on this issue.
@@febochestbox5507 it will be good if you use 7805 or buck module to stop down the 24v to 5v for arduino and motor driver module. 7805 must be very hot while doing so, so my recomendation would be good if used buck module.
@@madangyawali9863 meaning 5V buck converter will supply 5V for motor driver module and to Arduino, and 24V power supply remain for my 24V DCmotors, disable jumper and the rest simply connect them to Arduino pin such as; enA, enB,in1, in2, in3,in4 but making sure enA and enB are connnected to PWM is that all?
@@febochestbox5507 absolutely. Thats all and dont forget to connect ground pins of arduino and motor driver module n u r good to go
You have not shared L298N driver repair video
I'm going to use 9v battery as power source. Does it work with 6v motor?
Paul Sih yes you can use those 9v battery with 6v motors because those battery lack high current to damage anything.
@@madangyawali9863 I thought power supply voltage must match motor voltage.
Anyway when do you disable or enable 5v regulator? I still don't understand it. I found information on the internet. It says that if voltage is over 12v it will be used as input. Why is that? Why do you need another input when there is already external input port? This is where i found:
qqtrading.com.my/stepper-motor-driver-module-L298N
Paul Sih yes the power supply voltage must match the rated motor voltage. This is necessary for safe and reliable operation but you can sometime escape this when the powersupply you are using has low capacity to do any major damage to the load you are using. And sometime you can use low voltage to high voltage load to perform it slower and more gentle during operation.
Paul Sih you dissable 5v regulator if you are providing 5v power to the motor driver from arduino or any 5v supply source to 5v and ground pin of motor driver. And enable when you have atleast 1.7v greater then 5v or say voltage greater then 6.7v at vin of motor driver module which can enable the 7805 voltage regulator ic of that module.
@@madangyawali9863 hi, is it ok if i am using two batteries 3,7v serial (7,4v total) as an input, but still use the 5v output to supply the arduino?
Will it work if we give 3.7 v in input pins???
Yes it should work above 2.7v
I am not able to control two motors with it....one motor works just fine...but with two motors it stops working...what should i do
Your powersupply must be insufficent for two motors so increase your supply power and good to use capacitors in powersupply for inrush current.
thankyou mujki projecyt udyo hahahahaha
Plz ... send to me ...L298N repair vidio link ....🤕
Jai nepal
Are you nepali ?
Sachit Kumar yes
I knew it
motor ghumena barbad vaigoni yrr