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

Поделиться
HTML-код
  • Опубликовано: 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)
  • ХоббиХобби

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

  • @indranisanyal2265
    @indranisanyal2265 2 года назад +18

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

  • @ajaytupare2800
    @ajaytupare2800 4 года назад +2

    you are a genious man

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

    Super bro very very great, phantastic and good job

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

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

  • @alandiloshan4005
    @alandiloshan4005 4 года назад +1

    Thanks for ur help bro

  • @shivangnipandey8020
    @shivangnipandey8020 4 года назад

    Superb video

  • @khranmale.4748
    @khranmale.4748 2 года назад

    Super bro amazing

  • @vihaanb.l.6922
    @vihaanb.l.6922 4 года назад

    Good will try

  • @slmusicbro2410
    @slmusicbro2410 4 года назад +1

    super bro

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

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

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

    Super bro

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

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

    Thanks Code

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

    Good

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

    can you make another video on computer programing?

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

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

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

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

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

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

  • @miltonthangaraj2243
    @miltonthangaraj2243 4 года назад

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

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

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

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

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

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

    Sir please help me mu motors are not rotating

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

    It is change direction automatically???

  • @mallanagouddevaraddi7189
    @mallanagouddevaraddi7189 4 года назад

    In which website you buy components

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

    Pls tell me how to make this with 2 motors

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

    Can you tell the model of the motor driver

  • @NoOne-hh2qx
    @NoOne-hh2qx 5 лет назад +2

    You helped me I like your vedios thank you

    • @5xGear
      @5xGear  5 лет назад

      Good to know that, share this video with your friends...

  • @gwgamingworld1122
    @gwgamingworld1122 4 года назад

    Is battery is rechargeable

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

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

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

      You used this code

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

    battery specification please

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

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

  • @clarkakrm1077
    @clarkakrm1077 4 года назад

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

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

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

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

    Can you provide please programming codes

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

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

  • @nirajverma1374
    @nirajverma1374 4 года назад

    A1 scope is not declared how to solve this problem

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

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

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

  • @jayachandran4476
    @jayachandran4476 3 года назад +6

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

  • @metladeviadityaprasad4292
    @metladeviadityaprasad4292 4 года назад

    good

  • @user-nr8gi6qy9s
    @user-nr8gi6qy9s 2 года назад

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

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

    From where the code starts

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

    Can we code using mobile?

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

    Wow

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

    I want kit how much price

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

    voltaje and A?

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

    How much will it cost totally?

  • @priyanshupal2722
    @priyanshupal2722 4 года назад

    bhai ya sara sman kha melga or yh palt bi

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

    Sir, is circuit diagram correct?

  • @ramasiskamti4639
    @ramasiskamti4639 4 года назад +1

    Please send me in full information

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

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

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

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

    Can you please make a vedio on coad of car plz

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

    Please help me bro software creating

  • @user-tp2rs7ve8c
    @user-tp2rs7ve8c 5 месяцев назад

    This model is working

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

  • @ZaidMallick-zc5oe
    @ZaidMallick-zc5oe 6 месяцев назад

    Hallo sir plz replaye sir coad work nahi kar raha ha

  • @Toylandtales001
    @Toylandtales001 5 лет назад +1

    Great innovation 😃

    • @5xGear
      @5xGear  5 лет назад

      Thanks for your support mamma chinu 😂

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

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

    Coding me error aa rha h any help me

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

    Y OUR description not show the CODE

  • @artwithranadheer4378
    @artwithranadheer4378 4 года назад +1

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

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

    I need help in this project
    Plz help

  • @gamepro9236
    @gamepro9236 4 года назад +1

    Thanks bro

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

  • @ghugtyalgaming4981
    @ghugtyalgaming4981 4 года назад

    Bhai sound or model bhaut badhya hh
    Tusi great ho ji

  • @user-iq9hr6qj6o
    @user-iq9hr6qj6o 2 года назад +1

    please.. send me the code

  • @gomystration5262
    @gomystration5262 4 года назад +1

    Total cost

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

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

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

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

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

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

  • @user-il8op2fs3x
    @user-il8op2fs3x 2 года назад +1

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

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

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

    Aiya oke cod aka ghanna kohomada ???? 😍

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

    I make this car but they did not work

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

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

  • @vinodvl8230
    @vinodvl8230 4 года назад

    its really helpful

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

    what material did you use for the base ???

  • @user-uc7qh4xl3k
    @user-uc7qh4xl3k Месяц назад

    Where is the code??

  • @rabinahak7941
    @rabinahak7941 4 года назад

    mobile se code keise

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

  • @bhanugamage9246
    @bhanugamage9246 4 года назад

    Woow, this car was very nice

  • @piyush2657
    @piyush2657 4 года назад +2

    Can we use simple dc motor

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

  • @aquilahmad4723
    @aquilahmad4723 4 года назад

    Ue dekh raha hai ki rasta kidhar se khoola hai

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

    Code error

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

    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  3 месяца назад

      Can you tell me what error it shows?

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

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

  • @kidscortoonmoviestamil7338
    @kidscortoonmoviestamil7338 4 года назад +1

    Hi bro
    How to work in sketch app when installed first

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

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

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

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

    robot : so many obstacle 😒
    🤣🤣

  • @solved5928
    @solved5928 4 года назад +1

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

  • @Dream_Ideas_DIY
    @Dream_Ideas_DIY 4 года назад

    that's the code is correct

    • @5xGear
      @5xGear  4 года назад

      We have shared the exact code we used in our arduino car. The code is correct

  • @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 4 месяца назад

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

  • @raju.v824
    @raju.v824 4 года назад +1

    How do you add pins motor shield

  • @ahmadsheraz7477
    @ahmadsheraz7477 4 года назад

    hi plz shear wiring diagram of this robot car

    • @5xGear
      @5xGear  4 года назад

      Here you go - i.imgur.com/89XrqpW.jpg

  • @arwithranadheer1067
    @arwithranadheer1067 4 года назад

    Code is not being compiled

    • @5xGear
      @5xGear  4 года назад

      Can you tell specifically what error you are seeing? Also, have you added all the library files needed for arduino?

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

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

  • @saurabhsharma1028
    @saurabhsharma1028 4 года назад

    what is a af motor this progeming is not work

    • @5xGear
      @5xGear  4 года назад

      Please, add the library files needed for Arduino.