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
@aravindsrinivasan23077 жыл бұрын
Nyc Work guys....
@kushalpal12726 жыл бұрын
Where are 8ir pins connected
@mohammadhassan96116 жыл бұрын
Thank you so much Respect from Pakistan :)
@vivekkhatua6 жыл бұрын
Mohammad Hassan thank you so much,😊
@saikamalkola85567 жыл бұрын
nice explanation...keep it up
@fumezflori7 жыл бұрын
It is possible to follow a light, I'm thinking at EL Wire because I want to used outdoor in the night
@kishoremuchintala65136 жыл бұрын
Good explanation bro
@ravinath75516 жыл бұрын
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.
@pavanshelke28016 жыл бұрын
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 ???
@mehedihasansabuj28095 жыл бұрын
clear me one thing does ur code consider high as white??? cuz my sensor consider high as black thats why um asking
@abhishekpatil21247 жыл бұрын
good bro thanx bzc of u my line follower is done
@kolhatkarchinmay7 жыл бұрын
Have you made any changes in program ?? Then its is working??
@narendranMaqunistian6 жыл бұрын
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?
@hemilgarara72706 жыл бұрын
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
@jaykadu87455 жыл бұрын
what changes you made, can you share with me please ??? reply as soon as possible share me circuit connections also
@jaykadu87455 жыл бұрын
share circuit diagram please
@jaykadu87455 жыл бұрын
Are mere bhai reply to deee
@shahlanmalik32486 жыл бұрын
Where you give sensors to arduino pins No....how i connect sensors with arduino according to your code.
@sanchittanwar60736 жыл бұрын
Can we use this for 5 ir sensor and not array
@rishabhsahu94947 жыл бұрын
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 ...
@manthan68146 жыл бұрын
How do you calculate the inital values of kp ki and kd ??
@AnonyoZarifAkand3 жыл бұрын
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.
@abdullahalmehadi61527 жыл бұрын
Will it work for tcrt5000 sensor?
@TarunKumar-tu5st5 жыл бұрын
Why input from ir sensor array is not defined in void setup()
@RobotResearchLab5 жыл бұрын
They are using the Arduino QTR Sensors library which sets up the pins for you, no need to set them up in setup()
@vinayvinay53555 жыл бұрын
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
could you please tell me the connections and code?
@lparry927 жыл бұрын
Can you post the code onto a google drive at all please?
@harshitchhipa38826 жыл бұрын
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.
@anandagarwal12317 жыл бұрын
how to connect the circuit. plzzz provide a circuit diagram.
@aqibabbasi57547 жыл бұрын
hello.. i want to make pid controlled line follower for my semester project,can you please help me in making it ? thanks in advance.
@vivekkhatua7 жыл бұрын
Aqib Abbasi sure
@Ramkumar-rm8em7 жыл бұрын
Good explanation sir ,if possible can you share the link for circuit diagram and code so that we can also try that :-)
@jatinbhardwaj82527 жыл бұрын
can u please send the mod function, it is not visible in the code???
@ALOKKUMAR-ri6db4 жыл бұрын
can u give me the comlete code please
@SatyamEdits4 жыл бұрын
please bro if you are seeing this please share the code
@neelmota7 жыл бұрын
a4 and a5 pin of arduino connecting which pin of l293d?
@vivekkhatua7 жыл бұрын
Neel Raajgor to the enable pins of the two motors
@craftobia19465 жыл бұрын
Hello....Thanks for this awesome project...due to some error my bot is not working...will you please help me to solve it
@Ashwinkumar-vs6ys8 жыл бұрын
how do we get the value of 3500? how should we find it for other sensor arrays?
@vivekkhatua8 жыл бұрын
the 3500 is the mean value for my middle ir LEDs to stay on the line... so now that is my setpoint..!
@vstop21766 жыл бұрын
#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); }
@sathishkumarg71865 жыл бұрын
bro....how to connect IR sensor array to arduino...........what r the pins u used???
@RobotResearchLab5 жыл бұрын
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.
@TutocarloCV7 жыл бұрын
nice
@SatyamEdits4 жыл бұрын
Bro please share the code link please
@SatyamEdits4 жыл бұрын
please bro share the code link i need it bro please
@abcdshikor9985 жыл бұрын
it's digital or analog ir sensor????
@AnonyoZarifAkand3 жыл бұрын
Analog
@hemilgarara72706 жыл бұрын
Where is the link for the code?
@SatyamEdits4 жыл бұрын
bro please share the code
@vamsireddy98727 жыл бұрын
nice work bro, please provide with code link that would be helpful, thanks bro
@avnishkumar33117 жыл бұрын
can u provide the code in pdf or txt?
@jaykadu87455 жыл бұрын
can you give me circuit diagram??
@subhramoydey28837 жыл бұрын
Can you please send me the code?
@ARRun5 жыл бұрын
can you please share source code?
@kolhatkarchinmay7 жыл бұрын
it's better if you provide link for program..or Google drive link.. please
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.
@vivekkhatua7 жыл бұрын
try adjusting the Kp Ki and Kd values
@vstop21766 жыл бұрын
how to find pid ki kp kd values
@kushalpal12726 жыл бұрын
Chinmay Electronics can u tell me where u connected the sensor pins.