Arduino Obstacle Avoiding Robot (using L293D Motor Driver IC)

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 มิ.ย. 2024
  • This Tutorial is for anyone getting started with arduino. We will be building an obstacle avoiding robot that uses an ultrasonic HC SR-04 sensor to detect objects and L293D Motor Driver.
    Required Hardware:
    Arduino Uno R3 :
    goo.gl/UyGYeF (Banggood)
    amzn.to/2LZr6t4 (Amazon)
    L293D Motor Driver :
    goo.gl/MLBWrg (Banggood)
    amzn.to/2ZqRob1 (Amazon)
    HC-SR04 Ultrasonic Sensor :
    goo.gl/dRkWUg (Banggood)
    amzn.to/3s4SbdT (Amazon)
    Bracket HC-SR04 :
    goo.gl/1RrOgP (Banggood)
    amzn.to/2M2pChV(Amazon)
    DC Motor and Wheel :
    goo.gl/rpxoMu (Banggood)
    amzn.to/2M2pChV (Amazon)
    Front Wheel :
    goo.gl/sNu1u7 (Banggood)
    amzn.to/2M0KkP4 (Amazon)
    Robot Chassis :
    goo.gl/v1moF2 (Banggood)
    amzn.to/3s1ptur (Amazon)
    Jumper or Wires :
    goo.gl/EGTafY (Banggood)
    amzn.to/3doetmT (Amazon)
    Mini Breadboard :
    goo.gl/jZeZC2 (Banggood)
    amzn.to/2M15Wea (Amazon)
    Recommended Items:
    Use Your Muscles in Project - amzn.to/3wdL45C
    37 Sensor & Module Packages - amzn.to/3m66WeQ
    Try this Robot Arm - amzn.to/3fq8DCl
    Best Resin 3D Printer - amzn.to/39tY8KB
    Arduino Compatible Kits - bit.ly/2J2AFF7
    Banggood Spring Sale - bit.ly/3slMbOn
    Source Code: create.arduino.cc/editor/mert...
    Social Media:
    / mertarduino
    / mertarduino
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Source Code: create.arduino.cc/editor/mertarduinotech/e48825f7-af85-45e0-881d-23130ba4d644/preview
    Recommended Items:
    Use Your Muscles in Project - amzn.to/3wdL45C​
    37 Sensor & Module Packages - amzn.to/3m66WeQ​
    Try this Robot Arm - amzn.to/3fq8DCl​
    Best Resin 3D Printer - amzn.to/39tY8KB​
    Arduino Compatible Kits - bit.ly/2J2AFF7​
    Banggood Spring Sale - bit.ly/3slMbOn

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

    Great project!! Works quite well, just made one with my boys, thank you very much for sharing

    • @Gauravbrty
      @Gauravbrty 6 ปีที่แล้ว

      Hristo Bachvarov did it work? Everything is correct in this vedio?

  • @zarrarzubair2638
    @zarrarzubair2638 6 ปีที่แล้ว

    Hi, your videos and programming is best.

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

    I made exactly the same and it's working. Thanks for explaining step by step. Good work!!

    • @mananbhateja5146
      @mananbhateja5146 6 ปีที่แล้ว

      you uploaded the code after the after the connections or before?

    • @sumeetsawakare4071
      @sumeetsawakare4071 6 ปีที่แล้ว

      Manan Bhateja Before the connection

  • @poojamsw4080
    @poojamsw4080 6 ปีที่แล้ว

    A good chanel for all purpose and robotics

  • @Prompt24
    @Prompt24 6 ปีที่แล้ว

    Thanks. I completed the project with Arduino Nano. Works perfect.

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

      Can you please tell me that after doing coding how it start running..... it's urgent please tell

  • @itsmaica3211
    @itsmaica3211 7 ปีที่แล้ว

    Gracias Amigo Por el Video Saludos desde Chile
    Buen Video
    Like

  • @Misstessah
    @Misstessah 7 ปีที่แล้ว

    Mert thanks for everything :)

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

    thank you mert sir i've made this for my school project and I got the first rank......
    thank u soooooo much.....

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

      Tell me also please 😢

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

    Very nice project. I made it and it worked excellent.thnx for thus excellent robot and video

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

    what software did you use to link wires virtually on this video?

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

    Hey...when I connect through USB to PC... it's working properly but when I try to 9v battery with DC jack ....the sensor is not working....
    I can't understand....plzz reply me...

  • @---kz4oc
    @---kz4oc 7 ปีที่แล้ว +1

    wil u plz give the arduino code i try to nade it myself bt cant fix the directions of mottors in forward and backword

  • @vijivijay2447
    @vijivijay2447 6 ปีที่แล้ว

    instead of steady sensor, can we use stepper motor to rotate right and left and then move

  • @channel_B5
    @channel_B5 6 ปีที่แล้ว

    Hi, awesome video! I am planning to use this L293D chip with these motors. I am afraid the motors overdrive the chip without a heat sink. Can you please confirm that using no heatsink causes no problems? Thanks!

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

    hi sir I liked your video very much please make an Arduino quadcopter

  • @mazenmostafa396
    @mazenmostafa396 6 ปีที่แล้ว

    why do you calculate distance by dividing (duration/2) by 28.5 ?

  • @riseoftech4k332
    @riseoftech4k332 7 ปีที่แล้ว

    can i use a 9v battery to power the l293d intead of your psck of 4 x 1.5v mini batteries? does it still work

  • @bhuvanesh1963
    @bhuvanesh1963 6 ปีที่แล้ว

    Thanks such superrrb project

  • @abhijeetmishra9279
    @abhijeetmishra9279 6 ปีที่แล้ว

    Sir we have to only cut and paste the programming code or we have to create a library

  •  6 ปีที่แล้ว

    disculpe, tengo una duda, ya arme el circuito pero al conectar una pila de 9v no hace nada, si desconecto la pila y conecto a alimentacion al arduino éste enciende pero no hace nada, solo parpadea el led ambar y ya, cual seria la solucion en este caso?

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

    Hi,if I want to programming the obstacle avoiding robot car I just want to copy and paste the code ahh?

  • @orseenypi3937
    @orseenypi3937 6 ปีที่แล้ว

    did you use any sensors for it not to fall of from the table ? i didnt see any

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

    Do we need to include any libraries for l293d ic

  • @josemariaximenessantos5709
    @josemariaximenessantos5709 7 ปีที่แล้ว

    Excelente, valeu.... Obrigado pelo vídeo.

  • @karthikraj6347
    @karthikraj6347 7 ปีที่แล้ว

    Hey, big fan of your work, especially the instructables, following your work on both youtube and instructables.com. Please keep making more tutorials. QUICK QUESTION, is it possible to use a 9V battery instead of 4 AA batteries? because 9v battery is easy to mount onto the board

  • @suthasundar4934
    @suthasundar4934 7 ปีที่แล้ว

    yes....I want to know how to use the motor shield..I used it but some problem in coding.after completing my coding I gave compiling.. but it saying error because of ..what to do???? and thx for ur quick response

  • @minahany7314
    @minahany7314 7 ปีที่แล้ว

    what should i adjust in code to make the robot stop completely if distance > 20 and go backward if distance < 20 ??

  • @matiyosabebe1944
    @matiyosabebe1944 6 ปีที่แล้ว

    hi sir
    pls can you help me?
    i went to simulate on proteus this project but i didn't gate pin connection

  • @RCTechBattles
    @RCTechBattles 7 ปีที่แล้ว

    Very nice vid!!!

    • @laxmanshivde502
      @laxmanshivde502 7 ปีที่แล้ว

      how can i use the arduino with battery but without lloosing the programmed code ? please reply quickly

    • @NeverFoundSanity
      @NeverFoundSanity 7 ปีที่แล้ว

      By plugging a battery into it? duh... It keeps the programme after you unplug it from the computer

  • @skataulhaque969
    @skataulhaque969 7 ปีที่แล้ว

    sir do i need to use any library for the l293d driver

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

    Is that pink colored thing is necessary for the project

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

    Is that dc gear motor need to solder?

  • @Misstessah
    @Misstessah 7 ปีที่แล้ว

    Mr. Mert how can we make the DC Motors Move directly. . . . .is the program the problem or the circuit?. .

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

    Hi hello, what is the difference between just using L293D IC compare using L293D Motor Driver Control Shield? tq

  • @Misstessah
    @Misstessah 7 ปีที่แล้ว

    Mr. Mert Thank you :)

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

    What sheet you used for making chasis sir?

  • @meeramahind4609
    @meeramahind4609 7 ปีที่แล้ว

    Sir, how to interface IR sensor module instead of HC-SR 04 sensor?

  • @ashutoshsahoo1870
    @ashutoshsahoo1870 6 ปีที่แล้ว

    Where did you give power supply to the arduino? And Vin is not connected here.. then how power is given to arduino?

  • @TechRebel03
    @TechRebel03 6 ปีที่แล้ว

    when i connect the 9v battery to the breadboard(as shown by you) nothing happens. But when i connect a 9v battery to my arduino the motors move very slowly.
    plz help

  • @tarunbirgambhir3627
    @tarunbirgambhir3627 7 ปีที่แล้ว

    will a 12v lead battery instead of those 6.5v pencil cell battery be safe for the whole project?

  • @simonbernard7215
    @simonbernard7215 7 ปีที่แล้ว

    hello, what's the name of the software you used to simulate arduino connections ?

  • @shamimahmed-ux4jy
    @shamimahmed-ux4jy 3 ปีที่แล้ว

    Sir,which software you can use for circuit diagram for pc

  • @jorenkester8123
    @jorenkester8123 7 ปีที่แล้ว

    what is the site you use for making the connections? the site you see in 2:25.

  • @surajs6469
    @surajs6469 6 ปีที่แล้ว

    Sir I have a doubt
    How can I connect a servo motor in this robot as such as in the video and rotate that head as the Oracle is there
    My main is to not to use a motor shield

  • @laxmanshivde502
    @laxmanshivde502 7 ปีที่แล้ว

    how can i use the arduino with battery but without lloosing the programmed code ? please reply quickly

  • @christosmichailidis5499
    @christosmichailidis5499 7 ปีที่แล้ว

    which is the program you make the connections...??

  • @nobitanobi2849
    @nobitanobi2849 7 ปีที่แล้ว

    Too good bro

  • @vidhatrisamadhiya4599
    @vidhatrisamadhiya4599 7 ปีที่แล้ว

    Which material you use for chassis

  • @Marco.Malatesta
    @Marco.Malatesta 5 ปีที่แล้ว

    Hi, congratulations for your project, I am creating a project with the same modality but for a different use I wanted to ask you for courtesy if it was possible for you to create the same project ie the same arduino code with 2 hc-sr04 sensors because I am trying to insert a second sensor but the code doesn't work for me could you help me? thank you.

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

    How do you supply power to arduino
    There is no connection to Vin
    Did you use barrel connector?

    • @honkhonk8009
      @honkhonk8009 6 ปีที่แล้ว

      The hell do you mean. Unless your using a cheap chinese arduino, there should be vin. . .

  • @tarundhiman1140
    @tarundhiman1140 6 ปีที่แล้ว

    Hy man which is best 9v rechargable battery under 300

  • @user-rh7ib6cr6n
    @user-rh7ib6cr6n 3 ปีที่แล้ว

    А че 4 провода с микросхемы l293d земли нужно было тянуться одну точку?

  • @diegolatorre7319
    @diegolatorre7319 6 ปีที่แล้ว

    what program do you use to make the diagrams?

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

    Hi Bro, great movie. What program You use for draw cicruit?

  • @Md.NazmusSakib
    @Md.NazmusSakib 4 ปีที่แล้ว

    Sir..my code doesn't working after turn it on it just rotating. ..not moving forward although there is enough space...pls help.!

  • @bcsamb13
    @bcsamb13 6 ปีที่แล้ว

    Can i use a US-015 Ultrasonic sensor?

  • @itsmaica3211
    @itsmaica3211 7 ปีที่แล้ว

    Disculpa Hay alguna forma de bajar la potencia de los motores
    Parece auto de fomula 1
    No logro bajarle la portencia

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

    what is that app that you uesed in it
    plz tell
    me

  • @bleach2427
    @bleach2427 7 ปีที่แล้ว

    Could you replace HC-SR04 Ultrasonic with sharp 2y0a21 and code plz

  • @niniliumify
    @niniliumify 7 ปีที่แล้ว

    good basic Bot video.

  • @jashankochhar4683
    @jashankochhar4683 7 ปีที่แล้ว

    Hi,
    I was watching your videos for Bluetooth control and obstacle avoiding robot and they are superb. I wanted some direction for my robotics project. My project involves getting my rover placed in a world whose map is known to me. It is made up of random black and white blocks. Step 1 is localisation. I have to move through the maze and detect patterns on the floor to localise where i am. Now they will put obstacles which I know on my map. Step 2 is from my current location, going to one point A in maze without hitting obstacles. Step 3 is picking up a block manually at point A and step 4 is going to finish point B. Do you any advice or direction in which I should proceed. If there is some MATLAB code , please let me know. I wanted to know how we communicate MATLAB and Arduino.
    Thank you and have a nice day

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

    thanks bro

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

    What type of glue is used ?

  • @SachinYadav-eh7vg
    @SachinYadav-eh7vg 7 ปีที่แล้ว

    can you please give the explanation and working of components used
    please

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

    Will it work for esp 32 too

  • @miriamracz
    @miriamracz 7 ปีที่แล้ว

    cam i use an arduino mega?

  • @satardhanjayanthi611
    @satardhanjayanthi611 7 ปีที่แล้ว

    sir can you share the header files required by the arudino

  • @Steve-xt6xv
    @Steve-xt6xv 5 ปีที่แล้ว

    Hello Sir, i am very interested with your project, can you share what software do you used on simulating the connection of your project please? i am very thankful if you could reply my comment :)

  • @sktg9041
    @sktg9041 7 ปีที่แล้ว

    Hi ! can we use a servomotor ?

  • @mohamedsabry7155
    @mohamedsabry7155 6 ปีที่แล้ว

    ?how did you power the arduino

  • @kartiksingh9382
    @kartiksingh9382 7 ปีที่แล้ว

    sir my coding problem has solved , but now on the motors are working and ultrasonic sensor is not

  • @baboon4711
    @baboon4711 6 ปีที่แล้ว

    sir, what software do you use to create that connection design simulation easier?

  • @youdisteve2918
    @youdisteve2918 6 ปีที่แล้ว

    Please make an obstacle avoiding robot using motor driver L298N but without a breadboard. Thank you

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

    Hi bro can u slove my problem bro plz
    I have did what u have said on VIEDO and code is also working but my motors are working very slowly when I connect to the motor driver shield l293d but when I power the motor directly it will work good bro what is the problem bro can u plz replay and give a solution for it bro plz bro plz

  • @pushpkantbariha4026
    @pushpkantbariha4026 6 ปีที่แล้ว

    problem uploading on board plz give me working code (avrdude: ser_open(): can't open device "\\.\COM1": The system cannot find the file specified.)

  • @yerr7774
    @yerr7774 7 ปีที่แล้ว

    Am I able to do the code on arduino software 1.8.2?

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

    Pls help. Need to add a library?

  • @innovationdad2398
    @innovationdad2398 7 ปีที่แล้ว

    sir can i use l298n motor driver

  • @jubixx2202
    @jubixx2202 7 ปีที่แล้ว

    Is it alright to use only one breadboard or not? Why is it necessary to use two bread boards? I'm so sorry for the noob question. I just started out in doing robotics.

    • @shutdahellup69420
      @shutdahellup69420 7 ปีที่แล้ว

      Jubixx if you have bigger board than he used in this video its fine...he used 2 because there was no space left in one small bread board

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

    can i use 1 mb-102 breadboard

  • @rumaisasultana630
    @rumaisasultana630 6 ปีที่แล้ว

    It works.. 😍

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

    Hello
    What is that pink color thing you used in car as shown

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

      It's a power bank for power the Arduino

  • @shaikmansoor157
    @shaikmansoor157 7 ปีที่แล้ว

    can V use ir sensor

  • @NPavan-ih2hh
    @NPavan-ih2hh หลายเดือนก่อน

    How to do it with 830 tie points breadboard

  • @usaidvlog1537
    @usaidvlog1537 7 ปีที่แล้ว

    sir I can use motor driver complete

  • @ozankahveci4250
    @ozankahveci4250 7 ปีที่แล้ว

    motorlar 6v değil mi 1.5 v ile nasıl çalıştı?

  • @usaidvlog1537
    @usaidvlog1537 7 ปีที่แล้ว

    sir i can use two 9 volt battery

  • @suthasundar4934
    @suthasundar4934 7 ปีที่แล้ว

    how to use adafruit for motor driving programmer.....

  • @Martin_Simple
    @Martin_Simple 7 ปีที่แล้ว

    nice :)

  • @adityarai7674
    @adityarai7674 7 ปีที่แล้ว

    please make vedio on l293d driver module

  • @nurezaty1236
    @nurezaty1236 7 ปีที่แล้ว

    sir , can i get the schematic diagram for this project ?

  • @MamadouGamingandmore
    @MamadouGamingandmore 7 ปีที่แล้ว

    does the fritzing program have a virus?

  • @dosan370
    @dosan370 7 ปีที่แล้ว

    I followed everything in the same exact order and still my robot doesn't move at all, I have uploaded several times the sketch to my arduino and nothing.

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

    from where you buy the robot face?

  • @flux6826
    @flux6826 7 ปีที่แล้ว

    which device you use to record the video
    which software you use to edit the video.

    • @irocklalot
      @irocklalot 7 ปีที่แล้ว

      Mert Arduino Tutorial & Projects dam that's a great quality for a phone. What was it?

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

    sir,What is the size of plate..

  • @antorahmad4419
    @antorahmad4419 7 ปีที่แล้ว

    can you give me me the screenshot of programming step by step?please.........

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

    Hi what is the background music

  • @poojashetty5452
    @poojashetty5452 6 ปีที่แล้ว

    Hi sir, I made this project exactly as shown in the video but the robot does not stop moving even if there is an obstacle in the way of it, what can be a possible problem? pls guide me

    • @honkhonk8009
      @honkhonk8009 6 ปีที่แล้ว

      The ultra sonic sensor seems to be at fault.