Preview

Line Follower

Powerful Essays
Open Document
Open Document
1213 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Line Follower
Line Following Robot

By, Priyank Patil Department of Information Technology K. J. Somaiya College of Engineering Mumbai, India

Line Follower

Contents
1. Summary 2. Introduction 2.1. What is a line follower? 2.2. Why build a line follower? 2.3. Background 2.4. Prerequisites 2.5. The AVR microcontroller 3. Overview Block Diagram and Architectural Overview 3.1. 3.2. The Algorithm 4. Implementation 4.1. Sensor Circuit Motor Interface and Control Circuit 4.2. 4.3. Source Code 5. Possible Improvements 6. References and Resources 6.1. Books and Links 6.2. Tools of the trade 6.3. Electronic shops 6.4. Parts and Prices

Page 2 of 17

Line Follower

Summary
The purpose of this document is to help you build a Line Following Robot. Starting with an overview of the system the document would cover implementation details like circuits and algorithms, followed by some suggestions on improving the design. The ‘Reference and Resources’ page has a list of relevant books, websites, electronic shops and commonly used parts & their prices.

Page 3 of 17

Line Follower

Introduction
What is a line follower? Line follower is a machine that can follow a path. The path can be visible like a black line on a white surface (or vice-versa) or it can be invisible like a magnetic field. Why build a line follower? Sensing a line and maneuvering the robot to stay on course, while constantly correcting wrong moves using feedback mechanism forms a simple yet effective closed loop system. As a programmer you get an opportunity to ‘teach’ the robot how to follow the line thus giving it a human-like property of responding to stimuli. Practical applications of a line follower : Automated cars running on roads with embedded magnets; guidance system for industrial robots moving on shop floor etc. Prerequisites: Knowledge of basic digital and analog electronics. (A course on Digital Design and Electronic Devices & Circuits would be helpful) C Programming Sheer interest, an



References: and Resources‘). Availability of online resources and books is fast increasing. Here, 8051 > AVR = PIC Page 5 of 17 Line Follower Overview Block Diagram The robot uses IR sensors to sense the line, an array of 8 IR LEDs (Tx) and sensors (Rx), facing the ground has been used in this setup. The output of the sensors is an analog signal which depends on the amount of light reflected back, this analog signal is given to the comparator to produce 0s and 1s which are then fed to the uC. L4 Left L3 L2 L1 R1 R2 Center Sensor Array R3 R4 Right Starting from the center, the sensors on the left are named L1, L2, L3, L4 and those on the right are named R1, R2, R3, R4. Let us assume that when a sensor is on the line it reads 0 and when it is off the line it reads 1 The uC decides the next move according to the algorithm given below which tries to position the robot such that L1 and R1 both read 0 and the rest read 1. L4 1 Left L1 R1 R2 R3 R4 0 0 1 1 1 Center Right Desired State L1=R1=0, and Rest=1 L3 1 L2 1 Page 6 of 17 Line Follower Algorithm: 1. L= leftmost sensor which reads 0; R= rightmost sensor which reads 0. If no sensor on Left (or Right) is 0 then L (or R) equals 0; Ex: L4 L3 L2 L1 R1 R2 R3 R4 1 0 0 1 1 1 1 1 Left Center Right Here L=3 R=0 L4 1 Left 2. If all sensors read 1 go to step 3, else, If L>R Move Left If Lldev) move(R,0,195+12*rdev); if(rdev

You May Also Find These Documents Helpful

  • Good Essays

    To accomplish the task of line following, the two Line Follower sensors were placed on the two sides of the front of the car. They were used to detect the…

    • 1184 Words
    • 5 Pages
    Good Essays
  • Better Essays

    Cited: "Robotics At The University of Central Florida." Robotics At The University of Central Florida. N.p., n.d. Web. 5 Nov. 2012. <http://robotics.ucf.edu/home.php>.…

    • 1079 Words
    • 5 Pages
    Better Essays
  • Powerful Essays

    Science Fair Question

    • 6513 Words
    • 27 Pages

    Do you ever wish you could hire someone to guard your favorite things? This research paper is going to talk about, how robots work. Terms that will be discussed in this paper will include Infrared (IR) light, electromagnetic radiation, electromagnetic spectrum, and sensors.…

    • 6513 Words
    • 27 Pages
    Powerful Essays
  • Good Essays

    I Robot Research Paper

    • 4782 Words
    • 20 Pages

    operating robot. The robot is intended to be placed in a factory, and its software is designed to…

    • 4782 Words
    • 20 Pages
    Good Essays
  • Good Essays

    Robot Geometry

    • 975 Words
    • 4 Pages

    The study of robot kinematics, require a unified methodology to identify the variables of a robot's or manipulator's joints and links.…

    • 975 Words
    • 4 Pages
    Good Essays
  • Good Essays

    [13] Y. K. Song et al., “Development of wall climbing robotic system for inspection purpose” Intelligent Robots and Systems, pp. 1990 - 199, Sep. 2008.…

    • 11071 Words
    • 45 Pages
    Good Essays
  • Satisfactory Essays

    -Robot consists of infrared sensor to locate victim and proximity sensor to monitor distance between robot and survivor.…

    • 731 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    The Krasti Yantror

    • 1348 Words
    • 6 Pages

    Abstract— Krasti Yantror is a plotter that offers the fastest way to efficiently produce drawings. The Krasti Yantror which is basically a Selective Compliance Articulated Robot Arm (SCARA) has been implemented in the current work where in the robot plots the input given from the computer on the drawing board using ATMEGA 32 microcontroller on a open-source physical computing platform Arduino UNO R3 board. The Krasti Yantror has a two axis control and a mechanism to raise and lower the pen. Each axis is powered using a single servo motor. Pen control is achieved using a servo. SCARA is an autonomous robotic arm with three Degrees of Freedom (DOF) and two joints which are flexible along the X,Y axis but rigid along the Z axis. This arrangement…

    • 1348 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    2D vector plotters are designed to take a pointer to any given coordinate in the xy plane. An application of this plotting device is in PCB drilling. In PCB drilling the location of the drill holes are fed into the system which will drill the PCB at the specified coordinates. The main objective of this project is to be able to take a pointer to these set of coordinates along the shortest path. The parameter measured is the length of the path taken. Path planning and implementing a shortest path algorithm for a set of PCB drill points is the main goal. Path planning ensures that all the points are visited once and optimizes the use of the motors and other mechanical paths involved in the process while also reducing the time taken.…

    • 2068 Words
    • 8 Pages
    Good Essays
  • Powerful Essays

    Pc Controlled Wireless Robot

    • 5546 Words
    • 23 Pages

    A Design Project Report Presented to the Engineering Division of the Graduate School of Cornell University in Partial Fulfillment of the Requirements for the Degree of Master of Engineering (Electrical)…

    • 5546 Words
    • 23 Pages
    Powerful Essays
  • Satisfactory Essays

    sdasdsd

    • 1374 Words
    • 6 Pages

    related to grasping, path planning, and robot control. The robot is capable of climbing a wall of…

    • 1374 Words
    • 6 Pages
    Satisfactory Essays
  • Good Essays

    Automatic Clothesline

    • 572 Words
    • 3 Pages

    The current system is a clothesline presented in mechanically controlled by magnets. It uses X-10 module interfaced with the stamp to provide power to the clothesline from a remote location. It uses a phototransistor that acts as a motion sensor for clothes moving the line. In figure 1, it shows the software flow chart of the existing system.…

    • 572 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Two similar sections detect interruption of the IR beam and generate clock pulse for the microcontroller. The microcontroller controls counting and displays the number of persons present inside the hall is also displayed on the seven segment displays. It receives the signals from the sensors, and this signal is operated under the control of software which is stored in ROM. Microcontroller AT89S52 continuously monitor the Infrared Receivers, When any object pass through the IR Receiver's then the IR Rays falling on the receiver are obstructed , this obstruction is sensed by the Microcontroller.…

    • 1028 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    Vsdvds

    • 4950 Words
    • 20 Pages

    1. 2. 3. 4. 5. Slater M (1989) Microprocessor–based design, a comprehensive guide to hardware design. Prentice-Hall Mitsubishi Industrial Micro-Robot System Manual for Model RV-M1, MovemasterEx, BFP-A5191E-B Kung Y, Huang P, Chen C (2004) Development of a SOPC for PMSM Drives. Paper presented at the 47th IEEE International Midwest Symposium on Circuits and Systems 2004 Kung Y, Shu G (2005) Development of a FPGA-based motion control IC for robot arm. Paper presented at IEEE ICIT 2005, pp. 1397–1402 Navabi Z (2007) Embedded Core Design with FPGAs. McGraw Hill…

    • 4950 Words
    • 20 Pages
    Powerful Essays
  • Better Essays

    Omr Seminar Paper

    • 4044 Words
    • 17 Pages

    C. Galambos, J. Kittler, and J. Matas. Progressive probabilistic hough transform for line detection. Computer Vision and Pattern Recognition, IEEE Computer Society Conference on, 1:1554, 1999.…

    • 4044 Words
    • 17 Pages
    Better Essays