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

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 พ.ค. 2019
  • Are you looking for a quick video that shows you how to build an Arduino obstacle avoiding car at home? Look no further, in this video, I will show you how to build an obstacle avoiding robot using Arduino.
    The process is very easy to follow that even school kids can use it on their science projects.
    We have also included Arduino obstacle avoiding car code for your convenience. So, you don't have to look any further.
    ~ Arduino Obstacle Avoiding Car Code - pastebin.com/1kzTw053
    ~ Library Files - tinyurl.com/y3gulcpa
    Things you'll need:
    1) Arduino Uno
    2) Motor Driver Shield
    3) Wheels (4x)
    4) TT Gear Motor (4x)
    5) Servo Motor
    6) Ultrasonic Sensor
    6) 18650 Li-on Battery (2x)
    7) 18650 Battery Holder
    8) Male and Female Jumper wire
    9) Sheet
    10) DC Power Switch
    Obstacle Avoiding Robot CKT Diagram - imgur.com/a/pOCv1C7
    Here's another video that shows how to make bluetooth remote controlled car - • DIY Arduino Bluetooth ...
    (We will add links to the product in future)
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 355

  • @indranisanyal2265
    @indranisanyal2265 2 ปีที่แล้ว +15

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

  • @shadhinsakilalita3905
    @shadhinsakilalita3905 7 หลายเดือนก่อน

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

  • @rlrentertainmentsinventions
    @rlrentertainmentsinventions 3 ปีที่แล้ว +5

    Super bro very very great, phantastic and good job

  • @HarshGArt
    @HarshGArt 3 ปีที่แล้ว +2

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

  • @smartunboxer7310
    @smartunboxer7310 2 ปีที่แล้ว

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

  • @naingwintun985
    @naingwintun985 3 ปีที่แล้ว +1

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

  • @angryknight2496
    @angryknight2496 ปีที่แล้ว +1

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

  • @miltonthangaraj2243
    @miltonthangaraj2243 3 ปีที่แล้ว

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

  • @jishabenny9183
    @jishabenny9183 2 ปีที่แล้ว

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

  • @instagramreelsvideo8908
    @instagramreelsvideo8908 2 หลายเดือนก่อน

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

  • @atulyasresthprasad9236
    @atulyasresthprasad9236 3 ปีที่แล้ว

    It is change direction automatically???

  • @aweisharjaadas3578
    @aweisharjaadas3578 3 ปีที่แล้ว

    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

  • @mallanagouddevaraddi7189
    @mallanagouddevaraddi7189 3 ปีที่แล้ว

    In which website you buy components

  • @nitishgoud1999
    @nitishgoud1999 3 ปีที่แล้ว +1

    Sir please help me mu motors are not rotating

  • @ajaytupare2800
    @ajaytupare2800 4 ปีที่แล้ว +2

    you are a genious man

  • @rohittejwani2964
    @rohittejwani2964 ปีที่แล้ว +2

    can you make another video on computer programing?

  • @The18041951
    @The18041951 3 ปีที่แล้ว

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

  • @farukhossain3719
    @farukhossain3719 2 ปีที่แล้ว

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

  • @ultratoonstamil22
    @ultratoonstamil22 3 หลายเดือนก่อน

    Can you tell the model of the motor driver

  • @gwgamingworld1122
    @gwgamingworld1122 4 ปีที่แล้ว

    Is battery is rechargeable

  • @user-nr8gi6qy9s
    @user-nr8gi6qy9s 2 ปีที่แล้ว

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

  • @chandanchachu19
    @chandanchachu19 3 ปีที่แล้ว

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

  • @clarkakrm1077
    @clarkakrm1077 4 ปีที่แล้ว

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

  • @ghousiashaik6426
    @ghousiashaik6426 4 หลายเดือนก่อน

    Sir, is circuit diagram correct?

  • @physicswithkhanbaloch9099
    @physicswithkhanbaloch9099 ปีที่แล้ว +2

    Can you provide please programming codes

  • @alandiloshan4005
    @alandiloshan4005 3 ปีที่แล้ว +1

    Thanks for ur help bro

  • @umas4146
    @umas4146 6 หลายเดือนก่อน

    Can we code using mobile?

  • @nirajverma1374
    @nirajverma1374 4 ปีที่แล้ว

    A1 scope is not declared how to solve this problem

  • @collegeskills2022
    @collegeskills2022 2 ปีที่แล้ว

    How much will it cost totally?

  • @yovindujayasundara9512
    @yovindujayasundara9512 2 ปีที่แล้ว

    Pls tell me how to make this with 2 motors

  • @VivekSharma-ux2bl
    @VivekSharma-ux2bl 2 ปีที่แล้ว

    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

  • @ZaidMallick-zc5oe
    @ZaidMallick-zc5oe 5 หลายเดือนก่อน

    Hallo sir plz replaye sir coad work nahi kar raha ha

  • @JeffBv19
    @JeffBv19 3 ปีที่แล้ว

    voltaje and A?

  • @sayandatta7265
    @sayandatta7265 2 ปีที่แล้ว

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

  • @artwithranadheer4378
    @artwithranadheer4378 4 ปีที่แล้ว +1

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

  • @muhammadridho7680
    @muhammadridho7680 2 ปีที่แล้ว

    battery specification please

  • @abdulkareemsayaf3386
    @abdulkareemsayaf3386 4 ปีที่แล้ว +3

    Y OUR description not show the CODE

  • @priyanshupal2722
    @priyanshupal2722 4 ปีที่แล้ว

    bhai ya sara sman kha melga or yh palt bi

  • @nikhilkatakwar7852
    @nikhilkatakwar7852 ปีที่แล้ว

    I want kit how much price

  • @pavaneditrs7321
    @pavaneditrs7321 2 ปีที่แล้ว +1

    Please help me bro software creating

  • @gomystration5262
    @gomystration5262 4 ปีที่แล้ว +1

    Total cost

  • @user-il8op2fs3x
    @user-il8op2fs3x 2 ปีที่แล้ว +1

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

  • @mohithscreation1432
    @mohithscreation1432 ปีที่แล้ว

    From where the code starts

  • @sadaditi6786
    @sadaditi6786 ปีที่แล้ว +1

    Coding me error aa rha h any help me

  • @chiranthahasaranga3117
    @chiranthahasaranga3117 2 ปีที่แล้ว

    Aiya oke cod aka ghanna kohomada ???? 😍

  • @srujankulkarni9010
    @srujankulkarni9010 3 ปีที่แล้ว +1

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

    • @circuitguru4554
      @circuitguru4554 3 ปีที่แล้ว +1

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

  • @firoshgt509
    @firoshgt509 ปีที่แล้ว

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

  • @feeltherythm9410
    @feeltherythm9410 3 ปีที่แล้ว

    I need help in this project
    Plz help

  • @jayachandran4476
    @jayachandran4476 3 ปีที่แล้ว +6

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

  • @gangothriholidayscruise7859
    @gangothriholidayscruise7859 ปีที่แล้ว

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

  • @supriyobhattacharjee5707
    @supriyobhattacharjee5707 3 ปีที่แล้ว

    what material did you use for the base ???

  • @solved5928
    @solved5928 4 ปีที่แล้ว +1

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

  • @jerrry7
    @jerrry7 4 ปีที่แล้ว +4

    Good job sir..👍

    • @5xGear
      @5xGear  4 ปีที่แล้ว

      Thank you, keep sharing our videos

    • @jerrry7
      @jerrry7 4 ปีที่แล้ว

      😊ys ofcourse.

    • @angelmariano3093
      @angelmariano3093 4 ปีที่แล้ว +1

      what arduino version you can use?

  • @Sangamkumar017
    @Sangamkumar017 3 ปีที่แล้ว +3

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

  • @khranmale.4748
    @khranmale.4748 2 ปีที่แล้ว

    Super bro amazing

  • @piyush2657
    @piyush2657 3 ปีที่แล้ว +2

    Can we use simple dc motor

    • @Musicvlogger59
      @Musicvlogger59 3 ปีที่แล้ว +1

      Yes but have to use other wheels

  • @shubhangikhadilkar5088
    @shubhangikhadilkar5088 3 ปีที่แล้ว

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

  • @ramasiskamti4639
    @ramasiskamti4639 4 ปีที่แล้ว +1

    Please send me in full information

  • @RKDdiazperez
    @RKDdiazperez 2 หลายเดือนก่อน

    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  หลายเดือนก่อน

      Can you tell me what error it shows?

  • @rlrentertainmentsinventions
    @rlrentertainmentsinventions 3 ปีที่แล้ว

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

    • @nagarajs2282
      @nagarajs2282 3 ปีที่แล้ว

      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

  • @slmusicbro2410
    @slmusicbro2410 4 ปีที่แล้ว +1

    super bro

  • @user-iq9hr6qj6o
    @user-iq9hr6qj6o 2 ปีที่แล้ว +1

    please.. send me the code

  • @kavyakumarsingh7039
    @kavyakumarsingh7039 4 ปีที่แล้ว +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 4 ปีที่แล้ว +2

      Adjust the delay

    • @sachingarg5199
      @sachingarg5199 4 ปีที่แล้ว

      you may adjust the delay to a longer time.

    • @payalsmastichannel4355
      @payalsmastichannel4355 3 ปีที่แล้ว

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

  • @shivangnipandey8020
    @shivangnipandey8020 3 ปีที่แล้ว

    Superb video

  • @gurparkashverma9005
    @gurparkashverma9005 4 ปีที่แล้ว

    Sir motor kitne rpm ki use ki hai apne???

  • @HarshGArt
    @HarshGArt 3 ปีที่แล้ว

    I make this car but they did not work

  • @vihaanb.l.6922
    @vihaanb.l.6922 3 ปีที่แล้ว

    Good will try

  • @yugbajaria2656
    @yugbajaria2656 3 ปีที่แล้ว

    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 3 ปีที่แล้ว

      @5xgear please help buddy!!

    • @sonifasharmin3609
      @sonifasharmin3609 3 ปีที่แล้ว +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 11 หลายเดือนก่อน

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

  • @anilkumarmaligi7863
    @anilkumarmaligi7863 3 ปีที่แล้ว

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

  • @ShaunWei99
    @ShaunWei99 3 ปีที่แล้ว

    Thanks for the video! It really helps me very much with my design project. However, I would like to ask if anyone knows how to code in Arduino so that the robot can STOP automatically on its own? Much appreciated!! :))

    • @user-il8op2fs3x
      @user-il8op2fs3x 2 ปีที่แล้ว

      @Abhishek maddeshiya Can you give me your whatsapp number هل يمكن أن تعطيني رقم الواتساب الخاص بك

    • @StephanoCardoso
      @StephanoCardoso ปีที่แล้ว

      ddid you fidn the code? if so can us end it to me? o make it stop on its own?

  • @rabinahak7941
    @rabinahak7941 4 ปีที่แล้ว

    mobile se code keise

  • @kidscortoonmoviestamil7338
    @kidscortoonmoviestamil7338 3 ปีที่แล้ว +1

    Hi bro
    How to work in sketch app when installed first

  • @albinopets4911
    @albinopets4911 3 ปีที่แล้ว

    Code error

  • @samarvloggs9684
    @samarvloggs9684 2 ปีที่แล้ว

    Can you please make a vedio on coad of car plz

  • @user-tu3wk2hc3e
    @user-tu3wk2hc3e 3 ปีที่แล้ว +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

    • @srikantca143
      @srikantca143 2 ปีที่แล้ว

      i can show

    • @smartunboxer7310
      @smartunboxer7310 2 ปีที่แล้ว

      @@srikantca143 plz show bro plz I request u bro plz

  • @rajudeb8604
    @rajudeb8604 3 ปีที่แล้ว

    Super bro

  • @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 2 ปีที่แล้ว

      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 ปีที่แล้ว +1

      me also some problem :(

  • @sriadhvaithjeyakumar5148
    @sriadhvaithjeyakumar5148 3 ปีที่แล้ว +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 🥺🥺

    • @JeffBv19
      @JeffBv19 3 ปีที่แล้ว

      conecta 12v con 1.5 A en la alimentacion del arduino

    • @sriadhvaithjeyakumar5148
      @sriadhvaithjeyakumar5148 3 ปีที่แล้ว

      @@JeffBv19 thank you bro

    • @prashanth6546
      @prashanth6546 3 ปีที่แล้ว

      I got same problem Is it working or not Bro?

  • @99199678
    @99199678 4 ปีที่แล้ว +1

    hello bro can i use 4 battries 3.7 v ??

  • @raju.v824
    @raju.v824 4 ปีที่แล้ว +1

    How do you add pins motor shield

  • @shibajidigar4402
    @shibajidigar4402 3 ปีที่แล้ว

    sir,which program do u use to upload the code

  • @mohanpal3052
    @mohanpal3052 4 ปีที่แล้ว

    Which battry you use

  • @aquilahmad4723
    @aquilahmad4723 4 ปีที่แล้ว

    Ue dekh raha hai ki rasta kidhar se khoola hai

  • @pragyasarma3521
    @pragyasarma3521 4 ปีที่แล้ว +2

    Is this source code for Arduino uno made in Italy version only?

    • @5xGear
      @5xGear  4 ปีที่แล้ว +1

      Yes, will also work on chinese replicas

  • @faisalbari2158
    @faisalbari2158 5 ปีที่แล้ว

    what is the model of motor driver?

  • @supercopp6917
    @supercopp6917 3 ปีที่แล้ว +1

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

  • @sannukumari6546
    @sannukumari6546 2 ปีที่แล้ว

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

    • @deva4184
      @deva4184 7 หลายเดือนก่อน

      You used this code

  • @angelmariano3093
    @angelmariano3093 4 ปีที่แล้ว

    Version of Arduino you can use?

  • @penpaper7579
    @penpaper7579 3 ปีที่แล้ว

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

    • @nagarajs2282
      @nagarajs2282 3 ปีที่แล้ว

      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

  • @brijrajmishra6863
    @brijrajmishra6863 4 ปีที่แล้ว

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

    • @5xGear
      @5xGear  4 ปีที่แล้ว +1

      Please, add the library files needed for Arduino.

    • @shoayebahmed1517
      @shoayebahmed1517 4 ปีที่แล้ว

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

  • @SK_Senthil
    @SK_Senthil 4 ปีที่แล้ว

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

    • @shlok370
      @shlok370 3 หลายเดือนก่อน

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

  • @adityaagrahari4653
    @adityaagrahari4653 4 ปีที่แล้ว

    Can this be made using Arduino kit??

  • @net6739
    @net6739 3 ปีที่แล้ว

    Dziękuję. Dzięki Tobie mogę się rozwijać i uczyć. :)

  • @cyd9872
    @cyd9872 4 ปีที่แล้ว +6

    does the codes work on 2 wheels only? HEEELP

  • @majidansari5770
    @majidansari5770 3 ปีที่แล้ว

    ERROR IN CODEING

  • @kavyakumarsingh7039
    @kavyakumarsingh7039 4 ปีที่แล้ว +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

  • @ritickghoshal4082
    @ritickghoshal4082 4 ปีที่แล้ว +5

    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 2 ปีที่แล้ว

      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?

  • @sandideas5993
    @sandideas5993 4 ปีที่แล้ว

    what sheet is this one?what is the name of this sheet?

  • @mbijaybikram3219
    @mbijaybikram3219 4 ปีที่แล้ว +3

    In the motor drive shield you used some pins which usually does not comes with it so from where did u get that?

    • @rajuuansari1456
      @rajuuansari1456 4 ปีที่แล้ว

      @Sanchit Gupta zzvz. zz v xzvv. Vzv. Zv औ‌‌‌‌‌‌ओऔ‌‌‌‌‌औऔ‌

    • @abhijeetrawat3459
      @abhijeetrawat3459 ปีที่แล้ว

      It's called pin header... But u can use male to female jumper wire... Or female to male jumper wire ok😄

  • @saurabhsharma1028
    @saurabhsharma1028 4 ปีที่แล้ว

    what is a af motor this progeming is not work

    • @5xGear
      @5xGear  4 ปีที่แล้ว

      Please, add the library files needed for Arduino.