Skip to content

petrupetru/Line_Follower_IntroToRobotics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Line Follower - Introduction to Robotics Project


  This is a car-like robot that is designed to follow a a line or path using a reflectance sensor array, keeping the line under the middle sensors. The goal is to move on the line to complete a circuit as fast as possible. T

  Context:

  -Team of 2 at "Introduction to Robotics" course
  -Received a kit, assembled it and programmed it
  -Had to finish the circuit in less than 20 seconds.

  The array of reflectance sensors is placed on the bottom of the robot and is used to detect the contrast between the line and the surrounding surface. The sensors send signals to the control system, which uses this information to calculate the position of the robot on the line.

 The robot is equipped with 2 DC motors, one for each wheel, which are used to control the movement of the robot. The control system uses the information from the sensors to determine the direction and speed of the motors, in order to keep the robot moving along the line.

 The robot can adjust its speed and direction by using PID algorithm to minimize the error between the desired setpoint and the current position of the robot on the line. By combining the data from the sensors with the power of the DC motors, the robot is able to stay on the line and navigate through a course.

PID is a control loop feedback mechanism that calculates an error value as the difference between a desired setpoint (e.g. the center of a line) and the current process variable (e.g. the position of the robot on the line). The PID algorithm then uses this error value to calculate and adjust the control variable (e.g. the robot's speed and direction) in order to minimize the error and bring the process variable closer to the setpoint. The "P" in PID stands for proportional, which means that the control variable is adjusted proportionally to the error. The "I" stands for integral, which accounts for accumulated error over time. The "D" stands for derivative, which accounts for the rate of change of the error. These three components work together to provide precise control and stability in the system

  The assembly guide for this project can be found here and there is a link to a video where the robot completes the challenge.

Game Components Alaala

  Components used for this project are

  1. Arduino Uno
  2. Zip-ties
  3. Power source (can be of different shape). In our case, a LiPo battery
  4. Wheels (2)
  5. Wires for the line sensor (female - male)
  6. QTR-8A reflectance sensor, along with screws
  7. Ball caster
  8. Extra wires
  9. Chassis
  10. Breadboard - medium (400pts)
  11. L293D motor driver
  12. DC motors (2)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages