Site icon Circuit Ideas for You

Simple Line Following Robot Sensor Circuit

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:

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 mm IC​ 0.31.0mA
Cross talk currentVCE​=5 V,IF​=20 mA ICX​ 600nA
Collector emitter saturation voltageIF​=20 mA,IC​=0.1 mA,d=0.3 mm VCEsat​ 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:

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

Exit mobile version