• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Circuit Ideas for You

Get free circuit ideas online.

  • Home
  • Privacy Policy
  • About
Home » Simple Line Following Robot Sensor Circuit

Simple Line Following Robot Sensor Circuit

Last updated on 22 August 2024 by Admin-Lavi Leave a Comment

This circuit is like the eyes for a line following robot.

It uses special sensors infrared or IR that can tell the difference between a black line and a white surface.

These sensors are like tiny flashlights that shine invisible light.

By seeing how much light bounces back the circuit can tell where the line is.

This information is then sent to the robots brain control system so the robot can steer itself and follow the line perfectly.

Just like how you follow a sidewalk this circuit helps the robot follow its own special path.

Circuit Working:

Simple Line Following Robot Sensor Circuit Diagram

Parts List:

Component TypeComponent DetailsQuantity
Resistors (1/4 watt)1k1
4.7k1
1.8k1
200Ω1
Preset10k1
CapacitorsElectrolytic 10µF 25V2
SemiconductorsTransistors BC5472
Phototransistor CNY701
LEDRed 5mm 20mA1

The Line Following Robot features a sensor or surface scanner, designed for robots.

This compact device, about the size of a stamp, utilizes a short range 5 to10mm infrared proximity detector built around the CNY70 IC.

In certain applications such as with line following robots or electronic toy vehicles the scanner is employed to trace a pre drawn black line on a white surface ensuring accurate alignment.

The CNY70 IC comprises an infrared LED and a phototransistor.

The LED emits invisible infrared light onto the track while the phototransistor acts as a receiver.

Typically, black surfaces reflect less light than white surfaces causing more current to flow through the phototransistor when it is above a white surface.

When a reflection is detected i.e when IR light falls on the phototransistor, current flows through R2 to ground, creating a voltage drop at the base of T1 which in turn causes it to conduct.

Consequently, transistor T2 starts conducting illuminating the visual indicator LED D1.

Capacitor C2 serves as a small buffer.

Upon construction and installation the scanner requires calibration.

Initially, set P1 to its mechanical center position and position the robot over the white portion of the track.

Slowly adjust P1 to achieve a strong response from D1.

Then, fine tune P1 to minimize false detections caused by external light sources.

Ensure that the LED remains off when the sensor module is over the black area.

Repeat this process until the correct calibration is achieved.

The red LED D1 serves solely as a visual indicator.

For additional functionality a suitable 5V reed relay can be added in parallel with the D1 and R4 wiring with appropriate modifications, to enable braking, stopping or redirecting of the robot.

Likewise, the high to low H-L transition at the collector of T2 can be utilized as a signal to control the logic blocks of the robot.

Resistor R1 determines the operating current of the IR LED inside IC1.

The sensing capability largely depends on the reflective properties of the track markings and the strength of the light output from IC1.

Basic characteristics of phototransistor CNY70:

PARAMETERTEST CONDITIONSYMBOLMIN.TYP.MAX.UNIT
COUPLER
Collector currentVCE​=5 V,IF​=20 mA,d=0.3 mmIC​0.31.0mA
Cross talk currentVCE​=5 V,IF​=20 mAICX​600nA
Collector emitter saturation voltageIF​=20 mA,IC​=0.1 mA,d=0.3 mmVCEsat​0.3V
INPUT (EMITTER)
Forward voltageIF​=50 mAVF​1.251.6V
Radiant intensityIF​=50 mA,tp​=20 msIe​7.5mW/sr
Peak wavelengthIF​=100 mAλP​940nm
Virtual source diameterMethod: 63% encircled energyd1.2mm
OUTPUT (DETECTOR)
Collector emitter voltageIC​=1 mAVCEO​32V
Emitter collector voltageIE​=100 μAVECO​5V
Collector dark currentVCE​=20 V,IF​=0 A,E=0 lxICEO​200nA

How to Build:

To build a Simple Line Following Robot Sensor Circuit follow the below mentioned steps:

Assembly Steps:

  • Begin by soldering the components onto the PCB following the circuit diagram.
  • Use the datasheet of the CNY70 IC for pin identification and orientation.
  • Connect the power supply 5V to the circuit.
  • Install and calibrate the sensor as described in the previous message.

Conclusion:

A Line Following Robot Sensor Circuit is a key component in line following robots using infrared sensors to detect and follow lines on surfaces.

By emitting and detecting infrared light, the circuit provides feedback to the robots control system, allowing it to stay on course.

This technology enables robots to navigate predefined paths autonomously making them useful in various applications such as industrial automation, education and entertainment.

References

Datasheet CNY70

Analysis of Line Sensor Configuration for the Advanced Line Follower Robot

Filed Under: Sensors and Detectors

About Admin-Lavi

Lavi is a B.Tech electronics engineer with a passion for designing new electronic circuits. Do you have questions regarding the circuit diagrams presented on this blog? Feel free to comment and solve your queries with quick replies

Previous Post: « Simple 5V Switch Mode Power Supply Circuit using IC LM2674
Next Post: Simple Electronic Gatekeeper Circuit »

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Categories

  • Alarm Circuits (30)
  • Amplifier Circuits (67)
  • Arduino Projects (29)
  • Audio Circuits (93)
  • Automobile Circuits (19)
  • Battery Charger Circuits (48)
  • Free Energy (13)
  • Heater and Temperature Controllers (9)
  • Indicator Circuits (38)
  • Inverter Circuits (13)
  • LDR Circuits (13)
  • LED and Lamps (111)
  • Meters and Testers (27)
  • Motor Controllers (18)
  • Oscillator Circuits (32)
  • Power Supply Circuits (91)
  • Remote Control Circuits (6)
  • Security and Protection (23)
  • Sensors and Detectors (71)
  • Solar Circuits (16)
  • Timer Circuits (27)
  • Transistor Circuits (56)
  • Transmitter Circuit (12)
  • Tutorials (4)
  • Water Level Controller (4)

Copyright © 2025 | New Circuit Ideas