Arduino obstacle avoiding Robot car | Arduino ultrasonic sensor and L298N based self driving car

Sdílet
Vložit
  • čas přidán 26. 08. 2024
  • #Arduino #SmartCar #electronicGuru
    Buy Arduino obstacle avoidance car kit:
    www.banggood.i...
    Download Code :
    github.com/shv...

Komentáře • 122

  • @rrschmid
    @rrschmid Před 2 lety +3

    The way you say chassis is hypnotic... I eagerly wait to hear you say it again... and again... and again...

  • @milespeterson5049
    @milespeterson5049 Před rokem +1

    7:10 KEEP EXPLODING 💥

  • @DG-ih9fb
    @DG-ih9fb Před 2 lety +3

    Which wire did you use for the ultrasonic connection to arduino

  • @electronic7979
    @electronic7979 Před 4 lety +2

    Very nice project. I like it

  • @user-xt9tx3zl7n
    @user-xt9tx3zl7n Před rokem +1

    my ultrasonic sensor is not working what should i do??????

  • @tanayasingh2402
    @tanayasingh2402 Před 7 měsíci

    Sir, the wheels are moving but the ultrasonic sensor is not sensing .I followed the exact same steps .I even tried replacing the ultrasonic sensor with a new one but its still not working .Kindly help me sir.

  • @HelmutHassfurther
    @HelmutHassfurther Před 4 lety +2

    Is that really without instructions? That would not be salable in Germany. But the Chinese can do that because they have you to create a guide. I hope you have another component besides the components.

    • @_Immenfreund_
      @_Immenfreund_ Před 4 lety

      @@electronicGURU sorry, compensation not components

  • @kesimukasa3621
    @kesimukasa3621 Před 3 lety +3

    Great video, i copied your code and the code is good but when i upload it to the Arduino UNO board only one motor turns and the sensor doesn’t work, does anyone else have the same problem, if so how did you go around fixing it thank you.

    • @electronicGURU
      @electronicGURU  Před 3 lety

      Well try to switch the motor driver jumpers to see if motor works in either of those ways. And what exactly issue you are facing with sensor.

    • @kesimukasa3621
      @kesimukasa3621 Před 3 lety +1

      @@electronicGURU thank you for the quick reply, I tried switching the cables and still nothing and basically what happens after I switch on the car is that only the sensor motor turns then stops then the left wheel turns and just keeps turning.

    • @electronicGURU
      @electronicGURU  Před 3 lety

      Actually sometimes it behaves strange. I am also not sure why because the code is correct. But you know use some println functions to see if sensor is reading anything.

    • @tanayasingh2402
      @tanayasingh2402 Před 7 měsíci

      ​@@kesimukasa3621
      Actually, I am also facing the same problem. The wheels are moving and hence the car is moving in the forward direction but the ultrasonic sensor is not able sense any obstacles.Did your problem resolve?If yes could please help me out in this regard ?It would be a great help.

  • @ZenoModiff
    @ZenoModiff Před 4 lety +1

    good video bro keep it up come up with more stuff like this

  • @nalindoshi
    @nalindoshi Před 3 lety +2

    I tried using your code. However getting an error on "readPing" not defined. What could be wrong?

  • @aplicarciencias
    @aplicarciencias Před 3 lety +2

    Thanks, bro. You help me a lot. Sucess

  • @jishabenny9183
    @jishabenny9183 Před 2 lety

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

  • @dhanunjayagoud4717
    @dhanunjayagoud4717 Před rokem

    Please can you keep the circuit diagram for this by the other week end plz bro I have To do science project I liked it plz

  • @ramilan2005
    @ramilan2005 Před 3 lety +1

    Thank you very much sir.Sir,Can i Power Supply arduino and motor Shild at Same Time?
    How to Supply power ?

    • @electronicGURU
      @electronicGURU  Před 3 lety

      See there give power to motor shield and shield has 5v power output which can used to power Arduino.

  • @angelicacorneliotv
    @angelicacorneliotv Před 2 lety +1

    sir can you please upload the circuit diagram? Please? because i needed on my project?

  • @technolabcreation
    @technolabcreation Před 4 lety

    Nice product sir,
    Worth to buy

  • @justnoor3311
    @justnoor3311 Před 3 lety +1

    can you please give me wire diagram please i need it for my school project and i have same kit as you but i cant put the battery holder at the bottom because it dosent fit and the l298n dosent fit can u give an alternative way to put the components WHEN the bettery holder is on top!

    • @electronicGURU
      @electronicGURU  Před 3 lety

      i dont have circuit diagram as of now but you can place components as you wish, use double sided tape to place it anywhere.

  • @s.376virajjain6
    @s.376virajjain6 Před 8 měsíci

    can i make this project without the sensor sheet?

  • @firechannel9311
    @firechannel9311 Před 3 lety +1

    We did everything as in the video! Uploaded the sketch! But only goes forward, ignores sonar and servo! What could be the reason?

    • @electronicGURU
      @electronicGURU  Před 3 lety

      Probably your connection

    • @JayeLarz
      @JayeLarz Před 3 lety +2

      Mine's also like this. Were you able to fix it? If you were able, how?

    • @electronicGURU
      @electronicGURU  Před 3 lety

      Add few serial.println statements for ultrasonic data in code to see if it getting data

  • @palamut6236
    @palamut6236 Před 6 měsíci

    I'm doing it by looking at your video, but the sensor connections at the end of the video and the connections at the end of the video are different. I made the same connections as you but the sensor and servo are not working

  • @artitpolsawat4154
    @artitpolsawat4154 Před 2 lety

    Thank you so much teach very clear

  • @JayeLarz
    @JayeLarz Před 3 lety +1

    Bro can you help me. I followed everything but mine's only go forward and hit the wall. The servo and the sonic sensor does not seem to work. Pls help

    • @electronicGURU
      @electronicGURU  Před 3 lety +1

      Yeah it happens first check the connection and make sure your ultrasonic is working add serial command in code to see in serial monitor if ultrasonic is working or not

    • @tanayasingh2402
      @tanayasingh2402 Před 7 měsíci

      @JayeLarz
      I am also facing the same problem.Did your problem get resolved.If yes could you please tell me how it got fixed.?

    • @JayeLarz
      @JayeLarz Před 7 měsíci

      @@tanayasingh2402 if i remember it correctly the cable connected to the sensor is flipped. When i tried flipping it, it worked. Not sure though i might have done changes on the code. I dont remember it anymore since this was years ago

    • @tanayasingh2402
      @tanayasingh2402 Před 7 měsíci

      @@JayeLarz
      Okay , Thankyou

  • @martin7gc
    @martin7gc Před 11 měsíci

    Genial 🤗

  • @garricknathaniel2949
    @garricknathaniel2949 Před 3 lety

    I check every wiring it worked exept the sencors what do i do
    A. Wiring
    B. Broken sencor
    Other (reply)

    • @tanayasingh2402
      @tanayasingh2402 Před 6 měsíci

      Did your problem resolve? If yes, could you please help me out cause even I am facing the same problem.

  • @mrexperimentor3269
    @mrexperimentor3269 Před 3 lety +1

    It works bro Thank you .

  • @aartboerland31
    @aartboerland31 Před 4 lety +2

    Why did you change the wires but didn’t show it in video can u pls say how I need to connect the wires

    • @serdarsenol7307
      @serdarsenol7307 Před 4 lety +2

      I did what you say but the car runs eratically.Servo and sonic sensor don’t work properly .Can you show and draw the connection clearly please..

  • @marialeliaguzmanramirez8046

    Hi! congratulations but I have a question, could you tell me how is posible agree a bluetooth in this car, please? tks

  • @agent_soccer
    @agent_soccer Před 3 měsíci

    Can someone give me code fir this please

  • @kmhooibg7577
    @kmhooibg7577 Před 2 lety

    Clearly explain, i give 5 star

  • @firechannel9311
    @firechannel9311 Před 3 lety +1

    Can't download the file! Where else can you download it?

  • @mahmodwazero5690
    @mahmodwazero5690 Před 3 lety +1

    My arduino doesnt take turns can u help pls?

  • @jpburd2682
    @jpburd2682 Před 3 lety +1

    What is that sensor shield?

    • @electronicGURU
      @electronicGURU  Před 3 lety

      Well its like giving proper headers tp connect everything thats it.

  • @dineshrathod4067
    @dineshrathod4067 Před 3 lety +1

    Bro plz can u share digram of wire connections

  • @ON-ne2zp
    @ON-ne2zp Před 3 lety +1

    Nice

  • @benjaminkwamedonkor4944

    hi, please i have uploaded the code only the car move forward. ultrasonic and servo no working. What should i do please...

    • @tanayasingh2402
      @tanayasingh2402 Před 7 měsíci

      @benjaminkwamedonkor4944
      Actually even I am facing the same problem. Did your problem resolve? If yes, could you please tell what changes did you do ? It would really be a great help.

  • @abhaivenugopal454
    @abhaivenugopal454 Před rokem

    Code is wrong

  • @Deaddmann
    @Deaddmann Před 4 lety +2

    Nothing is working and my sensor gets heated up

  • @immanuelbobby157
    @immanuelbobby157 Před 4 lety +1

    Sir my servo is not working, can you help?

    • @electronicGURU
      @electronicGURU  Před 4 lety

      Please explain your issue in detail! What happened with servo?

    • @immanuelbobby157
      @immanuelbobby157 Před 4 lety

      @@electronicGURU my servo is not moving at all..the car is only moving forward and hitting the wall ...the ultrasonic sensor seems not working also.

    • @sajipaulose4409
      @sajipaulose4409 Před 4 lety

      Hi sir I can help you

    • @electronicGURU
      @electronicGURU  Před 4 lety

      Make sure your servo is in proper working situation

  • @CK.22
    @CK.22 Před 4 lety +3

    chaziz

  • @romeritomatos4458
    @romeritomatos4458 Před 4 lety

    Ótimo meu nobre

  • @ts-kb8rw
    @ts-kb8rw Před 3 lety +2

    Do you have the circuit diagram?

  • @tounoboxfilms9492
    @tounoboxfilms9492 Před 3 lety

    Circuit diagram

  • @alessandraangulo7802
    @alessandraangulo7802 Před 3 lety +1

    can you pass me the code?

  • @garricknathaniel2949
    @garricknathaniel2949 Před 3 lety

    Bro my black piece i to small cant fit I am stuck :(

  • @josealvessilva556
    @josealvessilva556 Před 3 lety

    me vende um já programado pronto para uso

  • @markandeysinghyt
    @markandeysinghyt Před 4 lety

    Awesome bhai

  • @baoradeon878
    @baoradeon878 Před 3 lety +1

    It does not working

    • @electronicGURU
      @electronicGURU  Před 3 lety

      Please let me know what problem you are facing.

    • @baoradeon878
      @baoradeon878 Před 3 lety +1

      electronic GURU all the lights are on. I uploaded the code, and no motor or ultrasonic sensor worked

    • @baoradeon878
      @baoradeon878 Před 3 lety +1

      electronic GURU I followed exactly what you did on the video, do you mind to discuss about it through email ? my email: baon.2k17@gmail.com

    • @electronicGURU
      @electronicGURU  Před 3 lety

      Well mailing won't be effective why not ping me on insta

    • @electronicGURU
      @electronicGURU  Před 3 lety

      Thats odd.. did you checked the connections?

  • @aboodyomg3047
    @aboodyomg3047 Před 3 lety

    He says error

    • @aboodyomg3047
      @aboodyomg3047 Před 3 lety

      In the code please help

    • @garricknathaniel2949
      @garricknathaniel2949 Před 3 lety

      The guy said from up stairs said check the libaries your using (its from electronic GURu not from me try maybe)

  • @milespeterson5049
    @milespeterson5049 Před rokem

    Chazzis

  • @maxthegamer-il5mm
    @maxthegamer-il5mm Před 3 lety +1

    them nails tho

  • @adlifares9062
    @adlifares9062 Před 4 lety

    can you speak indonesian ?

  • @tufoi-sirbustefan3432

    I made all like in the video, same connections same arduino library and code, but my car its rotating in circle, someone have the same problem???

    • @pritikumari8669
      @pritikumari8669 Před 7 měsíci

      me too

    • @pritikumari8669
      @pritikumari8669 Před 7 měsíci

      did you get aby solution

    • @tufoi-sirbustefan3432
      @tufoi-sirbustefan3432 Před 7 měsíci

      U have 1 motor witch moves in inverse direction, try to make both of them in same direction ( look where u define PINs motor ). For me that was the solution