Making a simple Arduino Line Follower Robot

  Рет қаралды 57,434

Bot Reboot

Bot Reboot

Күн бұрын

Пікірлер: 110
@alonshow10
@alonshow10 Ай бұрын
Thanks bro! Good proyect, keep in that way!
@botreboot6352
@botreboot6352 2 жыл бұрын
Hi guys, quick update: as I got summer break, I will pause my current project (check out my dev video about making a robotic vacuum cleaner if you haven't: kzbin.info/www/bejne/rIabZotveMSWfqs). That means I will start reworking the codes of the line follower, including adding more comments and descriptions. I will also include new codes with new features (for example automatic calibration). So stay tuned!!!! 😀
@sikandaramir9615
@sikandaramir9615 11 ай бұрын
where you go?
@andreiboboccibo1267
@andreiboboccibo1267 2 жыл бұрын
Very bice video!! It helped me a lot!
@adda7959
@adda7959 2 жыл бұрын
i also thought it was very bice
@diwakar8815
@diwakar8815 Жыл бұрын
@@adda7959 😂
@hedichabbeh8590
@hedichabbeh8590 2 жыл бұрын
Hc 05 blutooth module used for what ?
@skullgaming0008
@skullgaming0008 Жыл бұрын
Does it follow white line also
@brandavornamberstone7729
@brandavornamberstone7729 2 жыл бұрын
How do you pair the ble module with the phone? Every time I try to pair, it says pairing rejected. Any ideas?
@botreboot6352
@botreboot6352 2 жыл бұрын
In my case, to get the Bluetooth module working, I first paired the phone with the module from the Bluetooth panel in Settings. It usually requires a pairing key ('0000' or '1234' should work). When the pairing is done, you can select the module device directly from the Android application for the control of the line follower. Otherwise, make sure the module is connected properly to the microcontroller and the code is correctly uploaded.
@rezmat
@rezmat Ай бұрын
Please reply!!! Can I use L298N Motor Driver instead of DRV8835?
@pallaputejachakravathi5357
@pallaputejachakravathi5357 Жыл бұрын
hello, can you share the sketchfab 3d model it is not opening since it shows like this You can’t access this page because this Sketchfab 3D model has been deleted. thank you
@cyvnimo1120
@cyvnimo1120 6 ай бұрын
hi can i use other brand 8 channel ir sensor?
@SANJAYKUMAR-ix5pd
@SANJAYKUMAR-ix5pd 2 жыл бұрын
You can connect mode pin in 8th pin of Arduino,in front i use DRV8833, eep pin is connected to that 8th pin,as your description code is suitable for that pcb board
@subhrajyotimahanta964
@subhrajyotimahanta964 2 жыл бұрын
so , we can use 8833 too??
@subhrajyotimahanta964
@subhrajyotimahanta964 2 жыл бұрын
Do we have to change the codes for DRV8833??
@jacksowyongjie562
@jacksowyongjie562 11 ай бұрын
So can replace DRV8835 to DVR8833 the entire code is working fine?
@christinemaechiong1747
@christinemaechiong1747 10 ай бұрын
hi, can i change hc-05 to hc-06 (4 pins) and have the same code? also can i still use the app for my hc-06 module? thank you
@hayyawanth7671
@hayyawanth7671 Ай бұрын
which code should i use.....you have gave 3 codes in the clint bro?
@RighttoInformationAct2005
@RighttoInformationAct2005 8 ай бұрын
where is the app download link
@sanketmendke9793
@sanketmendke9793 2 жыл бұрын
In advance pid Bluetooth code the KP Ki KD value are auto generated while calibrating?????
@botreboot6352
@botreboot6352 2 жыл бұрын
The calibration is for the sensors of the QTR-8RC. It has nothing to do with the PID control terms.
@sanketmendke9793
@sanketmendke9793 2 жыл бұрын
Can you share your value of kp ki KD u use in these
@botreboot6352
@botreboot6352 2 жыл бұрын
@@sanketmendke9793 please look up in the link in the description (of the written documentation). You will find there the specified values I have used, plus more information that would answer most of your questions.
@sanketmendke9793
@sanketmendke9793 2 жыл бұрын
@@botreboot6352 thank you very much 😊
@arthurceci8152
@arthurceci8152 2 жыл бұрын
Plase, why did you use those four resistors?
@botreboot6352
@botreboot6352 2 жыл бұрын
You can find the circuit schematic in the link in the description. Each button requires a pull-down resistor, and the Bluetooth HC-05 module requires 2 resistors (which make a voltage divider in order not to burn the module).
@arthurceci8152
@arthurceci8152 2 жыл бұрын
@@botreboot6352 nice! Thanks for answering, pretty cool car!
@firaslaouini3844
@firaslaouini3844 8 ай бұрын
after while about 30s in the app when i want to change the constants it show me this message :h-05 bluetooth error 516 unable to write broken pipe can u help how to fix it
@sanketmendke9793
@sanketmendke9793 2 жыл бұрын
In these the digital I/O is use or Analog i/o ??
@botreboot6352
@botreboot6352 2 жыл бұрын
Both.
@daffaalkahffi2996
@daffaalkahffi2996 2 ай бұрын
What type of wheel is on the front?
@technicalgamer1.o778
@technicalgamer1.o778 14 күн бұрын
Ball wheel
@sabersakin3685
@sabersakin3685 2 жыл бұрын
DRV8835 Dual Motor Driver Carrier and 5V Step-Up/Step-Down Voltage Regulator S7V7F5 is not available in my country. What can i use then? For example can i use DRV8825 Stepper Motor Driver Module or l298 hbridge dual moto driver and for the voltage regulator can use any other buckboost converter?
@botreboot6352
@botreboot6352 2 жыл бұрын
You can use any other motor driver and voltage regulator as long as they are compatible. You need to make sure that the battery's voltage is between the input interval of the voltage regulator (and of course the output is 5V). The same goes for the motor driver - the voltage input and output are compatible (also, you should take into account the current's output - if it is sufficient for the motors - the DRV8835 has an output of 1.2 A). Depending on what you alter, the wiring and the code will change too. But yeah, the L298n motor driver can be used as a replacement. From what I've heard and tested, it has some voltage loss at the output.
@SANJAYKUMAR-ix5pd
@SANJAYKUMAR-ix5pd 2 жыл бұрын
What is eep and ult pins in DRV8833 driver, explain its function
@botreboot6352
@botreboot6352 2 жыл бұрын
I suggest you take a look at its documentation because it is not a component used in this project, and neither are the EEP and ULT pins. Of course, any other replacement of the hardware used in this project might not be compatible with the codes and PCB, so you will have to improvise and adapt them to your needs.
@sanketmendke9793
@sanketmendke9793 2 жыл бұрын
Please reply In code kp ki KD value is changed in your code or keep constant in it
@areki150
@areki150 2 жыл бұрын
chill bro he will answer
@botreboot6352
@botreboot6352 2 жыл бұрын
The PID control system is based on finding the perfect values for the control terms / constants. By trial and error, you can find those values. I recommend researching more on the internet about the PID control system so you understand how it works. I also provide a brief explanation in the tutorial in the description of the video.
@sanketmendke9793
@sanketmendke9793 2 жыл бұрын
@@botreboot6352 thank you bro for helping 😊
@lendoornink6780
@lendoornink6780 2 жыл бұрын
First of all thanks for the video. Do you have by any change Matlab / Simulink models ?
@botreboot6352
@botreboot6352 2 жыл бұрын
Unfortunately, no. However, I try to share every resource I have used in the link in the description on my Hackster page.
@pocopoco3468
@pocopoco3468 Жыл бұрын
Hey man please help, the app in the link is different, it dosent have base speed option
@botreboot6352
@botreboot6352 Жыл бұрын
The version with the control of the speeds was never pushed to the resources because it was usually breaking the whole application if you would send a lot of data to the Arduino. However, you can manually set in the code your desired min, base max speeds. Right now, I am working on a new interface and application for the line follower robot, so stay tuned because it will be released soon! :)
@pocopoco3468
@pocopoco3468 Жыл бұрын
@@botreboot6352 thankyou
@pocopoco3468
@pocopoco3468 Жыл бұрын
I have made this, is there any way to make it take acute angles?
@botreboot6352
@botreboot6352 Жыл бұрын
That's a really good question. I never got the chance to test it. However, I am remaking the line follower robot, both the design and the software, so when I test it, I will make sure to also include that.
@pocopoco3468
@pocopoco3468 Жыл бұрын
@@botreboot6352 will you upload the video after its done, if yes then when will it would be?
@botreboot6352
@botreboot6352 Жыл бұрын
Yes, of course I will upload the video. If everything goes smooth and without any bugs and issues, one month would be a realistic estimate.
@pocopoco3468
@pocopoco3468 Жыл бұрын
@@botreboot6352 thanks bro, I was working on this I have an idea to make it take an acute angles, I'm a mechanical engg student so don't know much about programing, if you share your e mail then I will share my idea
@botreboot6352
@botreboot6352 Жыл бұрын
My email is on my about page of my youtube page. If you cannot find it, then here you go: anova9347@gmail.com
@geluklu
@geluklu Жыл бұрын
ı wont to ask if ı make it even shorter is it be good or bad
@SANJAYKUMAR-ix5pd
@SANJAYKUMAR-ix5pd 2 жыл бұрын
What is the dimensions of PCB and dimensions of the lf robot
@botreboot6352
@botreboot6352 2 жыл бұрын
You can find the files of the PCB and STL objects in the link in the description (on my Hackster account). Moreover, there is a picture of the robot there, which contains all the dimensions of the components.
@SANJAYKUMAR-ix5pd
@SANJAYKUMAR-ix5pd 2 жыл бұрын
Bro, DRV8833 2 channel dc motor driver is used in this follower, due to cheapest
@fathiafraznaaz-zahra1453
@fathiafraznaaz-zahra1453 Жыл бұрын
What app did u use for CAD model ?
@botreboot6352
@botreboot6352 Жыл бұрын
I've used Fusion 360 from Autodesk.
@fathiafraznaaz-zahra1453
@fathiafraznaaz-zahra1453 Жыл бұрын
Thanksss!🐱@@botreboot6352
@sanketmendke9793
@sanketmendke9793 2 жыл бұрын
Please can you tell me which code is use only for fastest line following as you put in your description like PID example, QTR-8Rc or advance pid+ Bluetooth from these which code is best for only line following fast And 8833 DRV can be use instead of 8835 but In 8833 DRV eep and ULT pin is there where it connected please reply
@botreboot6352
@botreboot6352 2 жыл бұрын
"PID control example" is the sample example of the raw implementation of the PID control system. "QTR-8RC Example" is the sample example of how the sensor array can be set up and used in the Arduino IDE. The "Advanced PID control + Bluetooth communication" is the PID control system with some modifications for better control at taking curves. In addition, it offers Bluetooth support to easily tune the robot. Therefore, there is no code that makes the robot "faster". If you want the robot to go faster, increase the variables of the maximum speed and/or base speed.
@botreboot6352
@botreboot6352 2 жыл бұрын
If you would take a look on www.pololu.com/product/2130, you can see how each pin can be wired. And more precisely than that, eep and ult pins, which probably are the "nSLEEP" and "nFAULT" pins, can be left out, as they are not required for the minimal functionality of the motor driver.
@sanketmendke9793
@sanketmendke9793 2 жыл бұрын
@@botreboot6352 thank you for reply !!! one more Question is that then we use DRV 8833 instead of 8835 without making changes in code of yours because in 8833 no mode pin is there
@SANJAYKUMAR-ix5pd
@SANJAYKUMAR-ix5pd 2 жыл бұрын
Bro, why are use Arduino pro mini? In front i use Arduino nano its works or not
@botreboot6352
@botreboot6352 2 жыл бұрын
There is not much of a difference between these two Arduino boards. I went with the Arduino Pro Mini because of the smaller size. As I've stated in these comments, there is an infinite range of other hardware components that can be used instead.
@turuu
@turuu 2 жыл бұрын
im trying to use L298N Motor Driver, but what's "mode" from DRV8835 Dual Motor Driver Carrier
@botreboot6352
@botreboot6352 2 жыл бұрын
If you would take a look on the driver schematic (www.pololu.com/product/2135), the MODE pin determines the control interface.
@SANJAYKUMAR-ix5pd
@SANJAYKUMAR-ix5pd 2 жыл бұрын
Which rpm gear motor is used
@botreboot6352
@botreboot6352 2 жыл бұрын
10:1 Micro Metal Gearmotor HPCB 6V from Pololu (www.pololu.com/product/3061), which has an no-load performance of 3300 RPM.
@MrThinLips
@MrThinLips Жыл бұрын
proteus design ?
@nocopyrightmusic5432
@nocopyrightmusic5432 2 жыл бұрын
well explained thank you
@pocopoco3468
@pocopoco3468 Жыл бұрын
Android app I got is different it doesn't have motor speed a and motor speedb
@miturajbaishya7137
@miturajbaishya7137 Жыл бұрын
Very informative 👏
@RyanJamesConiendo
@RyanJamesConiendo 3 ай бұрын
very informative. Thank you
@sanketmendke9793
@sanketmendke9793 2 жыл бұрын
In advance pid Bluetooth code you not declared the button which is for calibration And start to run so it will drop out the button connection 🙄
@sanketmendke9793
@sanketmendke9793 2 жыл бұрын
Instead of using qtrtype rc can we use Analog it is beneficial to us
@muhammadaleemadil
@muhammadaleemadil 2 жыл бұрын
can you please tell the andoird ap name ?? or the link to it ... it will help me alot in my future projects
@botreboot6352
@botreboot6352 2 жыл бұрын
You can find the whole software, including the Android app in the link in the description. There you can download on your phone the .apk file.
@muhammadaleemadil
@muhammadaleemadil 2 жыл бұрын
@@botreboot6352 found it.. Thank you soooo... I will also post my codes and reserch to help and guide people... Once again thank you 🎊🎉
@jocelacl
@jocelacl 2 жыл бұрын
Good job. Thanks for sharing!
@abubakrjajja
@abubakrjajja 2 жыл бұрын
Less than 500 subscribers channel taught me that no one did
@vivomovies5417
@vivomovies5417 2 жыл бұрын
Why code shows error 😭 though I downloaded all libraries
@botreboot6352
@botreboot6352 2 жыл бұрын
Can you tell me which of the codes throws errors and what it says?
@vivomovies5417
@vivomovies5417 2 жыл бұрын
@@botreboot6352 thank you for reply and your help. I can fix the error.
@sanketmendke9793
@sanketmendke9793 2 жыл бұрын
In these robot you use DRv 8835 in that Mode pin is connected to 8 but I am using 8833 there is no mode in that so what I do or no need to connect mode in 8833? please reply
@botreboot6352
@botreboot6352 2 жыл бұрын
If you look at the motor drivers' documentation (letmegooglethat.com/?q=drv8835+pololu), you would observe that the mode pin aims to switch between two modes of operation of the motor driver. The DRV8833 doesn't have the mode functionality, so of course, you don't need to "connect mode".
@brandavornamberstone7729
@brandavornamberstone7729 2 жыл бұрын
Would it be possible to use a drv8833, or any other motor driver, in place of the drv8835? Also does the code work only for the Arduino pro, or it could work for other arduinos too(the nano or the uno for example)?
@botreboot6352
@botreboot6352 2 жыл бұрын
It is possible to use any other hardware existing, as long as you have the same outcome. In the case of the motor drivers, you will need to keep track of the supply voltage, wiring, code to control the motors etc. But strictly regarding this project, the PCB used doesn't support any modifications in hardware, so you will need to either use a breadboard or customise your PCB. As for the code, it should work on all Arduino boards. But keep in mind that you have enough PWM, I/O and analogue pins required by the other components.
@brandavornamberstone7729
@brandavornamberstone7729 2 жыл бұрын
@@botreboot6352 Thanks.
@SANJAYKUMAR-ix5pd
@SANJAYKUMAR-ix5pd 2 жыл бұрын
Bro you can make line follower
@Helal_Tech
@Helal_Tech Жыл бұрын
Is this robot can solve a line following maze? If not, how can we make this?
@botreboot6352
@botreboot6352 Жыл бұрын
From what I've heard, it really depends on the type of maze you are talking about. It can be with or without line, and in the contrary case, you have walls. If you only have lines and no walls, it is possible to work, but you need an algorithm to solve that maze optimally. There is already the movement of the car implemented. Now, the next step is to actually give it a brain.
@geluklu
@geluklu Жыл бұрын
than dude ı will use this information
@fidix6834
@fidix6834 2 жыл бұрын
Hello nice video and well explained 👍 thanks for the code in thé description
@botreboot6352
@botreboot6352 2 жыл бұрын
Thank you! In my projects, I often change my codes, so instead of explaining them, I offer in the description of this video a link to a written tutorial that contains the latest version of the code (with some explaining as well).
@fidix6834
@fidix6834 2 жыл бұрын
Oh yes i didnt see it my bad thank you for your answer 😉
@jahidhasan3310
@jahidhasan3310 2 жыл бұрын
Thank you for such information..
@SANJAYKUMAR-ix5pd
@SANJAYKUMAR-ix5pd 2 жыл бұрын
One last question, which code is uploaded in Arduino pro mini QTR-8RC or pid control,are both
@PropellerSteve
@PropellerSteve 2 жыл бұрын
Thanks for sharing.
@SANJAYKUMAR-ix5pd
@SANJAYKUMAR-ix5pd 2 жыл бұрын
Please but the vedio about code and uploading code
@lounes9777
@lounes9777 Жыл бұрын
A BIG THANKS
@sanganibhargavteja6045
@sanganibhargavteja6045 Жыл бұрын
Bro what is the password of the zip files please reply me
@KIXEMITNOG
@KIXEMITNOG 2 жыл бұрын
Nice
@Gdp_si
@Gdp_si 2 жыл бұрын
Hi.. the project is good. Can you show how to to do automatic calibration? Also incase of end of line can we make it turn around?
@botreboot6352
@botreboot6352 2 жыл бұрын
Hi! Yes! I plan releasing soon a video where I redesign the whole app to control and tune the line follower robot. This will also include automatic calibration.
@instudio2408
@instudio2408 2 жыл бұрын
@@botreboot6352 I'm waitinggg !!!
@desidiy6129
@desidiy6129 14 күн бұрын
Need help
@shettyadithcreations1799
@shettyadithcreations1799 Жыл бұрын
Will this work with black surface and white line
@botreboot6352
@botreboot6352 Жыл бұрын
Yes, the library used here also has support for the white line black base configuration. However, the code needs to be changed, more exactly from "qtr.readLineBlack(sensorValues)" to "qtr.readLineWhite(sensorValues)".
@shettyadithcreations1799
@shettyadithcreations1799 Жыл бұрын
@@botreboot6352 thank you so much sir
I made a SUPER FAST Line Follower Robot Using PID!
10:02
Shyam Ravi
Рет қаралды 374 М.
Controlling Self Driving Cars
4:41
AerospaceControlsLab
Рет қаралды 520 М.
번쩍번쩍 거리는 입
0:32
승비니 Seungbini
Рет қаралды 182 МЛН
Counter-Strike 2 - Новый кс. Cтарый я
13:10
Marmok
Рет қаралды 2,8 МЛН
Wednesday VS Enid: Who is The Best Mommy? #shorts
0:14
Troom Oki Toki
Рет қаралды 50 МЛН
LVBots Line Following Competition April 2015
5:56
Pololu People
Рет қаралды 373 М.
Make a TINY Arduino Drone with FPV Camera - Will It Fly?
20:26
Max Imagination
Рет қаралды 1,4 МЛН
How to design a custom PCB using EasyEDA || JLCPCB Review
15:35
Shyam Ravi
Рет қаралды 129 М.
How to Make PID Line Follower Robot Using Arduino | JLCPCB | DIY
4:55
EDISON SCIENCE CORNER
Рет қаралды 18 М.
I invented a NEW ENGINE  (New Rotary Design)
18:58
Integza
Рет қаралды 1,2 МЛН
Making coffee from scratch (is hard)
38:34
NileBlue
Рет қаралды 1,8 МЛН
Are PID line followers ACTUALLY faster?
6:07
Haase Industries
Рет қаралды 27 М.
Mini Robotic Arm with Arduino - Save/Play Positions.
10:26
FABRI creator
Рет қаралды 176 М.
How to make a fast line follower robot with Arduino Nano
9:17
robojunkies
Рет қаралды 72 М.
번쩍번쩍 거리는 입
0:32
승비니 Seungbini
Рет қаралды 182 МЛН