• Register
  • Login
  • This Line Following Robot sensor or surface scanner for robots is a very simple, stamp-sized, short range (5-10mm) Infrared proximity detector wired around a standard reflective opto-sensor CNY70(IC1). In some disciplines, a line following robot or an electronic toy vehicle go along a predrawn black line on a white surface. In such devices, a surface scanner, pointed at the surface is used to align the right track.

    IC1 contains an infrared LED and a phototransistor. The LED emit invisible infrared light on the track and the phototransistor works as a receiver. Usually, black colored surface reflects less light than white surface and more current will flow through the phototransistor when it is above a white surface. When a reflection is detected (IR light falls on the phototransistor) a current flows through R2 to ground which generates a voltage drop at the base of T1 to make it conduct. As a result, transistor T2 start conducting and the visual indicator LED(D1) lights up. Capacitor C2 works as a mini buffer.

    After construction and installation, the scanner needs to be calibrated. Initially set P1 to its mechanical centre position and place the robot above the white portion of the track. Now slowly turn P1 to get a good response from D1. After this, fine tune P1 to reduce false detection caused by external light sources. Also ensure that the LED remains in off condition when the sensor module is on the blackarea. Repeat the process until the correct calibration is achieved.

    The red color LED (D1) is only a visual indicator. You can add a suitable (5V) reed relay in parallel with D1-R4 wiring after suitable alterations to brake/stop/redirect the robot. Similarly, the High to low (H-L) transition at the collector of T2 can be used as a signal to control the logic blocks of the robot. Resistor R1 determines the operating current of the IRLED inside IC1. The sensing ability largely depends on the reflective properties of the markings on the track and the strength of the light output from IC1.

    Line Follower Robot Scanner Schematic

    line following robot sensor schematic

    ask a question

    12 Responses to "Line Following Robot Sensor"

    1. Is there any direct substitute to CNY70?

    2. RAJAT SAHNEY says: on December 3, 2010 at 6:44 am


    3. John Omoding says: on March 18, 2011 at 5:35 pm

      please help and specify any substitutes for the cny70 IC

    4. Mpika Mbouki says: on April 1, 2011 at 11:56 am

      I’m reseaching on an electronics circuit design of a line-following automated vehicle needs to stop for a predetermined period (5 sec) at designated trash collection points. While stopping, an audible buzzer sounds for the same period of time (5 sec).
      please could you assist me on this project.

    5. sir few mini projects that use ful n un know plz n i need a description on robotic project i.e., line path detector

    6. Amel Roshan says: on April 23, 2012 at 2:08 pm

      Please sent me more details, and external configurtions of the circuit.

    7. plzzz provide the current division

    8. sirr plzz ans as early as possible.. m beginner

    9. dear sir,
      plz tell me how to identify the transmitter (led) side & photo transistor side of cny70

      thanking you

      Core Technologies,
      B/T-3,3rd Floor,Prabhakar Plaza,
      Station Road,
      Dabholkar Corner,
      Ph:0231-2653059., 08275369311

    What do you think about this article? Leave a comment!

    You may add a picture too (related to electronics)