Arduino Obstacle Avoiding Robot

  Рет қаралды 458,229

Maker 101

Maker 101

Күн бұрын

Пікірлер: 606
@maker101io
@maker101io 3 жыл бұрын
Source Code: github.com/MertArduino/Arduino-Obstacle-Avoiding-Robot 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
@robertocameto487
@robertocameto487 8 жыл бұрын
THANKS ......THANKS FOR YOUR HARD WORK AND SUPPORT. TODAY A FINALLY FINISHES AND TESTED MY PROYECT FOLLOWING YOUR INSTRUCTIONS AND WORKED FINE. EXCEPT THE CHASSIS (IT WAS MADE BY SELF), I GOT EVERY THING REQUIRED FOR THE PROJECT IN HONG KONG. THANKS AGAIN FOR ALL. BEST REGARDS. ROBERTO. MONTEVIDEO-URUGUAY
@FutureAIDev2015
@FutureAIDev2015 8 жыл бұрын
Why do you want to use the analog pins for the ping sensor? Isn't it a digital device that measures distance by counting the time from sending the signal to receiving the echo?
@DenisBarbas
@DenisBarbas 7 жыл бұрын
Could you please tell me which code to modify to accelerate the speed of the motors ?
@lakshaynarayan1853
@lakshaynarayan1853 6 жыл бұрын
In The Code You Will See An Option Like "Motor Speed" You Can Set From 10 To 225 So Set It According To Your Need ☺️
@MrHristoB
@MrHristoB 6 жыл бұрын
Great beginners project, just for me. Code works fine. I did slight modification and used metal geared motors and powered the kit from the motor shield power IN with the jumper on as I'm using a standard servo, not micro servo. works great
@SoumenMishraKansbahal
@SoumenMishraKansbahal 4 жыл бұрын
Can you pls help me out, my obstacle robot motor moving forward and backward only again and again, pls help
@madhuyashwantha4202
@madhuyashwantha4202 6 жыл бұрын
will you provide complete documentation for this project here by link...?????
@danielrafaeltorresmendoza1098
@danielrafaeltorresmendoza1098 7 жыл бұрын
Is there another type of battery that a could use?, because, i cant get enough power for turning on the motors, even though i use one 9v battery for the arduino and another for the motor shield
@nikeshpyakurel4187
@nikeshpyakurel4187 6 жыл бұрын
in which pin servo should be connected??
@sktg9041
@sktg9041 8 жыл бұрын
can we soldering 2 dupont wire or connected 2 dupont wire ( male-male to female/female)
@vrajparikh301
@vrajparikh301 8 жыл бұрын
Do i need to power adafruit shield and arduino board both separately?
@SoumenMishraKansbahal
@SoumenMishraKansbahal 4 жыл бұрын
bhai in your Code Echo and Trig pin located A0 & A1 but in your video you connect it to A4 & A5, Pls explain.
@DenisBarbas
@DenisBarbas 6 жыл бұрын
Hy. Great video. Can you please tell me , why in the CHECKPATH method , the for cycle is "for(pos = 144; pos >= 36; pos-=18)" why did you choose these values : 144, 36 and 18 ? I understand that it turns for 6 time (18 degrees each time) from 144 degrees to 36 degrees , but is there a reason for theese values or they're just random values???
@vell546
@vell546 7 ай бұрын
Hi can you copy and paste the code, I can't open the link code
@DenisBarbas
@DenisBarbas 7 жыл бұрын
Excuse me sir, I did everything like in your video, but when I start my robot, the servo starts working, but the DC Motors DON'T! And my shield emets a continuous beeping sound. please tell me could it be that I switched the red and the black wire to the dc motors? help me please. Waiting for your kind answer
@lakshaynarayan1853
@lakshaynarayan1853 6 жыл бұрын
Bro May Be Motorshield Problem Replace It
@Shaik-d8v6n
@Shaik-d8v6n Ай бұрын
Bro just change or charge your batterys it will work
@premalathababu4971
@premalathababu4971 6 жыл бұрын
Will arduino UNO is enough to make the bot or arduino uno r3 please replay fast
@RAHULGUPTA-dt6yd
@RAHULGUPTA-dt6yd 8 жыл бұрын
how your servo is rotating when some obstacles seen then tours servo looking left and right but my servo is continous rotating left and right
@dushyant5284
@dushyant5284 8 жыл бұрын
For how much time did the battery last I'm having problems with the battery
@venkidakrishnansri
@venkidakrishnansri 7 жыл бұрын
what is the voltage and current rating of DC Motors...? and is this a brush less dc motor...?
@kartiksingh9382
@kartiksingh9382 8 жыл бұрын
I did the same as you told - uncompressed both the libraries and copied them in libraries folder. I opened the code that you provided and then just complied it.
@seth8034
@seth8034 8 жыл бұрын
seems like one motor is faster than the other. i had the same problem. i compensated by setting the speeds for each motor to different settings until they were mostly in sync. Do you know of any higher quality motors i could buy?
@markliles4113
@markliles4113 8 жыл бұрын
I would like to add 595 8bit shift register and led's that light up the closer it gets to an object with a buzzer. I wonder if it would be hard to add the led's and buzzer into your existing code?
@venkidakrishnansri
@venkidakrishnansri 7 жыл бұрын
I saw the given link for motors.. rating of DC Motors is 3-6 v.. and we giving 9v supply. is this can cause any problems with motor...? and how...?
@tarunlakra5734
@tarunlakra5734 8 жыл бұрын
CAN I USE THIS STEPS TO CONNECT RESISTANCE WITH UNO FOR 4WD PROJECTS
@christianaaronvelasquezbor4348
@christianaaronvelasquezbor4348 7 жыл бұрын
which goes to the A4 yellow or blue wire please
@fabienc6287
@fabienc6287 8 жыл бұрын
You explained a lot without saying a word. Congratulations and thanks ;)
@sahilpaul1707
@sahilpaul1707 7 жыл бұрын
we have connect trig and echo to A4 & A5 or 6 & 7....?
@foerzaid4098
@foerzaid4098 4 жыл бұрын
sir, why the dominant wheel turns right?
@ishakshaik4514
@ishakshaik4514 7 жыл бұрын
I have the same kit like you but I have IR sensor instead of your sensor ,then what can I do now
@laurentamurat1676
@laurentamurat1676 7 жыл бұрын
do you have to supply power to the Arduino as well or just the motor shield
@christianaaronvelasquezbor4348
@christianaaronvelasquezbor4348 7 жыл бұрын
the cables go to the A4 and the A5 or they go in the analog input
@tharansingh6921
@tharansingh6921 8 жыл бұрын
so we hav to use the first code given in the description?
@dev9545
@dev9545 8 жыл бұрын
hey Mert ,my bo dc motor is of 150 rpm ,and my motor rotation is very slow ,what can i do to speed up my obstacle avoiding robot .
@prabhavshankar606
@prabhavshankar606 6 жыл бұрын
I searched online for how to fix humming sound coming from motors and found that battery isn't a problem but you need to change the PWM frequency. Please can you tell me how can I change it in your provided code
@Matt-ci1lp
@Matt-ci1lp 5 жыл бұрын
So, where did you put the cables to the ultrasonic distance sensor, because I watched you put the cables on the B's place and you said that you put it at the A's place? Which one is right?
@rhsga6399
@rhsga6399 8 жыл бұрын
can we make this robot with bigger battery and motors for carrying loads
@charbelsarkis3567
@charbelsarkis3567 8 жыл бұрын
are the screws on the motor shield there just to make it stick on top of it
@charbelsarkis3567
@charbelsarkis3567 8 жыл бұрын
There are screws on the motor shield
@DC-ry4hx
@DC-ry4hx 6 жыл бұрын
Can I change the TRIG to A1 and the ECHO to A3 ??????? And if so, will it force me to change other parts of the code??? PLEASE if you could answear ASAP
@harshvardhankumar9403
@harshvardhankumar9403 8 жыл бұрын
Sir which version of arduino did you use to code the robot you made ?
@Suresh-ll8ko
@Suresh-ll8ko 6 жыл бұрын
I wanna make it using single motor driver ic, plzz which pairs of pins are output for drivng motor
@shubhamdhiman7516
@shubhamdhiman7516 8 жыл бұрын
i am using stepper motors so how much current it requires
@souravgowda6629
@souravgowda6629 7 жыл бұрын
Can I use lipo battery for this sir..
@manjusrinivas3665
@manjusrinivas3665 7 жыл бұрын
Hi, can you help to stop a servo if there is any object is detected in its way, it should not move until object is removed from its way. thank you in advance. i am using ultrasonic sensor.
@just-havingfun428
@just-havingfun428 4 жыл бұрын
Hei, what a external battery can i use for this poject? I use 9v battery, but not working
@ivanjacome2003
@ivanjacome2003 8 жыл бұрын
where can we get all materials? do you buy them online? best prices?
@simisterii1439
@simisterii1439 8 жыл бұрын
hi.. do you have any coding about automatic grass cutter
@medamramu6291
@medamramu6291 8 жыл бұрын
we should use a4anda5 or not i acannot understand and after the connection is completed it is giving just an led light glow but not working
@harshvardhankumar9403
@harshvardhankumar9403 8 жыл бұрын
Can I use arduino motor shield instead ?
@realchickennuggy
@realchickennuggy 7 жыл бұрын
can we use four 2.5v batteries and make it work?
@cjbailey75
@cjbailey75 8 жыл бұрын
Hello Sir. I am about to build this robot and have a few questions. I am using the arduino 101 should I use the 10 and 13 pin or the analog 4 and 5 pin?
@mariamgallardo910
@mariamgallardo910 7 жыл бұрын
The servo motor make a different in the code? I mean.. If I don't get or not want to use it, does it change something in the code?
@johnduong5448
@johnduong5448 6 жыл бұрын
s there a specific wire to connect the DC motors? what gauge? silicon or copper? and i notice the wires come black and red. or did you just snip off jumper wires and use those?
@rajalakshmish4337
@rajalakshmish4337 7 жыл бұрын
Mert after programming should we directly remove USB or any else????please answer please please please please
@sankaranarayananparameswar8251
@sankaranarayananparameswar8251 8 жыл бұрын
bro at 2:56 u mentioned to Use A4 and A5 for echo and trig but its not seen and instead i am able to see that u have only given them in the 0-13 input pins
@sankaranarayananparameswar8251
@sankaranarayananparameswar8251 8 жыл бұрын
thanks for the reply and am a fresher who has just started watching your vid and its been a great help till now thanks a lot
@rajatburmankp
@rajatburmankp Жыл бұрын
Which verson of Arduino ide use for uploading code sir.
@harshvardhankumar9403
@harshvardhankumar9403 8 жыл бұрын
Sir I read your comment on instructables. I have downloaded from the official website and this morning when I connected the battery AGAIN it started to move in circles. I will follow your steps which u gave me as soon as I can.
@drshafiulazam3414
@drshafiulazam3414 5 жыл бұрын
what did u use for the body
@Kncperseus
@Kncperseus 8 жыл бұрын
Made my own chassis since I'm broke, but parts are otherwise all as recommended. How ever after turning the power on, the bot simply keeps rotating its head instead of moving? Is this supposed to happen?
@navidbinahmed
@navidbinahmed 8 жыл бұрын
why 3 ics are used in the shield?
@yerr7774
@yerr7774 7 жыл бұрын
Question: what does the error to comply to the arduino uno mean?
@arunsarang8781
@arunsarang8781 8 жыл бұрын
for the arduino connection we can use jumper
@prajjwaldevkota7077
@prajjwaldevkota7077 7 жыл бұрын
Hlo! Can we solder the wire from ultrasonic sensor to the motor shield vcc to 5v gnd to gnd, trig to analog pin 4 and echo to pin 5
@nihalkeetha
@nihalkeetha 8 жыл бұрын
Arduino: 1.6.12 (Windows 8.1), Board: "Arduino/Genuino Uno" C:\Users\RAMNADH KEETHA\Downloads\Arduino_Adafruit_Robot\Arduino_Adafruit_Robot.ino:1:21: fatal error: AFMotor.h: No such file or directory #include ^ compilation terminated. exit status 1 Error compiling for board Arduino/Genuino Uno. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. its asking me to exit status 1 what should i do?? please say i am waiting for u
@abshanap2639
@abshanap2639 5 жыл бұрын
Can we use 2 motor connector l293d module instead of l293d motor driver shield
@nikolasvoskou2000
@nikolasvoskou2000 7 жыл бұрын
Arduino: 1.8.2 (Windows 10), Board: "Arduino/Genuino Uno" C:\Users\FACTORAS\Documents\Arduino\sketch_apr19a\sketch_apr19a.ino:1:22: fatal error: AFMotor.h: No such file or directory #include ^ compilation terminated. exit status 1 Error compiling for board Arduino/Genuino Uno. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. help me pls
@_1waychris
@_1waychris 7 жыл бұрын
Can you please tell me the screwdriver size for the motor shield because I ordered it but it did not come with an screwdriver so what is the size for it.
@sabarivikram
@sabarivikram 8 жыл бұрын
can i have multiple ultrasonic trigger pin connected to a common pin
@clipperz1111
@clipperz1111 8 жыл бұрын
Arduino: 1.6.12 (Windows 7), Board: "Arduino/Genuino Uno" C:\Users\user\Desktop\Documents\jsgegegwgwgwgwfwfsfw\jsgegegwgwgwgwfwfsfw.ino:1:21: fatal error: AFMotor.h: No such file or directory #include ^ compilation terminated. exit status 1 Error compiling for board Arduino/Genuino Uno. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. what can i do help
@arunsarang8781
@arunsarang8781 8 жыл бұрын
we can't control with smartphone if Bluetooth module is not there ?
@vishnudesai893
@vishnudesai893 7 жыл бұрын
Also i wanted to know that when to install code after complete wiring with l298n and sensor or only in uno r3 board
@ezekiel6946
@ezekiel6946 8 жыл бұрын
the trig pin and the echo pin went to a4 and a5 at 1:37 but when you were making the robot you but it somewhere else at 2:43 ..please explain i will be expecting your reply.. thanks +Mert Arduino & How To Make
@sohampendkar3715
@sohampendkar3715 6 жыл бұрын
thnx
@virajshah2101
@virajshah2101 6 жыл бұрын
Ezekiel where should we plant it in A4 .A5 or where you planted
@ananthramvasanth1883
@ananthramvasanth1883 8 жыл бұрын
after a jump start when it is switched on, it powers down and then restarts. What should i do?
@Freshboyarly
@Freshboyarly 4 жыл бұрын
How can I learn to code a robot like this? Is there some form of list that provides to appropriate syntax for you to accomplish a project like that?
@bobkocar9093
@bobkocar9093 7 жыл бұрын
I used code given but robot only keeps changing direction will only go forward a few inches even if nothing is in front of it
@bbtx7160
@bbtx7160 7 жыл бұрын
The product link for Bracket HC-SR04....you give in Description is different from the used in video. So please help me which I should use.....
@surajs6469
@surajs6469 7 жыл бұрын
Can we connect ic instead of the motor shield
@rcrowen100
@rcrowen100 8 жыл бұрын
What changes would I make if using the newer Arduino Motor Shield v2.3?
@rcrowen100
@rcrowen100 8 жыл бұрын
Yep, that's the one. I got it to almost work. Changed the code to use the V2, no errors, and everything looks good, but when I run the code the servo moves as it should, yet the DC motors never do anything. I tested them and they work fine. Not sure what the issue is. Tried troubleshooting for awhile, but can't seem to figure it out.
@faizalmohammed9720
@faizalmohammed9720 7 жыл бұрын
What is the application of obstacle avoiding robort
@rajeevrajesh8633
@rajeevrajesh8633 5 жыл бұрын
You connected trig and echo pin in 7 and 6 and tell us for A4 and A5
@jieunlee4599
@jieunlee4599 7 жыл бұрын
I also have the same problem with others, all the parts are working except for the motor, it does only a buzzing sound. And you said that it's not supplying enough power, should i use a duracell 9v battery? Im currently using energizer 9v battery
@gusmcgee7547
@gusmcgee7547 8 жыл бұрын
What are you using for the base plate or what ever you want to call it
@gusmcgee7547
@gusmcgee7547 8 жыл бұрын
Mert Arduino Tutorial & Projects ok thanks
@ahmetatasayar8813
@ahmetatasayar8813 8 жыл бұрын
Teşekkür ederim uğraştığın için kodu denedim ve hatanın dc motor kodunda olmadığını farkettim. Ultrasonic sensor değer okumuyor o yüzden çalışmıyormuş. A4 ve A5 pinlerini çıkarınca motorda servo da çalışıyor. ultrasonic kütüphanesinden olmuyor mu? Bu arada hangi şehirdesiniz?
@bbtx7160
@bbtx7160 7 жыл бұрын
How many jumper wires are used in this project......I think 4 male-to-male jumper wire
@angie96blizz
@angie96blizz 8 жыл бұрын
Good day! I got confused where exactly to put the wires for the echo and trig of the hc-sr04 sensor because in the video you plugged-in the wires in the digital pins then in the pin connections (in the diagram you've shown) it was plugged-in in the analog pins. Hoping for your reply. thank u!
@angie96blizz
@angie96blizz 8 жыл бұрын
Good day. I tried your suggestion and it works! I will ask a question again...is it possible that the code can be converted in a maze solver code? I'm having a difficulty in converting it. If possible, can you give me some suggestions about it? Hoping for your reply. thanks a lot.
@yuanfang2352
@yuanfang2352 8 жыл бұрын
Hi, I was trying to understand your code. Can you explain what these variables represent for? int pos int maxDist int maxAngle int maxRight int maxLeft int maxFront int course int curDist thank you!
@sandhyanayak3613
@sandhyanayak3613 7 жыл бұрын
How many batteries are required for this
@delzreaperz7162
@delzreaperz7162 6 жыл бұрын
sir,can i change L293D to L298N for that motor driver? if can ,is it change the main code too? thanks.
@2b2b2b
@2b2b2b 6 жыл бұрын
Hello, I can not open the blogger website can you send another link please ?
@RAHULGUPTA-dt6yd
@RAHULGUPTA-dt6yd 8 жыл бұрын
in this video your servo is not continues rotating but in your video description code has continues servo rotating what should i do give me code you have used in robot pls
@jaringjaring
@jaringjaring 7 жыл бұрын
Awesome project, but could you combine this project with line follower.
@panasko228
@panasko228 7 жыл бұрын
I am going to try to use solar power to drive my motors. will 4 (1.5 watts 5.5 volts) enough to power it. I am getting around 24.40 volts from 4 solar panels.
@sanjaykhaneja1374
@sanjaykhaneja1374 6 жыл бұрын
all things were working except servo what should I do
@arduinoandbasics9877
@arduinoandbasics9877 6 жыл бұрын
sir it takes you how much time to record a video
@ananthmuppidi7629
@ananthmuppidi7629 7 жыл бұрын
What is the chassis you used?
@desireevalencia5587
@desireevalencia5587 8 жыл бұрын
Hi Mert, i have a little Problem. The Motor shield (not the original, only a copy of china) dont work with the sensor connection direct to the arduino, to solve thes Problem, I connected the sensor direct to the motor shield (PINS (right corner) : Gnd, 5V, A4 and A5) it works. But it works only with the USB connection (to my laptop). But when I change the power to the motor-shield connections (9V battery) it works only the servo and the sensor well, the left wheel dont works and the right wheel has only a little movement. have you an Idea which is the Problem, which is the best way to introduce Power, so can the robot run free in the room (not connected to the laptop) ? Thank you very much (and sorry for my englisch).
@dianaflorinapetre9784
@dianaflorinapetre9784 7 жыл бұрын
What can i do? Arduino: 1.8.3 Hourly Build 2017/04/14 10:33 (Windows 10), Board: "Arduino/Genuino Uno" Sketch uses 5372 bytes (16%) of program storage space. Maximum is 32256 bytes. Global variables use 130 bytes (6%) of dynamic memory, leaving 1918 bytes for local variables. Maximum is 2048 bytes. avrdude: ser_open(): can't open device "\\.\COM1": The system cannot find the file specified.
@mohyminulislam5352
@mohyminulislam5352 7 жыл бұрын
i have faced the same problem.Did you fixed it ?
@harshvardhankumar9403
@harshvardhankumar9403 8 жыл бұрын
Where can I get the plate from?
@vividh1578
@vividh1578 7 жыл бұрын
sir how much input voltage can we give to arduino. i am thinking to join 1 9v battery to motor driver and 1 to arduino uno .
@spychou9745
@spychou9745 7 жыл бұрын
Çok sağolun çok faydalı.Başta hiç sesli anlatım olmayışını yadırgamıştım.Ama şimdi kullandığınız yolun daha etkili olduğunu düşünüyorum ☺
@UDC204
@UDC204 7 жыл бұрын
bro other then 9v battery which battery can be used to this project
@_1waychris
@_1waychris 7 жыл бұрын
What kind of screw driver would I need for the l293D motor shield
@somitsinha9379
@somitsinha9379 8 жыл бұрын
how to make the above bot using tb6612fng motor driver..please reply asap !!
Arduino Obstacle Avoiding Robot Car 4WD
16:18
Maker 101
Рет қаралды 408 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Arduino Obstacle Avoiding Robot (using L293D Motor Driver IC)
12:14
The Latest Celebrity Tech Scam…
19:21
Linus Tech Tips
Рет қаралды 2,5 МЛН
How To Make A DIY Arduino Obstacle Avoiding Car At Home
6:09
DIY Builder
Рет қаралды 5 МЛН
Autonomous Self-Learning Robot (Q-Learning)
6:20
Atle Fjellang Sæther
Рет қаралды 506 М.
Forget WiFi AGAIN! This Wireless Method is WAY Better?
12:05
GreatScott!
Рет қаралды 16 М.
How to Make Arduino Self Balancing Robot
7:59
Maker 101
Рет қаралды 247 М.
How to Make a Gesture Control Robot at Home
10:09
Tapendra Mandal
Рет қаралды 4,2 МЛН
How To Make OBSTACLE AVOIDING ROBOT
6:47
Viral Science - The home of Creativity
Рет қаралды 112 М.
Build a simple 3D dog robot and control it
7:26
Maker 101
Рет қаралды 103 М.
Arduino: How To Build An Obstacle Avoiding Robot
5:29
RoyPe'er
Рет қаралды 747 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19