Obstacle Avoidance ModuleΒΆ

The IR obstacle avoidance module has strong adaptability to environmental light, it has a pair of infrared transmitting and receiving tubes.
The transmitting tube emits infrared frequency, when the detection direction encounters an obstacle, the infrared radiation is received by the receiving tube, after the comparator circuit processing, the green indicator will light up and output low level signal.
The detection distance can be adjusted by potentiometer, the effective distance range 2-30cm.

Example
2.2.5 IR Obstacle Avoidance Module (C Project)
2.2.5 IR Obstacle Avoidance Sensor (Python Project)
1.11 Repelling locusts (Scratch Project)