How To Make an EASY Arduino Obstacle Avoiding Car Robot | DIY

Поділитися
Вставка
  • Опубліковано 2 лют 2025

КОМЕНТАРІ • 365

  • @indranisanyal2265
    @indranisanyal2265 3 роки тому +19

    Thanks so much sir. I am in 8th grade and won the science fair in my school. 😊😊😊❤️❤️❤️ Only because of this project

  • @rlrentertainmentsinventions
    @rlrentertainmentsinventions 4 роки тому +5

    Super bro very very great, phantastic and good job

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

    thanks brother your video helped a lot,its not a fake video,really the project worked
    thanks,thanks,thank you

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

    can you make another video on computer programing?

  • @jayachandran4476
    @jayachandran4476 3 роки тому +6

    Programming Processing some confusing so make one specific video to the programming please🙏 😊

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

    My code get compiled but it's not uploading it says there is problem in uploading to the board

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

    you are a genious man

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

    I upload coad on obstacle car but they did not work please help me what I do with car

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

    Aap ne ye Motor driver L293d pe female to female jumpers wires ka kaise laga ya

  • @aFrostGod
    @aFrostGod Місяць тому

    Bro do you control the car with anything? Please answer today.❤❤

  • @jerrry7
    @jerrry7 5 років тому +4

    Good job sir..👍

    • @5xGear
      @5xGear  5 років тому

      Thank you, keep sharing our videos

    • @jerrry7
      @jerrry7 5 років тому

      😊ys ofcourse.

    • @angelmariano3093
      @angelmariano3093 5 років тому +1

      what arduino version you can use?

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

    Can i use 2 motor in place of 4 if YES then code is same or any change?????

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

      Then the code will change

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

    Very good robot and correct code. Working properly. Thank u

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

    Sir please help me mu motors are not rotating

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

    Bro,plz hlp me.my robot not work,code uploading successfully but not work,library file webpage is blocked.code is not work

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

    Bro plz say which rpm gear motor do u use bro and which mah of battery do u use bro

  • @ritickghoshal4082
    @ritickghoshal4082 5 років тому +6

    this code needed some debugging, please dont mind it brother, m just an curious person who love electricity just like you,
    hear is the debugged code:-
    #include
    #include
    #include
    #define TRIG_PIN A0
    #define ECHO_PIN A1
    #define MAX_DISTANCE 200
    #define MAX_SPEED 100 // sets speed of DC motors
    #define MAX_SPEED_OFFSET 20
    NewPing sonar(TRIG_PIN, ECHO_PIN, MAX_DISTANCE);
    AF_DCMotor motor1(1, MOTOR12_1KHZ);
    AF_DCMotor motor2(2, MOTOR12_1KHZ);
    AF_DCMotor motor3(3, MOTOR34_1KHZ);
    AF_DCMotor motor4(4, MOTOR34_1KHZ);
    Servo myservo;
    int dssl,dssr;
    boolean goesForward=false;
    int distance = 100;
    int speedSet = 0;
    char last_turn;
    void setup() {
    myservo.attach(10);
    myservo.write(115);
    delay(2000);
    distance = readPing();
    delay(100);
    distance = readPing();
    delay(100);
    distance = readPing();
    delay(100);
    distance = readPing();
    delay(100);
    }
    void loop() {
    int distanceR = 0;
    int distanceL = 0;
    delay(40);

    if(distance

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

      How to download a AFMotor sir.

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

      @@johnnoelnavigar3615 install it from SKETCH ---then ----libraries----then-----MANAGE LIBRARIES

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

      thanks a lot dude

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

      Bro after uploading ur code only servo motor is running,but wheel are not running what should I do now?what would be the problem?

    • @rizo101gaming
      @rizo101gaming 4 місяці тому

      ❤❤

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

    Can I use Arduino UNO R3 SMD Atmega328P Board - Clone Compatible Model

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

    What is the range to control ? I mean how many meter away ?

  • @ممكنتفيدك
    @ممكنتفيدك 4 роки тому +11

    Dear brother, I worked for the robot, but there is a problem when I know how to program the robot. You can do a video about how to program the robot from the computer

  • @نورذهنك-ث2ن
    @نورذهنك-ث2ن 3 роки тому +1

    Why does an error appear in the code? لماذا يظهر خطأ في الكود؟

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

    Sir, is circuit diagram correct?

  • @RKDdiazperez
    @RKDdiazperez 10 місяців тому

    Hello, hey, I wanted to ask you a question. I copied the code from the robot and it doesn't grab the code. It appears to me that it has errors. Thanks for Reading this🙂

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

      Can you tell me what error it shows?

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

    Bro after aploding the code and powering up. There was a beep sound and no wheels are moving. Please help me with this problem 🥺🥺

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

    I tried all the ways. But I am getting a strange alarmic sound. Not sure which is emitting the sound Arduino or L293d shield. I'm a beginner to Arduino and I'm a mechanical engineer and I only know basics of electrical and electronics. Only the servo is working, that too only if I connect to my laptop. All the 4 BO dual shaft geared DC motors are not even moving an inch. But instead getting the strange sound from boards. Initially I thought that two 9v dc batteries are not giving sufficient amps to motors. Hence I tried connecting 4aa size batteries to L293d and 9v dc to Arduino. But nothing is changing. The output from motor pins of Ada fruit L293d is too low to drive the motors. That is what t I am thinking after wasting a whole day with this project by trying various connections with aa cells, 9v dc batteries, USB connector to laptop. Arduino is not damaged. It is still being recognised by laptop, the LEDs are glowing. And I tried uploading and resetting several programs. Arduino works very fine. I'm suspecting L293d, because one of the ic 's is getting really hot. When switched on. But the green LED is glowing and servo is working fine. I'm really loosing my mind. Please can anyone guide me with this issue.
    Thank you and sorry for lengthy comment. I have no other option

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

      i had the same issue when i connected 6 x AA batteries. It turns out, you need two of thos 18650 batteries connected in serial and it works.

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

      I connect ed 2 lithium battery in series but motor runs for 1 sec and stops randomly and start randomly
      Pls solve my problem
      When i connect to laptop it works perfectly

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

      Same happens with me

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

      This project is a headache

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

      me also some problem :(

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

    does it also works with 4 AA battery or only Li-ion battery

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

      It worked with the 4 AA batteries for me. So, yes

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

    It is change direction automatically???

  • @VivekSharma-ux2bl
    @VivekSharma-ux2bl 3 роки тому

    It doesn't move for some reason..... strangely my motor setup and battery work fine when i run Bluetooth controlled car.....but in this obstacle robot the motors seem to be straining badly

  • @صيانةأجهزةالكترونية-خ4ظ

    I am a beginner when the code does not work, is there a way to solve this problem?

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

    Can we use simple dc motor

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

      Yes but have to use other wheels

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

    Listen i have make this fully working... STEPS=
    ROBOT U ALL WILL MAKE... THEN IN CODE U HAVE TO DOWNLOAD 3 LIBRARY... WATCH VEDIO HOW TO DOWNLOAD LIBRARY IN ARDUINO , THEN UPLOAD THE CODE, IT WILL WORK... PEOPLE WITHOUT UPLOADING LIBRARIES, UPLOAD CODE, THATS WHY ITS SHOWS ERROR... OK.. UPLOAD LIBRARY FIRST....
    I'M VERY HAPPY MINE IS MADE ❤

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

    Can you provide please programming codes

  • @khranmale.4748
    @khranmale.4748 3 роки тому

    Super bro amazing

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

    Can I give it 12 v input
    (Three 1850 battries)

  • @ManiMani-ox6ui
    @ManiMani-ox6ui 6 місяців тому

    Where you buy this thing

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

    How much will it cost totally?

  • @SamuelLeumas-h1z
    @SamuelLeumas-h1z 6 місяців тому

    Where do I get all this thing

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

    Ur program was not running in my laptop,,..plz help me

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

    Superb video

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

    Please help me bro software creating

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

    Pls tell me how to make this with 2 motors

  • @gwgamingworld1122
    @gwgamingworld1122 5 років тому

    Is battery is rechargeable

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

    Can we code using mobile?

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

    Thanks for ur help bro

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

    Can you tell the model of the motor driver

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

    Ur code drives 4 motors but servo motor and uv sensors are not working can u help me

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

    Thank you sir I am in 5th class my school project is completed.

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

      You used this code

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

    Hi 5x Gear If I increase the chasis size from 9x14, to few more centimeters, will this works same?

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

    salve, ho fatto tutto esattamente come descritto. girano solo le ruote. il servo motore non si attiva. ti prego aiutami

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

    In which website you buy components

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

    Aiya oke cod aka ghanna kohomada ???? 😍

  • @Toylandtales001
    @Toylandtales001 5 років тому +1

    Great innovation 😃

    • @5xGear
      @5xGear  5 років тому

      Thanks for your support mamma chinu 😂

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

    Woow, this car was very nice

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

    battery specification please

  • @thilaga.s9786
    @thilaga.s9786 4 роки тому

    Same motor dhaan vaangirukken .....but wheels attach panna mudiyala bro ☹️please edhaavadhu solution sollunga

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

    I want kit how much price

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

    The normal motor driver shield doesn't have the thing in which you've put the jumper wires of the ultrasonic sensor..... What is that called???

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

      @5xgear please help buddy!!

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

      you will have to buy some female headers and solder them on to the shield ( I you use male headers, use a female-female jumper wire, if you use female headers, use a male-female jumper wire), there are a few holes on one corner of the shield.

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

      @@sonifasharmin3609 hey so where to solder it there are holes but if we solder it where does it get its connection is it already in board holes plz reply

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

      @@sonifasharmin3609 wouldn’t soldering burn the plastic off the male/female headers ?

  • @SK_Senthil
    @SK_Senthil 5 років тому

    For motors, you are having batteries! For Arduino board, where you did the wiring? How it is getting power ?

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

      Bro he attached Arduino to moter driver which is directly connected to battery

  • @gomystration5262
    @gomystration5262 5 років тому +1

    Total cost

  • @clarkakrm1077
    @clarkakrm1077 5 років тому

    i have problem my servo is not working i dont know why

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

    sir,which program do u use to upload the code

  • @wassimsoualili7153
    @wassimsoualili7153 5 років тому +2

    why if I unplug the cable the car does not work

    • @uw_rahul3630
      @uw_rahul3630 5 років тому

      Add power to arduino also

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

      yes it is because your arduino is taking power from computer when plugged in. without computer arduino can not turn on

  • @ZaidMallick-zc5oe
    @ZaidMallick-zc5oe Рік тому

    Hallo sir plz replaye sir coad work nahi kar raha ha

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

    Please answer me that were is coding brother.........

  • @vihaanb.l.6922
    @vihaanb.l.6922 4 роки тому

    Good will try

  • @Abcdefghijlk1527
    @Abcdefghijlk1527 5 років тому +3

    Y OUR description not show the CODE

  • @kavyakumarsingh7039
    @kavyakumarsingh7039 5 років тому +2

    My Rear Wheels are not working when i connect it to motor driver initially they were working but no there is very less supply of power to the rear motors. What should i do now? Please reply me as soon as possible

  • @NoOne-hh2qx
    @NoOne-hh2qx 5 років тому +1

    You helped me I like your vedios thank you

    • @5xGear
      @5xGear  5 років тому

      It's glad to know that my videos helped you.

  • @kavyakumarsingh7039
    @kavyakumarsingh7039 5 років тому +5

    what change i need to make in the code so that i can turn my robot more when an obstacle is located. plzz healp as soon as possible

    • @riccaardoe5825
      @riccaardoe5825 5 років тому +2

      Adjust the delay

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

      you may adjust the delay to a longer time.

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

      @@sachingarg5199 means please tell me I'm just 12 and I have an assignment to do a robot who can find located obstacle

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

    From where the code starts

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

    Where can I get the items of this car for making my own car?

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

      To Buy this complete project kit visit the online store 👇👇
      techparts.in/product/5f8fd4f1dd26bf1bf89fb818
      They providing very good service and also offering free delivery so guys make use of it and rock it

  • @chandrakantdhotre4933
    @chandrakantdhotre4933 3 місяці тому

    Kitna case lagega

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

    Coding me error aa rha h any help me

  • @sakesharjun
    @sakesharjun 5 років тому +3

    How to upload code bro please take short video to inform this fast

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

    Can you please make a vedio on coad of car plz

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

    I have a question...I don't know anything about Arduino but I just got an assignment on it....If I go through this code and instructions, can I build it without anyone's help??or I need to decode again? Plz help if anyone knows

    • @Joy_Deep_Verse
      @Joy_Deep_Verse 3 місяці тому

      Fours years have been passed😅..but I want to ask have you made it that time?

  • @nirajverma1374
    @nirajverma1374 5 років тому

    A1 scope is not declared how to solve this problem

  • @عبدالرحمنزهران-ق5ب
    @عبدالرحمنزهران-ق5ب 3 роки тому +1

    please.. send me the code

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

    Super bro

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

    which motor driver shield do you use please tell me (link)

  • @slmusicbro2410
    @slmusicbro2410 5 років тому +1

    super bro

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

    hello bro can i use 4 battries 3.7 v ??

  • @dushyantpehwal4520
    @dushyantpehwal4520 5 років тому +2

    whenever i am trying to compile the code it is showing the error- error compiling the board for arduino uno, what should i do about this

    • @chennaitimes4176
      @chennaitimes4176 5 років тому +1

      Same problem for me...

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

      make sure that your port, board, and processer are correct and if they are then try resetting arduino

  • @ghugtyalgaming4981
    @ghugtyalgaming4981 5 років тому

    Bhai sound or model bhaut badhya hh
    Tusi great ho ji

  • @artwithranadheer4378
    @artwithranadheer4378 5 років тому +1

    Before I compile the sketch there was undeclared things ,what are those?

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

    I need help in this project
    Plz help

  • @shoayebahmed1517
    @shoayebahmed1517 5 років тому +5

    It shows error this line
    AF_DCMotor motor1(1, MOTOR12_64KHZ);
    AF_DCMotor motor2(2, MOTOR12_64KHZ);
    AF_DCMotor motor3(3, MOTOR34_64KHZ);
    AF_DCMotor motor4(4, MOTOR34_64KHZ);

  • @raju.v824
    @raju.v824 5 років тому +1

    How do you add pins motor shield

  • @brijrajmishra6863
    @brijrajmishra6863 5 років тому

    It Is Showing Use of Unclear Identifiers after compiling is done and compiles error

    • @5xGear
      @5xGear  5 років тому +1

      Please, add the library files needed for Arduino.

    • @shoayebahmed1517
      @shoayebahmed1517 5 років тому

      @@5xGear i added library file, then also show this problem

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

    Hi bro
    How to work in sketch app when installed first

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

    voltaje and A?

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

    Sir without seeing the obstacle canit move further in the following direction?
    Please reply

  • @priyanshupal2722
    @priyanshupal2722 5 років тому

    bhai ya sara sman kha melga or yh palt bi

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

    Is project mai kitna kharcha aayega

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

      Bhai mene Keya tha he project uske leye muje 1800 rupees lage the

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

    Bro pls share that how to by the product to make this

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

      To Buy this complete project kit visit this online store 👇👇
      techparts.in/product/5f8fd4f1dd26bf1bf89fb818
      They providing very good service and also offering free delivery so guys make use of it and rock it

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

    we should on the robot when we upload code?????????????????????

  • @akashganesh7977
    @akashganesh7977 5 років тому

    Can we use normal dc motor of should we use the same one as u have shown in the video . Please reply

    • @5xGear
      @5xGear  5 років тому

      Unfortunately, no. :(

  • @rajashreem6062
    @rajashreem6062 5 років тому +2

    How to control this robot??

  • @saravanansaran235
    @saravanansaran235 5 років тому

    Sir your code is not working Arduino software version 1.8.9 showing error please help me sir

    • @5xGear
      @5xGear  5 років тому

      What error are you facing? I think you forgot to install the library files.
      ~ Library Files - tinyurl.com/y3gulcpa

    • @saravanansaran235
      @saravanansaran235 5 років тому

      Sir I install libraries but the error is move backward was not declared in the scope, lookright,lookleft change turnright,turnleft the error was showing please....help me sir

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

      @@5xGear sir yes I am also facing same doubt old help plz plz plz plz plz

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

    I make this car but they did not work