How To Make Arduino Obstacle avoiding Robot | L298N Motor Driver | 4 Wheel Chassis Kit | Sinhala

Поделиться
HTML-код
  • Опубликовано: 21 июн 2020
  • 🔰Hi Friends,
    ⭕Today, I'm excited to share with you how to build an obstacle avoidance robot. The central component in this project is the Arduino board. This robot features four wheels and utilizes components such as the HC-SR04 sensor, L298N H-bridge motor driver, and SG90 Servo motor for its operation.
    💢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
    💢My facebook page :- / robot-lk-101113971569889
    -
    🔰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...
    ------------------------------
    Track: Playa - Mauro Somm [Audio Library Release]
    Music provided by Audio Library Plus
    Watch: • Playa - Mauro Somm | F...
    Free Download / Stream: alplus.io/playa
    ------------------------------
    #ObstacleAvoidingRobot #sinhala #arduino #robotlk
  • НаукаНаука

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

  • @haokaixuan
    @haokaixuan 3 года назад +23

    thank you so much man!, mine worked so well! :D

  • @frazfahad85
    @frazfahad85 3 года назад +5

    Thank you, sir, my obstacle avoiding robot work. Thank you for giving me the code, circuit diagram and the newping library. Thank you,sir,🙂🙂🙂🙂

    • @coolaccount7990
      @coolaccount7990 2 года назад

      How many hours it tooked for the project?

  • @sluxtpr1
    @sluxtpr1 3 года назад +4

    You are awesome...
    Step by step... very nice..
    No chance to beat u.
    I saw somany videos, but this is very clear explanation.
    Thanks for your hard working efforts.

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

      Thank you so much 🙂

  • @sureshtadibidi476
    @sureshtadibidi476 Год назад +2

    Thanks bro tommorow is my science exhibition tq

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

    Superbe explication du montage et du code.
    Félicitation.

  • @shamsularefin386
    @shamsularefin386 Год назад +3

    I have personally built one following your video and its totally fine.

  • @astro-op1pb
    @astro-op1pb 3 года назад +5

    Thank you youtube....finally something good reccomend...this is perfect....thanks

  • @mechatronica8417
    @mechatronica8417 2 года назад +1

    Thank you dude! goes well and having fun tweeky it.

  • @sterib26010
    @sterib26010 3 года назад +5

    great job! i really love this project! if i want to make a random rotation, wich delay i have to change?

  • @Rananasr-qy3fb
    @Rananasr-qy3fb Год назад +5

    Hello , i'm testing the code, however when i added the readPing function and recalled it again back above, it is showing me that the function is not declared in this scope , what could the problem be ?

    • @RobotLk
      @RobotLk  Год назад +2

      Add the newping library

  • @saintmevis9749
    @saintmevis9749 2 года назад +2

    Thank you for that amazing video

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

    It is warking 👍👍👍thanks for the code😊❤❤

  • @CA-GAming
    @CA-GAming 3 года назад +6

    How much amps do i need out of my 6v battery to make this work? and what is the maximum voltage that I can use?

    • @RobotLk
      @RobotLk  3 года назад +1

      3A is sufficient. Can be used up to 12v

  • @kamelbarred741
    @kamelbarred741 3 года назад +3

    Nice work, thank you very much for sharing. Why not use the speed function offered by the L298 bridge to reduce the speed of the robot? my greetings

    • @RobotLk
      @RobotLk  3 года назад +1

      I used it for a blutooth car

    • @RobotLk
      @RobotLk  3 года назад +2

      Thanks for the advice.👍

    • @kamelbarred741
      @kamelbarred741 3 года назад +1

      @@RobotLk thanks for your reply, when you try with the robot avoiding the obstacles please give me a sign, probably it will not work.

    • @RobotLk
      @RobotLk  3 года назад +2

      What happens is that only the sensor and the servo motor work

    • @kamelbarred741
      @kamelbarred741 3 года назад +1

      yes that's it, moreover if it was a 2-wheeled car for example, there will be only one which will turn, with annoying parasites which will be generated by the Arduino board

  • @abc-ik4mt
    @abc-ik4mt 11 месяцев назад +1

    It doesn't require any code for its operation right??

  • @MVS291
    @MVS291 6 месяцев назад +1

    Thankyou so much for the code

  • @IAMTENTOESDOWN
    @IAMTENTOESDOWN 3 года назад +3

    Can someone please tell me how can I edit the code provided so that I can make the robot turn wider after it stops in front of an object?

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

      12:09 Increase the distance value shown at the location

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

      @@RobotLk alright thank you very much!

  • @laylakerdaoui2384
    @laylakerdaoui2384 3 года назад +3

    I using this robot in my course. We are having trouble getting the motors to react, they don't rotate. The servo reacts correctly when we pass our hand in front of the ultrasonic but the motors do not rotate. We have triple checked the circuit and are fairly confident that is correct. Have measured the battery and we have 8.4 V at full charge.

    • @RobotLk
      @RobotLk  3 года назад +1

      Are the ENA, 5V and ENB of the motor driver connected by a 5V microjumper?

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

      @@RobotLk the ena and the enb not conected ...i connect the en1 1n2 en3 en4 to the arduino
      and connect vin arduino to the +12v

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

      je relier maintnant au 5v aussi mais seullement le roud reight ce travail

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

      merci je trouve le defaut dans l'ampirage

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

      Same condition occurred

  • @ruwanyapa4957
    @ruwanyapa4957 3 года назад +2

    Well done it,s superb

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

    thank you so much. mine worked really well.

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

      You're welcome!

  • @Tipsforhealthandnutrition
    @Tipsforhealthandnutrition 3 года назад +2

    Good job bro... well done. ..

  • @ashwinninjainstruments892
    @ashwinninjainstruments892 2 года назад

    Thank you for the video.
    I have two questions.
    1st one is can we use a 9v battery.
    2nd one is do we need to take 2 9v battery.

    • @RobotLk
      @RobotLk  2 года назад

      9v battery is not successful.Use two 18650 3.7 v batteries

    • @RobotLk
      @RobotLk  2 года назад

      0771489786.mekata whatssapp massage ekak danna prashnayak awoth

  • @mysterysmurf522
    @mysterysmurf522 3 дня назад

    Help mine does not work reverse all four wheel my reverse only is working right side working ihave l298n but when forward all wheels are working

  • @umakanthas1
    @umakanthas1 3 года назад +1

    It has very speed nice

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

    hii im facing a problem the car is not turning towards left except that its functioning ,
    any sugestions plz

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

    Bro i did same as the link you gave and watched the video 8 times and made same project. sensors are working but motors are not working please help me

  • @smartunboxer7310
    @smartunboxer7310 2 года назад +1

    Sir I have use 9v battery instead of 18650 battery

  • @osrsacc9858
    @osrsacc9858 Год назад +1

    Thnx for the assemble video! I have a few problems. The car gets power by connecting it to my pc. Once it is connected, the servo moves once if i manually changed the position beforehand. Then the car starts driving straight and does not stop. The servo and sensor do nothing. Any ideas?

    • @RobotLk
      @RobotLk  Год назад +1

      There may be a problem with the ultrasonic sensor module.Check the wire going to that module again.

  • @croixfrozy1885
    @croixfrozy1885 3 года назад +2

    Hey, in many videos I saw people using a Sensor Shield V5 on the Arduino, but you didn't. Does that mean I don't need it? Thanks for any answer

    • @RobotLk
      @RobotLk  3 года назад +1

      The sensor shield is easy to use, but only the l298n motor drive, servo motor, and ultrasonic sensor are used here.Applying a sensor shield costs a lot of money. I didn't use it because it could be used for something else.

  • @Mr.tepmoai
    @Mr.tepmoai Год назад

    hi
    i make it but robot 🤖 🤖 rotate right and servo motor only check right

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

    Hello i have done everything as per the video but my motors are not moving ?

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

    Adooo ekanan supiriyak e ela ela pattama bro

  • @itsolutionspro
    @itsolutionspro 2 года назад

    වැඩෙ නම් මරු... 💪💪💪💪💪

  • @dilumacademy7674
    @dilumacademy7674 2 года назад

    වැඩෙ නම් මරු... 💪💪💪💪

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

    best aiya arduino walata patta asawak awa me video eken

    • @RobotLk
      @RobotLk  3 года назад +1

      හදල බලන්න,ප්‍රශ්නයක් අවොත් කියන්න,අනිව උදව්කරන්නම්🙏

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

    nice video
    bro it help me thank you

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

      Happy to help

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

    Sir i do all the step but i have little problem he don't move forward everything work so will

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

    Bro are the schematics correct or the video bcz both of them r diff the scheme in vid is diff than in Google drive

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

      It doesn't matter, it works both ways, connect it as per the circuit diagram .It's more convenient.

  • @tannerl3206
    @tannerl3206 2 года назад +1

    Hi! Thank you so much for the code. The car runs well, but when I tried to add a IR receiver or a sound sensor, it kept giving me "readPing was not declare in this scope". I made sure I have a newping libary installed. Do you have a phone number I can each you out? Thank you for the help!

  • @antoniodias2776
    @antoniodias2776 11 месяцев назад +1

    Excelente.

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

    Hello, Can I use the same logic of car to design an robot who detects crack on railway track? If IR sensor senses obstacle then crack is not there and if Sensor does not finds obstacle then crack is there. Will it work, what modifications I need to do in code and circuit as well??

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

      You have to use pixy cam or esp32 camera to make it from open cv. It is very complicated

    • @_ATHARVAPATHAK
      @_ATHARVAPATHAK 9 месяцев назад

      @@RobotLk Thank you for your inputs, Can this be done without using camera ?. Can we use infrared sensor to detect crack on surface of railway track?

  • @rmilo
    @rmilo 2 года назад

    Which version of arduino uno did you use and does it matter which version of arduino uno I use

    • @RobotLk
      @RobotLk  2 года назад

      Arduino uno, mega, nano, Lilypad, nodemcu can be used on any board

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

    Hihihihihihi we love that review , bla bla production

  • @praveenkulendran9325
    @praveenkulendran9325 3 года назад +2

    any method to use this same configuration of obstacle avoidance and also have it be controlled by Bluetooth?

    • @RobotLk
      @RobotLk  3 года назад +1

      I will explain how to build an all in one arduino car in a future video

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

      @@RobotLk if possible also add a depth avoidance sensor input as well using a IR sensor so it doesn't fall off of the edges

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

    Eka ptta bro😍

  • @yakaman102
    @yakaman102 2 года назад

    It's super😎

  • @Firojkhan-ci8io
    @Firojkhan-ci8io 3 года назад +1

    Good example...Sir ...tnx for this video....

    • @RobotLk
      @RobotLk  3 года назад +1

      🙏

    • @Firojkhan-ci8io
      @Firojkhan-ci8io 3 года назад

      Sir thodi problem a rahi hai mujhe .
      Can you help me ?

    • @RobotLk
      @RobotLk  3 года назад +1

      Yes , I can

    • @Firojkhan-ci8io
      @Firojkhan-ci8io 3 года назад

      @@RobotLk sir program upload krne me .
      Newping .h: no such file or directory
      Error show kr raha hai

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

      niwping library not added

  • @redControllerInteractiveTM
    @redControllerInteractiveTM 3 года назад +2

    Pattai bro

  • @smartunboxer7310
    @smartunboxer7310 2 года назад +1

    Sir which rpm gear motor do u use sir and which mah of battery do u use sir

    • @RobotLk
      @RobotLk  2 года назад +1

      Two Li-ion 18650 batteries and four tt gear motors

    • @smartunboxer7310
      @smartunboxer7310 2 года назад +1

      @@RobotLk no sir iam asking how much rpm is ur motor and what is the mah of ur 18650 battery I hope u will give a solution

  • @rmilo
    @rmilo 2 года назад

    In Arduino do you have to Wright everything or does it already have everything to make it work

    • @RobotLk
      @RobotLk  2 года назад

      I do not understand the question

    • @rmilo
      @rmilo 2 года назад

      @@RobotLk when you go to program the car do you have to wright the script

    • @RobotLk
      @RobotLk  2 года назад

      Make it as per the circuit diagram. It is more accurate

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

    Thank you ayye

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

    Bro... My motors are not running for some reason. If i connect the Arduino to laptop than it works. Is it power issue. How much power does it need to work properly??

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

      7-10 Voltage and 1000mAh

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

      @@RobotLk I use 9v 2.3 amp battery. It didn't work though

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

    Eka niyamai.

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

    My Arduino uno in L LED light is no dark why pls reply

  • @ramilan2005
    @ramilan2005 3 года назад +1

    Thank you very much sir.Sir,Can i Power Supply arduino and L293D motor Shild at Same Time?

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

      Yes

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

      @@RobotLk Sir,How sir ?Before powering the l293d motor shild ,i remove any things is motor Shild?(yellow colour part (near the power supply pins)?

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

      I just did not understand

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

      I use the l298n motor drive for this

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

      @@RobotLk sir
      if i connect l293d and arduino then i can normaly power supply both? or do some things in l293 d (Remove Yellow pin on l293d?

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

    Thank you so much

    • @RobotLk
      @RobotLk  Год назад +1

      You are welcome

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

    ardiuno board ekak pichchunama eke ic eka maru karalath vada karanne naththam monawada karanna one.

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

      Arduino bord eka pichchenne,output walata high valtage ekak awothwitharai.ic eka pichchilanam eka witharak nemei thawa dewal pichila athi,power eka wadiyen dunnanam regulatere gihilla athi,hariyata kiyanna mokadda wela thiyenne kiyala,ic marukarata wadakke.ewath pichchenawa

  • @MineQuestLegends1.20
    @MineQuestLegends1.20 Год назад

    Hi you project is good.can I use two 18650 battery and arduino Uno board for this project.

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

      Yes .Two 18650 li ion batteries are required

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

    I have an error that "readPing was not declare in this scope" while compiling sketch. How can I fix it? Please reply

    • @RobotLk
      @RobotLk  3 года назад +1

      Did you add the newping library?

  • @harshinijones5916
    @harshinijones5916 2 года назад

    Sir instead of 7.4v battery can I use 2) 3.4v battery
    Or recommend any other battery 🔋

    • @RobotLk
      @RobotLk  2 года назад

      I also used two 3.7V batteries. Use a 3.7 V batteries

    • @harshinijones5916
      @harshinijones5916 2 года назад

      Thank you sir

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

    I did everything but the car doesn't move when I plug the cord. The lights come on but nothing else happenes. Pls help

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

    nice work brother 😘😘

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

    සුපිරි ❤❤😊😊

  • @BK-iy8uo
    @BK-iy8uo 2 года назад

    will this work for magic bit other than arudino uno

    • @RobotLk
      @RobotLk  2 года назад

      I'll find out

  • @User1111user
    @User1111user 2 года назад +1

    Ayee mage ළඟ කඩෙන් ගෙනාපු remote control car එකක් තියනවා එකේ mother board එක අයින් කරලා ඔය විදියට හැදුවොත් වැඩද?

    • @RobotLk
      @RobotLk  2 года назад +1

      Hadanna puluwan ,harawana eka prashnayak wenna puluwan ,blutooth control karannanam hadanna puluwan ,mobile pone eken yawanna.
      0771489786 whatssapp ,message ekak danna

  • @emadabuhagag222
    @emadabuhagag222 11 месяцев назад

    great job

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

    Can I use a 9V alkaline battery as the power source for this project ?

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

      The 9V battery cannot be used because it does not have enough amperage

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

    sir how to find its transfer function?

  • @slepatv3774
    @slepatv3774 3 года назад +2

    Sir what is the green and orenge lights.its normol

  • @am4041
    @am4041 3 года назад +2

    How does the code stay on the car? My car only moves if I keep it plugged in to the computer after uploading.

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

      This is because the power you provide is not enough.

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

      When connected to a computer, the Arduino board, servo motor, and ultrasonic sensor all operate at 5v from the computer.

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

      Insert two 3.7 V batteries

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

      Ok

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

      @@RobotLk I will try that

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

    How did you connect bith servo motor and the sensor to Arduino 5V ? There is only one 5V pin in arduino.

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

      Connect two jumper wires together

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

      Or connect it to the 5v out of the motor drive

  • @seeeeeen632
    @seeeeeen632 2 года назад

    Duino Obstacle Avoidance Smart Robot Car Kit All In One Kit ekak gannada naththan badu tika wenama gannada PLZ REPLY

    • @RobotLk
      @RobotLk  2 года назад

      Wenama ganneka hodai

    • @seeeeeen632
      @seeeeeen632 2 года назад

      @@RobotLk Thank you

  • @vishwapathak781
    @vishwapathak781 3 года назад +2

    bro we can also use 2 wheels instead of 4 and a caster whee with the same code?

    • @RobotLk
      @RobotLk  3 года назад +2

      Yes you can.

    • @RobotLk
      @RobotLk  3 года назад +2

      The code does not change

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

      @@RobotLk ok thanks for replying bro

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

      @@RobotLk can i get your insta id or something else..so i can ask any query actually i am new to robotics

  • @akashbarge4008
    @akashbarge4008 2 года назад

    ♥️♥️please please replay ❤️❤️
    Bro when I done this project servo motor and ultrasonic sensor were rotating properly.
    But now only wheels are rotating and servo motor is not working
    Also I checked each and every component all components are working separetely.
    Also all connections are ok.
    ❤️❤️Bro please reply what submit This in college♥️♥️

    • @RobotLk
      @RobotLk  2 года назад

      Voltage and amperage are not enough. Use two 18650 LI.Ion rechargeable batteries for this. 9 V batteries and AA batteries do not work properly.

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

    I cannot understand why the car can turn around? What is the principle? The 4 TT Gear Motor wasn't only allowed forward or backward?

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

      When there is no obstacle in front, the car does not move forward

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

    successful but some issues with ultrasonic sensor not detecting sometime

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

      void loop(){
      int distanceRight = 0;
      int distanceLeft = 0;
      delay(50);
      if (distance

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

    Can i use aurdino uno smd place of aurdino uno r3...?

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

      Any type of arduino board used.New update video- ruclips.net/video/0X_S7BlKe-M/видео.htmlsi=DzikP_qaFduYaopR

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

    Hello will 4xaa battery enough?

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

      4 AA batteries are not enough

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

    Hello I made this as it you have said it's just I used a 4 cells battery pack and connected it accordingly to LM298 drive module as shown in circuit diagram. I also connected one 6V battery in Driver module using 5V supply and grnd supply. The car is operating at a very low speed and the sensor is not rotating I am not able to find a solution I have tried it ample of times

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

      The voltage and amperage of 4 AA batteries are insufficient.use two 18650 li ion batteries. 9v battery also cannot be used

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

      @RobotLk ok I will try that out and let you know If I faced the problem again

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

      6v battery should be connected to 12v in and gnd

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

      Not 5v and gnd

  • @buraksandikci122
    @buraksandikci122 3 года назад +1

    It really works thank you , but I have a question how can I contact you ?

    • @RobotLk
      @RobotLk  3 года назад +1

      My facebook page

    • @RobotLk
      @RobotLk  3 года назад +1

      Is RobotLk

  • @zeyu38
    @zeyu38 2 года назад

    Thanks 🙏

  • @DinethIduwara-ec8vm
    @DinethIduwara-ec8vm 7 месяцев назад

    ayye mage car eke sensor eka witharak karakenawa motors tika wada karanne nane
    mage motor tika pichchilath na
    mama wayaruth hariyata connect kala

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

      Battery wala awulak ,9v battery da damme
      0771489786 whatssapp message ekak danna

  • @heshanmithuranga4462
    @heshanmithuranga4462 2 года назад

    Sir can I use a rc toy car chassis to build this.Thank you for the tutorial.

    • @RobotLk
      @RobotLk  2 года назад

      It can be made from a toy car .But I do not know if turning the vehicle is correct

    • @RobotLk
      @RobotLk  2 года назад

      Lankawe ekkenekda, 0771489786 whatsapp

  • @eladiojovero6412
    @eladiojovero6412 2 года назад

    Good job..

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

    Nice PROJECT

  • @vishmithahansamal5472
    @vishmithahansamal5472 2 года назад

    arduino uno r3 board eken meka mevidihata karoth weda karanawada

    • @RobotLk
      @RobotLk  2 года назад

      Wada,ona arduino board ekak puluwan .code ekama ekamai.

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

    Bro i used HY-SRF05 sensor and connected with arduino for checking, it shows 0cm detection or no pulse from sensor. what can i do ?

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

      Check that the terminals of the ultrasonic sensor are properly connected.

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

      A newping library is also required for the ultrasonic sensor to work

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

      @@RobotLk terminal means what bro.. Iam MCA student

    • @RobotLk
      @RobotLk  3 года назад +1

      Connector pin of ultrasonic sensor

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

    Good

  • @harshinijones5916
    @harshinijones5916 2 года назад

    Sir when I'm verifing the code it is showing error in trig_pin. Sir please give some suggestion waiting for your reply

    • @RobotLk
      @RobotLk  2 года назад

      sensor pins
      #define trig_pin A1 //analog input 1
      #define echo_pin A2 //analog input 2
      If so, no problem

    • @harshinijones5916
      @harshinijones5916 2 года назад

      Thank you sir

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

    good job but can we do this with 11 .1 volts baterry

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

      Yes .11.1 V can be applied

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

      @@RobotLk thanks but we connect it in 12v +

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

      L298 Module Features & Specifications:
      Motor Supply Voltage (Maximum): 46V. Motor Supply Current (Maximum): 2A. Logic Voltage: 5V. Driver Voltage: 5-35V.

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

    Hello, I have a problem when the car moving forward the right side DC motor move slow & sometimes not moving I need to move the tyre using hand then it worked but still slow but when reverse it worked. Can you help me? Thanks

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

      Did you edit the code?

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

      @@RobotLk no, i just copy&paste the code. maybe my motor broken?

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

      If it works in reverse, there is no problem with the motor,Check the connection of the motor drive

  • @mohiddinbaig786
    @mohiddinbaig786 2 дня назад

    Even after the installation of NewPing library I'm getting a compilation error. Can someone explain why

    • @RobotLk
      @RobotLk  21 час назад

      Have you uploaded the code to arduino before? What is the error? Maybe ch340 usb driver is missing

  • @RezaHadi_A2
    @RezaHadi_A2 11 месяцев назад

    Hello can i use 3 3.4 V batteries instead of 2?

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

      3* can be used. But the speed will increase a lot

  • @kaveethsathsindu3774
    @kaveethsathsindu3774 Год назад +1

    brother oke wheels kohenda hoya ganne?

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

      where can we get the wheels?

    • @RobotLk
      @RobotLk  Год назад +1

      4wheel chassis kit ekama gaththanam hambenawa.naththama wenama wheel ganna puluwan
      Duino.lk eken oder karanna.daraz eketh thiyenawa .samanaya electronic shop wala thiyenawa

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

    thanks

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

      You're welcome!

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

    Can i run the car with 6V battery or will i need to have 7 to run the motors

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

      6v is possible .9v is good

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

      6v is sometimes possible.

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

      What is the amperage of a 6v battery?

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

    I upload the same code but its not moving ;sometimes the wheel moves but not all but servo motor is working

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

      Voltage is a problem. Use two 18650 li ion batteries

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

    After adding new ping file we will also have to add other files like servo motor and ultrasonic sensor ?????

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

      Only newping needs to be added

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

      @@RobotLk bro and i have Ardino uno so i select in port ardino uno and com 3 na

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

      ok, select the last port

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

      @@RobotLk and coding is same na bro

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

      There is a change in the connection of the motor drive. That shouldn't be a problem

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

    Can i use L293D motor driver shield to this
    Plz reply

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

      You can also use that motor drive. Then the code and circuit diagram will change. In addition to the newping library you will have to use another library.

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

      You can get code,circuit diagram and library related to L293D Drive from this Link......drive.google.com/drive/folders/1CR13RmaBUM0LZ6JkvYnq06Au3obji-NK?usp=sharing

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

      thnx

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

    hey bro tell me if it can solve a wall maze or not🧠🧠