Great project If the 5V regulater is a LDO, then the power supply for the motor HAVE to be 6V or more If the 5V regulater is a 7805, then the power supply for the motor HAVE to be 8V or more Thanks for sharing :-)
@@Educ8s I am working on it, my plan is to make the track (use a line following code) but I will put in the track also some Apriltags and then program different behaviors for the robot , the reason for that is the the camera has to be with an angle of 45 degrees, I wanted to train a network with tensorflow lite but the 45 degree constrain is a limitation for that. I really admire what you do.
Tinkercad doesn’t have the L298N. It only has the h bridge and possibly other components used in the L298N. How do you build a L298N in Tinkercad that will support the code you provided for Arduino?
@@Educ8s hi , i tried to controll my motor with L298N and arduino nano , but my motor was not running . why it happened cause i checked the pins and program was also correct according with pin . but it doesn't work Can you help me please
I'm using a 6v battery holder, and everything works okay, but when I try to make the motor rotate backward, (in1 = low voltage; in2 = high voltage), the motor just doesn't rotate. Any reasons this might not be working? I did everything correctly in the tutorial. (Edit: This only happens on the output1 and 2 on the L298N, not output 3 and 4)
There is a problem when i compiling the coding in arduino... May i know why is that happened as i already followed the steps so may be the error lied on my coding and way to compile it?
Thank you! If I'm understanding this correctly, you are using your batteries to power the motor through the 12v+ pin and then outputting 5v through the 5v+ pin to power the arduino. Is it possible to plug in the arduino through the barrel connector and then use the 5v pin on the arduino to plug into the 12v+ pin on the motor and have the motor powered that way?
First of all, thank you for this video. But I couldn't understand this. You said that if the motor controller has a 5-12V power input, the 5V pin works as output and provides 5V. But then you said that you connect the Vin port of the Arduino with the 5V port of the motor driver and the Arduino is fed with 7.5V. In this case, if I am not mistaken, there is 5V on the Vin pin of the Arduino, and this will negatively affect the operation of the Arduino in the long run? Am I right?
Why are you removing the jumper between the enable pin and 5v? You can just drive the logic inputs with PWM signals. The way you're doing it saves a pin per motor, on the offset of only needing 1 PWM pin per motor.
Hello Sir. I like everything about this video. You doing well. Canyou please give a solution In this regard? I am intrested how to change polarity of one coil with a speed of more than 100 per second. I want to do a replica for magnetic train " Maglev ". Thanks in advance👍
I hope you took away lots from this video. Let me know below! PS. I created a course named "Object Oriented Programming Made Easy. Get it here 👉 bit.ly/3NaMfg4
Short and to the point. Always a good combination. Μπράβο φίλε Νικόλα.
Bro I am from India I can clearly understand that what u r explaining thanks for uploading this video ❤️
Great project
If the 5V regulater is a LDO, then the power supply for the motor HAVE to be 6V or more
If the 5V regulater is a 7805, then the power supply for the motor HAVE to be 8V or more
Thanks for sharing :-)
ah thats why my motor is not turning, i am providing 5v supply and it doesn't work
now i get
The best explanation anyone can find about how to use DC motors+ Arduino and L298N!!!!!
Thanks for the awesome comment! How is your OpenMV robot going ?
@@Educ8s I am working on it, my plan is to make the track (use a line following code) but I will put in the track also some Apriltags and then program different behaviors for the robot , the reason for that is the the camera has to be with an angle of 45 degrees, I wanted to train a network with tensorflow lite but the 45 degree constrain is a limitation for that. I really admire what you do.
Thank You very much now I can complete my project for science fair now
OMG the best tutorial EVER about l298n!!!!
thank youuuuuuuuuuuuuuuuuu!!! we are working at fire-fighting robot project!!!
Yay...My favorite Greek is back with a new vidoe!
nice work bro and i learnt a lot of pretty other stuff and by the way love from INDIA
I've watched dozens of videos these few days. And this one worked for me. Thanks.
I am glad it works!
THAAAAAAAAAAAANK YOU SO MUCH!!!! I finally could use DC mortor with this video!! THANK YOU!
Thankyou sir , keep growing 👐🏼
Tinkercad doesn’t have the L298N. It only has the h bridge and possibly other components used in the L298N. How do you build a L298N in Tinkercad that will support the code you provided for Arduino?
Nice work!! Good to see you back!! :-)
Hey, thanks! It is nice to see you around again! Stay safe!
@@Educ8s
hi , i tried to controll my motor with L298N and arduino nano , but my motor was not running . why it happened cause i checked the pins and program was also correct according with pin . but it doesn't work Can you help me please
danke for your enlighting video, just one question: could i use the your approach on a vnh2sp30 or vnh5019 ???
Great video! Well explained
My one motor is running but other motor is not running please help me it's very important to me
am facing the same problem now. did u figure it out?
Me too
If i use 14 V batterie it can damage my 6 volt dc motors??? But I don’t want use the high speed, the half speed is enough
Why the wheels still can move even the usb cable did connect with laptop? I mean how you make it wireless?
Would this work with 4AAs? I can’t get mine to work.
Extremely helpful! Thank you! the gem of the stop code made my project a succes
I'm using a 6v battery holder, and everything works okay, but when I try to make the motor rotate backward, (in1 = low voltage; in2 = high voltage), the motor just doesn't rotate. Any reasons this might not be working? I did everything correctly in the tutorial. (Edit: This only happens on the output1 and 2 on the L298N, not output 3 and 4)
Super Helpful Video!
There is a problem when i compiling the coding in arduino... May i know why is that happened as i already followed the steps so may be the error lied on my coding and way to compile it?
Thank you! If I'm understanding this correctly, you are using your batteries to power the motor through the 12v+ pin and then outputting 5v through the 5v+ pin to power the arduino. Is it possible to plug in the arduino through the barrel connector and then use the 5v pin on the arduino to plug into the 12v+ pin on the motor and have the motor powered that way?
No you can't.
Sir, I don't know why in mode max step, the motor will turn 4 rounds. Can u explain it? thank you so much
First of all, thank you for this video. But I couldn't understand this. You said that if the motor controller has a 5-12V power input, the 5V pin works as output and provides 5V. But then you said that you connect the Vin port of the Arduino with the 5V port of the motor driver and the Arduino is fed with 7.5V. In this case, if I am not mistaken, there is 5V on the Vin pin of the Arduino, and this will negatively affect the operation of the Arduino in the long run? Am I right?
Why are you removing the jumper between the enable pin and 5v? You can just drive the logic inputs with PWM signals. The way you're doing it saves a pin per motor, on the offset of only needing 1 PWM pin per motor.
Hello Sir.
I like everything about this video. You doing well.
Canyou please give a solution
In this regard?
I am intrested how to change polarity of one coil with a speed of more than 100 per second.
I want to do a replica for magnetic train " Maglev ".
Thanks in advance👍
I am using 4 motors with l289n but i am not able to set pwm below 128
Can you do this with 4 wheels?
VIN pin requires 6-20V but you are powering it with 5V only. Will this cause any side effects?
I am entering 7.5 V
L293D engine hood problem. Output voltage in m4. 7 volts, and the rest of the outputs are 2 volts
thank you video very good I like
I will use code it and I develop it so as to make robot following program
thanks a lot, i was looking for this!
This is good Detailed Info.So How can I control 4 Dc motors With This Process?
The parts linked aren't working?
Looking forward to control hi amp dc motors such as 10 amps or more
Then what should I put in void loop
The thing that you want to repeat for ever.
Love u bro❤❤❤❤❤
can have a fall script please after add second montor ?
this is so informative ,thanks alot
Extremely helpful! Thank you!
I hope you took away lots from this video. Let me know below!
PS. I created a course named "Object Oriented Programming Made Easy. Get it here 👉 bit.ly/3NaMfg4
How do I connect a switch to it ?
Πολυ καλώς. Συνεχισε έτσι
Great tutorial; for next one put encoders on the wheels.
Noted!
Good job!
what about a setup with 4 motors?
Use two modules
I have three motors how to connect
You are perfect!
Very good
i tried to copy your code but it came out error
Keep it up🎉
excellent...
Sir what can we do using c language? Is it use to make for calculation or any other work? sir pls give your email address for any other information.
i dont have much idea but if you are intrested in robotics you can learn c++ its more easier to code in it
Can i do this with a relay?
Motor will rotate once and then stop for 2seconds right not motor will rotate for 2 seconds 😅
Thank you maaan
thank you
Can i get the coding?
Check the video description.