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
@robertocameto4878 жыл бұрын
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
@FutureAIDev20158 жыл бұрын
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?
@DenisBarbas7 жыл бұрын
Could you please tell me which code to modify to accelerate the speed of the motors ?
@lakshaynarayan18536 жыл бұрын
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 ☺️
@MrHristoB6 жыл бұрын
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
@SoumenMishraKansbahal4 жыл бұрын
Can you pls help me out, my obstacle robot motor moving forward and backward only again and again, pls help
@madhuyashwantha42026 жыл бұрын
will you provide complete documentation for this project here by link...?????
@danielrafaeltorresmendoza10987 жыл бұрын
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
@nikeshpyakurel41876 жыл бұрын
in which pin servo should be connected??
@sktg90418 жыл бұрын
can we soldering 2 dupont wire or connected 2 dupont wire ( male-male to female/female)
@vrajparikh3018 жыл бұрын
Do i need to power adafruit shield and arduino board both separately?
@SoumenMishraKansbahal4 жыл бұрын
bhai in your Code Echo and Trig pin located A0 & A1 but in your video you connect it to A4 & A5, Pls explain.
@DenisBarbas6 жыл бұрын
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???
@vell5467 ай бұрын
Hi can you copy and paste the code, I can't open the link code
@DenisBarbas7 жыл бұрын
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
@lakshaynarayan18536 жыл бұрын
Bro May Be Motorshield Problem Replace It
@Shaik-d8v6nАй бұрын
Bro just change or charge your batterys it will work
@premalathababu49716 жыл бұрын
Will arduino UNO is enough to make the bot or arduino uno r3 please replay fast
@RAHULGUPTA-dt6yd8 жыл бұрын
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
@dushyant52848 жыл бұрын
For how much time did the battery last I'm having problems with the battery
@venkidakrishnansri7 жыл бұрын
what is the voltage and current rating of DC Motors...? and is this a brush less dc motor...?
@kartiksingh93828 жыл бұрын
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.
@seth80348 жыл бұрын
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?
@markliles41138 жыл бұрын
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?
@venkidakrishnansri7 жыл бұрын
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...?
@tarunlakra57348 жыл бұрын
CAN I USE THIS STEPS TO CONNECT RESISTANCE WITH UNO FOR 4WD PROJECTS
@christianaaronvelasquezbor43487 жыл бұрын
which goes to the A4 yellow or blue wire please
@fabienc62878 жыл бұрын
You explained a lot without saying a word. Congratulations and thanks ;)
@sahilpaul17077 жыл бұрын
we have connect trig and echo to A4 & A5 or 6 & 7....?
@foerzaid40984 жыл бұрын
sir, why the dominant wheel turns right?
@ishakshaik45147 жыл бұрын
I have the same kit like you but I have IR sensor instead of your sensor ,then what can I do now
@laurentamurat16767 жыл бұрын
do you have to supply power to the Arduino as well or just the motor shield
@christianaaronvelasquezbor43487 жыл бұрын
the cables go to the A4 and the A5 or they go in the analog input
@tharansingh69218 жыл бұрын
so we hav to use the first code given in the description?
@dev95458 жыл бұрын
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 .
@prabhavshankar6066 жыл бұрын
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-ci1lp5 жыл бұрын
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?
@rhsga63998 жыл бұрын
can we make this robot with bigger battery and motors for carrying loads
@charbelsarkis35678 жыл бұрын
are the screws on the motor shield there just to make it stick on top of it
@charbelsarkis35678 жыл бұрын
There are screws on the motor shield
@DC-ry4hx6 жыл бұрын
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
@harshvardhankumar94038 жыл бұрын
Sir which version of arduino did you use to code the robot you made ?
@Suresh-ll8ko6 жыл бұрын
I wanna make it using single motor driver ic, plzz which pairs of pins are output for drivng motor
@shubhamdhiman75168 жыл бұрын
i am using stepper motors so how much current it requires
@souravgowda66297 жыл бұрын
Can I use lipo battery for this sir..
@manjusrinivas36657 жыл бұрын
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-havingfun4284 жыл бұрын
Hei, what a external battery can i use for this poject? I use 9v battery, but not working
@ivanjacome20038 жыл бұрын
where can we get all materials? do you buy them online? best prices?
@simisterii14398 жыл бұрын
hi.. do you have any coding about automatic grass cutter
@medamramu62918 жыл бұрын
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
@harshvardhankumar94038 жыл бұрын
Can I use arduino motor shield instead ?
@realchickennuggy7 жыл бұрын
can we use four 2.5v batteries and make it work?
@cjbailey758 жыл бұрын
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?
@mariamgallardo9107 жыл бұрын
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?
@johnduong54486 жыл бұрын
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?
@rajalakshmish43377 жыл бұрын
Mert after programming should we directly remove USB or any else????please answer please please please please
@sankaranarayananparameswar82518 жыл бұрын
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
@sankaranarayananparameswar82518 жыл бұрын
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 Жыл бұрын
Which verson of Arduino ide use for uploading code sir.
@harshvardhankumar94038 жыл бұрын
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.
@drshafiulazam34145 жыл бұрын
what did u use for the body
@Kncperseus8 жыл бұрын
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?
@navidbinahmed8 жыл бұрын
why 3 ics are used in the shield?
@yerr77747 жыл бұрын
Question: what does the error to comply to the arduino uno mean?
@arunsarang87818 жыл бұрын
for the arduino connection we can use jumper
@prajjwaldevkota70777 жыл бұрын
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
@nihalkeetha8 жыл бұрын
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
@abshanap26395 жыл бұрын
Can we use 2 motor connector l293d module instead of l293d motor driver shield
@nikolasvoskou20007 жыл бұрын
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
@_1waychris7 жыл бұрын
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.
@sabarivikram8 жыл бұрын
can i have multiple ultrasonic trigger pin connected to a common pin
@clipperz11118 жыл бұрын
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
@arunsarang87818 жыл бұрын
we can't control with smartphone if Bluetooth module is not there ?
@vishnudesai8937 жыл бұрын
Also i wanted to know that when to install code after complete wiring with l298n and sensor or only in uno r3 board
@ezekiel69468 жыл бұрын
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
@sohampendkar37156 жыл бұрын
thnx
@virajshah21016 жыл бұрын
Ezekiel where should we plant it in A4 .A5 or where you planted
@ananthramvasanth18838 жыл бұрын
after a jump start when it is switched on, it powers down and then restarts. What should i do?
@Freshboyarly4 жыл бұрын
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?
@bobkocar90937 жыл бұрын
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
@bbtx71607 жыл бұрын
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.....
@surajs64697 жыл бұрын
Can we connect ic instead of the motor shield
@rcrowen1008 жыл бұрын
What changes would I make if using the newer Arduino Motor Shield v2.3?
@rcrowen1008 жыл бұрын
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.
@faizalmohammed97207 жыл бұрын
What is the application of obstacle avoiding robort
@rajeevrajesh86335 жыл бұрын
You connected trig and echo pin in 7 and 6 and tell us for A4 and A5
@jieunlee45997 жыл бұрын
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
@gusmcgee75478 жыл бұрын
What are you using for the base plate or what ever you want to call it
@gusmcgee75478 жыл бұрын
Mert Arduino Tutorial & Projects ok thanks
@ahmetatasayar88138 жыл бұрын
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?
@bbtx71607 жыл бұрын
How many jumper wires are used in this project......I think 4 male-to-male jumper wire
@angie96blizz8 жыл бұрын
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!
@angie96blizz8 жыл бұрын
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.
@yuanfang23528 жыл бұрын
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!
@sandhyanayak36137 жыл бұрын
How many batteries are required for this
@delzreaperz71626 жыл бұрын
sir,can i change L293D to L298N for that motor driver? if can ,is it change the main code too? thanks.
@2b2b2b6 жыл бұрын
Hello, I can not open the blogger website can you send another link please ?
@RAHULGUPTA-dt6yd8 жыл бұрын
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
@jaringjaring7 жыл бұрын
Awesome project, but could you combine this project with line follower.
@panasko2287 жыл бұрын
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.
@sanjaykhaneja13746 жыл бұрын
all things were working except servo what should I do
@arduinoandbasics98776 жыл бұрын
sir it takes you how much time to record a video
@ananthmuppidi76297 жыл бұрын
What is the chassis you used?
@desireevalencia55878 жыл бұрын
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).
@dianaflorinapetre97847 жыл бұрын
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.
@mohyminulislam53527 жыл бұрын
i have faced the same problem.Did you fixed it ?
@harshvardhankumar94038 жыл бұрын
Where can I get the plate from?
@vividh15787 жыл бұрын
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 .
@spychou97457 жыл бұрын
Ç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 ☺
@UDC2047 жыл бұрын
bro other then 9v battery which battery can be used to this project
@_1waychris7 жыл бұрын
What kind of screw driver would I need for the l293D motor shield
@somitsinha93798 жыл бұрын
how to make the above bot using tb6612fng motor driver..please reply asap !!