How To Make Arduino Obstacle Avoiding Robot | L298N Motor Driver | 4 Wheel Chassis Kit | 2024

Поделиться
HTML-код
  • Опубликовано: 3 июл 2024
  • 🔰Hi Friends,
    ⭕Building your own obstacle-avoiding robot car is an exciting project for beginners and enthusiasts in robotics and electronics. In this comprehensive guide, we'll walk you through the step-by-step process of creating a smart robot car using a 4-wheel chassis kit, an ultrasonic sensor, an SG90 servo motor, an L298N motor driver, and an Arduino Uno. This project is a great way to learn about hardware integration, coding, and automation. Let's get started!
    📌Obstacle Avoiding Robot CKT Diagram, newping library and Arduino code :-
    robotlk.com/how-to-make-ardui...
    ⭕Below are the links to purchase the required accessories
    🔰AliExpress Links,
    1) Arduino Uno - s.click.aliexpress.com/e/_DdM...
    2)L298N motor drive - s.click.aliexpress.com/e/_Dcf...
    3) 4 Wheel Robot Smart Car Chassis Kit - s.click.aliexpress.com/e/_Dlm...
    4) Servo Motor - s.click.aliexpress.com/e/_DFf...
    5) Ultrasonic Sensor - s.click.aliexpress.com/e/_Dmr...
    6) 18650 Li-on Battery (2x) -s.click.aliexpress.com/e/_DCv...
    7) 18650 Battery Holder - s.click.aliexpress.com/e/_DBS...
    8) Male and Female Jumper wire - s.click.aliexpress.com/e/_DCl...
    9) DC Power Switch - s.click.aliexpress.com/e/_Dcw...
    🔰Amozon Links,
    1) Arduino Uno - amzn.to/4baGxp7
    2)L298N motor drive - amzn.to/3Ohl5Vu
    3) 4 Wheel Robot Smart Car Chassis Kit -amzn.to/42ikGbu
    4) Servo Motor - amzn.to/3HBSWoq
    5) Ultrasonic Sensor - amzn.to/3u5YuEL
    6) 18650 Li-on Battery (2x) - amzn.to/3OiC8Xo
    7) 18650 Battery Holder - amzn.to/3vRYZ5X
    8) Male and Female Jumper wire - amzn.to/42fjEwI
    9) DC Power Switch - amzn.to/4ba77Ph
    ⌚Time Codes
    00:00 Intro
    00:48 Required Parts
    02:08 Assembly Of Parts
    04:14 DownloadThe Circuit Diagram And The Code
    05:23 Wiring According To The Circuit Diagram.
    12:10 Upload Code
    14:53 Trouble Shooting
    💢My facebook page :- / robot-lk-101113971569889
    💢My Website - robotlk.com/
    --
    🔰If you find my creations valuable, interesting, and informative, please consider subscribing to my channel, liking and commenting on my videos, and sharing them with your friends.
    🔰Thank You Very Much Guys, Good Luck!
    🔸How To Make Bluetooth RC Car(Two Motor drives) - • How To Make Bluetooth ...
    🔸How To Make Bluetooth RC Car(One Motor drive) - • How To Make Bluetooth ...
    🔸How to make a Gesture Control Car - • How to make a Gesture ...
    🔸Arduino Mecanum Wheels Robot Car - • Arduino Mecanum Wheels...
    🔸Arduino FPV RC Car | FPV System - • Arduino FPV RC Car | F...
    🔸Anycubic Kobra 2 | Unboxing, Assembly and Review - • Anycubic Kobra 2 3D P...
    ------------------------------
    #ObstacleAvoidingRobot #sinhala #arduino #robotlk
  • НаукаНаука

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

  • @slfishworld6043
    @slfishworld6043 10 месяцев назад +1

    සුපිරි බන් 😍😍❤️

  • @Abhinav_Prakash_Patil_001
    @Abhinav_Prakash_Patil_001 9 месяцев назад +1

    Bro
    I liked the Efforts taken for explaining that indirectly helped me Understand the Code

  • @beyondusee8740
    @beyondusee8740 8 месяцев назад

    Hi brother I have done everything as you said but I have used 12v motor, whenever the ultrasonic sensor detects obstacle it stops, and it is not moving, could you say what's the reason?

  • @SomaRoy-pb2ie
    @SomaRoy-pb2ie 7 месяцев назад

    Bro, I have connected the sensor with the 5v of the arduino . Now there is no 5v to connect the servo motor. Where will I connect it? And do we have to make any changes in the code?

  • @malekkh-ww6bj
    @malekkh-ww6bj 3 месяца назад

    Hello plz reply i have timline to complete the project ;
    Obstacle avoidance + Bluetooth control i wrote the code and everything but the problem is the hc-05 module keeps powering off after 5 seconds of pairing and i am using 2*3,7 lion battery why its not working? thanks bro

  • @phineaslausa8929
    @phineaslausa8929 7 месяцев назад

    the code is just makingthe servo motor spin, it is not moving. any thoughts about the code?

  • @Codecode707
    @Codecode707 8 месяцев назад +1

    What a nice toturial bro keep it up , how about pant car watering robot bro? . Using arduino water pump and others its moves when swith on and water plant target has low and dry soil using soil mosture hope you notice me bro

    • @RobotLk
      @RobotLk  8 месяцев назад

      Ok I will try

    • @Codecode707
      @Codecode707 8 месяцев назад

      I know you can bro , ill just wait and feel excited for your next upload bro that meant that🥰

    • @Codecode707
      @Codecode707 6 месяцев назад

      Where is it now bro

  • @sambanay4218
    @sambanay4218 11 дней назад

    why mine gust keeps spinning

  • @nirajanolivlogs7647
    @nirajanolivlogs7647 10 месяцев назад +1

    make remote controlled car using l293d ND NODe 8266

  • @sounderguru3683
    @sounderguru3683 4 месяца назад

    Bro i connect the battery then the holder was heated and l298n motor driver also heated?

    • @RobotLk
      @RobotLk  4 месяца назад

      There may be a problem with the motor drive.

  • @itsfact5541
    @itsfact5541 2 месяца назад

    Dont have 5 volt pin in my arduino I have 3.7 volt for ultra sonic sensor in my arduino uno italian version, it will work?

    • @RobotLk
      @RobotLk  2 месяца назад +1

      Connect the GND of the ultrasonic to the GND of the Arduino board, and connect the VCC pin of the ultrasonic sensor to the 5V out of the L298n motor drive.

    • @itsfact5541
      @itsfact5541 2 месяца назад

      @@RobotLk where should i canaect the encho pin?

  • @itsfact5541
    @itsfact5541 2 месяца назад

    Can i use arduino uno italian version?

  • @queenofmojoo1480
    @queenofmojoo1480 2 месяца назад

    The servo motor output latch is not spinning but sound is coming what to do

    • @RobotLk
      @RobotLk  2 месяца назад

      A problem of power. Are you using a 9v battery?
      Use both 18650 li ion batteries

  • @sandrasnair
    @sandrasnair 2 месяца назад

    Should we use 2 or 3 lithium ion batteries??

    • @RobotLk
      @RobotLk  2 месяца назад

      Use two batteries

  • @urnonexistentlol.
    @urnonexistentlol. 19 дней назад

    bro please my motors are the same as urs however they do not have wires on them what do i do??

    • @RobotLk
      @RobotLk  9 дней назад

      Solder the wires in your motors as I have soldered the wires in the motors I show

    • @urnonexistentlol.
      @urnonexistentlol. 9 дней назад

      @@RobotLk ok thank u so much

  • @Money_Gamess
    @Money_Gamess 7 месяцев назад

    Is it possible to program arduino from a phone?

    • @RobotLk
      @RobotLk  7 месяцев назад +1

      Yes, it is possible

  • @raveeshanirandi1329
    @raveeshanirandi1329 2 месяца назад

    Okata bluetooth modular ekak hai karanna barda

    • @RobotLk
      @RobotLk  2 месяца назад

      Mekata ba.eka wenama hadanna ona. Bluetooth Control car hadana video channel eke thiyenawa

  • @sk___creations1754
    @sk___creations1754 3 месяца назад

    Brother i completed all the connections and i connected the battery without coading, but as i connect it the smoke comes form Arduino 🥺

    • @RobotLk
      @RobotLk  3 месяца назад

      What is the voltage of the connected battery?

  • @trekkingmohan7184
    @trekkingmohan7184 7 месяцев назад

    New ping library is not found... Its not downloading... Can u please help me to complete my project...

    • @RobotLk
      @RobotLk  7 месяцев назад

      There is a link to download the newping library below the code on the website.

    • @RobotLk
      @RobotLk  7 месяцев назад

      This video shows how to add
      ruclips.net/video/0X_S7BlKe-M/видео.htmlsi=phku-r9c-3MJtg66

  • @travel.skorea2527
    @travel.skorea2527 8 месяцев назад +2

    The sensor is working but car is not working the battery is fully charged 3.7V

    • @RobotLk
      @RobotLk  8 месяцев назад

      Does the motor drive have the 2pin mini connecter?

  • @head_hunter7856
    @head_hunter7856 8 месяцев назад +1

    bro my one is not working ne side wheel is going forward and other side is going backward
    i dont know my servo is also not working its only turning one side

    • @SomaRoy-pb2ie
      @SomaRoy-pb2ie 7 месяцев назад

      The side going backward... Interchange that side wires on the l298n motor driver. If out1 has red and out2 black, make out1 black and out2 red.

  • @anirudhyadas4214
    @anirudhyadas4214 19 дней назад

    Our Car Is Working But Sometime It's Not obstacle avoid. What is the solution?

    • @RobotLk
      @RobotLk  13 дней назад

      That's normal, You can increase the distance of the sensor with the code

  • @kuttiproductions
    @kuttiproductions 10 месяцев назад

    6,7,8 වසරේ හොදම යාලුවා මතකද උබට.😁❤️

    • @RobotLk
      @RobotLk  10 месяцев назад

      Na bn, අයේශ් ❤️

    • @RobotLk
      @RobotLk  10 месяцев назад

      RUclips channel ekak karanawada,

    • @kuttiproductions
      @kuttiproductions 10 месяцев назад

      ou bn krnwa, shape ake

  • @enjoyr3046
    @enjoyr3046 4 месяца назад

    Sensor working but car not moving bro what can do bro please

    • @RobotLk
      @RobotLk  3 месяца назад

      What batteries are used?

    • @sambanay4218
      @sambanay4218 11 дней назад

      bro check your motor driver the enA and anB should be connected to each other

  • @Money_Gamess
    @Money_Gamess 7 месяцев назад

    can you send me this code please

    • @RobotLk
      @RobotLk  7 месяцев назад

      robotlk.com/how-to-make-arduino-obstacle-avoiding-robot/

  • @IDP95
    @IDP95 5 месяцев назад

    I cant open link

    • @RobotLk
      @RobotLk  5 месяцев назад

      An update on the website. Download the code and diagram from this link
      drive.google.com/drive/folders/1wozM3SPN-hYxvvB6o3apKNM7Bxq-s0aR

  • @sadhugiri6107
    @sadhugiri6107 5 месяцев назад

    Bro i am usw 2 gear motars

    • @RobotLk
      @RobotLk  5 месяцев назад

      No problem. It can also be made

  • @Money_Gamess
    @Money_Gamess 7 месяцев назад

    I got an error in the code

    • @RobotLk
      @RobotLk  7 месяцев назад

      Add newping library

    • @Money_Gamess
      @Money_Gamess 7 месяцев назад

      can you do it yourself please?

  • @K98B67
    @K98B67 3 месяца назад

    bro motor not moving

    • @RobotLk
      @RobotLk  3 месяца назад

      What batteries are used?

  • @SKGAMING_299
    @SKGAMING_299 8 месяцев назад

    Bro sensor working properly but car not moving please help me bro

    • @RobotLk
      @RobotLk  8 месяцев назад

      Must be a voltage problem.use two 3.7v li ion battery

  • @user-qq8et9rl4c
    @user-qq8et9rl4c 4 месяца назад

    Bro the code is not working

  • @enjoyr3046
    @enjoyr3046 4 месяца назад

    sensor working but car not moving pls reply for this problem😔😔😔😔

    • @RobotLk
      @RobotLk  4 месяца назад

      What batteries are used?

    • @enjoyr3046
      @enjoyr3046 3 месяца назад

      7.4v battery
      @@RobotLk

  • @debabratadas9762
    @debabratadas9762 Месяц назад

    the project is infeasible, the 4 volt hubby motor will take more than 12 volt in output, and you are just giving 9 volt in supply.

    • @RobotLk
      @RobotLk  Месяц назад

      9v battery cannot be used. You can use rechargebale 9v battery. 9v battery amperage is not enough. Many people who have built using 9v battery have commented that it does not work properly.

    • @debabratadas9762
      @debabratadas9762 Месяц назад

      @@RobotLk even if you will use 12 volt li-ion battery, it will still not suffice the voltage requirements. The output rating of 4 motor is more than 12, also you have to give power to servo and sensor. And you are using l298 instead of l293d

  • @sounderguru3683
    @sounderguru3683 4 месяца назад

    The sensor is working but the car not moved

    • @RobotLk
      @RobotLk  4 месяца назад

      9v battery is used?

    • @enjoyr3046
      @enjoyr3046 4 месяца назад

      7.4v battery bro
      @@RobotLk

  • @knightk7222
    @knightk7222 5 месяцев назад

    Hi bro 1stly please respond to my query
    Ive used (L293D. Motor driver)
    Everything is fine I'm using 2 ×3.7 v cells but sensor is working but motor is not working please help i can give you my mail id if you want to respond

    • @RobotLk
      @RobotLk  5 месяцев назад +1

      If l293d motor shield is used, the arduino code must be completely changed. I am using a l298n motor drive. The code I used and the circuit diagram do not match the obstacle avoiding robot made using the l293d motor shield.