L298N Robot! Learn how to drive DC motors with L298N and Arduino (From Banggood)
HTML-код
- Опубликовано: 15 дек 2017
- Today we gonna learn how to drive DC motors with L298N module. It is part of my robot car tutorial so don’t forget to check that out: • Arduino Smart Robot Ca...
If you like this video, please *SUBSCRIBE*
Arduino Codes:
chenthedesignmaker.com/l298n-r...
Links for parts:
L298N Module:
Banggood:www.banggood.com/Wholesale-Du...
Amazon: amzn.to/2j8DWmT
3-6V gear DC motor:
Banggood: www.banggood.com/Plastic-Tire...
Amazon:amzn.to/2CGGcu6
12V DC motor:
Banggood:www.banggood.com/DC-12V-35606...
Amazon:amzn.to/2AZzxhu
Helping hand:
Banggood: www.banggood.com/Multifunctio...
Amazon: amzn.to/2olH6ZK
4AA Battery holder
Banggood:www.banggood.com/4-X-AA-Batte...
Amazon: amzn.to/2CFwesR
Male to female cable:
Banggood:www.banggood.com/3-IN-1-120pc...
Amazon:amzn.to/2AXgBzP
Let me know if you have any kit that need help with!
My Website: chenthedesignmaker.com/
My Portfolio: chenludesign.com
My Instagram: / friedlc
My Dribbble: dribbble.com/chenludesign
My Instructable: www.instructables.com/member/...
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support! Наука
Nice. Very informative
best video ever
Really great!!!
@chenthedesignmaker Hi. If I using 2 motors of 12V what should be the input to the driver? 12V or 24V?? Weather that driver ckt connects 2 motor in series or Parallel?
Nice edits, but I recommend if you using motion tracking make sure to make dots more visible so it will be more trackable for camera to find, but all is good I am waiting for this video since your last tutorial.
Thanks for the advise! Yeah it's my first time doing motion tracking so could you tell me more about the "make dots more visible"?
I'm almost done for all the connections so that should come soon!
By I meant dots more visible is you need to add visible black dots or colorful in the place that you want to have motion track on so the camera solver will concentrate and follow the item that you desire to track on, but is all good it awesome.
also I have question about your last video For Arduino Avoidance Tracking Motor Smart Robot Car Chassis Kit 2WD Ultrasonic how many days before you receive the item?
Usually order from banggood can be delivered as fast as 2 weeks or a bit more than a month. I'd say on average three weeks. I'm still waiting for some of my parts ordered last month...but I guess is holiday season. I'm sure their customer service would take care if the package go missing.
Thanks, I'll try to make it better next time :D
Nice video! very useful. Question: Which software did you use to insert al the descriptions labels around the board in your video?
I used after effect, you can search for after effect camera tracking for more details :D
But can i replace the jumper that looks like a staple with a wire
What is the name of the tiny jumper that looks like a staple i tried to search tiny jumper in bang good there was no results
Hi. If I using 2 motors of 12V what should be the input to the driver? 12V or 24V?? Weather that driver ckt connects 2 motor in series or Parallel?
if you are driving 2 motors, they should be connected to the A and B side, and you'll want to apply 12 V. Hope this helps :D
@@ChenTheDesignMaker Thank you. Can I know what is it's Max current handling capacity?
Can I use a 12V, 3A motor with that?
@@PrajwithUllal I did a quick search and the amp it supports is 2A per channel. I'm not sure what would happen if you use 3A motors
@@ChenTheDesignMaker ok. thank you🙂
got an error with the second set of code that says "Arduino Uno"
sketch_aug13c:29: error: ISO C++ forbids declaration of 'Drive' with no type
i'm new with arduino, please help me, thank you
Try to add "void" before Drive, just like the "void loop". If still doesn't work, just delete the drive and use
analogWrite(enA, 255);
digitalWrite(in1, LOW);
digitalWrite(in2, HIGH);
like in the first code. The drive is only to save lines of code
link to your code does not work +(
Hey, i did the same thing as you but nothing happens. The red light is on but that's all. And i tried to test the motors conected only to battery and they work. Does this mean that my l298n driver is broken?
Hi Carina, what is the batteries you are using? Might be not enough power.
@@ChenTheDesignMaker 12v aaa. I found the problem:the motors were not connected properly
Great! Have fun!
@@ChenTheDesignMaker Hi. If I using 2 motors of 12V what should be the input to the driver? 12V or 24V?? Weather that driver ckt connects 2 motor in series or Parallel?