No video

Line follower robot using PID control

  Рет қаралды 40,305

IIITDM K SciDude

IIITDM K SciDude

8 жыл бұрын

The Project is based on line follower. a robot following the line in the contrasting color. The project highlights PID control and usage of weighted mean Average to replicate a coordinate system.

Пікірлер: 84
@aravindsrinivasan2307
@aravindsrinivasan2307 7 жыл бұрын
Nyc Work guys....
@kushalpal1272
@kushalpal1272 6 жыл бұрын
Where are 8ir pins connected
@mohammadhassan9611
@mohammadhassan9611 6 жыл бұрын
Thank you so much Respect from Pakistan :)
@vivekkhatua
@vivekkhatua 6 жыл бұрын
Mohammad Hassan thank you so much,😊
@saikamalkola8556
@saikamalkola8556 7 жыл бұрын
nice explanation...keep it up
@fumezflori
@fumezflori 7 жыл бұрын
It is possible to follow a light, I'm thinking at EL Wire because I want to used outdoor in the night
@kishoremuchintala6513
@kishoremuchintala6513 6 жыл бұрын
Good explanation bro
@ravinath7551
@ravinath7551 6 жыл бұрын
hye.you are using 2 motors.so why you connect two pins for each motor? for left motor pin 2,3 and for right 4,5.
@pavanshelke2801
@pavanshelke2801 6 жыл бұрын
if left and right both the paths available for the robo then first time it wnt to follow left , again if left and right both paths are available then robo should follow right path and again if left and right both paths are available then robo should follow Left path like that ..... then what changes should i do in program ???
@mehedihasansabuj2809
@mehedihasansabuj2809 5 жыл бұрын
clear me one thing does ur code consider high as white??? cuz my sensor consider high as black thats why um asking
@abhishekpatil2124
@abhishekpatil2124 7 жыл бұрын
good bro thanx bzc of u my line follower is done
@kolhatkarchinmay
@kolhatkarchinmay 7 жыл бұрын
Have you made any changes in program ?? Then its is working??
@narendranMaqunistian
@narendranMaqunistian 6 жыл бұрын
Are you adjusting the speed of the motors using this statement "analogWrite(enl,mod(l));" isn't it enable pin? which motor driver are you using? l293d? l298n? smtn else?
@hemilgarara7270
@hemilgarara7270 6 жыл бұрын
Hey buddy i made the same line follower as u did ....it worked only with little bit changes i hve made in connection....even i think u should provide how you connected the circuit in description
@jaykadu8745
@jaykadu8745 5 жыл бұрын
what changes you made, can you share with me please ??? reply as soon as possible share me circuit connections also
@jaykadu8745
@jaykadu8745 5 жыл бұрын
share circuit diagram please
@jaykadu8745
@jaykadu8745 5 жыл бұрын
Are mere bhai reply to deee
@shahlanmalik3248
@shahlanmalik3248 6 жыл бұрын
Where you give sensors to arduino pins No....how i connect sensors with arduino according to your code.
@sanchittanwar6073
@sanchittanwar6073 6 жыл бұрын
Can we use this for 5 ir sensor and not array
@rishabhsahu9494
@rishabhsahu9494 7 жыл бұрын
Sir my robot one wheel are not working only one wheel move as per as your coding and i am using 5array ir sensor instead of 8 sensor Pls sir reply as soo. As possible ...
@manthan6814
@manthan6814 6 жыл бұрын
How do you calculate the inital values of kp ki and kd ??
@AnonyoZarifAkand
@AnonyoZarifAkand 3 жыл бұрын
Trial and error. You have to set all of them zero at first. Then increase kp by small steps. Then do the same with kd, and finally with ki. Do these until your robot is stable.
@abdullahalmehadi6152
@abdullahalmehadi6152 7 жыл бұрын
Will it work for tcrt5000 sensor?
@TarunKumar-tu5st
@TarunKumar-tu5st 5 жыл бұрын
Why input from ir sensor array is not defined in void setup()
@RobotResearchLab
@RobotResearchLab 5 жыл бұрын
They are using the Arduino QTR Sensors library which sets up the pins for you, no need to set them up in setup()
@vinayvinay5355
@vinayvinay5355 5 жыл бұрын
Could you please help me how to tune kp ki kd values? Which tuning method you have used? Please help. It would be of great help
@geoffberl
@geoffberl 5 жыл бұрын
robotresearchlab.com/2019/02/16/pid-line-follower-tuning/
@vinayvinay5355
@vinayvinay5355 5 жыл бұрын
@@geoffberlThank you
@jaykadu8745
@jaykadu8745 5 жыл бұрын
could you please tell me the connections and code?
@lparry92
@lparry92 7 жыл бұрын
Can you post the code onto a google drive at all please?
@harshitchhipa3882
@harshitchhipa3882 6 жыл бұрын
it is awesome could you please tell me the connections. could you please tell the connections. and it was awesome the bot is working fine.
@anandagarwal1231
@anandagarwal1231 7 жыл бұрын
how to connect the circuit. plzzz provide a circuit diagram.
@aqibabbasi5754
@aqibabbasi5754 7 жыл бұрын
hello.. i want to make pid controlled line follower for my semester project,can you please help me in making it ? thanks in advance.
@vivekkhatua
@vivekkhatua 7 жыл бұрын
Aqib Abbasi sure
@Ramkumar-rm8em
@Ramkumar-rm8em 7 жыл бұрын
Good explanation sir ,if possible can you share the link for circuit diagram and code so that we can also try that :-)
@jatinbhardwaj8252
@jatinbhardwaj8252 7 жыл бұрын
can u please send the mod function, it is not visible in the code???
@ALOKKUMAR-ri6db
@ALOKKUMAR-ri6db 4 жыл бұрын
can u give me the comlete code please
@SatyamEdits
@SatyamEdits 4 жыл бұрын
please bro if you are seeing this please share the code
@neelmota
@neelmota 7 жыл бұрын
a4 and a5 pin of arduino connecting which pin of l293d?
@vivekkhatua
@vivekkhatua 7 жыл бұрын
Neel Raajgor to the enable pins of the two motors
@craftobia1946
@craftobia1946 5 жыл бұрын
Hello....Thanks for this awesome project...due to some error my bot is not working...will you please help me to solve it
@Ashwinkumar-vs6ys
@Ashwinkumar-vs6ys 8 жыл бұрын
how do we get the value of 3500? how should we find it for other sensor arrays?
@vivekkhatua
@vivekkhatua 8 жыл бұрын
the 3500 is the mean value for my middle ir LEDs to stay on the line... so now that is my setpoint..!
@vstop2176
@vstop2176 6 жыл бұрын
#include #define NUM_SENSORS 6 // number of sensors used #define TIMEOUT 2500 // waits for 2500 microseconds for sensor outputs to go low #define EMITTER_PIN 2 // emitter is controlled by digital pin 2 // sensors 0 through 7 are connected to digital pins 3 through 10, respectively QTRSensorsRC qtrrc((unsigned char[]) {A0, A1, A2, A3, A4, A5}, NUM_SENSORS, TIMEOUT, EMITTER_PIN); unsigned int sensorValues[NUM_SENSORS]; void setup() { delay(500); pinMode(13, OUTPUT); digitalWrite(13, HIGH); // turn on Arduino's LED to indicate we are in calibration mode for (int i = 0; i < 400; i++) // make the calibration take about 10 seconds { qtrrc.calibrate(); // reads all sensors 10 times at 2500 us per read (i.e. ~25 ms per call) } digitalWrite(13, LOW); // turn off Arduino's LED to indicate we are through with calibration // print the calibration minimum values measured when emitters were on Serial.begin(9600); for (int i = 0; i < NUM_SENSORS; i++) { Serial.print(qtrrc.calibratedMinimumOn[i]); Serial.print(' '); } Serial.println(); // print the calibration maximum values measured when emitters were on for (int i = 0; i < NUM_SENSORS; i++) { Serial.print(qtrrc.calibratedMaximumOn[i]); Serial.print(' '); } Serial.println(); Serial.println(); delay(100); } void loop() { // read calibrated sensor values and obtain a measure of the line position from 0 to 5000 // To get raw sensor values, call: // qtrrc.read(sensorValues); instead of unsigned int position = qtrrc.readLine(sensorValues); unsigned int position = qtrrc.readLine(sensorValues); // print the sensor values as numbers from 0 to 1000, where 0 means maximum reflectance and // 1000 means minimum reflectance, followed by the line position for (unsigned char i = 0; i < NUM_SENSORS; i++) { Serial.print(sensorValues[i]); Serial.print('\t'); } //Serial.println(); // uncomment this line if you are using raw values Serial.println(position); // comment this line out if you are using raw values delay(250); }
@sathishkumarg7186
@sathishkumarg7186 5 жыл бұрын
bro....how to connect IR sensor array to arduino...........what r the pins u used???
@RobotResearchLab
@RobotResearchLab 5 жыл бұрын
They are using digital IR sensors so they connected them to digital pins. You can get analog or digital versions of the IR sensor arrays. The most common ones I've seen are QTR sensors from Pololu.com. Digital sensors are QTR-8RC and analog are QTR-8A but digital are usually faster which is good for Arduino since it's a slower processing speed.
@TutocarloCV
@TutocarloCV 7 жыл бұрын
nice
@SatyamEdits
@SatyamEdits 4 жыл бұрын
Bro please share the code link please
@SatyamEdits
@SatyamEdits 4 жыл бұрын
please bro share the code link i need it bro please
@abcdshikor998
@abcdshikor998 5 жыл бұрын
it's digital or analog ir sensor????
@AnonyoZarifAkand
@AnonyoZarifAkand 3 жыл бұрын
Analog
@hemilgarara7270
@hemilgarara7270 6 жыл бұрын
Where is the link for the code?
@SatyamEdits
@SatyamEdits 4 жыл бұрын
bro please share the code
@vamsireddy9872
@vamsireddy9872 7 жыл бұрын
nice work bro, please provide with code link that would be helpful, thanks bro
@avnishkumar3311
@avnishkumar3311 7 жыл бұрын
can u provide the code in pdf or txt?
@jaykadu8745
@jaykadu8745 5 жыл бұрын
can you give me circuit diagram??
@subhramoydey2883
@subhramoydey2883 7 жыл бұрын
Can you please send me the code?
@ARRun
@ARRun 5 жыл бұрын
can you please share source code?
@kolhatkarchinmay
@kolhatkarchinmay 7 жыл бұрын
it's better if you provide link for program..or Google drive link.. please
@vivekkhatua
@vivekkhatua 7 жыл бұрын
drive.google.com/open?id=0B7EOw_4YEaP7eGpCUUNFb2pmZ2s
@kolhatkarchinmay
@kolhatkarchinmay 7 жыл бұрын
Thanks for the link. I have made same connections with all same sensors and all but still robot is not working properly. Its actually trying to follow the path but getting offtrack within few seconds.
@vivekkhatua
@vivekkhatua 7 жыл бұрын
try adjusting the Kp Ki and Kd values
@vstop2176
@vstop2176 6 жыл бұрын
how to find pid ki kp kd values
@kushalpal1272
@kushalpal1272 6 жыл бұрын
Chinmay Electronics can u tell me where u connected the sensor pins.
@rahulyosep1370
@rahulyosep1370 5 жыл бұрын
can i get the program?
@h.m.ibtihalutsho8554
@h.m.ibtihalutsho8554 5 жыл бұрын
Can i get the code?
@ghokuljiselvaraj7708
@ghokuljiselvaraj7708 6 жыл бұрын
HOW TO INCREASE ITS SPEED?
@udbhavagarwal3000
@udbhavagarwal3000 6 жыл бұрын
increase the max to 250
@kingshukghosh5402
@kingshukghosh5402 7 жыл бұрын
circuit diagram plz..
@a.techsys9389
@a.techsys9389 7 жыл бұрын
Facing same problem like chinmay electronics
@deveshdangi7209
@deveshdangi7209 6 жыл бұрын
adil shaikh are u able to run your lfr
@SatyamEdits
@SatyamEdits 4 жыл бұрын
please reply bro
@zaenalputra7797
@zaenalputra7797 6 жыл бұрын
may request arduino program?
@hamzamannan4913
@hamzamannan4913 5 жыл бұрын
code??
@instark5499
@instark5499 7 жыл бұрын
Bro code plz
@instark5499
@instark5499 6 жыл бұрын
bro code plz
@SatyamEdits
@SatyamEdits 4 жыл бұрын
bro please
I made a SUPER FAST Line Follower Robot Using PID!
10:02
Shyam Ravi
Рет қаралды 310 М.
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Savage Vlogs
Рет қаралды 43 МЛН
👨‍🔧📐
00:43
Kan Andrey
Рет қаралды 9 МЛН
哈莉奎因以为小丑不爱她了#joker #cosplay #Harriet Quinn
00:22
佐助与鸣人
Рет қаралды 10 МЛН
PID Control loop Tutorial
12:40
REX 1727B
Рет қаралды 65 М.
What is a PID Controller? | DigiKey
22:19
DigiKey
Рет қаралды 72 М.
LVBots Line Following Competition April 2015
5:56
Pololu People
Рет қаралды 370 М.
The Clever Way to Count Tanks - Numberphile
16:45
Numberphile
Рет қаралды 916 М.
These sound illusions fool almost everyone
24:55
Veritasium
Рет қаралды 1,6 МЛН
Hardware Demo of a Digital PID Controller
2:58
Gregory L. Holst
Рет қаралды 982 М.
PID Balance+Ball | full explanation & tuning
13:13
Electronoobs
Рет қаралды 738 М.
Controlling Self Driving Cars
4:41
AerospaceControlsLab
Рет қаралды 502 М.
Arduino Line Follower - Code Development #1
48:11
Bot Reboot
Рет қаралды 36 М.
Solving the problem EVERY robot has (with ros2_control)
24:36
Articulated Robotics
Рет қаралды 80 М.
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Savage Vlogs
Рет қаралды 43 МЛН