How to Make Arduino Obstacle Avoiding Robot with L298N H-Bridge Motor Driver
HTML-код
- Опубликовано: 2 мар 2017
- In this Arduino project tutorial we will learn how to make obstacle avoiding robot using L298N h-bridge motor driver. Also we will use for this project HC SR04 ultrasonic distance sensor and we will use NewPing library in the arduino code.
Required Hardware:
Arduino Uno R3
goo.gl/Rqc5w2
amzn.to/2LZr6t4
L298N H-bridge
goo.gl/Ucvx6J
amzn.to/3diatT1
HC SR04 Sensor
goo.gl/F0m7hN
amzn.to/3avwe1N
SG90 Servo
goo.gl/iywd5p
amzn.to/3avwe1N
DC Motor Wheel
goo.gl/iDy7ep
amzn.to/3djj9Zp
Chassis
goo.gl/Y8Ch7A
amzn.to/3u7BOyk
HC SR04 Bracket
goo.gl/dknful
amzn.to/3rxpeXm
Front Wheel
goo.gl/HLLKpc
amzn.to/3sAKInF
Breadboard
goo.gl/08nnr1
amzn.to/3qxLxwm
F to F Jumper
goo.gl/TdGrkk
amzn.to/3dhwVM5
M to M Jumper
goo.gl/VRzUN4
amzn.to/3dhwVM5
9V Battery
goo.gl/3EIJcf
amzn.to/2O4h5vK
Battery Clip
goo.gl/iAEgPl
amzn.to/2QHL3qi
Power Cable
goo.gl/aBKusM
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
NewPing Library - goo.gl/Qe6XU6
Download Source Code: create.arduino.cc/editor/mert...
Social Media:
/ mertarduino
/ mertarduino Наука
Source Code: create.arduino.cc/editor/mertarduinotech/4aeaf653-2755-4d8b-96ca-c65e9eff8927/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
how about L298P motor., did you try., i try but it's not work., please help me
Awsome!!!
bro there is a problem i did every thing same as you but its no working please help me i wasted 2 arduino on this but it is not working please help me
thanks for making video every week.
Thx for making this vedio my project is working perfectly
thanks bro.. it really helped me a lot.. i made it.. love from INDIA
Exactly what I was looking for! Thanks!
Thanks it works. U deserve a medal
Awesome! It works perfectly!!! If you have problems with the sensor, you must switch the two cables that are connected from the sensor to the Arduino board. Thank you very much Mert! You are the best.
Hello sir i have downloaded the new ping library but it does not contain any thing
U got output Anonymous replay fast
@@deepakgupta6856 when downloading it above the place where you download should be open with unrar and rar click it then put the file you have downloaded then you get the code
Thank you very much it works just fine! For my expectations at least cause i'm kinda new in robotics. Thanks man
Thank you very much for sharing. I've been following you for a while and really helped me getting into the Arduino world. You certainly love your glue gun :-)
It's wonderful!!This video helped me to make it.If I want anything Arduino , you are the best creator!!
kamal kar diya boss...thanks for indirectly helping in my iot project
awesome project I tried it It works perfectly thanks Mert Arduino and Tech
shashank how can we open the program in arduino after saving in library
bro you are awesome...
i really like your tutorials ... thanks
Hi... Your projects are very good
And it is very easy to make
Thank you for the video and script! A good start for building this robot.
The basic script can be improved, because the variable lookRight is never used. So at this moment the robot will only check the left side for distance.
Maybe it's a small bug, easy to solve: change line 64 into:
if (distanceRight >= distanceLeft){
And it's possible to run the complete robot with 1 set of 4 AA batteries (the 4 AA battery holder is provided in some of the robot kits).
thank you for making this video it helped me a lot
bro ,I like your videos because they are very interesting .Congratulations********
great work....waiting for the quad
AWESOME PROJECT BRO...
IF YOU HAVE PROBLEM WITH SENSOR ULTRASONIC, YOU MUST CHANGE CABEL TRIG AND ECHO TO ARDUINO A1 AND A2
obrigado por fazer vídeo a cada semana.❤️❤️
Superb Thank you for a Great video ;)
super.thank you so much .awesome project bro
love you! Thanks for the code !!!
Thanks for your step by step show.
a
muy bueno amigo
Nice project !!! Congratulation !!!
Thanks bro you helped me First it was not working but then i put it to Com port 3 then it started to work
Dude I am getting error how did u finished the project
Thankyou very much working well
Thank you so much for that nice projects , could you please do a wireless charger using arduino ?
Congrats for the channel. I love it ! :)
Please tell me, is it possible to combine the remote control with the HC SR04 Sensor? i have already tried but with no success. couldn't resolve the conflict with the timers... :/
Any help will be appreciated .
Keep going with the awesome work !
its been 30 days since i order an arduino starter kit from aliexpress and it isnt arrive yet , i cant wait any more, god.
Thanks you bro very very very very very very much to giving me newpin lab. No other youtuber give lablari
This is great and thanks for the code. Small typo in line 61: change 'distance' to 'distanceRight.'
Bro i cannot find the code... Can u help me? Please?
well done, especially the last part how you planned to put what+where, one question:
why did you connect the HC SR04 to analog and not digital pins???
Nice work, thank you very much for sharing. Why not use the speed function offered by the L298 bridge to reduce the speed of the robot? my greetings
Hi! I'm tryning to understand why did you use the boolean variable "goesForward" and the "if" bucle inside readping () function, which initialize distance=250? I hope you can help me. Thanks for the video!
in the code, the if statement states that "if(distance
Thank You sooooo much worked perfectly I had a big problem with the code, this video helped me solve, again a very big thank you
Hey bro can you help me
Amazing ❤️❤️😍😍😍😍😍😍😍😍😍😍😍😍 goood work
mert güzel video eline sağlık
It would have been much easier if you had just sent the link for connections as well. Just writing down the list of things I need to buy for this project hope I do it just like you did. Fingers crossed 🤞
спасибо заработало сразу. указал все библиотеки. только пришлось контакты на моторы переставлять.
u are the best
A good video once again. Pease make something innovative project with Arduino. This is project is great but its a bit traditional of obstacle avoiding robot. Or you can start a new video series for advanced viewers. Thanks a lot.
Görünen o ki herkes yardım istiyor mert👍🤗
thank you for this great projekt !!!
Is It possible to chang the motor speed on the left / right motor ? due the motors have some speed different
Thank You
MABA
Great project. Is there a picture somewhere of the circuit diagram? or is it just in the video?
Thanks for making us winner ...
Muy bueno, me gusta.
great work
Really nice 👌
OK bro my question is the connection of the mini bred board in the first tutorial means on the computer screen and connection of your on making it is not same it is d/t in the ultrasonic connection so can I go with computer tutorial or your making right on the robot?
Thanks bro!!!!!!!!!!!!!!!!!!
now i can learn more
very good man
make a video of obstacle running robot with the use of arduino genuino uno and motar module L293D and including the use of seervo motar SG90 for head movement
Made this it works well, ty.
You can use the 5v on the l298n module to power the Arduino that way you only need one battery pack, just add a cable from the 5v to the same positive row on the breadboard.
izmarladim parcalari yolda süper :D
Great project! I built it but only the left side of my wheel works. I have been trouble shooting it for days. The connections were done right but the right wheel won't move.
same problem for me too... what is the reason.
Same problem bro
Do u know the reason
@@steameducationbykiranbhatt6836 i have the same problem did you fixed it?
@@groupescolairealmanbae4695 did you?İ have same problem
thank you
thanks superrrrrrrrrrrrrrrrrr
Thanks 😉😉
can i use a motor shield l293d
nice work broo..................................................
like my comment
That Music 💚💛💜
Mert Arduino Tutorial & Projects name music pls
why do you manage the ultrasouds sensor with analog ports?
where did you bought the ultrasonic sensor stand ?
Great work.I have a problem with the direction of the program circuit of Fritzing, I am not to see it.I have downloaded Fritzing.Thanks
Can we use L293d moter module instead of L298N module .will it be the same program
Need an reply sir
could you please try using l293d module please using servo
thanks sir :-) :-) :-)
amazing..................!!!!!!!!..:)
we tried the same as you have shown in the video but inspite of everything correct the dc motors are not rotating as per the command sent by the sensor
we have used normal 9v battery and not duracell so is that he issue
sir please tell me that i can use L293D moter driver
How while I know which wire from the motor should be connected to the l298n? pls help asap
what program did you use to make the schematics?
what simulator is that your using to plan out your arduino projects?Thank you
so nice
Can you do a more advanced video project like a 3d printer, robotic spider, drone, battle bot, ect. Like one of the ones I listed would be fine.
Which material you use for chassis
Super
Adamsın helal olsun
Can u please tell me which libraries to include and how?
thanks you
and what is arduino simulator used in the video?
I am done almost making my first autonomous car but will it work if I give it one Lipo 3S battery instead of two 9V batteries ?
bro can u join the line follwer and this project. please make video of it.
Which software you use for give connection process?
Thank you for not using over used generic "Dub Step" music in your video.
That red board a breadbord right?
and plzz tell wat software you used in this prlject to make circuit diagrams
If I useArduino Pro or Nano should I use the same pins?
I like the music 😵
Super 1A ; )
Wow
PLEASE HELP! So i followed the instructions, download the code and did everything right according to the video, but when i tested it the Micro Servo just wouldn't turn. After several trials, i managed to make the servo turn but the turn was to small that you could barely even see it. And great video by the way!
Se puede reducir la velocidad de los motores en esta programación ??
which software you use to design this
do I need to add a servo library?
make a vdo for CNC ploter ...
kindly tell about the web or software u used for showing connections?