No video

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

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/1...
~ Library Files - tinyurl.com/y3...
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/pO...
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)

Пікірлер: 360

  • @indranisanyal2265
    @indranisanyal22653 жыл бұрын

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

  • @raknowledgeofworld8782

    @raknowledgeofworld8782

    3 жыл бұрын

    Code dear

  • @raknowledgeofworld8782

    @raknowledgeofworld8782

    3 жыл бұрын

    Can u send me it's source code

  • @czas4

    @czas4

    2 жыл бұрын

    Wow. Congrats!

  • @sadaditi6786

    @sadaditi6786

    Жыл бұрын

    How to you coding in arduino

  • @deva4184

    @deva4184

    10 ай бұрын

    You used this code and libraries

  • @rlrentertainmentsinventions
    @rlrentertainmentsinventions3 жыл бұрын

    Super bro very very great, phantastic and good job

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

  • @jayachandran4476
    @jayachandran44763 жыл бұрын

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

  • @kameigaibungmei3357

    @kameigaibungmei3357

    3 жыл бұрын

    Yes you are right

  • @rohittejwani2964
    @rohittejwani29642 жыл бұрын

    can you make another video on computer programing?

  • @HarshGArt
    @HarshGArt3 жыл бұрын

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

  • @angryknight2496
    @angryknight2496 Жыл бұрын

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

  • @user-tu3wk2hc3e
    @user-tu3wk2hc3e3 жыл бұрын

    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

    3 жыл бұрын

    i can show

  • @smartunboxer7310

    @smartunboxer7310

    3 жыл бұрын

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

  • @ajaytupare2800
    @ajaytupare28004 жыл бұрын

    you are a genious man

  • @physicswithkhanbaloch9099
    @physicswithkhanbaloch9099 Жыл бұрын

    Can you provide please programming codes

  • @nitishgoud1999
    @nitishgoud19993 жыл бұрын

    Sir please help me mu motors are not rotating

  • @user-il8op2fs3x
    @user-il8op2fs3x2 жыл бұрын

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

  • @shadhinsakilalita3905
    @shadhinsakilalita390510 ай бұрын

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

  • @jerrry7
    @jerrry75 жыл бұрын

    Good job sir..👍

  • @5xGear

    @5xGear

    5 жыл бұрын

    Thank you, keep sharing our videos

  • @jerrry7

    @jerrry7

    5 жыл бұрын

    😊ys ofcourse.

  • @angelmariano3093

    @angelmariano3093

    4 жыл бұрын

    what arduino version you can use?

  • @SamuelLeumas-h1z
    @SamuelLeumas-h1zАй бұрын

    Where do I get all this thing

  • @user-iq9hr6qj6o
    @user-iq9hr6qj6o3 жыл бұрын

    please.. send me the code

  • @ritickghoshal4082
    @ritickghoshal40824 жыл бұрын

    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?

  • @ManiMani-ox6ui
    @ManiMani-ox6uiАй бұрын

    Where you buy this thing

  • @Sangamkumar017
    @Sangamkumar0174 жыл бұрын

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

  • @Musicvlogger59

    @Musicvlogger59

    3 жыл бұрын

    Then the code will change

  • @sadaditi6786
    @sadaditi6786 Жыл бұрын

    Coding me error aa rha h any help me

  • @instagramreelsvideo8908
    @instagramreelsvideo89085 ай бұрын

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

  • @naingwintun985
    @naingwintun9853 жыл бұрын

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

  • @VivekSharma-ux2bl
    @VivekSharma-ux2bl2 жыл бұрын

    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

  • @abygv8620
    @abygv86204 жыл бұрын

    what to search in the library manager there is no such result (AFMoter.h)

  • @shoayebahmed1517
    @shoayebahmed15174 жыл бұрын

    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);

  • @pavan..videos4861

    @pavan..videos4861

    3 жыл бұрын

    same problem

  • @technicalgaurav7656
    @technicalgaurav76562 жыл бұрын

    Good

  • @alandiloshan4005
    @alandiloshan40054 жыл бұрын

    Thanks for ur help bro

  • @piyush2657
    @piyush26574 жыл бұрын

    Can we use simple dc motor

  • @Musicvlogger59

    @Musicvlogger59

    3 жыл бұрын

    Yes but have to use other wheels

  • @sriadhvaithjeyakumar5148
    @sriadhvaithjeyakumar51483 жыл бұрын

    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?

  • @aweisharjaadas3578
    @aweisharjaadas35784 жыл бұрын

    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

  • @khranmale.4748
    @khranmale.47482 жыл бұрын

    Super bro amazing

  • @samarvloggs9684
    @samarvloggs96842 жыл бұрын

    Can you please make a vedio on coad of car plz

  • @pavaneditrs7321
    @pavaneditrs73212 жыл бұрын

    Please help me bro software creating

  • @ultratoonstamil22
    @ultratoonstamil226 ай бұрын

    Can you tell the model of the motor driver

  • @gomystration5262
    @gomystration52624 жыл бұрын

    Total cost

  • @kavyakumarsingh7039
    @kavyakumarsingh70394 жыл бұрын

    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 жыл бұрын

    Adjust the delay

  • @sachingarg5199

    @sachingarg5199

    4 жыл бұрын

    you may adjust the delay to a longer time.

  • @Diaryofmemories109

    @Diaryofmemories109

    4 жыл бұрын

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

  • @shivangnipandey8020
    @shivangnipandey80204 жыл бұрын

    Superb video

  • @RKDdiazperez
    @RKDdiazperez5 ай бұрын

    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

    4 ай бұрын

    Can you tell me what error it shows?

  • @vihaanb.l.6922
    @vihaanb.l.69224 жыл бұрын

    Good will try

  • @nikhilkatakwar7852
    @nikhilkatakwar7852 Жыл бұрын

    I want kit how much price

  • @mekapatidarshanik6788
    @mekapatidarshanik67884 жыл бұрын

    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 жыл бұрын

    Same happens with me

  • @glassybeats105

    @glassybeats105

    2 жыл бұрын

    This project is a headache

  • @omari984ru

    @omari984ru

    Жыл бұрын

    me also some problem :(

  • @farukhossain3719
    @farukhossain37193 жыл бұрын

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

  • @chandanchachu19
    @chandanchachu193 жыл бұрын

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

  • @smartunboxer7310
    @smartunboxer73103 жыл бұрын

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

  • @slmusicbro2410
    @slmusicbro24104 жыл бұрын

    super bro

  • @supercopp6917
    @supercopp69174 жыл бұрын

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

  • @sannukumari6546
    @sannukumari65462 жыл бұрын

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

  • @deva4184

    @deva4184

    10 ай бұрын

    You used this code

  • @ZaidMallick-zc5oe
    @ZaidMallick-zc5oe8 ай бұрын

    Hallo sir plz replaye sir coad work nahi kar raha ha

  • @miltonthangaraj2243
    @miltonthangaraj22434 жыл бұрын

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

  • @user-nr8gi6qy9s
    @user-nr8gi6qy9s2 жыл бұрын

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

  • @jishabenny9183
    @jishabenny91832 жыл бұрын

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

  • @sayandatta7265
    @sayandatta72653 жыл бұрын

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

  • @yovindujayasundara9512
    @yovindujayasundara95122 жыл бұрын

    Pls tell me how to make this with 2 motors

  • @atulyasresthprasad9236
    @atulyasresthprasad92363 жыл бұрын

    It is change direction automatically???

  • @The18041951
    @The180419513 жыл бұрын

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

  • @srujankulkarni9010
    @srujankulkarni90104 жыл бұрын

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

  • @circuitguru4554

    @circuitguru4554

    4 жыл бұрын

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

  • @ghousiashaik6426
    @ghousiashaik64267 ай бұрын

    Sir, is circuit diagram correct?

  • @gangothriholidayscruise7859
    @gangothriholidayscruise7859 Жыл бұрын

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

  • @sakesharjun
    @sakesharjun4 жыл бұрын

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

  • @venugopalpabba1

    @venugopalpabba1

    4 жыл бұрын

    Please bro

  • @abdulkareemsayaf3386
    @abdulkareemsayaf33864 жыл бұрын

    Y OUR description not show the CODE

  • @rajudeb8604
    @rajudeb86043 жыл бұрын

    Super bro

  • @user-tp2rs7ve8c
    @user-tp2rs7ve8c6 ай бұрын

    This model is working

  • @mamtasawai7053
    @mamtasawai7053 Жыл бұрын

    Thanks Code

  • @umas4146
    @umas41469 ай бұрын

    Can we code using mobile?

  • @kavyakumarsingh7039
    @kavyakumarsingh70394 жыл бұрын

    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

  • @ahb5819

    @ahb5819

    4 жыл бұрын

    Recharge batteries

  • @ghugtyalgaming4981

    @ghugtyalgaming4981

    4 жыл бұрын

    Correct bola

  • @minroiwijayarathne1965

    @minroiwijayarathne1965

    3 жыл бұрын

    Change the terminals?

  • @clarkakrm1077
    @clarkakrm10774 жыл бұрын

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

  • @gwgamingworld1122
    @gwgamingworld11224 жыл бұрын

    Is battery is rechargeable

  • @dushyantpehwal4520
    @dushyantpehwal45204 жыл бұрын

    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

    4 жыл бұрын

    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

  • @collegeskills2022
    @collegeskills20222 жыл бұрын

    How much will it cost totally?

  • @muhammadridho7680
    @muhammadridho76802 жыл бұрын

    battery specification please

  • @mohithscreation1432
    @mohithscreation14322 жыл бұрын

    From where the code starts

  • @wassimsoualili7153
    @wassimsoualili71534 жыл бұрын

    why if I unplug the cable the car does not work

  • @uw_rahul3630

    @uw_rahul3630

    4 жыл бұрын

    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

  • @bhanugamage9246
    @bhanugamage92464 жыл бұрын

    Woow, this car was very nice

  • @NoOne-hh2qx
    @NoOne-hh2qx5 жыл бұрын

    You helped me I like your vedios thank you

  • @5xGear

    @5xGear

    5 жыл бұрын

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

  • @user-uc7qh4xl3k
    @user-uc7qh4xl3k3 ай бұрын

    Where is the code??

  • @mallanagouddevaraddi7189
    @mallanagouddevaraddi71894 жыл бұрын

    In which website you buy components

  • @99199678
    @991996784 жыл бұрын

    hello bro can i use 4 battries 3.7 v ??

  • @nirajverma1374
    @nirajverma13744 жыл бұрын

    A1 scope is not declared how to solve this problem

  • @artwithranadheer4378
    @artwithranadheer43784 жыл бұрын

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

  • @rajashreem6062
    @rajashreem60624 жыл бұрын

    How to control this robot??

  • @varsharaja4485

    @varsharaja4485

    4 жыл бұрын

    It works on its own

  • @HarshGArt
    @HarshGArt4 жыл бұрын

    I make this car but they did not work

  • @chiranthahasaranga3117
    @chiranthahasaranga31172 жыл бұрын

    Aiya oke cod aka ghanna kohomada ???? 😍

  • @raju.v824
    @raju.v8244 жыл бұрын

    How do you add pins motor shield

  • @kidscortoonmoviestamil7338
    @kidscortoonmoviestamil73384 жыл бұрын

    Hi bro How to work in sketch app when installed first

  • @firoshgt509
    @firoshgt509 Жыл бұрын

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

  • @ghousiashaik6426

    @ghousiashaik6426

    7 ай бұрын

    Yes

  • @SK_Senthil
    @SK_Senthil4 жыл бұрын

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

  • @shlok370

    @shlok370

    6 ай бұрын

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

  • @solved5928
    @solved59284 жыл бұрын

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

  • @metladeviadityaprasad4292
    @metladeviadityaprasad42924 жыл бұрын

    good

  • @feeltherythm9410
    @feeltherythm94103 жыл бұрын

    I need help in this project Plz help

  • @JeffBv19
    @JeffBv193 жыл бұрын

    voltaje and A?

  • @mbijaybikramofficial9938
    @mbijaybikramofficial99384 жыл бұрын

    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😄

  • @AjayKumar-yv2bj
    @AjayKumar-yv2bj4 жыл бұрын

    What is the programming language used?

  • @mateocorrea444

    @mateocorrea444

    4 жыл бұрын

    C++

  • @priyanshupal2722
    @priyanshupal27224 жыл бұрын

    bhai ya sara sman kha melga or yh palt bi

  • @yugbajaria2656
    @yugbajaria26563 жыл бұрын

    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 жыл бұрын

    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 ?

  • @digvijaymotors7577
    @digvijaymotors75774 жыл бұрын

    PLZZ SEND THE CORRECT CODE . WHILE UPLODING CODE IT IS SHOWING ERROR THAT: 1. AF_DCMotor motor1(1, MOTOR12_64KHZ); AF_DCMotor motor2(2, MOTOR12_64KHZ); AF_DCMotor motor3(3, MOTOR34_64KHZ); AF_DCMotor motor4(4, MOTOR34_64KHZ); NOT CONNECTED PLZZZZZ HELP FASTER MY EXHIVITION IS THEIR ON MONDAY

  • @levi7148

    @levi7148

    4 жыл бұрын

    i think that is a separate file named afdcmotor

  • @muralisharma2537

    @muralisharma2537

    4 жыл бұрын

    Can u tell how to install this file plez

  • @net6739
    @net67393 жыл бұрын

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

  • @thilinilakmali2838

    @thilinilakmali2838

    2 жыл бұрын

    Niyamai sar

  • @pragyasarma3521
    @pragyasarma35214 жыл бұрын

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

  • @5xGear

    @5xGear

    4 жыл бұрын

    Yes, will also work on chinese replicas

  • @anilkumarmaligi7863
    @anilkumarmaligi78633 жыл бұрын

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

  • @rlrentertainmentsinventions
    @rlrentertainmentsinventions3 жыл бұрын

    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

  • @aquilahmad4723
    @aquilahmad47234 жыл бұрын

    Ue dekh raha hai ki rasta kidhar se khoola hai