I made a SUPER FAST Line Follower Robot Using PID!

Поділитися
Вставка
  • Опубліковано 20 січ 2025

КОМЕНТАРІ • 264

  • @neologicalgamer3437
    @neologicalgamer3437 Рік тому +114

    I'm not sure why this was in my notifications, but this was actually made really well

  • @patrickfox-roberts7528
    @patrickfox-roberts7528 Рік тому +35

    It is called 'Bang Bang' from the first days of radio control in which I played a part, trying to fly aircraft. there were three positions ; neutral, or BANG full right, or BANG full left ( and they did make a bang noise sometimes, using rubber escapement motors) - no proportional in-betweens

  • @neurolofi314
    @neurolofi314 Рік тому +15

    What an evolution from the Technowright! Love your videos, I've been watching them for years!

  • @joaomrtins
    @joaomrtins Рік тому +56

    Finally an explanation of derivative and integral error correction that makes sense.
    Also, nice video overall!!!

    • @kersgames6382
      @kersgames6382 Рік тому +1

      It is unbelievable how bad teachers can explain this topic right 😂

    • @developeroppa
      @developeroppa Рік тому

      Was thinking the same thing, if we had good and practical example while we were being taught, we would have loved it and understand so much better

  • @nancyshahpuri7796
    @nancyshahpuri7796 Рік тому +4

    Proud of you my son.... Hope to see you on another level....❤

  • @suyashsahu6505
    @suyashsahu6505 7 місяців тому +4

    7:00 - At this time, you won my heart, brother! ❤

  • @Lotus1591
    @Lotus1591 Місяць тому +1

    Thanks so much! It has helped a lot in my interschool project!

  • @Prateek1234q.
    @Prateek1234q. Рік тому +4

    Its maybe the fastest line following robot I've ever seen
    Great work❤

  • @monneratrj
    @monneratrj Рік тому +4

    First of all, awesome video, great explanation and demonstration of everything, i just added to my favorites! I just wanted to point out that you might've made a heavy load with that cool looking racing car model on top... and the tires/wheel you've chose does not have a good grip, its better to have something more soft to have better adhesion... another thing to consider is having bigger dc motors, those are very weak, specially with that load on top of it... please remember to take everything that ive said with a grain of salt because im not a professional at all... but i was wondering about that while i watch it run...

  • @GBRiLFLRNTiN
    @GBRiLFLRNTiN Місяць тому

    man, i liked your video a lot, thanks for posting it. I think you could make it go super super fast

  • @ofCourse06
    @ofCourse06 5 місяців тому

    This video is incredibly good! I don't know how you still don't have atleast 100k subscribers

  • @pieterpennings9371
    @pieterpennings9371 9 місяців тому +2

    This is really cool. I have been researching PID for a bit now and this came up in my notifications and I'm glad it did. Great video and good distribution of humor and information. Thanks for showing the progress and the mistakes you made, mistakes are often much more valuable than the result. Thanks!

  • @amorphouscarbon7
    @amorphouscarbon7 Рік тому +1

    3:26 MOST HELPFUL TY CUS IT HELPED ME TO MAKE A PROJECT REPRESENTING MY SCHOOL !

  • @MRAMESHBABU-u1s
    @MRAMESHBABU-u1s Рік тому +6

    Superb Shyam. Very well presented. Engaging and entertaining… All the best

    • @shyam-ravi
      @shyam-ravi  Рік тому

      Thank you!

    • @kim-wr2tn
      @kim-wr2tn 8 місяців тому

      @@shyam-ravihi cam you share how to use the code? I mean to install that somewherw? First time

  • @gowrishankar7011
    @gowrishankar7011 Рік тому +1

    Best video i ever saw in youtube.. Good explaination bro

  • @Zypher_desu
    @Zypher_desu 10 місяців тому +1

    What IR sensor are you using? please tell me specific name...

  • @_cul8r_
    @_cul8r_ Рік тому +5

    I have no idea about any of this, but I kept thinking, why not use a fast linear interpolation value to smooth out between all the hard value changes. Seems like that might act like a dampener between values and really smooth things out. Besides, I like lerp functions in all of my game dev programming. It just works great for so many situations.

    • @adrianfernandes2004
      @adrianfernandes2004 Рік тому

      And how you do that?I jus wanna learn abt it

    • @_cul8r_
      @_cul8r_ Рік тому

      @@adrianfernandes2004 Linear interpolation or LERP is taking a value and then cutting it up into a smaller part, then cutting that part into another smaller part. In programming you can do this to crate a smooth transition from one value to another that is not instantaneous. Lots of info available online, just search for "How to lerp function).

    • @adrianfernandes2004
      @adrianfernandes2004 Рік тому

      @@_cul8r_ dude thanks for explaining I kinda get it

  • @nimsarachamidhu883
    @nimsarachamidhu883 Рік тому +1

    Ah Yes! Quality Content❤

  • @n0MC
    @n0MC Рік тому +10

    Nice! Great style, and very educational.

  • @Tech_Monstar_
    @Tech_Monstar_ Рік тому +1

    You are superhero ❤❤❤
    Thanks from Egypt

  • @Zypher_desu
    @Zypher_desu 10 місяців тому +1

    Hello sir!Nice video! can you please specify what sensor you used? and does it have a digital input or analog?

  • @tarunraman4612
    @tarunraman4612 Рік тому +1

    Excellent video!! Hopefully we get em more often though.

  • @HassanHafizi-2024
    @HassanHafizi-2024 4 місяці тому

    واقعا عالی بود چیزی که دنبالش بودم را پیدا کردم

  • @TrendSurges
    @TrendSurges 11 місяців тому

    love from pakistan. A good quality engineering video at last 👌

  • @paulmeynell8866
    @paulmeynell8866 8 місяців тому

    Very cool , also love your apartment.

  • @edamhbaieb2091
    @edamhbaieb2091 Рік тому +4

    Great video, thanks for sharing it. Although I do have one question, how were you able to determine the error value accurately with only 5 IR sensors!?, I've been trying to do the same thing but couldn't see it happening with only 5 sensors.
    Please reply if possible

    • @shyam-ravi
      @shyam-ravi  Рік тому

      The IR sensors give an analog value rather than a digital one. So that adds to the precision in measuring the error.

  • @manjulashanmuganathan2728
    @manjulashanmuganathan2728 Рік тому +1

    So nice innovation. Hats off🎉🤝👏

  • @Gabriel-zd8iy
    @Gabriel-zd8iy 9 місяців тому

    Hi im quite new to arduino but im just wondering how you got the arduino powered without plugging it in anywhere? I mean looking at 1:57 there doesn't look to be any cable from the battery to the USB or barrel plug. how is it working?

  • @shanmukhasainamakanti1634
    @shanmukhasainamakanti1634 9 місяців тому

    love this video , so much fun

  • @fishmongal
    @fishmongal 7 місяців тому

    absolutely loved this video

  • @pocopoco3468
    @pocopoco3468 Рік тому +1

    It cant take acute angles right? Im working on LFR from 2 years.
    Im using qtrx 16A line sensor with toshiba tb6612fng motor driver and teensy board, my lfr top speed is 6-7m/sec.
    Do you have any idea to crack acute angles?
    5:30 your app looks similar to "Bot reboot's" pid controller app, did you made this app or using his app for pid tune?

    • @shyam-ravi
      @shyam-ravi  Рік тому

      Yes, the PID alone isnt sufficient for acute anglee. So, I coded it so that once it leaves the line it checks the previous error and turns to that side till its back on the line. This worked well on the acute angles.

    • @pocopoco3468
      @pocopoco3468 Рік тому

      @@shyam-ravi you mean, in this code it can take acute angles well?

    • @shyam-ravi
      @shyam-ravi  Рік тому

      Yes, it handles the acute angles quite well. As you can see in the video.

    • @shubham9672
      @shubham9672 Рік тому

      ​@@pocopoco3468
      Which motors are you using
      Rpm
      Voltage

    • @pocopoco3468
      @pocopoco3468 Рік тому

      @@shubham9672 N20 gear motor, 1000RPM 12v

  • @tanayranjan6422
    @tanayranjan6422 Рік тому +1

    Damnn!! Amazing video Shyam, and awesome work. Loved it!!

  • @bindhubaburaj9136
    @bindhubaburaj9136 Рік тому

    Superb Shyam..keep rocking 👏👏👏

  • @divyasathish9348
    @divyasathish9348 Рік тому +1

    Very nice video shyam. Keep on rocking

  • @alexandermaverick9474
    @alexandermaverick9474 Рік тому +13

    it's hardly "fast", but good job on the presentation and project! (see videos from Japan's linefollowers or maze solvers, or from Europe's Robochallenge linefollowers...)

    • @jubair-
      @jubair- 6 місяців тому +2

      Fast compared to mine

  • @khushalvardhan767
    @khushalvardhan767 6 місяців тому

    Hmm, finally needed this video. Ab college aa kar batata hun :>

  • @Invisibleanik
    @Invisibleanik Рік тому

    Finally he remembered that he also had a UA-cam channel. ❤❤

  • @eglintonflats
    @eglintonflats 17 днів тому +1

    This approx. 1/10 of real super fast vids. on youtube.

  • @lehlohonolosibanda9633
    @lehlohonolosibanda9633 10 місяців тому

    really nice, what was your base speed for the motors (to be specific what was your pulse width for the PWM)

  • @JustBotond
    @JustBotond Рік тому

    Amazing job and expalination.

  • @yogpanjarale
    @yogpanjarale Рік тому

    Another addition you can do to increase speed is speedup on straight sections and then slow down to normal or break on turn can significsntly boost speed

    • @shyam-ravi
      @shyam-ravi  Рік тому

      The PID algorithm does that automatically

  • @CreatronixDE
    @CreatronixDE 10 місяців тому

    Awesome vid! ❤‍🔥

  • @craigsmith5134
    @craigsmith5134 Рік тому

    very nice video and presentation. You are very well articulated and a pleasure to watch.

  • @noelglezam5901
    @noelglezam5901 Рік тому

    I am doing a project similar to the simple version that you show and apperantly I do everything correct but when a switch on the gears are not working.
    After watching your video I guess that the battery I am using is the problem. What kind of battery should I use?

  • @TONY1-2
    @TONY1-2 Рік тому

    At intersection point , from 3 lines which line the robot will be choose ?? How robot decided about it ?? 🤔. Is the robot will be choose a line randomly every time when it reaching at that intersection point or you programmed robot to choose a specific line from 3 lines or any other idea you taught the robot 🤔 ??

  • @andrewslater6846
    @andrewslater6846 Рік тому

    How necessary was the integral constant? Was it relatively small?
    Would a larger integral constant yield a better response for an error biased towards one side? Such as one wheel having (consistently) more grip than the other side?

    • @jakesullivan3017
      @jakesullivan3017 Рік тому

      In the case of one wheel having different properties (such as better traction), you would have separate PID values for each wheel.

  • @asidesigner8542
    @asidesigner8542 Рік тому

    thanks for sharing, would you make a video and tell us the PID tuning detials?

  • @suyashsahu6505
    @suyashsahu6505 7 місяців тому

    3:00 Can I use autocad or blender instead of fusion 360?

  • @Yuvraj_333
    @Yuvraj_333 Рік тому +1

    bro's smart as hell

  • @jakob1379
    @jakob1379 Рік тому

    Could you fit a kalmar filter on the arduino to underdampen the steering?

  • @debarjun
    @debarjun 10 місяців тому

    bro what are the components that you used separately on the pcb, and which app did you use to control the pid, can you please mention.

  • @ReenaParihar-n5v
    @ReenaParihar-n5v 5 місяців тому

    Very nice 👍

  • @beast2808
    @beast2808 Рік тому

    Damn! This was awesome!

  • @geographicaloddity2
    @geographicaloddity2 Рік тому

    Have you tried doing it with all analog circuits, except maybe for an esp32 to let you set the tuning values remotely?

  • @nhatpham5797
    @nhatpham5797 10 місяців тому

    hello, can you do it with backward mode or can you guide me code with motor backward ? Thank you so much

  • @jackisgoofingoff5510
    @jackisgoofingoff5510 Рік тому

    Awesome project, and thanks for your contribution

  • @MUSIKATA.PH_
    @MUSIKATA.PH_ Рік тому +1

    Dang, your accent is so good

  • @vortex_studio_the_better
    @vortex_studio_the_better Місяць тому

    if you use more than 2 sensors, 4, or 6 for example, with more forward view, to anticipate turns and accelerate in a straight line, is it possible?
    I'm a complete beginner so I'm asking this question without any knowledge...

    • @shyam-ravi
      @shyam-ravi  Місяць тому

      Anticipating turns is not possible with these sensors. However, if you place the sensors in more towards the front, then it is already predicting the turns better.

  • @ff3nyx
    @ff3nyx 6 місяців тому

    Great video.

  • @loveandthunder2928
    @loveandthunder2928 Рік тому

    Please provide a roadmap on how we can make one of these
    What to learn first?

  • @mateocontu4927
    @mateocontu4927 8 місяців тому

    Hi ! Do you think it is possible to implement an A* algorithm in a line following robot?

  • @zaryabtanveer3135
    @zaryabtanveer3135 6 місяців тому

    Sir which blue tooth app you are using in project for tuning of kp kd ki value.

  • @nabil1074
    @nabil1074 7 місяців тому

    Which charger you guys use for Charing this lipo battery? Can someone suggest any?

  • @DewangShaw
    @DewangShaw 9 місяців тому

    Have you tried your line following robot with dead end map and does it follow the line with a mixture map(white line with black bavkground and black line with white background)?

  • @bassamsiraj2175
    @bassamsiraj2175 Рік тому

    Great video!

  • @sanjukumarsharma5194
    @sanjukumarsharma5194 15 днів тому

    Which app you are using for pid control

  • @aminos4779
    @aminos4779 Рік тому

    Good job bro❤❤

  • @vivekchauhan4053
    @vivekchauhan4053 Рік тому

    Bro explained PID the best way possible!!

  • @andregomes1520
    @andregomes1520 Рік тому

    Hello bro, first of all, let me congratulate you on the video. I'm having doubts about this line sensor. I have one just like yours, however, the sensor values ​​always remain the same regardless of the surface it detects, whether it reflects a black or white surface, for example. I'm simply reading the sensors from the analog inputs, I'm not sure if I need to do something else?

  • @azzar.
    @azzar. 10 місяців тому +1

    Maybe u can integrate ann (artificial neural network) to it, so it's can learn the track, to make it some kind of intelligence enough to run even faster.

    • @roboticsguru5173
      @roboticsguru5173 4 місяці тому

      yeah we can but in some competitions this thing is not allowed

  • @ravasahebbhosale7964
    @ravasahebbhosale7964 3 місяці тому

    Which component you used on the pcb???

  • @apoorvaamargol5125
    @apoorvaamargol5125 Рік тому

    Hi ! which app did you use on the phone for controlling the PID ??

  • @noelglezam5901
    @noelglezam5901 Рік тому +1

    I am starting doing projects with Arduino and I am interested to start doing the simple version you show in this video. What are those components where you put the photoresistors? Sorry for asking but I am not familiar yet with electronics and Arduino. By the way really cool video dude I enjoy it!

    • @aakashjana6225
      @aakashjana6225 Рік тому +1

      Think he used IR detectors not photo resistors.

    • @noelglezam5901
      @noelglezam5901 Рік тому

      Thank you.
      I have see that I will need to do it with phototransistors, are they similar to the IR detectors? Or at least if I buy this IR detectors to practice will be similar?@@aakashjana6225

  • @matthannah1380
    @matthannah1380 Рік тому

    Hi friend. Great video. What’s at J1?

  • @Abdullahcp7
    @Abdullahcp7 15 днів тому

    bro pls tell if u dont want to use pcb and motor driver

  • @erosionreactions
    @erosionreactions Рік тому

    VERY COOL, great work. But uhh, do you have the Code for the smart glasses

  • @EMPEROR_ZAYCH1K-027d
    @EMPEROR_ZAYCH1K-027d Рік тому

    What is your kp and kd value that you're use?

  • @edalimir
    @edalimir 10 місяців тому

    thank you!

  • @gamestoplay375
    @gamestoplay375 3 місяці тому

    what is the bluetooth app u have used?

  • @eamonburns9597
    @eamonburns9597 Рік тому

    "All that glitters is not fast"
    - Sun Tzu, The Art of War

  • @hieutrong9253
    @hieutrong9253 Рік тому

    i want to know your parameter Kp,Kd,Ki ,multiP,I,D is always 1 ?

  • @chaitanyagaikwad2664
    @chaitanyagaikwad2664 9 місяців тому

    How about using a QTR sensor?
    Me and my friends were able to make a similar fast PID based line follower, during the build we realised that the gap between the IRs was also a deal breaker (QTR being compact, solves this issue) .
    Also can you upgrade this to a maze solver next please, would be interesting to see that!
    Good video!

    • @shyam-ravi
      @shyam-ravi  9 місяців тому

      Thanks for the suggestion, I did consider a qtr sensor, however due to availability issues I went this one. Maze solver would be an interesting project!

  • @guilhermedovale5887
    @guilhermedovale5887 10 місяців тому

    A very good video. Which transistor to use?

    • @shyam-ravi
      @shyam-ravi  10 місяців тому

      Which transistor are you referring to?

  • @AnjuKumari-pu5yr
    @AnjuKumari-pu5yr Рік тому

    Can you tell me the list of items you used please asap

  • @sumukha-infotech
    @sumukha-infotech Рік тому

    Awesome 🎉😊

  • @katifali4688
    @katifali4688 25 днів тому

    Bro what voltage are your n20's

  • @samyakjain4132
    @samyakjain4132 3 місяці тому

    dude any details on your setup?

  • @Aem2512
    @Aem2512 6 місяців тому

    Bro, i thought the thumbnail was from GTA 5 Playlist race game mode. LMAO!

  • @Zypher_desu
    @Zypher_desu 9 місяців тому

    My brother what sensor are you using TT please tell me

  • @badkarma190
    @badkarma190 Місяць тому

    what are the things on u3 c5 and c4

  • @creeperhaed1267
    @creeperhaed1267 Рік тому

    Totally worth it

  • @UqbahKhan
    @UqbahKhan Рік тому +1

    Can you please also share the 3D design

  • @JDFARMSSINCE2024
    @JDFARMSSINCE2024 4 місяці тому

    how much rpm motor that you connected

  • @haqifalhanestasaidya8169
    @haqifalhanestasaidya8169 Рік тому

    what software is used to set the PID value?

  • @pocopoco3468
    @pocopoco3468 9 місяців тому +1

    It's been months now, still didn't got the Bluetooth control app

  • @sidharth6084
    @sidharth6084 День тому

    can u give me the pcb design u used?
    it would be really helpful

    • @shyam-ravi
      @shyam-ravi  День тому

      Hey, you can find the link to the pcb design in my github link or instructables in description.

  • @amoghsrivastava8410
    @amoghsrivastava8410 Рік тому

    Is this follows LSRB algo. As well ?

  • @saeeshk6766
    @saeeshk6766 9 місяців тому

    how can I use qtr 8rc sensor with this code?

  • @rexcode9366
    @rexcode9366 Рік тому

    IS THERE A CALIBARATION AND RUN BUTTON? or just turn on power and run

    • @shyam-ravi
      @shyam-ravi  Рік тому

      First 10s calibration and run. There is no button for it

    • @rexcode9366
      @rexcode9366 Рік тому

      @@shyam-ravi how can i contact you bro

    • @rexcode9366
      @rexcode9366 Рік тому

      @@shyam-ravi bro i followed your exact tutorial, nothing happens, even bluetooth of esp32 does not show up on phone

  • @xdsniper5708
    @xdsniper5708 3 місяці тому

    Can I use the 5 channel TCRT5000?