Infrared Obstacle Avoidance Sensor Module 3-Wire Reflective Photoelectric for Smart Car Robot

原产地:
Original
品牌:
Original
型号:
Infrared Obstacle Avoidance Sensor Module
系列:
Standard
特征:
Standard
安装方式:
Standard
尺寸/尺寸:
Standard
描述:
Standard
Application:
Standard
Infrared obstacle avoidance sensor module, 3-wire interface (VCC/GND/OUT), adjustable detection range 2-30cm. Onboard potentiometer for sensitivity, indicator LED, TTL output. Ideal for smart car obstacle avoidance, robot line tracking, edge detection, counter, Arduino/STM32 projects


Infrared Obstacle Avoidance Sensor Module Application features:

◆ Sensor Type
Infrared reflective photoelectric sensor (TCRT5000 or equivalent)

◆ Detection Principle
Infrared emission + reception, obstacle reflection detection

◆ Detection Range
2cm ~ 30cm (adjustable)

◆ Effective Detection Angle
Approx. 35 degrees

◆ Supply Voltage
DC 3.3V ~ 5V

◆ Output Method
TTL level (digital signal)

  • No obstacle: High level (1)

  • Obstacle detected: Low level (0)

◆ Pin Definition (3-wire)

  • VCC: Power positive

  • GND: Power negative

  • OUT: Digital signal output

◆ Adjustment
Onboard potentiometer for detection range sensitivity

◆ Indicators

  • Power LED (always on)

  • Trigger LED (lights when obstacle detected)

◆ Comparator Chip
LM393

Infrared Obstacle Avoidance Sensor Module Typical Applications

  • Smart car obstacle avoidance

  • Robot navigation

  • Line tracking assistance

  • Edge/cliff detection

  • Object counting

  • Automatic door sensing

  • Assembly line detection

Infrared Obstacle Avoidance Sensor Module Key Advantages

  • Simple 3-wire interface

  • Adjustable detection range

  • TTL output direct to MCU

  • Low power consumption

  • Fast response time

  • Plug-and-play

  • Low cost

Why Choose QIXINWEI

Years of experience in the electronics industry. Trusted by global customers.

Massive In-Stock Inventory – Ready to ship promptly

BOM Matching Service – One-stop solution, save time

PCBA Customization – Professional engineering team creates tailor-made solutions based on your needs

Cost-Effective & Efficient – Better channel, better cost

A dedicated team makes your procurement smoother.

Contact us for BOM quotes or PCBA inquiries



Notes : Since the prices of the electronic components are unstable, the prices we show are for reference only. Please confirm the recent prices with us before ordering!
Lead Time : Usually, your parcel will be arranged within 7 days after finishing payment. We'll send it more quickly if it's an urgent order. Thanks for your understanding!
Quantity(Pieces)
1 ~ 30000
30001 ~ 300000
> 300000
Est. Time(days)
5
7
To be negotiated




FAQ:

  1. What is the 3‑wire infrared obstacle avoidance sensor and its key specifications?
    This is a compact reflective photoelectric sensor module designed for obstacle detection in smart cars and robots. It uses an IR emitter (940 nm) and an IR phototransistor, processed by an LM393 comparator. Key specifications: operating voltage 3.3 V – 5 V DC, detection distance 2 cm – 30 cm (adjustable via a potentiometer), and a single 3‑wire interface: VCC, GND, and OUT. The output is a digital TTL signal — it goes LOW (0 V) when an obstacle is detected, and HIGH (VCC) when no obstacle is present. The module includes a power LED and an obstacle‑indicator LED. It is extremely popular for collision avoidance, line following, and proximity sensing in Arduino and ESP32 projects.

  2. How do I connect the 3‑wire IR sensor to an Arduino or ESP32?
    Wiring is very simple. Connect VCC → 3.3 V or 5 V (the module works on both), GND → GND, and OUT → any digital input pin (e.g., D2 on Arduino, GPIO15 on ESP32). No additional pull‑up resistor is needed — the module’s open‑drain output is pulled high internally. In your code, use digitalRead(): a LOW reading means an obstacle is detected (IR light reflected), while HIGH means the path is clear. The module draws only about 15 mA – 20 mA, so it can be powered directly from the MCU’s 3.3 V or 5 V pin.

  3. How do I adjust the detection distance of the 3‑wire IR obstacle sensor?
    The detection distance is set by a blue potentiometer on the back of the module. Turn it clockwise to increase the range (up to ~30 cm for a white, matte surface), or counter‑clockwise to decrease it (down to a few centimeters). To calibrate, place an object at your desired trigger distance and slowly turn the pot until the obstacle LED just turns on. Note that the actual range depends heavily on the object’s color and reflectivity — dark or matte surfaces will significantly reduce the effective distance.

  4. What is the difference between this 3‑wire IR sensor and an HC‑SR04 ultrasonic sensor for obstacle avoidance?
    The 3‑wire IR sensor gives a simple binary (yes/no) output — it only tells you whether an object is within the preset threshold. It is very fast (response in microseconds), small, and works well at short range. The HC‑SR04 ultrasonic sensor provides an exact distance measurement in centimeters, works on any surface regardless of color, but is larger and slower. The IR sensor can be fooled by black or transparent objects that absorb or pass IR light, while the ultrasonic sensor cannot. For a simple collision‑prevention switch, the IR sensor is ideal; for precise distance measurement, choose the ultrasonic sensor.

  5. Can this 3‑wire IR module be used for line tracking in a smart car?
    Yes, when positioned close to the ground (typically 1 cm – 2 cm), it can distinguish between a black line and a white surface. A black surface absorbs IR light → the output stays HIGH; a white surface reflects it → the output goes LOW. By using two or more sensors side by side, a robot can follow a line. However, dedicated 4‑channel or 5‑channel tracking modules with multiple IR pairs and tighter optics are usually preferred for line‑following because they provide more consistent results without individual calibration.

  6. What colors and surfaces does the IR sensor detect best? Can it see glass or black objects?
    The sensor relies on infrared reflection. It works best with light‑colored, matte surfaces (white, grey, wood). Black or dark matte objects absorb most IR radiation, dramatically reducing the detection range — they may only be sensed at 2 cm – 5 cm even at maximum sensitivity. Transparent materials like glass or clear acrylic allow IR light to pass straight through, making them invisible to the sensor. Thin or irregularly shaped objects also give weak reflections. For universal obstacle detection, an ultrasonic sensor is a better choice; for known, light‑colored targets, the IR sensor is very reliable.

  7. How can I use multiple 3‑wire IR sensors together without mutual interference?
    Because each sensor actively emits its own IR beam, placing two sensors close together can cause crosstalk — one sensor may detect the reflection of the other’s IR light. To avoid this: 1) Space the sensors at least 2 cm – 3 cm apart and angle them slightly outward. 2) In software, power them one at a time by using a transistor or digital pin to switch VCC, or simply read them sequentially with a small delay while keeping them always powered (which often works adequately). 3) Add a small opaque barrier between adjacent sensors. Many successful smart‑car designs use three front‑facing IR sensors with these simple measures.

  8. Why does my 3‑wire IR sensor sometimes give false triggers or miss obstacles?
    Common causes: 1) Ambient infrared interference — strong sunlight, halogen lamps, or incandescent bulbs emit IR that can saturate the receiver. Shade the sensor or use it indoors. 2) Detection distance set too long or too short — readjust the potentiometer. 3) Target surface — black or transparent objects produce weak or no reflection. 4) Power supply noise — add a 10 µF electrolytic capacitor across VCC and GND near the module. 5) Flickering output near the threshold — the comparator has no built‑in hysteresis; implement a software debounce (e.g., ignore transitions shorter than 50 ms) to clean up the signal.

  9. What is the power consumption, and can I run it from a battery?
    The module draws about 15 mA – 25 mA when the IR LED is continuously on, which is well within the capability of a small Li‑Po battery or a USB power bank. The LM393 comparator adds negligible current. For ultra‑low‑power projects, you can pulse the sensor’s VCC via a digital pin (an Arduino or ESP32 pin can safely supply up to 20 mA). The wide operating voltage of 3.3 V – 5 V makes it compatible with almost any DC supply.

  10. What are the most typical applications for the 3‑wire IR obstacle avoidance sensor?
    It is a core component in Arduino and ESP32 smart cars (front collision avoidance), robot edge detection (preventing the robot from falling off a table), contactless proximity switches, conveyor‑belt object counters, hand‑sanitizer dispensers, and interactive museum exhibits. Its simple 3‑wire interface, low cost, and adjustable distance make it one of the most widely used sensors for beginners and rapid prototyping.