How to control a DC motor with L298N driver and Arduino Uno

  Рет қаралды 148,510

educ8s.tv

educ8s.tv

Күн бұрын

Пікірлер: 83
@georgekot6377
@georgekot6377 4 жыл бұрын
Short and to the point. Always a good combination. Μπράβο φίλε Νικόλα.
@prov_s195
@prov_s195 3 жыл бұрын
OMG the best tutorial EVER about l298n!!!!
@piconano
@piconano 4 жыл бұрын
Yay...My favorite Greek is back with a new vidoe!
@amdameerbasha854
@amdameerbasha854 3 жыл бұрын
Bro I am from India I can clearly understand that what u r explaining thanks for uploading this video ❤️
@avejst
@avejst 4 жыл бұрын
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 :-)
@rumi-boss
@rumi-boss 4 ай бұрын
ah thats why my motor is not turning, i am providing 5v supply and it doesn't work now i get
@rlb5261
@rlb5261 4 жыл бұрын
The best explanation anyone can find about how to use DC motors+ Arduino and L298N!!!!!
@Educ8s
@Educ8s 4 жыл бұрын
Thanks for the awesome comment! How is your OpenMV robot going ?
@rlb5261
@rlb5261 4 жыл бұрын
@@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.
@hirdayjeet
@hirdayjeet 3 жыл бұрын
Thankyou sir , keep growing 👐🏼
@RustysAdventures
@RustysAdventures 2 жыл бұрын
I've watched dozens of videos these few days. And this one worked for me. Thanks.
@Educ8s
@Educ8s 2 жыл бұрын
I am glad it works!
@초초코의오아시스
@초초코의오아시스 3 жыл бұрын
THAAAAAAAAAAAANK YOU SO MUCH!!!! I finally could use DC mortor with this video!! THANK YOU!
@Jonker95
@Jonker95 2 жыл бұрын
Extremely helpful! Thank you! the gem of the stop code made my project a succes
@kingnexa7257
@kingnexa7257 10 ай бұрын
Great video! Well explained
@aadhithyabelkishridhara5075
@aadhithyabelkishridhara5075 3 жыл бұрын
nice work bro and i learnt a lot of pretty other stuff and by the way love from INDIA
@DogRox
@DogRox 4 жыл бұрын
Nice work!! Good to see you back!! :-)
@Educ8s
@Educ8s 4 жыл бұрын
Hey, thanks! It is nice to see you around again! Stay safe!
@pravinchavhan8890
@pravinchavhan8890 3 жыл бұрын
@@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
@samfeigenbaum5207
@samfeigenbaum5207 2 жыл бұрын
Extremely helpful! Thank you!
@SlimeyDev
@SlimeyDev 2 жыл бұрын
thanks a lot, i was looking for this!
@gulrukhakhm
@gulrukhakhm 2 ай бұрын
thank youuuuuuuuuuuuuuuuuu!!! we are working at fire-fighting robot project!!!
@sujathaveeranala7208
@sujathaveeranala7208 Жыл бұрын
Thank You very much now I can complete my project for science fair now
@Shivansh_Godiyal
@Shivansh_Godiyal 3 ай бұрын
Super Helpful Video!
@juliuscaesar5001
@juliuscaesar5001 Жыл бұрын
this is so informative ,thanks alot
@stanimatorblue
@stanimatorblue Жыл бұрын
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?
@DanielComedy01
@DanielComedy01 21 күн бұрын
Quick question. The link for the motors say that the motors can handle from 3-6V, but you said yours can handle 3-12V. Are all motors like those capable of handling 12 V as well?
@minecraftpro-yj5yf
@minecraftpro-yj5yf 7 ай бұрын
Love u bro❤❤❤❤❤
@rizqisyahmuldani6827
@rizqisyahmuldani6827 10 сағат бұрын
Please make this tutorial with add lcd and potensio for change the speed
@xcinemeztutorial8961
@xcinemeztutorial8961 3 жыл бұрын
My one motor is running but other motor is not running please help me it's very important to me
@pratheesha8168
@pratheesha8168 Жыл бұрын
am facing the same problem now. did u figure it out?
@combogaming8302
@combogaming8302 10 ай бұрын
Me too
@benorhancan
@benorhancan Жыл бұрын
You are perfect!
@unglaubichuberlieber8048
@unglaubichuberlieber8048 2 жыл бұрын
danke for your enlighting video, just one question: could i use the your approach on a vnh2sp30 or vnh5019 ???
@furkanbugraduzler5067
@furkanbugraduzler5067 2 жыл бұрын
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?
@electronic7979
@electronic7979 4 жыл бұрын
Very good
@ytsai5076
@ytsai5076 9 ай бұрын
Good job!
@undeniableparadox7458
@undeniableparadox7458 Жыл бұрын
Would this work with 4AAs? I can’t get mine to work.
@coder-c6961
@coder-c6961 Жыл бұрын
Can you do this with 4 wheels?
@kamenopixel
@kamenopixel 4 жыл бұрын
Πολυ καλώς. Συνεχισε έτσι
@flumzeeRBLX
@flumzeeRBLX Жыл бұрын
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)
@nabilandadamslaboratory3422
@nabilandadamslaboratory3422 4 жыл бұрын
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.
@FromFame
@FromFame 3 жыл бұрын
The parts linked aren't working?
@thaopham2510
@thaopham2510 2 жыл бұрын
Sir, I don't know why in mode max step, the motor will turn 4 rounds. Can u explain it? thank you so much
@peterm.4026
@peterm.4026 4 жыл бұрын
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?
@Educ8s
@Educ8s 4 жыл бұрын
No you can't.
@Racing46-p8s
@Racing46-p8s 11 ай бұрын
excellent...
@nguyenthikimdung8016
@nguyenthikimdung8016 3 жыл бұрын
thank you video very good I like I will use code it and I develop it so as to make robot following program
@nurulwahida3172
@nurulwahida3172 Жыл бұрын
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?
@noorsyafiqkahbintirosli8001
@noorsyafiqkahbintirosli8001 Жыл бұрын
Why the wheels still can move even the usb cable did connect with laptop? I mean how you make it wireless?
@ramkrishna4431
@ramkrishna4431 7 ай бұрын
I am using 4 motors with l289n but i am not able to set pwm below 128
@MIHAI0410
@MIHAI0410 3 жыл бұрын
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👍
@HENROCable
@HENROCable 2 жыл бұрын
This is good Detailed Info.So How can I control 4 Dc motors With This Process?
@MikevomMars
@MikevomMars 4 жыл бұрын
VIN pin requires 6-20V but you are powering it with 5V only. Will this cause any side effects?
@Educ8s
@Educ8s 4 жыл бұрын
I am entering 7.5 V
@anurag-mn2pe
@anurag-mn2pe Жыл бұрын
Keep it up🎉
@emadabuhagag222
@emadabuhagag222 Жыл бұрын
thank you
@opreese
@opreese 4 жыл бұрын
Looking forward to control hi amp dc motors such as 10 amps or more
@nmooshka_301
@nmooshka_301 2 жыл бұрын
How do I connect a switch to it ?
@abolfazlamini98
@abolfazlamini98 Жыл бұрын
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
@kasemalrpe4106
@kasemalrpe4106 6 ай бұрын
L293D engine hood problem. Output voltage in m4. 7 volts, and the rest of the outputs are 2 volts
@ShahadSami-pr9oe
@ShahadSami-pr9oe 9 ай бұрын
can have a fall script please after add second montor ?
@hahahahahaha664
@hahahahahaha664 8 ай бұрын
i tried to copy your code but it came out error
@t.k.r1913
@t.k.r1913 2 жыл бұрын
I have three motors how to connect
@sitiafiahsitiafiah8653
@sitiafiahsitiafiah8653 Жыл бұрын
Then what should I put in void loop
@Educ8s
@Educ8s Жыл бұрын
The thing that you want to repeat for ever.
@chibini1531
@chibini1531 4 жыл бұрын
Great tutorial; for next one put encoders on the wheels.
@Educ8s
@Educ8s 4 жыл бұрын
Noted!
@yousocy
@yousocy 3 жыл бұрын
Thank you maaan
@sunsetgomaster
@sunsetgomaster Жыл бұрын
what about a setup with 4 motors?
@Educ8s
@Educ8s Жыл бұрын
Use two modules
@easy_3d
@easy_3d 5 ай бұрын
Motor will rotate once and then stop for 2seconds right not motor will rotate for 2 seconds 😅
@shohagaktaruzzaman2763
@shohagaktaruzzaman2763 4 жыл бұрын
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.
@aadhithyabelkishridhara5075
@aadhithyabelkishridhara5075 3 жыл бұрын
i dont have much idea but if you are intrested in robotics you can learn c++ its more easier to code in it
@Mchorcha_ta
@Mchorcha_ta 2 жыл бұрын
Can i do this with a relay?
@amirjono7517
@amirjono7517 4 жыл бұрын
Can i get the coding?
@Educ8s
@Educ8s 4 жыл бұрын
Check the video description.
@Educ8s
@Educ8s 2 жыл бұрын
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
Arduino Tutorial 37: Understanding How to Control DC Motors in Projects
31:25
Driving DC Motors with Microcontrollers
1:04:32
DroneBot Workshop
Рет қаралды 726 М.
Who is More Stupid? #tiktok #sigmagirl #funny
0:27
CRAZY GREAPA
Рет қаралды 10 МЛН
Jaidarman TOP / Жоғары лига-2023 / Жекпе-жек 1-ТУР / 1-топ
1:30:54
Stepper Motors and Arduino - The Ultimate Guide
29:57
How To Mechatronics
Рет қаралды 1,3 МЛН
How to control DC motor with L298N driver and Arduino
5:48
Circuit Magic
Рет қаралды 443 М.
Make a TINY Arduino Drone with FPV Camera - Will It Fly?
20:26
Max Imagination
Рет қаралды 1,5 МЛН
How To Make A DIY Arduino Obstacle Avoiding Car At Home
6:09
DIY Builder
Рет қаралды 5 МЛН
This Speed Test Will Change How You Buy Ethernet Cables!
8:00
How to control a DC motor with an encoder
9:30
Curio Res
Рет қаралды 469 М.
Control a DC Motor with Arduino (Lesson #16)
14:01
Science Buddies
Рет қаралды 288 М.
Motor Driver in depth | H-Bridge | L293D, L298N, TB6612FNG, VNH2SP30
12:50