Это видео недоступно.
Сожалеем об этом.
How to Make Line Follower with Obstacle Avoiding Robot using Arduino and L298 Motor Driver
HTML-код
- Опубликовано: 12 дек 2022
- How to Make Line Follower with Obstacle Avoiding Robot using Arduino and L298 Motor Driver
Code and Schematics Download link:- marobotic.com/...
www.fypsolutio...
Components Details () {
Solderless Breadboard:- marobotic.com/...
4 wheel robot car kit:- marobotic.com/...
Arduino UNO:- marobotic.com/...
IR Sensor x 2:- marobotic.com/...
L298 Motor Driver:- marobotic.com/...
Mini Servo Motor SG90:- marobotic.com/...
Ultrasonic Sensor Holder:- marobotic.com/...
Ultrasonic Sensor hc-sr04:- marobotic.com/...
4Pcs Smart Robot Car Tyres Wheels:- marobotic.com/...
Male to Female jumper Wires:- marobotic.com/...
Male to Male jumper Wires:- marobotic.com/...
Hard Jumper Wire:- marobotic.com/...
On/Off Switch:- marobotic.com/...
18650 Battery Holder - 2 Cell:- marobotic.com/...
18650 Battery Cell 3.7V x 2:- marobotic.com/...
}
We regularly uploads exciting videos like this
Suscribe us For More Videos
Muhammad Ansar
+923378655465
Visit My Website:- marobotic.com/...
Key moments
1:23 Schematics Overview
3:11 Hardware Assembling
13:49 Code Overview
21:17 Code uploading
22:42 Calibration the ir sensor
23:37 Final working
Mashallah starts with basmala 👏👏👏
JazakAllah
You are soo honest meaning you only send link for programing ❤❤❤❤❤
thank you
This guy video is top notch
I have built this robot 🤖 just remaining to upload code 👨💻
Can’t wait 😝 to share success story tho……. I hope I get stuff hook up for the first time?
Bro any update?
I configured your project but the robot can't follow the path of the line like in your video. The sensors are calibrated, the led lights up when it detects the white background and turns off when it detects the dark line, the battery I'm using is 7.4 volts. Engine detection and sonar are also working. Can you help me please?
Question#01:
Mene 2 3.7volts Batteries use ki ha lekn usse motors shi work nhi krr rhi kabhi do tires work krte hai kabhi teen or jab zameen par place kro to ek hi chalta hai.
To kia mein 4 batteries use kr sakta hoo?
Question#2:
Or ek swaal ye bhi tha k agr mei 12 ya 14 volts supply kroo to har motors ko individual 14 milega ya ye divide hojayega among all motors yaani 3.4 each.
Dear Sir. Thanks to you for the hard work done to complete this project.- I have a doubt. In the video, you show the IR sensor "IRSence Ver-2, while in the circuit diagram is using "FC-51". In the local market I only get the FC-51, can I use this one without problems? Thanks in advance for your kind reply. Best regards from Montevideo-Uruguay.
Salamou Alaikom Brother.. Many thanks for sharing this .. God Help you
wa alaikum assalam bro
I make this project and work good, thanks ❤
You are welcome 😊
@@MuhammadAnsar your website isn't working... please give me the Arduino program code of this project.
SHOW 👏👏👏
✌
- Для чего я создан?
- Чтобы ездить бесконечно долго по замкнутой черной полосе
-Оох
I like your Robot🙂🙂
thank you
Good evening, Monsieur, if you please, I made an Arduino robot car that walks on black lines, avoids barriers, turns around, and returns according to the important code at home. It works, but sometimes it is not good, and I come back by correcting the code. The problem is when I go to university. The professor has a plot of land in 3D3, and my car does not drive well in class. I don't know what the problem is, please help me
Nice project sir ,I like ur all projects keep it up sirji great way of explanation, thanks
Thanks and welcome
I am interesting in Arduino software.
It is not following the line again when obstacle is detected. What to do?
Muy bueno, muy bueno, felicidades, gracias por la enseñanza
Why my car is not following the line ?
Plz help
Tomorrow is my science project
Mashallah great
thank you
Thanks for providing English translation
It's my pleasure
Sir, can you please help me i used 7.5 v power supply all the things are same as you did. But after uploading the code only ultrasonic sensor is rotating wheels are not moving only one time left hand side wheels move. And now i am tired. I don't understand what is the problem.
Why u have used gear motor,s not the regular and cheap motors ❤ plz replay
Does the code for the aurdino board really works??
Superb job, keep it up. 👍
thank you
My arduino has all lights on and is not working on the code anything can be done sir
What type of batteries do you use bro?
hello, can you please tell me how to wire a 3 pin switch for this?
hello, I made this project as you did, but it does not give any feedback, so it does not work in any way.
Chutiya banaya tumko 😂😂
Yes mine is the same problem
Bhai Saab! Awla
thank you
I will do correct as per instruction you give
My car is moving back didn't follow the line i will callibrate the sensor also
But didn't work it what should I do
from L298 swap the motors wires
Did you edit the code because my motor driver is not working pls reply asap
Hello, sir. I would just like to have a question about the battery. I am curious. Will it not have any complications since that battery only adds up to atleast 9V and the needed Voltage in the Motor driver is 12V? And to add the battery is also connected to the arduino.
Exlent Bro need more projects from you
I will try my best
Sir after ir sensor calibration motor running backwards not following the line what to do? I done the same as you have done
Reverse the motor connection
Your website isn't working... please give me the Arduino program code
Uploading main error dikha raha hai
It's showing uploading sketch error, as com5//
sir please help
Thank you so much bro, amazing work!!
Glad you like it!
Very good,Please tell from where you buy all the components.I am from Pakistan.please tell waiting for long time😢😢😢❤❤
Electronic Solutions hall road lahore se
I programmed the Arduino but the car was unable to run. Please reply
Same as i
Hello bro I do this project with your video it is successful but one problem 😢😢😢 IR Sensor is reversely detecting like when I put on the black line light is turn on when I remove the black line the light is turn off please helpppppp me bro😢😢😢😢😢😢
If the IR sensor is in reverse setup, you need to reverse also the logic in your code as well. If the sensor is detecting the black line when it shouldn't, you need to implement the movement function when black line was turnoff. Just reverse the high and low of the sensor conditonals
@@capilijhonmirob. bro that means I want change code high=low ,low=high yes bro
@@capilijhonmirob. bro it's not working bro I don't know how to do bro please edit the code and send me bro Monday I have a science fair please
Pls reply me sir today demonstrate hai iska
Has anyone done this project using his connections and code? Did it work for them?
Sir, thanks for the amazing project.
You are amazing💖
In All in one robot when I turn on obstacle avoidance mode instead of going forward, it is going backwards, then backward turn then again and again. Other mode working fine. Please help🙏
thank you
check the ultrasonic sensor
Sir thank you, it is a nice project.
Need your advice and suggestion, as I have assembled the "Line Follower with Obstacle Avoiding Robot" but is not following the line, but if any obstacle is coming it check and changes the direction. Please help and suggest , how can I fix this.
calibrate the IR sensor
Bro line follow avuthundha?IR SENSOR check chesaaka.
For turning larger angle which code should we use sir
tysm for the video. really helpful....the code is working fine but the motors seem to be moving in a repetitive pattern(the left wheel starts, both wheels move , the left wheel keeps going when the right wheel stops ) instead of detecting properly through the IR sensors and working depending on that black line. please suggest where i am going wrong.
thank you
calibrate the IR sensor
thank you for responding back. I would like to ask that without the presence of any obstacle, the robot just keeps rotating in a circle. please help in telling me what is the issue?
Same issues delt
Can we cut solderless breadboard, actually I ordered 830points breadboard can we cut in to half
Asalam alaykum akhi, may allah bless you.
I have 2 questions:
1) I am planing to do a robot that avoid obstacles and follow the line just like you did, but I want to add another function, which could in your opinion?
2) I am planning to use atmega instead of arduinob, will there be any difference in coding with c or parts used?
wa alaikum assalam, thank you
question 1:- yes, now you can add more function
question 2:- yes you can use it you don't have to change any code
Sir mere tayar chal nahi rahe he
Hi sir, very informative video, but can I ask if we can use a 6V total for power source or it should be higher? Hope you can notice thanks
I think it should be higher, but most importantly you need to have enough current to run the arduino codes
9V is probably what you should use
use the motor driver pwm and control the speed
I want to buy this pre ready project? Help me out
Yes where are you from?
Can you please let me know where you buy your electronic products from?
where are you from?
I need code to move the robot in a certain direction using the MPU6050 and be able to avoid the barriers, please
Very good, can you please tell from where you buy all the components.please tell😢😢❤❤
where are you from?
@@MuhammadAnsar From Pakistan.♥️♥️♥️
Brooo. I'm planning to do this project, but I'm lil bit nervous in this project when it didn't worked. 😭
Is that are the actual codes used in that project? I just traumatized on what happened in the past because the code that is used in the project that someones made didn't work huhu
I've followed every thing exact same as you did. Also I calibrate the IR sensors. But still the motors are not working all the sensors are working and every thing is perfect except for the motors.
Note that I have tried the motors before starting the whole project and they were working.. Could you help me please.
same problem with mine and there is
I really like your designs, could you add a claw when identifying an object and removing it from the front of the line?
yes
Sar stairs light controller Banaya proximity IR sensor ke sath aapse request hai next video starelite per Banega
ok bro i will try
@@MuhammadAnsar thank you sir
Hi Sir, its very nice video, i have a question to you , here can i used brushless dc motor drive for running or not ?
How i contact you, actually i working on a project ?
Does this use PID control?
Bro showing error:
" Use of undeclared identifier "
While compiling code to arduino
Assalamualaikum bhai
can we train this robot to find the shortest path automatically plss reply?
wa alaikum assalam
no it has no such function
nice projet
thank you
Sir I have made this car
But it doesn't stop moving even when anything come in its way
what motor and battery are you using?
Sir I am using bo motors and 12v battery
where did u ake the circuit diagram? wch website ?
Hello sir, can you tell me please, if i can buy this project from you?
super
Thank you
sir im not getting option of port com 9 (aurdino )im getting an option of com 3 what should i do
Install the arduino r3 driver
Sir, i wanna to run my LFR in 2 motors only plz hlp what i hav to do . Request from me
do I have to buy arduino uno r3 developmental board or Arduino Uno R3 ATmega328P Arduino Compatible? please tell. I am purchasing from quartzcomponents
Any board you buy in arduino uno will only have ATmega328P.
Sir how to reset ir sensor output led is not turning off and not following line
calibrate the IR sensor
I turned full 360 degrees sir, out led is not turning off when it is in black line
Hello brother my wheels are not running in the Arduino project and when I connect the power then the Arduino does not work even after putting code and there was smoke from Arduino please help me
Sir invento ne jo colour sensor banaya hai uspar video bano na
Can we do this project without hard jumper wire
yes
dear sir,can u provide this project to us
we want. to buy this project
Salam alikom mohamed i want to buy a code of your project texte me im waiting u
Is it suitable with kind of 3-wheels 2 motor vehicle ???
yes use this
Sir, Agar mai l293d motor driver use karunga to kya mujhe code me kuch change karna hoga kya?
l293d motor driver shield k liy ap ko code ma changing krna pary gi
Ok sir
Which colour does it follow
black
Super project sir
thank you
Bhai hamne bilkul aapki tarah banaee h But work nahi kar Rahi kya use (pryog) Kiya hua Arduino UNO Kam kar sakta hai
Abhi batao please
check your hardware code and diagram is everything ok
Diagram is ok and servo motor is not working
Please make the video upon programming on arduino basic to advance
ok
Hello Sir,Sir my Ultrasonic Sensor is not working even I have rechecked the connection and program,Please help me sir
check your hardware and code ok
Wow......
I have doubts bro
Can an IR sensor detect other colours leaving black and white
no
Ye code upload hone mai kitna time legta hai
I'm doing but some mistake or what
I don't understand
It's depend on your PC speed
Sir apne jese kiya hai vese he kiya lekin vo path follow nhi ker reha hai
Apka help chaheye tha
Please
@@MuhammadAnsar im making a project but im only using one DC motor and two servo motors how can i modify your code sir
Sir, do you have any report or document for this project please?
sorry not have
Can we do direct wireing without using the bread board sir
yes
How to solve return code is not 0 problem
Selamın Aleyküm can someone help me build this, I can not achieve it.
Không dùng pin 18650 mà dùng pin AA được không
I'm having trouble opening the code with this problem"This website has been deactivated
Please contact support"😔😔
Can I use 2motors i have only 2 please reply
yes use this
@@MuhammadAnsar can using 2 motors affect the coding
I will code from mobile
Sir I want to make Grid follower with obstacle avoiding robot car🙂🙂for Yantrik Event
Hi im from philippines can you that robot like line follower and detecting obstacle at the same time and add bluetooth control to manually move it. im was hoping to see that and very appreciated.
thanks for this project i want to make that kind of project too sooner
Yes you can
Will it work using L293 driver?
As Salamu Alaikum, brother. I've followed everything exact same as you did. Also calibrated IR sensors. But still motors are not working. All other sensors (including servo motor) are working completely fine. Please give me solution.
4 motors are all perfectly ok. but not running together in robot. I've also checked motor connections
power connection problem or motor driver problem
@@mdnaimulislam.3858code probleme
Please keep quality
ok
@@MuhammadAnsarCan we cut solderless breadboard, actually I ordered 830points breadboard can we cut in to half
Hello bhaiya can i add a esp32 module and make it bluetooth remote controlled ?
yes
thank you very much bhaiya@@MuhammadAnsar
Hi I'm interested on this project can you add new features like Bluetooth app control on this robot I highly appreciate this.
PS. New subscriber and thankful for this I hope please grant me my request 5o add Bluetooth control
Bro please circuit diagram and base plate measurements put broooo
Check description
Please did you reverse the terminal of the gear motor I want to be sure I didn’t do a mistake, I connected red to red and black to black of individual side of the wheel
Because I notice you connect black of one motor to the red of the other gear motor.
Sir can i use 4 batter holder
Can I use a 4 battery holder ?