How To Make A DIY Obstacle Avoidance Line Follower Robot At Home
HTML-код
- Опубликовано: 2 окт 2024
- JLCPCB Prototype for $2(Any Color): jlcpcb.com
Hello Guys, In this tutorial, I am going to show you how to make a DIY Obstacle Avoidance Line Follower Robot At Home. So let's get started :)
Please subscribe ❤️ and turn on notifications! 🔔 bit.ly/2WlyA8Y
Parts List:
(Banggood.in)
1) Arduino Nano - bit.ly/2RdpIo4
2) L298N Motor Driver - bit.ly/2LTqEMh
3) TT Gear Motor(4x) - bit.ly/2XZFLZv
4) Rubber Wheels(4x)- bit.ly/2XIaDOQ
5) IR Sensor(2x) - bit.ly/2k70nNi
6) Ultrasonic Sensor - bit.ly/2RzebL7
7) 18650 Li-ion Battery(2x) - bit.ly/2CZabQ7
8) Battery Holder - bit.ly/2sulLwu
9) 5mm Acrylic Sheet - (Local Store)
(Amazon.in)
1) Arduino Nano - amzn.to/35c5fDv
2) L298N Motor Driver - amzn.to/30WoAW2
3) TT Gear Motor and Wheels Full Set - amzn.to/2IuY6o6
4) Rubber Wheels(4x) - amzn.to/2Iv1krI
5) TT Gear Motor(4x) -amzn.to/2oeovjm
6) IR Sensor(2x) -amzn.to/31YTmPw
7) Ultrasonic Sensor - amzn.to/35dFoes
8) 18650 Li-ion Battery(2x) -
9) Battery Holder - amzn.to/2Iv1krI
9) 5mm Acrylic Sheet - (Local Store)
[Flyrobo.in]
1) Arduino Nano - bit.ly/2kzPi7S
2) L298N Motor Driver - bit.ly/2ksMcSU
3) IR Sensor -bit.ly/2mv8Uuo
4) Wheels - bit.ly/2kxPeFF
5) TT Gear Motor - bit.ly/2m4fMid
6) 18650 Li-ion Battery - (Local Store, Old powerbank or laptop battery)
7) Battery Holder - bit.ly/2sulLwu
8) Male And Female Jumper -bit.ly/2mu0aVo
10) 5mm Acrylic Sheet(14x9cm) - (Local Store)
------------------------------------------------------------------
Gerber File - bit.ly/30NfsD8
Circuit Diagram - bit.ly/2Olokgs
Code - bit.ly/2AG1b0k
------------------------------------------------------------------
More Arduino Car Related Projects
1) Arduino Voice Controlled Car - bit.ly/2WUdsuR
2) Arduino Bluetooth Controlled Car - bit.ly/2WpYPuX
3) Arduino Line Follower Car - bit.ly/2ZimqPV
4) NodeMCU WIFI Controlled Car - bit.ly/2XA941d
Thanks For Watching
✅LIKE ✅SHARE ✅ COMMENTS✅ SUBSCRIBE
--------------------------------------------------------
Contact me
Instagram: / diy.builder
Facebook: / surajit.majumder.165
Instructables: www.instructab...
twitter: / diybuilder1
----------------------------------------------------
🎧 Background Music
Roads 2 (feat. LiQWYD) by Le Gang / thisislegang
Creative Commons - Attribution 3.0 Unported - CC BY 3.0
Free Download / Stream: bit.ly/2DcLIpk
Music promoted by Audio Library • Roads 2 (feat. LiQWYD)...
Track: Perspective - IVAAVI [Audio Library Release]
Music provided by Audio Library Plus
Watch: • Perspective - IVAAVI |...
Free Download / Stream: alplus.io/Pers...
-------------------------------------------------------------------------
#ArduinoLineFollowerRobot #ArduinoObstacleRobot #ArduinoProjects
This will be the correct code for this project
#include
int ENA = 3; //ENA connected to digital pin 3
int ENB = 9; //ENB connected to digital pin 9
int MOTOR_A1 = 4; // MOTOR_A1 connected to digital pin 4
int MOTOR_A2 = 5; // MOTOR_A2 connected to digital pin 5
int MOTOR_B1 = 6; // MOTOR_B1 connected to digital pin 6
int MOTOR_B2 = 7; // MOTOR_B2 connected to digital pin 7
int RIGHT = A0; // RIGHT sensor connected to analog pin A0
int LEFT = A1; // LEFT sensor connected to analog pin A0
#define TRIG A2 // TRIG PIN connected to analog pin A2
#define ECHO A3 // ECHO PIN connected to analog pin A3
#define MAX_DISTANCE 100 // Define Maximum Distance
NewPing sonar(TRIG, ECHO, MAX_DISTANCE);
void setup() {
// put your setup code here, to run once:
pinMode(ENA, OUTPUT); // initialize ENA pin as an output
pinMode(ENB, OUTPUT); // initialize ENB pin as an output
pinMode(MOTOR_A1, OUTPUT); // initialize MOTOR_A1 pin as an output
pinMode(MOTOR_A2, OUTPUT); // initialize MOTOR_A2 pin as an output
pinMode(MOTOR_B1, OUTPUT); // initialize MOTOR_B1 pin as an output
pinMode(MOTOR_B2, OUTPUT); // initialize MOTOR_B2 pin as an output
pinMode(RIGHT, INPUT); // initialize RIGHT pin as an input
pinMode(LEFT, INPUT); // initialize LEFT pin as an input
}
void loop() {
// put your main code here, to run repeatedly:
delay(70);
int distance = sonar.ping_cm();
if (distance == 0) {
distance = 30;
}
if(distance
Sir, I do not know that the PCB Board you are joining some parts on PCB boards what are the name of parts sir please give me parts name i am making Science project for Science Exhibition in D.A.V School Please sir, Please sir please and also give me Code sir
Can you make this same project with arduino uno
I shudder every time I see a project done with hot glue.
Hi
Dear DIY Builder
so this is my first time making an Arduino project.
And I have lots of doubts regarding this project
my first doubt is, how do I order the PCB, and how
will I get the pins we have to solder on to the PCB
pls reply fast ...........................................................................................................................
What type of line will it follow ? How can I make that line ?
DIY Love,
but small mistake in the circuit, along with Vin, Arduino NANO need GND which is missing
very good project can you tell me cost of this project
Most intro to engineering courses in college give you these included in the tuition, or look on Amazon. shouldn’t be any more than $40
I had made your line follower as my science fair project and I was selected for district level also thx for that video but now I want to make the same thing you made this video but using l293d motor driver and Arduino uno so please upload a video on that please🙏
Congratulations bro ❤️ ok i will try to make it as soon as possible
@@DIYBuilder#DIYBuilder bro please make it very soon because my science fair is held on 10 oct so please😫🙏🙏💓 help just only give me the circuit diagram of arduino uno
Please bro
You can see match it with Arduino nano pins name and put the same pins on Arduino uno
@@DIYBuilder thx
You can add a camera and hand gesture with mobile control too in one car itself
Thanks Bhai very helpful video.
Thanks bro
You know what I decided to make this thing in my science exhibition and I maked all the designs the only thing which was remains was coding then when I started uploading the given code then it was not working the code is wrong man
But by luck me and my friend's dad worked on it till 3.00 am at night make it work but it was something else it was line avoider and obstacle or human follower😂. Come on man please upload the right code I was feeling so guilty that I trusted you.😭
Can we use arudino uno and L293D insted ? Will it work and where the connections be done ..pls reply .thankyou
Did u run using Arduino uno
Incredible.... But can it be made without arduino...?
I don't think so
Not that hard using PIC LOW GAMMA
Please update the link for the code
WHICH SOFTWERE USE FOR PCB DISINE
You could make a robot that follows the black line and that with a clamp removes the obstacle from the track, thanks
can i use Arduino uno r3?
Guess i have won my science exhibition
ill come back after 2 march to let you know if i won or not
:D
terimakasih ,sangat bermanfaat .
good job bro
Everything is done. But it's not moving.. I think can u make video more clear with coding explanation
I liked the project but I am not getting the code which app should be downloaded for it kindly reply
hello, if I have the adapter of Arduino Nano, works equal? because, I tried to use that, but the car gone crazy, I connected the pins like the diagram.
Yeah it will work same like this one
Awesome bro
Amazing idea! Nice effort! Can I know your PC's specifications please.... Thanks in advance!
I use 5th i3 laptop with 4gb ram and don't have any graphics card.
@@DIYBuilder Oh that's really good! Thanks for replying!
I tried it but idk why it didn't work :/
hola como estas muy buenos tus videos te felicito por el aporte que haces, mi consulta es como se llama el conponente donde insertas el NaNo, con que nombre lo busco te agradezco mucho tu apoyo saludos
Can we give any shape to the line
So great. Can u also make a mazebot. A robot that can getout in a maze track.
Compose with ultrasonic sensor(s)
Thank you
Ok bro
Sir I Made this project but robot is not working Pleace Help me sir Pleace Sir
Please you make a Arduino plane
@diybuilder in circuit diagram there is one wire to l298N of 12 + output but you have attached 2 wire to L298N one on 12+ and one on ground why
Can we use Arduino Uno for that robot
in the circuit diagram you have not given gnd to the arduino plz tell
How the robot comeback to the black line
Now make wall follower robot
Bro please tell me how can you uploaded the sketch from computer to device. please bro
perfect...videos
Thanks
can you make a programing, and give in the dicription
For me also bro please
Sir how to upload gerber file it says format not. Supported
Nice projuct bro
Can i make it without pcb
yes you can
please what is used to draw the black line
Very good 👍
Thanks man
What weight bear this car
Bro where did u get those connectors used in pcb. Plzzzzzzzz tell me. My science fest aheah. Plzzzz bro . Plzzzz
Kya bat hai
Hi, where can we find connectors used on JLCPCB prototype ? And the fours screws ?
Ty !
You can find these on banggood.com or Amazon.in
How?
WHERE WILL WE GET THIS CODE
Which Software used for circuit designing...???
Bro where did u get those connectors used in pcb. Plzzzzzzzz tell me. My science fest aheah. Plzzzz bro . Plzzzz
Shop
without pcb we can make this???????
Bro where did u get those connectors used in pcb. Plzzzzzzzz tell me. My science fest aheah. Plzzzz bro . Plzzzz
Code?
Can u plz send me a modified code using motor driver L293D
How is it done with an Arduino Uno?
Can we made this without the pcb
CAN WE USE ANY PCB?
CAN SOMEONE SEND ME A LINK...
If yes how?
Bro where did u get those connectors used in pcb. Plzzzzzzzz tell me. My science fest aheah. Plzzzz bro . Plzzzz
Hello Sir ! Can you please explain for example in this line "(analogRead(RIGHT)
Which mm wear do u use?
Great project but could not download the code؟
The explanation is crystal clear! Thanks for the video
and when i try to upload it says eror comiling for arduino mega
How we can select the pcb
Can I use ardino uno in the place ardino nana
Make a video how to make hand control rodot car please please please please make
Sir pls the buy link of jlcpcb bord
Sir,its great but can u please make the same using arduino uno and l398b motor shield as some components are not available. Please make that soon sir.
Ok bro i will make it as soon as possible
Nice can you send programming of this to me
Check in description
Hi can you make tutorial how you those files that you send in your robot.
Plz post how to select pcb
Which components you used please tell me
My robot is not working to circuit
Contact me here instagram.com/surajit_majumdar/
Can't we use Arduino uno for this?
Can we make it without any PCB not even with dot pcb
Please reply bro
Yes bro you can
@@DIYBuilder how
Can we use Solderless breadboard incase of pcb
Agar dono taraf opstackle ho to gadi od ka java gi ka
Is there a way to make essentially a line bot without the line or at least an invisible line?
We can't cause when the infra red send a waves the black color absorb its not the same as the other colors so the black colors needs to be in
i admire your work
Is it possible that you can build a self levelling car with PCB
Can you give me some
give way bro
Starting soon 😁
I am waiting
Hi , during comply , I get this message :
LineFollowerObstacleAvoidance:13:9: fatal error: NewPing.h: No such file or directory
#include
bro install the newping library first
@@DIYBuilder I did . but the robot is not moving at all .
WHAT AN AMAZING PROJECT!
Now i am not getting the program pls send me
check in description
pls can u help me with the schematics used to design the pcb am a year 1 student in electroncis at thomasmore college
Can I get the board or file to order
Can you send its code plz
Bro robot not moving please help me ....
Yah Sara Saman kitne ka Hoga bataiye please😢😢😅😅❤
Cool...
Thanks bro
Can i use arduino uno in this project?
Please make a video on bluetooth + obstacles block car.
Please I want to make model on it.
Please create it
Aswam project
Thanks bhai
faz um robo bombeiro que apaga fogo de verdade
Good Job bhaiya but Ardinuo code is no available.
Check again
@@DIYBuilder Bhaiya Voice Control ke code aur zip ke liye mai aapko email kiya tha aapne code sned bhi kiye the but kuchh error bta raha hai then what am i do.
plese give me their con.
Make this without pcb
Hello, can you give me the algorithm diagram of this project? , thank you so much.....
Hey plz can Can you tell me which software u use for simulation and ckt dig plz ...reply
Are you making that line with marker or what??
it's an electrical tape
@@DIYBuilder oh nice
Very interesting, I already assembled it, but even after adjusting the reading distance of the hcsr-04, it continues to detect objects at other distances, change the HCSR-04 module and neither, I would appreciate your help
Is your problem is solved ? If yes, Then pls tell how
Was the problem solved? What was the problem and the solutions? How much time needed?