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

Поділитися
Вставка
  • Опубліковано 26 лис 2024

КОМЕНТАРІ • 930

  • @haokaixuan
    @haokaixuan 3 роки тому +28

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

  • @shamsularefin386
    @shamsularefin386 Рік тому +3

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

  • @sureshtadibidi476
    @sureshtadibidi476 Рік тому +3

    Thanks bro tommorow is my science exhibition tq

  • @astro-op1pb
    @astro-op1pb 4 роки тому +5

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

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

  • @Rananasr-qy3fb
    @Rananasr-qy3fb Рік тому +6

    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

  • @frazfahad85
    @frazfahad85 3 роки тому +7

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

  • @CA-GAming
    @CA-GAming 4 роки тому +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  4 роки тому +1

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

  • @mysterysmurf522
    @mysterysmurf522 6 місяців тому +1

    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

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

  • @abc-ik4mt
    @abc-ik4mt Рік тому +2

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

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

  • @osrsacc9858
    @osrsacc9858 2 роки тому +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  2 роки тому +1

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

  • @IAMTENTOESDOWN
    @IAMTENTOESDOWN 3 роки тому +4

    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!

  • @slepatv3774
    @slepatv3774 3 роки тому +2

    Sir what is the green and orenge lights.its normol

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

  • @dominiquethery3298
    @dominiquethery3298 Рік тому +1

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

  • @_ATHARVAPATHAK
    @_ATHARVAPATHAK Рік тому +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  Рік тому

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

    • @_ATHARVAPATHAK
      @_ATHARVAPATHAK Рік тому

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

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

  • @croixfrozy1885
    @croixfrozy1885 4 роки тому +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  4 роки тому +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.

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

  • @smartunboxer7310
    @smartunboxer7310 3 роки тому +1

    Sir I have use 9v battery instead of 18650 battery

  • @ghanjitsingh1422
    @ghanjitsingh1422 Рік тому

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

  • @Thinugawethum
    @Thinugawethum 11 місяців тому

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

  • @vishwapathak781
    @vishwapathak781 4 роки тому +2

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

    • @RobotLk
      @RobotLk  4 роки тому +2

      Yes you can.

    • @RobotLk
      @RobotLk  4 роки тому +2

      The code does not change

    • @vishwapathak781
      @vishwapathak781 4 роки тому

      @@RobotLk ok thanks for replying bro

    • @vishwapathak781
      @vishwapathak781 4 роки тому

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

  • @am4041
    @am4041 4 роки тому +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  4 роки тому

      This is because the power you provide is not enough.

    • @RobotLk
      @RobotLk  4 роки тому

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

    • @RobotLk
      @RobotLk  4 роки тому

      Insert two 3.7 V batteries

    • @RobotLk
      @RobotLk  4 роки тому

      Ok

    • @am4041
      @am4041 4 роки тому

      @@RobotLk I will try that

  • @sarthak3560
    @sarthak3560 Рік тому

    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  Рік тому +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 Рік тому

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

    • @RobotLk
      @RobotLk  Рік тому +1

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

    • @RobotLk
      @RobotLk  Рік тому +1

      Not 5v and gnd

  • @ramilan2005
    @ramilan2005 4 роки тому +1

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

    • @RobotLk
      @RobotLk  4 роки тому

      Yes

    • @ramilan2005
      @ramilan2005 4 роки тому

      @@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  4 роки тому

      I just did not understand

    • @RobotLk
      @RobotLk  4 роки тому

      I use the l298n motor drive for this

    • @ramilan2005
      @ramilan2005 4 роки тому

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

  • @mechatronica8417
    @mechatronica8417 2 роки тому +1

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

  • @Mr.tepmoai
    @Mr.tepmoai Рік тому

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

  • @thedangerking1919
    @thedangerking1919 Рік тому

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

  • @krishnataank8492
    @krishnataank8492 2 роки тому

    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

  • @ONLYyourmemes
    @ONLYyourmemes 2 місяці тому +1

    Bro my dc motor nortwork ? But sensor work i use 3.7 two battery . Pls help

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

  • @ranuuu2008
    @ranuuu2008 4 роки тому +2

    Well done it,s superb

  • @Tipsforhealthandnutrition
    @Tipsforhealthandnutrition 4 роки тому +2

    Good job bro... well done. ..

  • @saintmevis9749
    @saintmevis9749 2 роки тому +2

    Thank you for that amazing video

  • @rmilo
    @rmilo 3 роки тому

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

    • @RobotLk
      @RobotLk  3 роки тому

      I do not understand the question

    • @rmilo
      @rmilo 3 роки тому

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

    • @RobotLk
      @RobotLk  3 роки тому

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

  • @rmilo
    @rmilo 3 роки тому

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

    • @RobotLk
      @RobotLk  3 роки тому

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

  • @krishnakant9079
    @krishnakant9079 3 роки тому +1

    I have make the connection as it is as per circuit diagram but my car is not working only the light of arduino and motordriver is blinking but nothing is working.. Please help me i have to submitt my project day after tomorrow

    • @RobotLk
      @RobotLk  3 роки тому

      how many voltage is given

    • @krishnakant9079
      @krishnakant9079 3 роки тому

      @@RobotLk9 volts

    • @krishnakant9079
      @krishnakant9079 3 роки тому

      @@RobotLk please reply

    • @RobotLk
      @RobotLk  3 роки тому

      9V battery does not have enough power,18650 Use two or three rechargeable batteries

    • @krishnakant9079
      @krishnakant9079 3 роки тому

      @@RobotLk thanks man i will try

  • @waelmas2491
    @waelmas2491 3 роки тому +1

    I have two Lithium batteries (each is 3.2V and 1A) and I'll use them in series.. Is it okay? If yes can you tell me how to connect them. I also have one 18650 battery but I don't know if I can use different types of batteries. Can you help me please 😊

    • @RobotLk
      @RobotLk  3 роки тому +1

      Should be connected in series.18650 Any type of battery can be used.7.4V can be provided when the battery is connected in series
      .Even three batteries can be connected in series.

    • @waelmas2491
      @waelmas2491 3 роки тому

      @@RobotLk you mean I should connect the three batteries in series even if they're not of the same size abd type?

    • @waelmas2491
      @waelmas2491 3 роки тому

      Would the voltage and amperage be sufficient?

    • @RobotLk
      @RobotLk  3 роки тому

      Any type of li.ion batteries can be used. Two batteries are sufficient.7v 2A is sufficient

  • @Firojkhan-ci8io
    @Firojkhan-ci8io 4 роки тому +1

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

    • @RobotLk
      @RobotLk  4 роки тому +1

      🙏

    • @Firojkhan-ci8io
      @Firojkhan-ci8io 4 роки тому

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

    • @RobotLk
      @RobotLk  4 роки тому +1

      Yes , I can

    • @Firojkhan-ci8io
      @Firojkhan-ci8io 4 роки тому

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

    • @RobotLk
      @RobotLk  4 роки тому

      niwping library not added

  • @Kdzuniverse
    @Kdzuniverse 4 роки тому

    best aiya arduino walata patta asawak awa me video eken

    • @RobotLk
      @RobotLk  4 роки тому +1

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

  • @jacky27911268
    @jacky27911268 4 роки тому +1

    Hi, I need your help. My motors do not work(I only have two motors). and i use two 3.7v li iron batteries just like the video, but it still don't work :( . My motor is not broken , i had test it before , the servo motor and sensor is working well , i can't find the problem with my car, can you help me :(

    • @RobotLk
      @RobotLk  4 роки тому

      What motor drive do you use?

    • @RobotLk
      @RobotLk  4 роки тому

      l298n motor drive is also used

    • @jacky27911268
      @jacky27911268 4 роки тому

      L298N motor drive ,and
      everything used is the same as in the video

    • @RobotLk
      @RobotLk  4 роки тому

      Are the ENA, 5V and ENB, 5v of that motor drive connected separately by jumper?

    • @RobotLk
      @RobotLk  4 роки тому +1

      If you look at the circuit diagram, you will know more. If not, try to power the motor drive with a 12V DC pack.

  • @MineQuestLegends
    @MineQuestLegends Рік тому

    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

  • @samiredits001
    @samiredits001 Рік тому

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

  • @GarvShah-t8o
    @GarvShah-t8o 5 місяців тому

    What should I do if i don't have servo moter i can replace with toy moter

    • @RobotLk
      @RobotLk  5 місяців тому +1

      A servo motor is also required. It can be made without servo motors. Later connect the servo motor

  • @sylvesterdunggat2326
    @sylvesterdunggat2326 2 роки тому

    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  2 роки тому

      Did you edit the code?

    • @sylvesterdunggat2326
      @sylvesterdunggat2326 2 роки тому

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

    • @RobotLk
      @RobotLk  2 роки тому

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

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

  • @MVS291
    @MVS291 Рік тому +1

    Thankyou so much for the code

  • @jishabenny9183
    @jishabenny9183 3 роки тому +1

    but , in diagram only 2 moters only showen why, can we use 4 moters

    • @RobotLk
      @RobotLk  3 роки тому +1

      Can be made with both motors. Then two front wheels cannot be used

  • @nickyyuen9426
    @nickyyuen9426 4 роки тому

    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  4 роки тому

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

  • @harshinijones5916
    @harshinijones5916 3 роки тому

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

    • @RobotLk
      @RobotLk  3 роки тому

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

    • @harshinijones5916
      @harshinijones5916 3 роки тому

      Thank you sir

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

  • @jishabenny9183
    @jishabenny9183 3 роки тому +1

    my Motor Driver(L293D) is not working , what i do now ,plzz reply

    • @RobotLk
      @RobotLk  3 роки тому +1

      The l293d module cannot be used for this. Only the L298n motor driver can be used for this.

  • @smartunboxer7310
    @smartunboxer7310 3 роки тому +1

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

    • @RobotLk
      @RobotLk  3 роки тому +1

      Two Li-ion 18650 batteries and four tt gear motors

    • @smartunboxer7310
      @smartunboxer7310 3 роки тому +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

  • @dianiskandar1270
    @dianiskandar1270 2 роки тому

    Hihihihihihi we love that review , bla bla production

  • @creativeashok3469
    @creativeashok3469 4 роки тому +1

    Nice project bro...but when i trying to open the code it shows... Google drive doesn't support this type of fils...plzz help

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

  • @dizosdk3229
    @dizosdk3229 Рік тому

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

    • @RobotLk
      @RobotLk  Рік тому

      Any type of arduino board used.New update video- ua-cam.com/video/0X_S7BlKe-M/v-deo.htmlsi=DzikP_qaFduYaopR

  • @gumichoo
    @gumichoo Рік тому

    I think I found my mistake. But I have one more question. I used 3 piece of 18650 battery so in my opinion the motor seems to be too "fast", how to reduce the speed of the motor?😅

    • @RobotLk
      @RobotLk  Рік тому

      Use two 18650 li ion batteries. Then the speed will decrease. Or use a step down module and reduce the voltage to 8v.

    • @gumichoo
      @gumichoo Рік тому

      @Robot Lk i was think too, but here only 3 peice battery holder so

  • @itsolutionspro
    @itsolutionspro 3 роки тому

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

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

  • @bolwar1962
    @bolwar1962 Рік тому

    Hello will 4xaa battery enough?

    • @RobotLk
      @RobotLk  Рік тому

      4 AA batteries are not enough

  • @p.r.jayasundara875
    @p.r.jayasundara875 3 роки тому +1

    Apita baida ekama arduno bord ekakin rc car ekatai redar ekatai ekatai dekatama denna

    • @RobotLk
      @RobotLk  3 роки тому

      Mata තේරුණේ නෑ. Rc car ekatayi kiyanne

  • @SanukaSenumitha
    @SanukaSenumitha 4 роки тому

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

    • @RobotLk
      @RobotLk  4 роки тому

      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

  • @ramcharanchannamsetti5860
    @ramcharanchannamsetti5860 3 роки тому +1

    When I was uploading code it displaying I am getting less of 3% bites can u help me

    • @RobotLk
      @RobotLk  3 роки тому

      I also do not know exactly why the code will not be uploaded.Can't upload code?

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

  • @TrailersYT
    @TrailersYT 2 роки тому +1

    Hey, my motors don't move at all. Mind helping me out? Standard there is a jumper on the ENA and ENB pins, so I did not touch them.
    The servo and ultrasonic both work and I think I did it the exact way like you did

    • @RobotLk
      @RobotLk  2 роки тому

      The supplied voltage is not sufficient.

    • @RobotLk
      @RobotLk  2 роки тому

      What is the batteries provides power?

    • @TrailersYT
      @TrailersYT 2 роки тому

      @@RobotLk I have 4x AA batteries, so 4x 2400 mAh?
      I could upload some photos so you can check what I am doing wrong maybe?

    • @RobotLk
      @RobotLk  2 роки тому

      Does it work when connected to a pc

    • @RobotLk
      @RobotLk  2 роки тому

      +94771489786 whatssapp

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

  • @nimansacooledition7033
    @nimansacooledition7033 4 роки тому

    Adooo ekanan supiriyak e ela ela pattama bro

  • @RezaHadi_A2
    @RezaHadi_A2 Рік тому

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

    • @RobotLk
      @RobotLk  Рік тому

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

  • @Ibad-ul-Allah
    @Ibad-ul-Allah 3 роки тому

    How can I power up the L298N Motor Controller with a 9V battery with a 9V battery cap ( Without cutting the battery cap)

    • @RobotLk
      @RobotLk  3 роки тому

      9V battery does not work properly when used.The mAh of the 9V battery is not enough..So do not use 9v batteries.

  • @akashbarge4008
    @akashbarge4008 3 роки тому

    ♥️♥️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  3 роки тому

      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.

  • @BK-iy8uo
    @BK-iy8uo 2 роки тому

    will this work for magic bit other than arudino uno

  • @dwayypaingoo9373
    @dwayypaingoo9373 4 роки тому

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

    • @RobotLk
      @RobotLk  4 роки тому +1

      Did you add the newping library?

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

  • @helabimacartoons1887
    @helabimacartoons1887 2 роки тому +1

    How much will SriLankan cost for all this? Please tell me quickly 😥

  • @RANDOM34124
    @RANDOM34124 3 роки тому

    Servo motor එක දාන්නැතුව නිකන්ම ultrasonic senser එක දැම්මොත් අවුල් යයිද

  • @Thulfiqar_Khaffaf
    @Thulfiqar_Khaffaf 2 роки тому

    bro ,i did everything
    but car is keeping going backward without stop ,is it sensor problem or something else .my batteries are 2x 18650 2.7v
    i would appreciate it if you can help
    thank you

    • @RobotLk
      @RobotLk  2 роки тому

      Switch the out 1 and out 2 wires of the motor drive and,
      Switch the out 3 and out 4 wires of the motor drive

    • @Thulfiqar_Khaffaf
      @Thulfiqar_Khaffaf 2 роки тому

      @@RobotLk yes sir now it is going forward without stop as the backward situation. what is your idea ? maybe sensor ? . im trying to solve this since a month

    • @Thulfiqar_Khaffaf
      @Thulfiqar_Khaffaf 2 роки тому

      @@RobotLk i changed the sensor and everything worked ,thanks allot

  • @ambzistle4304
    @ambzistle4304 4 роки тому

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

    • @RobotLk
      @RobotLk  4 роки тому

      Yes .11.1 V can be applied

    • @ambzistle4304
      @ambzistle4304 4 роки тому

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

    • @RobotLk
      @RobotLk  4 роки тому

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

  • @kushukushikushikushi3303
    @kushukushikushikushi3303 11 місяців тому

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

  • @abbassadriwala7870
    @abbassadriwala7870 4 роки тому

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

    • @RobotLk
      @RobotLk  4 роки тому

      6v is possible .9v is good

    • @RobotLk
      @RobotLk  4 роки тому

      6v is sometimes possible.

    • @RobotLk
      @RobotLk  4 роки тому

      What is the amperage of a 6v battery?

  • @navithaabeyruwan3996
    @navithaabeyruwan3996 2 роки тому

    I used a motor driver shield to my obstacle avoiding Robot. but it make a sound and gear motors doesn't work. but the servo works. can you please help me?

    • @navithaabeyruwan3996
      @navithaabeyruwan3996 2 роки тому

      it happens when the code is uploaded

    • @RobotLk
      @RobotLk  2 роки тому

      The motor shield cannot use this arduino code

    • @RobotLk
      @RobotLk  2 роки тому

      This code only works for L298n motor drives.

    • @navithaabeyruwan3996
      @navithaabeyruwan3996 2 роки тому

      @@RobotLk okay thanx for the quick reply

  • @nix8012
    @nix8012 3 роки тому

    thank you so much. mine worked really well.

    • @RobotLk
      @RobotLk  3 роки тому

      You're welcome!

  • @pradeepchandrasekera41
    @pradeepchandrasekera41 3 роки тому +1

    meke arduino board ekatama power eka suply karanna puluwanneda?????????

    • @RobotLk
      @RobotLk  3 роки тому +1

      Ba,motor driver ekata power denna wenne.

    • @RobotLk
      @RobotLk  3 роки тому +1

      Onnam dekama set karala power denna puluwan ,ethakota tikak karadarayi.me vidiya lesiyi

  • @PivithuruNavoth
    @PivithuruNavoth Рік тому

    සුපිරි ❤❤😊😊

  • @saiedit2836
    @saiedit2836 4 роки тому +1

    Can use power bank..

    • @RobotLk
      @RobotLk  4 роки тому +1

      You can't use a powerbank, it makes out 5v, but 2 cells in the powerbank If you put it in series, you can

    • @RobotLk
      @RobotLk  4 роки тому

      Maybe it works because the amperage in the powerbank is higher.Try connecting the powerbank. If the power goes out, only the ultrasonic sensor, arduino, servo motor will work. Motors will stop working.

  • @GarvShah-t8o
    @GarvShah-t8o 5 місяців тому

    What should I do if don't have servo moter

    • @RobotLk
      @RobotLk  5 місяців тому

      A servo motor is also required. It can be made without servo motors. Later connect the servo motor

  • @mohiddinbaig786
    @mohiddinbaig786 6 місяців тому

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

    • @RobotLk
      @RobotLk  6 місяців тому +1

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

  • @heshanhere
    @heshanhere 3 роки тому

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

    • @RobotLk
      @RobotLk  3 роки тому

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

    • @RobotLk
      @RobotLk  3 роки тому

      Lankawe ekkenekda, 0771489786 whatsapp

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

  • @fiorellarattitamayo9937
    @fiorellarattitamayo9937 4 роки тому

    can I use a 9V battery? if yes, do I have to chane something else? or change the code? thanks

    • @RobotLk
      @RobotLk  4 роки тому

      9V batteries can be used. The code does not change.

    • @RobotLk
      @RobotLk  4 роки тому

      However, the 9V battery has a low amperage, and the 4 motors may not work properly.

    • @RobotLk
      @RobotLk  4 роки тому

      If so, remove only the 5th wire of the motor drive, the Vin wire on the Arduino board, and connect a separate 9V battery to the Dc In female jack on the Arduino board.

    • @JS-ni5kd
      @JS-ni5kd 4 роки тому

      @@RobotLk Hello, I am also having the same issue. I removed the wire connected to the the 5v on the L298N and the VIN on the Arduino board. What else is required to connect another 9v battery?

    • @RobotLk
      @RobotLk  4 роки тому

      9v battery should be connected to dc black female jack. It needs a male shoket.

  • @JS-ni5kd
    @JS-ni5kd 4 роки тому

    Hello, I currently have both 9v batteries and the robot is still not fully functional, the sensor stopped moving smoothly. If you could help me I would appreciate it very much and if you want I could contact you by other means to indicate you with a photo the structure of the robot.

    • @RobotLk
      @RobotLk  4 роки тому

      This is due to a lack of amperage, first disconnect the 5V pin coming from the motor drive. Or disconnect the Vin pin on the Arduino board. Then connect one 9v battery to the black female socket on the Arduino board. The other 9v battery to the 12v pin on the motor drive, Give it to gnd.

    • @RobotLk
      @RobotLk  4 роки тому

      0771489786 ,whatsapp

    • @RobotLk
      @RobotLk  4 роки тому

      +94771489786

  • @AnimeGenius_Studio
    @AnimeGenius_Studio 2 місяці тому

    My obstacle direction doesn't work ):::: pls help

  • @tannerl3206
    @tannerl3206 3 роки тому +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!

  • @rabarbaras8
    @rabarbaras8 4 роки тому

    Is it possible to do my car without going backwards when it see's object?

    • @RobotLk
      @RobotLk  4 роки тому

      Yes, but you have to change the code

    • @rabarbaras8
      @rabarbaras8 3 роки тому

      Maybe you can help me with the code?

  • @lightnin_
    @lightnin_ 2 роки тому +1

    Can I use 9v batteries

    • @RobotLk
      @RobotLk  2 роки тому

      9v battery cannot be used.Ampere is not enough to activate the motor

  • @slgeekshow9155
    @slgeekshow9155 4 роки тому +1

    Ayye program karaddi( A library named newping already exists) kiyala red akuren pennanawa

    • @slgeekshow9155
      @slgeekshow9155 4 роки тому

      Plithurak

    • @RobotLk
      @RobotLk  4 роки тому +1

      Description eke ati code and diagram kiyala ekak,eke athi newping library eka.eka video eke kiyana widiyata danna

    • @RobotLk
      @RobotLk  4 роки тому

      0771489786 wathsApp

  • @leslyannelaguer384
    @leslyannelaguer384 Рік тому

    how can i reduce the speed of the motor? what should i change in the source code?

    • @RobotLk
      @RobotLk  Рік тому

      The speed cannot be changed by changing the code. I did not use the ENA pin and ENB pin of the L298n motor drive. If it is used, the speed can be changed by the code.But the speed can be reduced by changing the supplied voltage.The speed can be controlled by using a Dc to Dc step down module Or use two 18650 li ion batteries