Line Follower Robot (with PID controller)

An autonomous high speed line follower robot based on PID control.

Aug 2, 2020

129383 views

24 respects

Components and supplies

2

Solarbotics RW2i Wheel

1

5V Step-Up/Step-Down Voltage Regulator S7V7F5

1

QTR-8RC Reflectance Sensor Array

1

HC-05 Bluetooth Module

2

Micro Metal Gearmotor HPCB 6V

2

Button 6x6x6

1

Li-Po Battery 7.4 V

1

Ball Caster with 3/8″ Metal Ball

1

DRV8835 Dual Motor Driver Carrier

4

Resistor 1k ohm

1

Arduino Pro Mini 328 - 5V/16MHz

Tools and machines

1

Soldering iron (generic)

1

3D Printer (generic)

Apps and platforms

1

SketchUp

1

Arduino IDE

1

EasyEDA

1

MIT App Inventor 2

Project description

Code

QTR-8RC Example

c_cpp

The Polulu modified example of the QTR-8RC sensor array

Advanced PID control + Bluetooth communication

c_cpp

You can change the rotation of the motors (only forward or forward-backward).

PID_LF_example.ino

arduino

The basic PID control system algorithm implemented with the specified hardware.

Code used in Arduino Code Development #1

arduino

Checkout the video I made using this code, to understand its functionality: https://youtu.be/w3bE3ygJMx8

Advanced PID control + Bluetooth communication

c_cpp

You can change the rotation of the motors (only forward or forward-backward).

PID_LF_example.ino

arduino

The basic PID control system algorithm implemented with the specified hardware.

Downloadable files

Gerber File

This ZIP contains all the files for the fabrication of the PCB shown.

Gerber File

Schematic Line Follower Fritzing

Schematic Line Follower Fritzing

PID controller

App for phone to control and set up the values for the line follower

PID controller

Schematic Line Follower EasyEDA

Schematic Line Follower EasyEDA

PID controller

App for phone to control and set up the values for the line follower

PID controller

Schematic Line Follower Fritzing

Schematic Line Follower Fritzing

Gerber File

This ZIP contains all the files for the fabrication of the PCB shown.

Gerber File

Schematic Line Follower EasyEDA

Schematic Line Follower EasyEDA

Documentation

STL new parts

Contains updated STL parts for the robot (the battery holder has a shorter length while the motor bracket is longer). It also features a battery holder cover). Read the ReadMe file for more details about the 3d printing (material, quantity)

STL new parts

CAD Line Follower

Download this STL file to get an idea of ​​how to assemble the robot. You can find the STL parts in a ZIP in the same section.

CAD Line Follower

STL new parts

Contains updated STL parts for the robot (the battery holder has a shorter length while the motor bracket is longer). It also features a battery holder cover). Read the ReadMe file for more details about the 3d printing (material, quantity)

STL new parts

CAD Line Follower

Download this STL file to get an idea of ​​how to assemble the robot. You can find the STL parts in a ZIP in the same section.

CAD Line Follower

STL parts

Read the ReadMe file for more details about the 3d printing (material, quantity)

STL parts

Comments

Only logged in users can leave comments

anova9347

0 Followers

0 Projects

Table of contents

Intro

24

0