You are awesome... Step by step... very nice.. No chance to beat u. I saw somany videos, but this is very clear explanation. Thanks for your hard working efforts.
Hello , i'm testing the code, however when i added the readPing function and recalled it again back above, it is showing me that the function is not declared in this scope , what could the problem be ?
I using this robot in my course. We are having trouble getting the motors to react, they don't rotate. The servo reacts correctly when we pass our hand in front of the ultrasonic but the motors do not rotate. We have triple checked the circuit and are fairly confident that is correct. Have measured the battery and we have 8.4 V at full charge.
yes that's it, moreover if it was a 2-wheeled car for example, there will be only one which will turn, with annoying parasites which will be generated by the Arduino board
Hello, Can I use the same logic of car to design an robot who detects crack on railway track? If IR sensor senses obstacle then crack is not there and if Sensor does not finds obstacle then crack is there. Will it work, what modifications I need to do in code and circuit as well??
Hey brother thank you for the video, I give 12v 1A by dc power adapter for motor control it is work fine and speed ok 👍. When I connect high amp charger like 4 Amps its take more current how can I limit the current to 1 A because when I connect 3s module battery its drain quickly 😢
Thnx for the assemble video! I have a few problems. The car gets power by connecting it to my pc. Once it is connected, the servo moves once if i manually changed the position beforehand. Then the car starts driving straight and does not stop. The servo and sensor do nothing. Any ideas?
The sensor shield is easy to use, but only the l298n motor drive, servo motor, and ultrasonic sensor are used here.Applying a sensor shield costs a lot of money. I didn't use it because it could be used for something else.
Hello I made this as it you have said it's just I used a 4 cells battery pack and connected it accordingly to LM298 drive module as shown in circuit diagram. I also connected one 6V battery in Driver module using 5V supply and grnd supply. The car is operating at a very low speed and the sensor is not rotating I am not able to find a solution I have tried it ample of times
Maybe it works because the amperage in the powerbank is higher.Try connecting the powerbank. If the power goes out, only the ultrasonic sensor, arduino, servo motor will work. Motors will stop working.
Hello, I have a problem when the car moving forward the right side DC motor move slow & sometimes not moving I need to move the tyre using hand then it worked but still slow but when reverse it worked. Can you help me? Thanks
Hi, I need your help. My motors do not work(I only have two motors). and i use two 3.7v li iron batteries just like the video, but it still don't work :( . My motor is not broken , i had test it before , the servo motor and sensor is working well , i can't find the problem with my car, can you help me :(
♥️♥️please please replay ❤️❤️ Bro when I done this project servo motor and ultrasonic sensor were rotating properly. But now only wheels are rotating and servo motor is not working Also I checked each and every component all components are working separetely. Also all connections are ok. ❤️❤️Bro please reply what submit This in college♥️♥️
I have make the connection as it is as per circuit diagram but my car is not working only the light of arduino and motordriver is blinking but nothing is working.. Please help me i have to submitt my project day after tomorrow
Sir apka circuit diagram change h or jo apna description m upload kiya h wo change h ultrasonic pa usma 3 wire h apka 4 or bhi l298 m bhi to clear krdo sir pls ir code bhi bhata do project dena h clg m pls sir
If so, remove only the 5th wire of the motor drive, the Vin wire on the Arduino board, and connect a separate 9V battery to the Dc In female jack on the Arduino board.
@@RobotLk Hello, I am also having the same issue. I removed the wire connected to the the 5v on the L298N and the VIN on the Arduino board. What else is required to connect another 9v battery?
L298 Module Features & Specifications: Motor Supply Voltage (Maximum): 46V. Motor Supply Current (Maximum): 2A. Logic Voltage: 5V. Driver Voltage: 5-35V.
I have two Lithium batteries (each is 3.2V and 1A) and I'll use them in series.. Is it okay? If yes can you tell me how to connect them. I also have one 18650 battery but I don't know if I can use different types of batteries. Can you help me please 😊
Should be connected in series.18650 Any type of battery can be used.7.4V can be provided when the battery is connected in series .Even three batteries can be connected in series.
Hey, my motors don't move at all. Mind helping me out? Standard there is a jumper on the ENA and ENB pins, so I did not touch them. The servo and ultrasonic both work and I think I did it the exact way like you did
I used a motor driver shield to my obstacle avoiding Robot. but it make a sound and gear motors doesn't work. but the servo works. can you please help me?
Bro... My motors are not running for some reason. If i connect the Arduino to laptop than it works. Is it power issue. How much power does it need to work properly??
I think I found my mistake. But I have one more question. I used 3 piece of 18650 battery so in my opinion the motor seems to be too "fast", how to reduce the speed of the motor?😅
thank you so much man!, mine worked so well! :D
You're welcome!
ج
Me too
Mine didn't worked XD :(
Man for programming what did you do for Sonar(trig_pin...)?
Thanks bro tommorow is my science exhibition tq
Thank you, sir, my obstacle avoiding robot work. Thank you for giving me the code, circuit diagram and the newping library. Thank you,sir,🙂🙂🙂🙂
How many hours it tooked for the project?
You are awesome...
Step by step... very nice..
No chance to beat u.
I saw somany videos, but this is very clear explanation.
Thanks for your hard working efforts.
Thank you so much 🙂
Thank you youtube....finally something good reccomend...this is perfect....thanks
Thanks
Hello , i'm testing the code, however when i added the readPing function and recalled it again back above, it is showing me that the function is not declared in this scope , what could the problem be ?
Add the newping library
Superbe explication du montage et du code.
Félicitation.
I have personally built one following your video and its totally fine.
Well done it,s superb
Thanks
How much amps do i need out of my 6v battery to make this work? and what is the maximum voltage that I can use?
3A is sufficient. Can be used up to 12v
වැඩෙ නම් මරු... 💪💪💪💪💪
great job! i really love this project! if i want to make a random rotation, wich delay i have to change?
Good job bro... well done. ..
Thanks bro
I using this robot in my course. We are having trouble getting the motors to react, they don't rotate. The servo reacts correctly when we pass our hand in front of the ultrasonic but the motors do not rotate. We have triple checked the circuit and are fairly confident that is correct. Have measured the battery and we have 8.4 V at full charge.
Are the ENA, 5V and ENB of the motor driver connected by a 5V microjumper?
@@RobotLk the ena and the enb not conected ...i connect the en1 1n2 en3 en4 to the arduino
and connect vin arduino to the +12v
je relier maintnant au 5v aussi mais seullement le roud reight ce travail
merci je trouve le defaut dans l'ampirage
Same condition occurred
Sir what is the green and orenge lights.its normol
yes
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
I used it for a blutooth car
Thanks for the advice.👍
@@RobotLk thanks for your reply, when you try with the robot avoiding the obstacles please give me a sign, probably it will not work.
What happens is that only the sensor and the servo motor work
yes that's it, moreover if it was a 2-wheeled car for example, there will be only one which will turn, with annoying parasites which will be generated by the Arduino board
සුපිරි ❤❤😊😊
Can someone please tell me how can I edit the code provided so that I can make the robot turn wider after it stops in front of an object?
12:09 Increase the distance value shown at the location
@@RobotLk alright thank you very much!
Hello, Can I use the same logic of car to design an robot who detects crack on railway track? If IR sensor senses obstacle then crack is not there and if Sensor does not finds obstacle then crack is there. Will it work, what modifications I need to do in code and circuit as well??
You have to use pixy cam or esp32 camera to make it from open cv. It is very complicated
@@RobotLk Thank you for your inputs, Can this be done without using camera ?. Can we use infrared sensor to detect crack on surface of railway track?
Good example...Sir ...tnx for this video....
🙏
Sir thodi problem a rahi hai mujhe .
Can you help me ?
Yes , I can
@@RobotLk sir program upload krne me .
Newping .h: no such file or directory
Error show kr raha hai
niwping library not added
It doesn't require any code for its operation right??
Hey brother thank you for the video, I give 12v 1A by dc power adapter for motor control it is work fine and speed ok 👍. When I connect high amp charger like 4 Amps its take more current how can I limit the current to 1 A because when I connect 3s module battery its drain quickly 😢
Thankyou so much for the code
Thank you for the video.
I have two questions.
1st one is can we use a 9v battery.
2nd one is do we need to take 2 9v battery.
9v battery is not successful.Use two 18650 3.7 v batteries
0771489786.mekata whatssapp massage ekak danna prashnayak awoth
brother oke wheels kohenda hoya ganne?
where can we get the wheels?
4wheel chassis kit ekama gaththanam hambenawa.naththama wenama wheel ganna puluwan
Duino.lk eken oder karanna.daraz eketh thiyenawa .samanaya electronic shop wala thiyenawa
Thank you for that amazing video
best aiya arduino walata patta asawak awa me video eken
හදල බලන්න,ප්රශ්නයක් අවොත් කියන්න,අනිව උදව්කරන්නම්🙏
It is warking 👍👍👍thanks for the code😊❤❤
Thank you dude! goes well and having fun tweeky it.
Thnx for the assemble video! I have a few problems. The car gets power by connecting it to my pc. Once it is connected, the servo moves once if i manually changed the position beforehand. Then the car starts driving straight and does not stop. The servo and sensor do nothing. Any ideas?
There may be a problem with the ultrasonic sensor module.Check the wire going to that module again.
Adooo ekanan supiriyak e ela ela pattama bro
thanks
any method to use this same configuration of obstacle avoidance and also have it be controlled by Bluetooth?
I will explain how to build an all in one arduino car in a future video
@@RobotLk if possible also add a depth avoidance sensor input as well using a IR sensor so it doesn't fall off of the edges
In Arduino do you have to Wright everything or does it already have everything to make it work
I do not understand the question
@@RobotLk when you go to program the car do you have to wright the script
Make it as per the circuit diagram. It is more accurate
bro we can also use 2 wheels instead of 4 and a caster whee with the same code?
Yes you can.
The code does not change
@@RobotLk ok thanks for replying bro
@@RobotLk can i get your insta id or something else..so i can ask any query actually i am new to robotics
Which version of arduino uno did you use and does it matter which version of arduino uno I use
Arduino uno, mega, nano, Lilypad, nodemcu can be used on any board
Hey, in many videos I saw people using a Sensor Shield V5 on the Arduino, but you didn't. Does that mean I don't need it? Thanks for any answer
The sensor shield is easy to use, but only the l298n motor drive, servo motor, and ultrasonic sensor are used here.Applying a sensor shield costs a lot of money. I didn't use it because it could be used for something else.
Thank you very much sir.Sir,Can i Power Supply arduino and L293D motor Shild at Same Time?
Yes
@@RobotLk Sir,How sir ?Before powering the l293d motor shild ,i remove any things is motor Shild?(yellow colour part (near the power supply pins)?
I just did not understand
I use the l298n motor drive for this
@@RobotLk sir
if i connect l293d and arduino then i can normaly power supply both? or do some things in l293 d (Remove Yellow pin on l293d?
Help mine does not work reverse all four wheel my reverse only is working right side working ihave l298n but when forward all wheels are working
Hihihihihihi we love that review , bla bla production
It really works thank you , but I have a question how can I contact you ?
My facebook page
Is RobotLk
nice work brother 😘😘
Thanks 🙂
@@RobotLk I have a problem
@@RobotLk please give me your whatsapp num. please.......
please give me your whatsapp number.......please........
0771489786
Bro are the schematics correct or the video bcz both of them r diff the scheme in vid is diff than in Google drive
It doesn't matter, it works both ways, connect it as per the circuit diagram .It's more convenient.
Sir which rpm gear motor do u use sir and which mah of battery do u use sir
Two Li-ion 18650 batteries and four tt gear motors
@@RobotLk no sir iam asking how much rpm is ur motor and what is the mah of ur 18650 battery I hope u will give a solution
thank you so much. mine worked really well.
You're welcome!
Can i use aurdino uno smd place of aurdino uno r3...?
Any type of arduino board used.New update video- ruclips.net/video/0X_S7BlKe-M/видео.htmlsi=DzikP_qaFduYaopR
Eka ptta bro😍
Thanks bro
Hello I made this as it you have said it's just I used a 4 cells battery pack and connected it accordingly to LM298 drive module as shown in circuit diagram. I also connected one 6V battery in Driver module using 5V supply and grnd supply. The car is operating at a very low speed and the sensor is not rotating I am not able to find a solution I have tried it ample of times
The voltage and amperage of 4 AA batteries are insufficient.use two 18650 li ion batteries. 9v battery also cannot be used
@RobotLk ok I will try that out and let you know If I faced the problem again
6v battery should be connected to 12v in and gnd
Not 5v and gnd
hi
i make it but robot 🤖 🤖 rotate right and servo motor only check right
nice video
bro it help me thank you
Happy to help
Can use power bank..
You can't use a powerbank, it makes out 5v, but 2 cells in the powerbank If you put it in series, you can
Maybe it works because the amperage in the powerbank is higher.Try connecting the powerbank. If the power goes out, only the ultrasonic sensor, arduino, servo motor will work. Motors will stop working.
How does the code stay on the car? My car only moves if I keep it plugged in to the computer after uploading.
This is because the power you provide is not enough.
When connected to a computer, the Arduino board, servo motor, and ultrasonic sensor all operate at 5v from the computer.
Insert two 3.7 V batteries
Ok
@@RobotLk I will try that
After adding new ping file we will also have to add other files like servo motor and ultrasonic sensor ?????
Only newping needs to be added
@@RobotLk bro and i have Ardino uno so i select in port ardino uno and com 3 na
ok, select the last port
@@RobotLk and coding is same na bro
There is a change in the connection of the motor drive. That shouldn't be a problem
Hi you project is good.can I use two 18650 battery and arduino Uno board for this project.
Yes .Two 18650 li ion batteries are required
hii im facing a problem the car is not turning towards left except that its functioning ,
any sugestions plz
Sir instead of 7.4v battery can I use 2) 3.4v battery
Or recommend any other battery 🔋
I also used two 3.7V batteries. Use a 3.7 V batteries
Thank you sir
How did you connect bith servo motor and the sensor to Arduino 5V ? There is only one 5V pin in arduino.
Connect two jumper wires together
Or connect it to the 5v out of the motor drive
Sir I have use 9v battery instead of 18650 battery
Hello, I have a problem when the car moving forward the right side DC motor move slow & sometimes not moving I need to move the tyre using hand then it worked but still slow but when reverse it worked. Can you help me? Thanks
Did you edit the code?
@@RobotLk no, i just copy&paste the code. maybe my motor broken?
If it works in reverse, there is no problem with the motor,Check the connection of the motor drive
It has very speed nice
Ayee mage ළඟ කඩෙන් ගෙනාපු remote control car එකක් තියනවා එකේ mother board එක අයින් කරලා ඔය විදියට හැදුවොත් වැඩද?
Hadanna puluwan ,harawana eka prashnayak wenna puluwan ,blutooth control karannanam hadanna puluwan ,mobile pone eken yawanna.
0771489786 whatssapp ,message ekak danna
What should I do if i don't have servo moter i can replace with toy moter
A servo motor is also required. It can be made without servo motors. Later connect the servo motor
Hello will 4xaa battery enough?
4 AA batteries are not enough
will this work for magic bit other than arudino uno
I'll find out
Pattai bro
Can i run the car with 6V battery or will i need to have 7 to run the motors
6v is possible .9v is good
6v is sometimes possible.
What is the amperage of a 6v battery?
Hello can i use 3 3.4 V batteries instead of 2?
3* can be used. But the speed will increase a lot
successful but some issues with ultrasonic sensor not detecting sometime
void loop(){
int distanceRight = 0;
int distanceLeft = 0;
delay(50);
if (distance
Hi, I need your help. My motors do not work(I only have two motors). and i use two 3.7v li iron batteries just like the video, but it still don't work :( . My motor is not broken , i had test it before , the servo motor and sensor is working well , i can't find the problem with my car, can you help me :(
What motor drive do you use?
l298n motor drive is also used
L298N motor drive ,and
everything used is the same as in the video
Are the ENA, 5V and ENB, 5v of that motor drive connected separately by jumper?
If you look at the circuit diagram, you will know more. If not, try to power the motor drive with a 12V DC pack.
When I was uploading code it displaying I am getting less of 3% bites can u help me
I also do not know exactly why the code will not be uploaded.Can't upload code?
Bro one help my robot is not moving straight it is rotating in the same place
There has been a change in the wires of the motor drive. Switch the wires of the two motors that rotate backwards
♥️♥️please please replay ❤️❤️
Bro when I done this project servo motor and ultrasonic sensor were rotating properly.
But now only wheels are rotating and servo motor is not working
Also I checked each and every component all components are working separetely.
Also all connections are ok.
❤️❤️Bro please reply what submit This in college♥️♥️
Voltage and amperage are not enough. Use two 18650 LI.Ion rechargeable batteries for this. 9 V batteries and AA batteries do not work properly.
I have make the connection as it is as per circuit diagram but my car is not working only the light of arduino and motordriver is blinking but nothing is working.. Please help me i have to submitt my project day after tomorrow
how many voltage is given
@@RobotLk9 volts
@@RobotLk please reply
9V battery does not have enough power,18650 Use two or three rechargeable batteries
@@RobotLk thanks man i will try
Can I use a 9V alkaline battery as the power source for this project ?
The 9V battery cannot be used because it does not have enough amperage
Sir apka circuit diagram change h or jo apna description m upload kiya h wo change h ultrasonic pa usma 3 wire h apka 4 or bhi l298 m bhi to clear krdo sir pls ir code bhi bhata do project dena h clg m pls sir
इसे सर्किट डायग्राम की तरह बनाएं.
वीडियो अपडेट करें - ruclips.net/video/0X_S7BlKe-M/видео.htmlsi=_J-v-NIbsSolS4TA
can I use a 9V battery? if yes, do I have to chane something else? or change the code? thanks
9V batteries can be used. The code does not change.
However, the 9V battery has a low amperage, and the 4 motors may not work properly.
If so, remove only the 5th wire of the motor drive, the Vin wire on the Arduino board, and connect a separate 9V battery to the Dc In female jack on the Arduino board.
@@RobotLk Hello, I am also having the same issue. I removed the wire connected to the the 5v on the L298N and the VIN on the Arduino board. What else is required to connect another 9v battery?
9v battery should be connected to dc black female jack. It needs a male shoket.
Bro my dc motor nortwork ? But sensor work i use 3.7 two battery . Pls help
good job but can we do this with 11 .1 volts baterry
Yes .11.1 V can be applied
@@RobotLk thanks but we connect it in 12v +
L298 Module Features & Specifications:
Motor Supply Voltage (Maximum): 46V. Motor Supply Current (Maximum): 2A. Logic Voltage: 5V. Driver Voltage: 5-35V.
I built it exatly lik in your video and the code was uploaded finely but it doesent move
What batteries are used?
its detecting and moving but my left pair of wheels arent moving what to do?
If there is a problem with the wires on the left side of the motor drive, check if the four input wires are properly connected.
Sir can I use a rc toy car chassis to build this.Thank you for the tutorial.
It can be made from a toy car .But I do not know if turning the vehicle is correct
Lankawe ekkenekda, 0771489786 whatsapp
but , in diagram only 2 moters only showen why, can we use 4 moters
Can be made with both motors. Then two front wheels cannot be used
I have two Lithium batteries (each is 3.2V and 1A) and I'll use them in series.. Is it okay? If yes can you tell me how to connect them. I also have one 18650 battery but I don't know if I can use different types of batteries. Can you help me please 😊
Should be connected in series.18650 Any type of battery can be used.7.4V can be provided when the battery is connected in series
.Even three batteries can be connected in series.
@@RobotLk you mean I should connect the three batteries in series even if they're not of the same size abd type?
Would the voltage and amperage be sufficient?
Any type of li.ion batteries can be used. Two batteries are sufficient.7v 2A is sufficient
arduino uno r3 board eken meka mevidihata karoth weda karanawada
Wada,ona arduino board ekak puluwan .code ekama ekamai.
Apita baida ekama arduno bord ekakin rc car ekatai redar ekatai ekatai dekatama denna
Mata තේරුණේ නෑ. Rc car ekatayi kiyanne
How to increase the size of turning
12:23 Increase the distance value shown at the location
Thanx
Bro i used HY-SRF05 sensor and connected with arduino for checking, it shows 0cm detection or no pulse from sensor. what can i do ?
Check that the terminals of the ultrasonic sensor are properly connected.
A newping library is also required for the ultrasonic sensor to work
@@RobotLk terminal means what bro.. Iam MCA student
Connector pin of ultrasonic sensor
Bro i did same as the link you gave and watched the video 8 times and made same project. sensors are working but motors are not working please help me
Hey, my motors don't move at all. Mind helping me out? Standard there is a jumper on the ENA and ENB pins, so I did not touch them.
The servo and ultrasonic both work and I think I did it the exact way like you did
The supplied voltage is not sufficient.
What is the batteries provides power?
@@RobotLk I have 4x AA batteries, so 4x 2400 mAh?
I could upload some photos so you can check what I am doing wrong maybe?
Does it work when connected to a pc
+94771489786 whatssapp
I used a motor driver shield to my obstacle avoiding Robot. but it make a sound and gear motors doesn't work. but the servo works. can you please help me?
it happens when the code is uploaded
The motor shield cannot use this arduino code
This code only works for L298n motor drives.
@@RobotLk okay thanx for the quick reply
ardiuno board ekak pichchunama eke ic eka maru karalath vada karanne naththam monawada karanna one.
Arduino bord eka pichchenne,output walata high valtage ekak awothwitharai.ic eka pichchilanam eka witharak nemei thawa dewal pichila athi,power eka wadiyen dunnanam regulatere gihilla athi,hariyata kiyanna mokadda wela thiyenne kiyala,ic marukarata wadakke.ewath pichchenawa
I cannot understand why the car can turn around? What is the principle? The 4 TT Gear Motor wasn't only allowed forward or backward?
When there is no obstacle in front, the car does not move forward
Bro... My motors are not running for some reason. If i connect the Arduino to laptop than it works. Is it power issue. How much power does it need to work properly??
7-10 Voltage and 1000mAh
@@RobotLk I use 9v 2.3 amp battery. It didn't work though
Eka niyamai.
Nice project bro...but when i trying to open the code it shows... Google drive doesn't support this type of fils...plzz help
arduino app. has also been Install
@@RobotLk already installed bro...
First download that folder
@@RobotLk finally done... thanks for replying
@@RobotLk what folder bro....
Hello i have done everything as per the video but my motors are not moving ?
Sir i do all the step but i have little problem he don't move forward everything work so will
oya battery eka haduwe kohomada??
3.7V battery 2k serious kara,18650li ion battery
Mage anith video wala dala athi ,balanna
I think I found my mistake. But I have one more question. I used 3 piece of 18650 battery so in my opinion the motor seems to be too "fast", how to reduce the speed of the motor?😅
Use two 18650 li ion batteries. Then the speed will decrease. Or use a step down module and reduce the voltage to 8v.
@Robot Lk i was think too, but here only 3 peice battery holder so
What should I do if don't have servo moter
A servo motor is also required. It can be made without servo motors. Later connect the servo motor
Can I use 9v batteries
9v battery cannot be used.Ampere is not enough to activate the motor