Simulation and Hardware Setup of Robotic Light Following System using Light Controlled Variable Resistor

DOI : 10.17577/IJERTCONV7IS06084

Download Full-Text PDF Cite this Publication

  • Open Access
  • Total Downloads : 49
  • Authors : C.Rubini, R. Prabhakaran
  • Paper ID : IJERTCONV7IS06084
  • Volume & Issue : ETEDM
  • Published (First Online): 24-06-2019
  • ISSN (Online) : 2278-0181
  • Publisher Name : IJERT
  • License: Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 International License

Text Only Version

Simulation and Hardware Setup of Robotic Light Following System using Light Controlled Variable Resistor

C.Rubini1, R. Prabhakaran2

PG Scholar, Department of ECE, Kavery Engineering, Salem, India

UG Scholar, Department of EEE, SNS College of Technology, Coimbatore, India

Abstract – This project demonstrates the creation of a robot using low cost light controlled variable resistor to follow a flash light. It also demonstrates a very simple control loop. A control loop is an important concept in the world of robotics. Control loops are used for everything from regulating the speed of the motors to helping the robot travel in the path of higher luminescence across all directions. It is based on the principle that resistance of a LDR changes with the amount of light falling on it. The resistance of an LDR will decrease with increase in luminescence. This variation is fed to a comparator with a reference voltage set. This drives the robot in the desired direction with the help of DC motors.

  1. INTRODUCTION

    Light following robot is a robot that senses the light and follows it. A user can shine a flashlight at its front and it will respond by following the light source. This is designed without using a micro controller. When a LDR (Light Dependent Resistor) subjected to white light then the resistance varies. According to this variation Op- amp circuit gives response to drive the motor. Light is incident on LDR Resistance and changes

    Op-amp which sends signal. Simulation is a process of testing the design by applying inputs to a circuit and watching or observing its behavior. The output of a simulation is a set of waveforms that show how a circuit behaves upon a given sequence of inputs. In this project , simulation is done using PROTEUS which is the most famous PCB design software. It is integrated with the simulation and basic SPICE simulation capability to make a complete electronics design system. It reduces development time when compared with other embedded design process.

  2. BLOCK DIAGRAM AND

    COMPONENTS

    1. IC L293D

      L293D is an motor driver IC and it is an 16 pin IC which is used to control and drive the motor simultaneously in either directions that is clockwise or anti-clockwise direction. it means by using single L293D IC we can control two DC motors. It can drive small motors as well as the large motors. It works on the concept of H-bridge, because it will allows the voltage to be flown in two directions. As you know, for driving the motor in two different directions the voltage need to be changed its direction of flow. Hence H- bridge is ideal for driving the motors. Due to its small in size it is very much used in robotics application for driving and controlling the DC motors.L293D requires 5V in VCC as an internal voltage and VSS is the input supply for driving the motor. The maximum voltage of VSS is 36V.the table shows the pin number and its logical operations.

      Fig : Pin Diagram Of IC L293d

      TABLE 1: Pin Number And Its Logical Operations

      PIN NUMBER

      LOGIC

      DIRECTION OF ROTATION

      2

      1

      CLOCKWISE DIRECTION

      7

      0

      2

      0

      ANTI-CLOCKWISE DIRECTION

      7

      1

      2

      0

      NO ROTATION

      7

      0

      2

      1

      NO ROTATION

      7

      1

    2. IC LM358:

    LM358 is an 8 pin voltage comparator IC. It is used in transducer amplifier and all the conventional operational amplifier circuits. It is easily implemented in single power supply systems. It consist of two internally compensated op- amps.it does not requires dual supply. It has inverting and non- inverting terminals. If the non- inverting terminal voltage is less than the inverting terminal voltage then the output of the comparator is low. And if the non-inverting input is higher than the inverting input then the comparator output will be high.

    Fig : Pin Diagram Of IC LM358

  3. PIN DESCRIPTION

    TABLE 2: Pin Number And Logical Operations Of Lm358

    PIN NUMBER

    DESCRIPTION

    1

    Comparator output

    7

    2

    Inverting input

    6

    3

    Non-inverting input

    5

    4

    Ground

    8

    Supply(VCC)

  4. LIGHT DEPENDENT RESISTOR (LDR)

    The LDR is the light controlled variable resistor. The resistance of the LDR decreases with increase in light intensity and vice versa. It is made up of high resistance semiconductor. In the dark the LDR has resistance value as high as few mega ohms. While in the light it has the resistance value as low as few hundred ohms. The sensitivity and the range of the LDR should varies for different devices

    Fig : Light Dependent Resistor

  5. BATTERY AND BREADBOARD

    A battery is an electronic device used to store energy and reuse it. It consist of one or more electrochemical cells that coverts stored chemical energy into electrical energy. Each cell contains a positive terminal or cathode and negative terminal called cathode. In our work, we use 9V battery for powering the robot. For more usages two pair of 9V battery is used. The bread board is the base for external electronic devices. In our work, we interface the ICs, LDR, battery and an motor in the single bread board.

    Fig :Battery and Breadboard

  6. MOTORS

    A motor is a device which converts electrical energy into mechanical energy. It is based on the principle of electromagnetic induction.in our work we use two 300rpm dc motors to run the robot.

    Fig : Motor

  7. BLOCK DIAGRAM AND OPERATION

    Fig: Block Diagram

    Connect a 9V battery to the breadboard. Then connect an IC LM358 in the breadboard .As it is a voltage comparator, it guess the output from the LDR depends on the input voltage. For example, let us consider that the voltage at 3rd pin is higher than or equal to the voltage at 2nd pin. At this time, the 1st pin of IC LM358 will be high otherwise it will be low. A resistor of 10k is attached with each LDR. Then, place an IC L293D in the breadboard, and join the 2nd and 15th pin of it with IC LM358 1st pin. The left motor is connected to the 3rd & 6th pin of IC L293D and the right motor is connected to the 11th & 14th pin. The wheels are fixed with the motors. A castor wheel is attached at the front of the robot for balanced movements. A power supply of 5V is applied to the 1st, 7th, 8th, 9th, & 16th pins. The residual 4th, 5th, 10th, 12th, & 13th pins are connected to the ground. When the light focuses on the right LDR, the robot will move on the right side by the clockwise rotation of motor. Similarly, the robot will move on the left side when the light

    focuses on the left LDR by the rotation of motors in anti- clockwise direction.

  8. SIMULATION RESULTS

    The simulation of our project is in the proteus 8 which is shown below. The simulation results show the motor running while the LDR is turned on.

    Fig: Simulation Result (Proteus)

    Fig: Our Project

  9. APPLICATIONS

    • Light following robots are used in street lights and alarm devices

    • This technology can also be used to measure light intensity for applications that require greater precision

    • Cameras can use this technology to determine the proper exposure time

    • Laptops may use in a circuit that varies screen brightness according to ambient lighting conditions

    • It could be used as a watch dog robot which sends an email to the cell phone when detects light in the house which should be off

    • It is also used in military and manufacturing support

    • It can even be employed in security systems

  10. CONCLUSION

In this paper a robot which follows light without using a microcontroller is designed and simulated using PROTEUS

8. In our future work we will use raspberry pi to control the

robot and simulate it by using LABVIEW. The raspberry pi is simple to use, budget-friendly. It is self-assembled kit that allows us to control the DC motor with very little coding.

REFERENCES

  1. Robot building for beginners by David Cook

  2. Build your own All-Terrain Robot by Brad Graham and Cathy McGowan

  3. A Modular and Scalable Electronic System for Mobile and Autonomous Robots by R.Edinger

    andM.Zauner

  4. ProjektberichtMinisumo – Roboter Dozer by S.Meisinger and M.Zangenfeind

  5. www.onsemi.com

  6. www.ti.com/omap

  7. www.logic.ti.com

  8. www.labcenter.com/products/vsm/pic18.cfm

  9. Introduction to Proteus VSM (PartI)http://faculty.uoh.edu.sa/alutaibi/teaching/coe305/lab/01 Introduction%20to%20Proteus%20VSM%20Part%20I.pdf

  10. http://www.onsemi.com/pub/Collateral/LM358-D.PDF

  11. http://www.chipswinner.com/ends/LM358.pdf

  12. http://www.datasheetcatalog.com/datasheets_pdf/L/M/3/5/ LM358.shtml

  13. http://www.rakeshmondal.info/L293D-Motor-Driver

Leave a Reply