How to Make PID Line Follower Robot Using Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ธ.ค. 2024

ความคิดเห็น • 286

  • @Rainy-weewee
    @Rainy-weewee 2 หลายเดือนก่อน +4

    Bro really replies to every comment. What a chad.

  • @jumbo999614
    @jumbo999614 6 หลายเดือนก่อน +3

    The thicker the line is, the more IR sensor it needs right?
    I'm building my own IR sensor. I just finished one but I don't know how many more I need.
    Is 2 sensors enough?

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  6 หลายเดือนก่อน +1

      Nope not like that. Number of sensors increase the precision.

    • @jumbo999614
      @jumbo999614 6 หลายเดือนก่อน

      @@EDISON_SCIENCE_CORNER Thank you

  • @nnnbbb1400
    @nnnbbb1400 ปีที่แล้ว +3

    Are you using analog or digital sensor?

  • @معاويهصفوان
    @معاويهصفوان 2 หลายเดือนก่อน +1

    What is the optimal hight for the qtr sensor to work ? I’m planning to do the same project but with ardunio Uno

  • @Areebachanzeb-tc5wc
    @Areebachanzeb-tc5wc ปีที่แล้ว +2

    Arduino: 1.8.19 (Windows 7), Board: "Arduino Uno"
    LF29:1:10: fatal error: QTRSensors.h: No such file or directory
    #include
    ^~~~~~~~~~~~~~
    compilation terminated.
    exit status 1
    QTRSensors.h: No such file or directory
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

  • @Amal_k__
    @Amal_k__ หลายเดือนก่อน +1

    We are planing to make a voice controlled line following wheelchair as collage final year project. so what you suggest an gps module with prerecorded path or line following different color for different path

  • @kaustubhsingh16
    @kaustubhsingh16 2 ปีที่แล้ว +3

    I have a question can I use the motor driver DRV8833 instead of DRV8835?

  • @aaravinthan001
    @aaravinthan001 หลายเดือนก่อน +1

    Without line also it can reach it designation???

  • @alessandroxavierocasion8886
    @alessandroxavierocasion8886 11 หลายเดือนก่อน +1

    What kind of QTR library version did you use?

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  11 หลายเดือนก่อน

      Not the latest one. Just use the penultimate version

  • @stevenchou5905
    @stevenchou5905 2 ปีที่แล้ว +1

    How do you perform the trail and error tuning for PID gains? What values do you start with?

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  2 ปีที่แล้ว +7

      Start with Kp, Ki and Kd equalling 0 and work with Kp first. Try setting Kp to a value of 1 and observe the robot. The goal is to get the robot to follow the line even if it is very wobbly. If the robot overshoots and loses the line, reduce the Kp value. If the robot cannot navigate a turn or seems sluggish, increase the Kp value.
      Once the robot is able to somewhat follow the line, assign a value of 1 to Kd (skip Ki for the moment). Try increasing this value until you see a lesser amount of wobbling.
      Once the robot is fairly stable at following the line, assign a value of 0.5 to 1.0 to Ki. If the Ki value is too high, the robot will jerk left and right quickly. If it is too low, you won’t see any perceivable difference. Since Integral is cumulative, the Ki value has a significant impact. You may end up adjusting it by .01 increments.
      Once the robot is following the line with good accuracy, you can increase the speed and see if it still is able to follow the line. Speed affects the PID controller and will require retuning as the speed changes.

  • @MegaTechno
    @MegaTechno หลายเดือนก่อน

    I have the clone of polulu qtr8 RC sensor you are using, how did you manage to use the clone one and still get a good reading? please help, I am only receiving random values.

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  หลายเดือนก่อน

      I didn't use any tricks . It is giving good output readings.

    • @MegaTechno
      @MegaTechno หลายเดือนก่อน

      @@EDISON_SCIENCE_CORNER Thanks, my problem is now fixed, go another board.

  • @saheenpalayi
    @saheenpalayi 3 ปีที่แล้ว +5

    Nice !
    please use a better micro soldering iron while soldering SMDs and also use good soldering techniques.
    good PCB !👌

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  3 ปีที่แล้ว

      Thanks for your suggestions..❤️

    • @ArifulIslam-yn8wh
      @ArifulIslam-yn8wh 2 ปีที่แล้ว

      @@EDISON_SCIENCE_CORNER hello bro i want learn pid how can i learn?

  • @swapnilkhairnar9708
    @swapnilkhairnar9708 ปีที่แล้ว +1

    What changes should be done if I use tb6612 motor driver

  • @el-pl7gw
    @el-pl7gw หลายเดือนก่อน +1

    Will it work on a VNH5019 Motor Driver Carrier? It's also Pololu

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  หลายเดือนก่อน +1

      No...!

    • @el-pl7gw
      @el-pl7gw หลายเดือนก่อน

      is it possible for us to get the PCB file 🥹 please sir 🙏

  • @muhammadfaizan5856
    @muhammadfaizan5856 4 วันที่ผ่านมา +1

    I wanted to buy a n20 600 rpm motor and the vendor said that that is fake. The max he said was 200 is this true?

  • @sunnykumbhar-h6d
    @sunnykumbhar-h6d 2 หลายเดือนก่อน +2

    I am using BFD 1000 5array sesor how i decrease sensitive of sensor potentiometer full deceased

  • @ajeetjain29
    @ajeetjain29 ปีที่แล้ว +3

    Sir please can you make a code for aurdino uno with same ir arrays and l298 motor driver please

  • @Nolan641
    @Nolan641 2 หลายเดือนก่อน +1

    Hey, i saw your robot with three sensors, do you have a video about it... Im trying to build PID for three sensors.. could use your ideas.. thanks

  • @mistert999
    @mistert999 ปีที่แล้ว +1

    How can i increase the speed ?
    Should i use high rpm motors?

  • @markjosephbaroma4570
    @markjosephbaroma4570 2 หลายเดือนก่อน +1

    Can I use a protoboard pcb?

  • @nhatpham5797
    @nhatpham5797 10 หลายเดือนก่อน +1

    hello, can you do it with motor backward?

  • @PoonamPanigrahy
    @PoonamPanigrahy 2 หลายเดือนก่อน +1

    Can 6v 2000rpm n20 motor is efficient ?

  • @ahmednoor7811
    @ahmednoor7811 ปีที่แล้ว +1

    Can we use another motor driver. The one you used is too expensive because of shipping.

  • @ashifrisalct1102
    @ashifrisalct1102 วันที่ผ่านมา +1

    Do you provide any courses or training

  • @lalbandara8163
    @lalbandara8163 ปีที่แล้ว +1

    Can i do with l298N motor drive

  • @thabassumnaseer8454
    @thabassumnaseer8454 2 ปีที่แล้ว +1

    Can u mention what all are the SMd and through hole components, also if I use a 400 rpm motor and 1293d motor driver which battery should I use

  • @HuyDoanQuang-cg2du
    @HuyDoanQuang-cg2du 5 หลายเดือนก่อน +1

    where is buy DRV 8835??

  • @uzairsohail2852
    @uzairsohail2852 2 ปีที่แล้ว +1

    What is U3 the smt component?

  • @the_inconsistent_guy
    @the_inconsistent_guy ปีที่แล้ว +1

    what is the H1 and H2 and u3

  • @anthonyturla7103
    @anthonyturla7103 2 ปีที่แล้ว +2

    what will happen if I use 300 rpm motors?

  • @zz5013
    @zz5013 10 หลายเดือนก่อน +1

    Why does latest library works but 3.1.0 doesn't

  • @naveengupta5588
    @naveengupta5588 2 ปีที่แล้ว +1

    Hello
    U have made a connection for TX, RX, GND, VCC on PCB is it for programing Arduino through FTDI? if not then for what purpose it is there? Also we can skip that right if we are programing Arduino directly using cable?

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  2 ปีที่แล้ว +1

      I made that for connecting Bluetooth module for debugging

    • @naveengupta5588
      @naveengupta5588 2 ปีที่แล้ว

      @@EDISON_SCIENCE_CORNER ohhhhhhhh for manually setting PID values right? I get it thanks alot and very good deign and project.

  • @teenenggrreact1946
    @teenenggrreact1946 ปีที่แล้ว +1

    what battery u used

  • @akashkarthigayan2905
    @akashkarthigayan2905 ปีที่แล้ว +1

    Can you help with the code for the line follower robot following white lines in black surface

  • @reniellasage
    @reniellasage หลายเดือนก่อน

    Will this work in a bigger chassis where the battery is heavier and is placed in the straight side?
    the shape is like this:
    -------

  • @parvprobotz3735
    @parvprobotz3735 3 ปีที่แล้ว +1

    can u tell which battery u used

  • @botreboot6352
    @botreboot6352 2 ปีที่แล้ว +4

    amazing project! how much time did it take to make such a robot?

  • @mdrefathossainalvee
    @mdrefathossainalvee หลายเดือนก่อน +1

    Is it possible to share pcb diagram in easyeda link?

  • @SharainWarman
    @SharainWarman ปีที่แล้ว +1

    Any replacement for drv8835. Because drv8835 driver Price is too high😢.

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  ปีที่แล้ว +1

      New version uses l293d

    • @SharainWarman
      @SharainWarman ปีที่แล้ว

      @@EDISON_SCIENCE_CORNER how bro . Can you tell

    • @mullyadii
      @mullyadii 2 หลายเดือนก่อน +1

      @@EDISON_SCIENCE_CORNER Hi, how can I get the L293D version? Thanks! :)

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  2 หลายเดือนก่อน

      @mullyadii www.esclabs.in

  • @vincentjonathan8381
    @vincentjonathan8381 3 ปีที่แล้ว +1

    where do you get n20 clamp footprint ? did you made it by yourself?

  • @mrigankasharma5469
    @mrigankasharma5469 6 หลายเดือนก่อน +1

    Where can I buy the PCB you haved made

  • @Betrox64
    @Betrox64 3 หลายเดือนก่อน +1

    hi can yopu share the pcb base model i need it to teach my students

  • @ZainabYammani
    @ZainabYammani 2 ปีที่แล้ว +1

    Can I use L298n motor driver?

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  2 ปีที่แล้ว

      Yes but you have to redesign the circuit and code

    • @ZainabYammani
      @ZainabYammani 2 ปีที่แล้ว

      @@EDISON_SCIENCE_CORNER ok bro, thanks for the reply

  • @Gameloop-jl7jd
    @Gameloop-jl7jd 6 หลายเดือนก่อน +2

    Need the schematics for this project.

  • @maximumyt2032
    @maximumyt2032 4 หลายเดือนก่อน +1

    can i use any other motor driver?

  • @jevoo9498
    @jevoo9498 3 ปีที่แล้ว +2

    Hello.. Nice job..
    I would like to ask u a question if u don't mind.
    If i want the robot moves for only 4 circles and then stops, how can u code this?

  • @thabassumnaseer8454
    @thabassumnaseer8454 2 ปีที่แล้ว +1

    Can I use a breadboard instead?

  • @the_inconsistent_guy
    @the_inconsistent_guy ปีที่แล้ว +1

    whats is the R1

  • @jcobon4416
    @jcobon4416 ปีที่แล้ว +1

    I cant seem to open your code from the google drive link you sent, could you send another one copy of your code please?

  • @uzairsohail2852
    @uzairsohail2852 2 ปีที่แล้ว +1

    Sir can we use any other motor drive other than that because it's not easily available in my country

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  2 ปีที่แล้ว

      We can use. Then we need to redesign the circuit and code. Btw where are you from.

  • @ayushhatwar4587
    @ayushhatwar4587 ปีที่แล้ว +1

    Awesome.
    Can I substitute DRV8835 for DRV8833 ?

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  ปีที่แล้ว

      You have to check the datasheets of both. If the pins are the same you can use them. I have not tested

  • @scienceandtechnology4312
    @scienceandtechnology4312 ปีที่แล้ว +1

    Where you buying all electronics components.

  • @HEMANTHBU-c1r
    @HEMANTHBU-c1r หลายเดือนก่อน +1

    Use smooth types which helps to reduce friction

  • @ConsultingjoeOnline
    @ConsultingjoeOnline 3 ปีที่แล้ว +2

    Great design and video.

  • @thatboi_vin
    @thatboi_vin หลายเดือนก่อน +1

    sir good day may i ask for the dimensions of the robot because we need it for a competition thanks so much

  • @matthannah1380
    @matthannah1380 ปีที่แล้ว +2

    Love it! - When will your PCB and complete robot be back in stock?

  • @ZainabYammani
    @ZainabYammani 2 ปีที่แล้ว +1

    What if I use 450 rpm motors?

  • @ahtesham-ul-haq7895
    @ahtesham-ul-haq7895 2 ปีที่แล้ว +4

    How to increase speed?

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  2 ปีที่แล้ว +2

      You can change in code also by changing the motor

    • @IbrahimDhanishJ
      @IbrahimDhanishJ 9 หลายเดือนก่อน +1

      ​@@EDISON_SCIENCE_CORNER how bro can u say

    • @Utkarsh-qq7lf
      @Utkarsh-qq7lf 6 หลายเดือนก่อน

      ​@@IbrahimDhanishJDefine speed in code or just change the motor to higher rpm ons

  • @johnyuanflores2757
    @johnyuanflores2757 2 หลายเดือนก่อน +1

    is there anyway to make it faster?

  • @MuhammadQasim-z7r
    @MuhammadQasim-z7r หลายเดือนก่อน +1

    What is the rpm of this motor??

  • @ZainabYammani
    @ZainabYammani 2 ปีที่แล้ว +1

    Where can I learn PID algorithm

  • @DonaldTrunket
    @DonaldTrunket หลายเดือนก่อน +1

    motor rpm?

  • @AmitKumar-zr7rj
    @AmitKumar-zr7rj 9 หลายเดือนก่อน +1

    How to use it in White line

  • @adarshpk3816
    @adarshpk3816 ปีที่แล้ว +1

    Whare i can buy drv8835 and how much???

  • @redwanmuktadir73
    @redwanmuktadir73 2 ปีที่แล้ว +1

    What is the speed of the robot ?

  • @AT3_CHANNEL
    @AT3_CHANNEL ปีที่แล้ว +1

    How to test that ir array is working or not
    Serial print showing analog values for each sensor output from 1000 to 1020
    Also the bot is not calibrating on pushing button (actually I am using wires to touch to 5v and turning high instead of push buttons) and executing forward brake (0,0) function please explain errors .
    Are there any error in the code because I checked and not found any.

  • @PrintParts
    @PrintParts 3 ปีที่แล้ว +1

    Не могу найти проект для easyEDA. не хочется в ручную переделывать плату

  • @nischalnaik3297
    @nischalnaik3297 ปีที่แล้ว +1

    can we have the pcb files

  • @altoom123
    @altoom123 ปีที่แล้ว +1

    Nice work,
    How to using pid with 5 IR sensor (not array sensor)?!

  • @jenetjames9623
    @jenetjames9623 3 ปีที่แล้ว +1

    Good work ❤️

  • @mihirmakwana.psc.6908
    @mihirmakwana.psc.6908 2 ปีที่แล้ว

    What if we use TB6612fng instead of DRV8835

  • @ZenoModiff
    @ZenoModiff 3 ปีที่แล้ว +2

    Awesome ❤️

  • @Shubham-9996
    @Shubham-9996 3 ปีที่แล้ว +1

    I think you have used all colour variations in PCB
    Please tell me which is your favourite
    Which appears fascinating

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  3 ปีที่แล้ว

      No bro not yet.... Purple is pending... And my mattee black is my favourite...❤️

    • @Shubham-9996
      @Shubham-9996 3 ปีที่แล้ว +1

      @@EDISON_SCIENCE_CORNER
      Second number
      After black
      Because it is hard to find track and trace them in black

    • @Shubham-9996
      @Shubham-9996 3 ปีที่แล้ว +1

      I want to suggest you to search for another caster wheel
      I think this is bigger
      Gives inclination

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  3 ปีที่แล้ว

      Yellow

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  3 ปีที่แล้ว

      Yes true that but this is the smallest one i got

  • @bektinurwanto
    @bektinurwanto 2 ปีที่แล้ว +1

    More tuning pid to smooth running

  • @brandavornamberstone7729
    @brandavornamberstone7729 2 ปีที่แล้ว +1

    Would it be possible to provide the EDA files of the pcb for someone who would like to modify it? Thanks in advance.

  • @naveengupta5588
    @naveengupta5588 2 ปีที่แล้ว +1

    what is RPM of motors

  • @Antinon_Metal
    @Antinon_Metal 2 หลายเดือนก่อน +1

    where is the pcb file?

  • @SivvalaVineela
    @SivvalaVineela ปีที่แล้ว +1

    can we code in verilog..?

  • @harshitasingh8582
    @harshitasingh8582 3 ปีที่แล้ว +1

    Sir how do you know where to put what parts?
    please also name all the parts in the vid?
    from where can we get these parts?
    and please make a vid on how we can load the code...like u did in this vid

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  3 ปีที่แล้ว

      Please check discription for parts. Please watch my other videos to know how to upload code to arduino

  • @arijitghosh8292
    @arijitghosh8292 3 ปีที่แล้ว +1

    How much did it costs to you in building the robot

  • @Hamada_1170
    @Hamada_1170 ปีที่แล้ว +1

    How about to make the code?

  • @johnyuanflores2757
    @johnyuanflores2757 2 หลายเดือนก่อน +1

    can you send me a copy of your code? I can't seem to open your drive

  • @sapimakan4890
    @sapimakan4890 2 ปีที่แล้ว +1

    Why do u need PID?

  • @kaustubhsingh16
    @kaustubhsingh16 2 ปีที่แล้ว +1

    Great work

  • @siddhantshinde1840
    @siddhantshinde1840 ปีที่แล้ว +1

    sir, What is kp ,ki, kd ?

  • @devanandhini1614
    @devanandhini1614 6 หลายเดือนก่อน +1

    battery???

  • @0Nadim0
    @0Nadim0 ปีที่แล้ว +1

    Hey, hell of a job! Your videos are hella useful and interesting.
    Can you help with a 16-sensors linefollower using 2 qtr instead of 1?

  • @SembeiNorimaki
    @SembeiNorimaki ปีที่แล้ว +1

    but it's not calibrated right? the robot oscillates a lot which shouldn't if the PID was properly calibrated

  • @krishnawa_
    @krishnawa_ 3 ปีที่แล้ว +1

    Awesome 😍

  • @gagan7350
    @gagan7350 ปีที่แล้ว +1

    Link is not working

  • @chaeran6860
    @chaeran6860 ปีที่แล้ว +1

    I also want to get a pcb I live in Sri Lanka

    • @chaeran6860
      @chaeran6860 ปีที่แล้ว +1

      Please

    • @chaeran6860
      @chaeran6860 ปีที่แล้ว +1

      My father can buy me one if it is in Sri Lanka but this comes from a bother country

    • @chaeran6860
      @chaeran6860 ปีที่แล้ว +1

      And I am 12

    • @chaeran6860
      @chaeran6860 ปีที่แล้ว

      I am also susbscribe

  • @arthurrr4ik543
    @arthurrr4ik543 2 ปีที่แล้ว +1

    Good job... u are so...

  • @prathamkamath3050
    @prathamkamath3050 2 ปีที่แล้ว +1

    Do u sell this?

  • @ravasahebbhosale7964
    @ravasahebbhosale7964 2 หลายเดือนก่อน +1

    Hi can you please provide pick place and bom file

  • @fpl341
    @fpl341 2 ปีที่แล้ว +1

    that's cool, sir. Where i can download the design pcb file?

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  2 ปีที่แล้ว

      You cant download

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  2 ปีที่แล้ว

      www.esclabs.in/

    • @fpl341
      @fpl341 2 ปีที่แล้ว

      @@EDISON_SCIENCE_CORNER thank a lots. But your robot is very nice, i'm gonna build a robot base on your own

  • @midhunmathew1268
    @midhunmathew1268 3 ปีที่แล้ว +2

    🔥🥰🤟

  • @ahmednoor7811
    @ahmednoor7811 ปีที่แล้ว +1

    Where is the pcb design

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  ปีที่แล้ว

      www.esclabs.in/?term&s=Line+follower+robot+&post_type=product&taxonomy=product_cat&doing_wp_cron=1691427762.8503189086914062500000

  • @sayednadirofficial
    @sayednadirofficial 2 ปีที่แล้ว

    what should I make after line follower

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  2 ปีที่แล้ว

      Make what you want

    • @sayednadirofficial
      @sayednadirofficial 2 ปีที่แล้ว +1

      @@EDISON_SCIENCE_CORNER can you give some suggestions
      I have no idea about what I should do next to it

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  2 ปีที่แล้ว

      Did you made line follower

    • @sayednadirofficial
      @sayednadirofficial ปีที่แล้ว +1

      @@EDISON_SCIENCE_CORNER Sorry it is the late response.
      I have made obstacle avoidance and line following robot
      now I want to do something new.

  • @rajeshbhattacharjee2811
    @rajeshbhattacharjee2811 2 ปีที่แล้ว +1

    Can you give me Gerber file?

  • @kanagalakshmisenthil1659
    @kanagalakshmisenthil1659 2 หลายเดือนก่อน +1

    Bro can I get the Gerber file pcb pls bro 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏