How to test L298N motor driver board - Tutorial
Ғылым және технология
How to test L298N motor driver board - Tutorial
Dual motors, clockwise and anticlockwise, PWM motor speed control... Robotic cars with Arduino
#l298n #arduino #motor
Projects using L298N board - • Easy WiFi Car | Mesh N...
Website - robocircuits.com
Visit Our Other Social Media Pages °°°°°
Facebook - robocircuits
Instagram - / robocircuits
Twitter - / robocircuits
l298n motor driver, motor driver, motor driver module, l298n motor driver arduino, arduino l298n motor control, l298n, arduino l298n, Arduino l298n stepper motor, dc motor driver circuit, dc motor driver ic, arduino, dc motor, motor controller, Arduino tutorial, l298n dual h-bridge motor controller, l298n dual h bridge, arduino uno, h bridge circuit module, Raspberry pi, dc motor with arduino, dc motor driver, stepper motor driver, l293d
Пікірлер: 278
Thanks! You explained it clearly and I was able to verify the L298N motor by following this video.
@RoboCircuits
5 жыл бұрын
Thanks 🥰 don't forget to subscribe
The best explanation for this board. Thanks a lot!!
@RoboCircuits
4 жыл бұрын
Thank you
Fabulous bro keep it up,it helped me too much
Idk who this guy is, but this HAS TO BE the simplest easiest to understand explanation of any of these boards on all of KZread. I have no choice but to subscribe just on the merit of this single video. I'm gonna check this channel out.
@RoboCircuits
4 жыл бұрын
Thank you
Simple but very effective explanation. Good job and thank you bro.
@RoboCircuits
3 жыл бұрын
Thanks
that's what i was looking for.... we support you.... thankx
@RoboCircuits
3 жыл бұрын
Thank you for your support
Bruh thanks a lot. U show what im looking for
@RoboCircuits
6 жыл бұрын
Dagobert Duck its our work no need to thank
Thanks for your turtoil ❤
Simple n clear...thanks dude
@RoboCircuits
10 ай бұрын
thank you for appreciating
Thank you so much my friend. Thanks to you i dont burned my driver. 🥰☺️👍🏻👌🏻👏🏻
@RoboCircuits
3 жыл бұрын
No problem
i love robotics project
Simple & pragmatic tutorial, most excellent.👍👌🤖
@RoboCircuits
2 жыл бұрын
Thank you 😊
Very useful test and well explained. Thank you. 👍
@RoboCircuits
2 жыл бұрын
Welcome
Thanks bro i want these only thanks once again
@RoboCircuits
5 жыл бұрын
Great... And thanks
Sir you did very well, thanks
@RoboCircuits
3 жыл бұрын
So nice of you
Very good bro, thankq
thank you from Morocco
@RoboCircuits
7 ай бұрын
Welcome
Thanks a lot!!
Very informative I was looking for something exactly like this I wanted to know how to use this motor driver Best explanation Thankyou so much ❤❤
@RoboCircuits
3 ай бұрын
You are welcome
❤ very nice explanation
@RoboCircuits
2 ай бұрын
Thanks a lot 😊
Thank you so much
Thank u for this!!! Blessings from heaven and I hope u can keep doing this for God's glory and help of others❤
@RoboCircuits
Ай бұрын
Thank you
Thank you very much.
@RoboCircuits
2 ай бұрын
You are welcome!
very clear thank you very much
@RoboCircuits
10 ай бұрын
welcome
Helpful content
Nice info, thanks :)
@RoboCircuits
10 ай бұрын
welcome
Thank u bro u helped meee
@RoboCircuits
3 жыл бұрын
Welcome
i came across your video and i will say it was wonderful. Please dont mind my wordings, i will like to ask that in a situation where the ENA pin is to be connected to the arduino, how do you disable the default high state that comes with it?
melhor explicação que eu tive foi a sua.
@RoboCircuits
Жыл бұрын
Thank you so much
thanks
Thank you soooooooooooooooo much ❤️
@RoboCircuits
Жыл бұрын
Welcome
Thank you ❤️ What are those ENA (enable A) and ENB (enable B)?
Simple and effective explanation. 👍
@RoboCircuits
2 жыл бұрын
Thank you so much... Subscribe to watch more
helpful video
@RoboCircuits
6 ай бұрын
Glad you think so!
thanku
thanks bro
@RoboCircuits
2 ай бұрын
Welcome
good explanation
@RoboCircuits
3 жыл бұрын
Thanks and subscribe
the best
@RoboCircuits
2 ай бұрын
Thanks
hi, how do I connect the l298D board which has 4 motor controller and servo controller, I want to connect it to the stm32
Hi sir can i connect that motor driver to Arduino to supply power?
Great video........Check out my ps2 controlled car I used a l298n but the motor over heats fast any advice
Which pen are you using?
I connect the the l298n to a stepper motor nema17 my DC power supply shows no current being drawn when I send a signal to move the stepper one revolution and then stops I notice it's still continuously drawing max amps and it's in CC mode an till I reset the Arduino then it goes back to normal again it's like the pins 8,9,10,11 are causing it to still run some how also after about 30mins the rc522 RFID scanner stops working any ideas what this could be?
Very well explained Just keep the voice high next time
@RoboCircuits
3 жыл бұрын
Thanks for suggestion ❤️
Tq😍
@RoboCircuits
2 жыл бұрын
😊😊😊😊
I did the same, but when i watched the video a second time, i realized that two jumpers on ena and enb, it would be good to mention this in the video, too.
@RoboCircuits
3 жыл бұрын
Oh... I forgot those...
@RoboCircuits
3 жыл бұрын
I will mention in comments and description
Sir how to control the motor speed for same board?
Bro can you help me, can I connect 2 l298n with 1 arduino, where arduino gets input by RC transmitter receiver
@RoboCircuits
4 жыл бұрын
Yes sure.... You can do that... Its quite easy... There is a video on my channel ... Arduino car with fs ia6
Intro sound is very loud....😡.Rest is okay.
Hello friend, on my current schematic, I have two 12V DC motors connected to both sides of the motor controller, but upon doing the test on IN1, IN2, IN3, and IN4 that you are doing, I find that nothing happens when I power In3, and In4. Do you have any idea as to why? \ Thank you
@RoboCircuits
Жыл бұрын
Set en pins to high
nice video bro i think you are using perrie cardin penomatic pen ifnot please mention the name of the pen
@RoboCircuits
5 жыл бұрын
Don't know brother... I used it randomly
@RoboCircuits
5 жыл бұрын
Do subscribe to channel for more videos
Vin is power input to the driver . what is 5V ? is it used for powering the controller like arduino or Raspberry pi??
@RoboCircuits
4 жыл бұрын
Yes... 5v is for controllers
very good video. Explained the working in simple language.
agr motor ky 3 input terminal ho phir osko kaisy connect kry h-bridge motor driver ky st
when i connect the 5v utput to the motor pins, my motor doesn't spin. I checked the voltage diff between the two motor pin connections and the reading is 0. does that mean that for some reason my IN1234 is not connected to the motor pins?
@RoboCircuits
2 жыл бұрын
There are two enable pins en1 and en2 make sure to connect them to 5v
Is there any problem if I connect 5v to power supply....is my board broken now
@RoboCircuits
2 жыл бұрын
No issue
Not working for me tested arduno reciever and driver separately but not working this way
@RoboCircuits
4 жыл бұрын
Send me photos online so that i can check... Mail me at robocircuits@gmail.com
Can we plug 4 DC motors having positive and negative wires separate?
@RoboCircuits
3 жыл бұрын
yes we can
@akshitmehta4139
3 жыл бұрын
@@RoboCircuits thank you as I am using raspberry pi 3b+ and I dnt wanna fry my pi or motor driver.The net says only 2 motors can be attached so u sure it's safe right?
@akshitmehta4139
3 жыл бұрын
@@RoboCircuits thank you so much 👍🏻
@RoboCircuits
3 жыл бұрын
yeah its safe... you will need more current so use a better battery
@akshitmehta4139
3 жыл бұрын
@@RoboCircuits yes I have a 12v battery only for the motor driver.
Can this L298D work with 2 stepper motor 12V?
@RoboCircuits
6 жыл бұрын
It can handle up to 35v input. One stepper motor can b addressed individually.
Can I use 12v battery since my motors are of 1000 rpm 12v
@RoboCircuits
4 жыл бұрын
Yes you can
My L289n moter driver, servo moter. Is working but 4 moters are not working, plzz. Reply
@RoboCircuits
2 жыл бұрын
Message on Instagram with pictures and videos of the issue
Sir ..my motor driver isn't working , it is blinking but motor aren't revolving
@MohsinMohammed-fv9by
2 ай бұрын
Bro same problem what did you do.please tell
Hello sir, what should be the voltage on output pin as my motor is not rotating on both output pin, please tell
@RoboCircuits
4 жыл бұрын
Which battery are you using
when I connect 5V to input pins then it doesn't rotate the motor! What's the problem ? Can you explain it?
@RoboCircuits
4 жыл бұрын
Did you use enable pin
Does motor voltage have to match power source? Let's say I have 9v battery as power source. My motor has to be 9v too?
@RoboCircuits
4 жыл бұрын
Motors have a range of power... Like some of them work for 5v - 12 v So you can get any which can work on 9v
I am not able to use both motors with it...one motor when connected works good...but with two motors it stops working...what should i do?
@RoboCircuits
3 жыл бұрын
Increase battery voltage
@TheNoobVishu
Жыл бұрын
@@RoboCircuits is 9 volt battery is enough for 2 bo motor
Which battery is best for l298n
@RoboCircuits
3 жыл бұрын
Any battery with voltage greater than 5v and current more than 2A Actually it depends on the motor as well
Help! I thought that you “HAVE” to supply voltage to the enable pin for the motor to spin, I’ve read that multiple places, I must be missing something. When I’m experimenting, my motor spins regardless of if I have the enable pin hooked up. Also, why don’t you need a diode? Sometimes you need it sometimes you don’t? I thought you need a diode when controlling a motor or the voltage spike will damage things.
@RoboCircuits
Жыл бұрын
Some drivers have diodes built in … My driver have jumper builtin.
@jeffagnew1629
Жыл бұрын
Ah ok, thank you! I didn’t realize that the jumper was a little plastic piece already in place, I thought when people said jumper they meant you have to jump it with a wire.
@jeffagnew1629
Жыл бұрын
I removed the jumper piece and now it doesn’t spin unless I send voltage to the enable pin. Thanks again
@RoboCircuits
Жыл бұрын
That plastic piece is jumper
Hey , I am making a obstacle avoiding robot , everything is working but 2 bo motor are not working , I have given power using 9v battery but none of the motor are working . Please help .
@RoboCircuits
2 жыл бұрын
Check if you put enable jumper or not
What is the max current it can handle I want to connect 8 12v DC motor in parallel to one output can I do it without burning the module please tell
@RoboCircuits
6 жыл бұрын
Check the data sheet of ic l298n
@RoboCircuits
6 жыл бұрын
It can handle 2A current from each channel and can handle 45v in input 4.5 to 7 voltage as logic So 8 motors on a single channel is somewhat hard but a power supply of 18v may handle them safely
Can we give 3.3V at digital input
@RoboCircuits
3 жыл бұрын
yes
The led of l298n driver is on. But the motor is not rotating. . Whts the problem? Plz give me an answer
@RoboCircuits
2 жыл бұрын
There are two enable pins on the board. En1 and en2 you have to connect them to 5v using jumpers... They are placed on both sides of the input pins
@vminisl8983
2 жыл бұрын
@@RoboCircuits 😍thanku very much
@RoboCircuits
2 жыл бұрын
You are welcome
When i connect 5v with input 1 or 2 my motor is not working (output 1 and 2) 😭 please tell power is showing in moto driver
@RoboCircuits
Жыл бұрын
You need to put enable pin to high.
Can I use 775 motor
@RoboCircuits
2 жыл бұрын
You need to check its current requirements
Is output voltage depends upon input voltage?
@RoboCircuits
3 жыл бұрын
No...
@asphaltashu700
3 жыл бұрын
@@RoboCircuits I mean the voltage that motor gets increased with increase in Vin ?
@asphaltashu700
3 жыл бұрын
Yes
how do i connect just rc 6 or 8 channel receiver to this dual motor controller without arduino would this work. would like to control 4 n20 gear-motors from rc . the n20 motors run from 3v to 12v i think. i am using 7.2 battery . i have two of these controllers and would like to control 4 gear motors and add some led lights converting front loader toy to rc. thanks
@RoboCircuits
6 жыл бұрын
Okay These works on digital 0 and 1. Means only work if you put a 5 v on any of its pins. But the reviever works on pwm so this will basically donot work. And using a 7.2v battery is ok.
@carlpeters8152
6 жыл бұрын
conversion of a bruder toy front loader ground vehical. i am confused about forward reverse as each channel has one signal wire . would i place positive wire to m1 counter clockwise and signal to clockwise pin for each channel. thanks again Carl Peters do you have experience with the arduino quad motor driver
How can I use two l298ns?
@RoboCircuits
2 жыл бұрын
In similar way you can use as many as you want. Hook them up to Arduino digital pins and have fun
does this conclude that : 1) my motor driver is working fine and 2) there is some problem with my arduino ?
@RoboCircuits
5 жыл бұрын
Yes may be
@Hardik-by2xr
5 жыл бұрын
@@RoboCircuits ok and one more ques . can i use this code on l293 and vice-versa?
@RoboCircuits
5 жыл бұрын
Yes
hey man, do you think you could tell me why my red led is not on even though i know i have power to my l298n?
@RoboCircuits
5 жыл бұрын
May be the jumper is not connected which is beside the power pins. That jumper is the power on jumper ... Check that
@noahjuliano1847
5 жыл бұрын
RoboCircuits I blew out the actual l298n chip, it actually blew a whole in it, I am not sure why it did that, it ran the motor for a second and then started to smoke and broke, I am not sure why this happened because I was running less then an amp through the board and I it’s only 24vdc
@RoboCircuits
5 жыл бұрын
This must not happen... Because it can handle 35v current May be there is problem in board
Why 12 v applied What is out put voltage which is connected to motor
@RoboCircuits
3 жыл бұрын
what ever voltage you apply in Vin that will reach to motor
How much volt power supply we need
@RoboCircuits
4 жыл бұрын
5-35v
how much voltage did you use?
@RoboCircuits
6 жыл бұрын
narawishfighter 7654 i used 5volts
@iluvpwny7565
6 жыл бұрын
thanks alot , i choose this motor driver for my first project(obstacle avoiding robot)
@RoboCircuits
6 жыл бұрын
narawishfighter 7654 thats quite nice best of luck
Motor rating..? Which motor we can use..5v or 12v motor?
@RoboCircuits
2 жыл бұрын
Both
Hey I want to ask a question and I wish someone answers when I connect batteries to motor it works but when I connect it to the l289n driver it doesn't work does that mean that it is the problem the l289n
@RoboCircuits
3 жыл бұрын
Did you use the enable jumper?????? That is important There are enable pins on both sides of input pins Make sure to connect them to high or use jumpers
@aboodyomg3047
3 жыл бұрын
Ok
@aboodyomg3047
3 жыл бұрын
Hey when I removed the jumper on the l289n it didn't work
@aboodyomg3047
3 жыл бұрын
Let me chat with you on messenger tell me your name
@RoboCircuits
3 жыл бұрын
Message me on instagram @robocircuits
hello i am setting up speed of 60 for both motors but one motor is speedy and other motor is slow ?? what is the reason behind this??
@RoboCircuits
5 жыл бұрын
May be both motors are different... Try swapping motors
@jaykadu8745
5 жыл бұрын
@@RoboCircuits both are the same motors i checked it by connecting directly to dc battery
@RoboCircuits
5 жыл бұрын
Try changing motor sides and then figure out weather its motor driver problem or any other problem
Sir please tell me supply ki pin aage piche aati ha kya????
@RoboCircuits
3 жыл бұрын
3 pins hoti h isme... V Ground and 5V
@RoboCircuits
3 жыл бұрын
From the left First pin is V Middle is ground Third is 5v
@oyetechnical
3 жыл бұрын
@@RoboCircuits but sir mene motor driver l298n purchase kiya usme first 5v or middle ground and third is 12v diya ha sahi h ???
@RoboCircuits
3 жыл бұрын
To aap battery to 12v m lgao
@RoboCircuits
3 жыл бұрын
Or Arduino ko 5v m
why did you leave to terminals Enable Motor 1 and Enable Motor 2 ? those are already short circuit.
@RoboCircuits
Жыл бұрын
Yes we have to set en to 5v
I need some help the driver board light turns on but the motor don't get power from the board and it does not power the arduino
@RoboCircuits
5 жыл бұрын
Use power source to 12v input of motor driver board. Then from motor driver use 5v to power Arduino.
@RoboCircuits
5 жыл бұрын
chat.whatsapp.com/Hf4kPxOEhU592VvwvrvV3N Follow this link to talk with me on what's app
L298 programming karna padta hai ki inbuilt aata hai sir
@RoboCircuits
5 жыл бұрын
Inbuilt
Just wondering why didn't you connect En A or En B? Is it unnecessary?
@RoboCircuits
6 жыл бұрын
Shell Lin They are already connected to 5v using jumpers In an l298n module jumpers came pre installed
@shalinimondal779
5 жыл бұрын
Thankuu soooooooo muchhh maannnnn..... Love love loveeeee
Ir sensor ke sath contact kese kare.
@RoboCircuits
Жыл бұрын
For that you need to check articles on line follower robot
what about speed control?
@RoboCircuits
Жыл бұрын
Use pwm for that
How much voltage the motor get from the motor driver
@RoboCircuits
3 жыл бұрын
The voltage you apply by battery ... On v in pin
@asphaltashu700
3 жыл бұрын
@@RoboCircuits thank you, I have my right information.
What voltage motor did you use
@RoboCircuits
5 жыл бұрын
5v
@isaramdath592
5 жыл бұрын
@@RoboCircuits can I run a 3volt motor with a similar setup
@isaramdath592
5 жыл бұрын
And what voltage power source should I use
@isaramdath592
5 жыл бұрын
And what battery type should I use
@RoboCircuits
5 жыл бұрын
You can use a battery between 5v to 35v on lm298n. But for your motor you should use 5v - 10v battery. Because the ic creates a drop of 2v hence by apping 5v your motor will receive 3v
your intro made me contract syphilis
@RoboCircuits
4 жыл бұрын
🤪🤪
bro i also did the same but its not working
@RoboCircuits
Жыл бұрын
Make sure en1 and en2 pins are high
my l298n is not working through your method.
@RoboCircuits
3 жыл бұрын
Did you set enable pin to 5v??
@codewithcoder4364
3 жыл бұрын
@@RoboCircuits ok sir, I will again try.
i follow what you did but my motor is not running. how can i fix this?
@CaptainRichi
6 жыл бұрын
Flix Mowry I had a similar problem a while ago and a higher voltage solved the problem. For me it didn't run at 5v at all. I couldn't even measure something with the multimeter. With 7-8 v it worked fine.
@RoboCircuits
6 жыл бұрын
Flix Mowry many times it won't work in low voltage because there is a small voltage drop inside ic. So use voltage more than 5v it will work quite nice.. if not then may be your module is damaged....
@moizuddin9991
5 жыл бұрын
@@RoboCircuits i have used 9 volts battery but not starting motors only built in Led is glowing
@RoboCircuits
5 жыл бұрын
Did you used enable jumpers?
@moizuddin9991
5 жыл бұрын
@@RoboCircuits what do you mean by enable jumper
Super Simple.... I was looking for this. The input coming to IN1 and IN2 is about 3v so the driver is not driving it seems. I am getting 4v at respective motor output but motor doesn't run. Trying to troubleshoot
@RoboCircuits
3 жыл бұрын
Use more than 5v on input.. it won't work if voltage is less
@mohammedabrarahmed3299
3 жыл бұрын
@@RoboCircuits it was working sometime ago.. was working pretty well but not sure about voltage on input pins. Did not measure at that time. I have two motor driver IC modules. 1. MX1508 2. L298N An output coming from decoder IC on the receiver is 3.2v. The MX1508 works fine but L298N doesn't. It was working and not sure what changed. Now will test L298n by giving 5v as you did and lets see if it works.
@mohammedabrarahmed3299
3 жыл бұрын
I tested it.... it works only for one pin on IN4.... Seems it has gone bad. Bought it 2 days ago lol
@RoboCircuits
3 жыл бұрын
Did you set enable pin high???
@mohammedabrarahmed3299
3 жыл бұрын
@@RoboCircuits Yes Brother. Both are high. Suppose if one jumper of EN1 is bad for example.... Now as the En2 was enabled, The motor spins when I connect IN4 to 5v but doesn't spin when I connect IN3 to 5v. So I believe its bad. Not sure what happened
Man!!! I have the same motor in working state and a 9v dc motor. Followed your tutorial, its not happening😶 what should I conclude? Please help me, I have it to be submitted some other way
@carwa
5 жыл бұрын
When I connected the battery to 12v n gnd, board didnt even light up but lit up between 5v and gnd.
@RoboCircuits
5 жыл бұрын
Did you put the power on jumper????
@RoboCircuits
5 жыл бұрын
There are two enable jumpers on both sides of input pins... Did you put them???
@carwa
5 жыл бұрын
No I removed the jumpers😶
@carwa
5 жыл бұрын
So u say I should place back the jumpers and try again?