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!
  • НаукаНаука

Комментарии • 29

  • @PrajwithUllal
    @PrajwithUllal 5 лет назад +1

    Nice. Very informative

  • @ywkrock
    @ywkrock 6 лет назад +2

    best video ever

  • @gkassignments7203
    @gkassignments7203 3 года назад

    Really great!!!

  • @PrajwithUllal
    @PrajwithUllal 5 лет назад

    @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?

  • @KennethGomad
    @KennethGomad 6 лет назад +1

    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.

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  6 лет назад +1

      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!

    • @KennethGomad
      @KennethGomad 6 лет назад

      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.

    • @KennethGomad
      @KennethGomad 6 лет назад

      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?

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  6 лет назад +1

      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.

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  6 лет назад

      Thanks, I'll try to make it better next time :D

  • @jmparis83
    @jmparis83 4 года назад +1

    Nice video! very useful. Question: Which software did you use to insert al the descriptions labels around the board in your video?

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  4 года назад +1

      I used after effect, you can search for after effect camera tracking for more details :D

  • @bigchunchy3640
    @bigchunchy3640 4 года назад

    But can i replace the jumper that looks like a staple with a wire

  • @bigchunchy3640
    @bigchunchy3640 4 года назад

    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

  • @PrajwithUllal
    @PrajwithUllal 5 лет назад

    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?

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  5 лет назад +1

      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

    • @PrajwithUllal
      @PrajwithUllal 5 лет назад +1

      @@ChenTheDesignMaker Thank you. Can I know what is it's Max current handling capacity?
      Can I use a 12V, 3A motor with that?

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  5 лет назад +1

      @@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

    • @PrajwithUllal
      @PrajwithUllal 5 лет назад

      @@ChenTheDesignMaker ok. thank you🙂

  • @jemxane
    @jemxane 4 года назад

    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

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  4 года назад

      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

  • @TheCj71984
    @TheCj71984 Год назад

    link to your code does not work +(

  • @TheTaylor237
    @TheTaylor237 5 лет назад

    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?

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  5 лет назад

      Hi Carina, what is the batteries you are using? Might be not enough power.

    • @TheTaylor237
      @TheTaylor237 5 лет назад +1

      @@ChenTheDesignMaker 12v aaa. I found the problem:the motors were not connected properly

    • @ChenTheDesignMaker
      @ChenTheDesignMaker  5 лет назад +1

      Great! Have fun!

    • @PrajwithUllal
      @PrajwithUllal 5 лет назад

      @@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?