Store

Little Bird

$3.37 $7.94 Save 58% |
In stock
No reviews yet

The infrared obstacle sensor is a compact IR proximity module designed for robotics and automation projects. It detects obstacles within a 2–40 cm range and ...

Estimated Delivery
Arrives
Disclaimer
View Markdown
Secure checkout

The infrared obstacle sensor is a compact IR proximity module designed for robotics and automation projects. It detects obstacles within a 2–40 cm range and outputs a TTL-level signal, making it easy to integrate with Arduino and other microcontrollers.

The detection distance is adjustable via a multi-turn potentiometer, and the sensor features an enable pin for programmatic control. Operating on 3.3–5V, it's compatible with both 3.3V and 5V logic systems.

Key Features

  • Adjustable Detection Range – 2–40 cm, tuneable via multi-turn potentiometer
  • TTL Output – Low when obstacle detected, high when clear
  • Wide Voltage Range – Works with 3.3V and 5V systems
  • Enable Pin – Programmatically enable or disable the sensor
  • 35° Effective Angle – Focused detection cone for precise obstacle sensing
  • Compact Size – 28 × 23 mm

Specifications

  • Interface – 4-wire (GND / VCC / Signal / Enable)
  • Working Voltage – DC 3.3–5V
  • Working Current – ≥ 20mA
  • Detection Distance – 2–40 cm
  • Effective Angle – 35°
  • Operating Temperature – -10°C to +50°C
  • Board Size – 28 × 23 mm

Pinout

  • + – Power (3.3–5V)
  • GND – Ground
  • OUT – Signal output (TTL)
  • EN – Enable pin

Example Code

⚡ Arduino
void setup() {
  Serial.begin(9600);
  pinMode(9, INPUT); // Sensor output pin
}

void loop() {
  Serial.print("Sensor: ");
  Serial.println(digitalRead(9));
  delay(500);
}

Ideal For

  • Robot obstacle avoidance
  • Proximity detection systems
  • Automated line-following or maze-solving robots
  • Arduino and microcontroller beginner projects

Package Contents

  • 1× Infrared obstacle sensor

Jargon buster

Plain-language definitions for the technical terms used above.

microcontroller
A microcontroller is a small computer on a chip that runs your program and controls connected inputs and outputs. For this product, it is the part that reads buttons and sensors, drives the display and speaker, and communicates over Bluetooth.
potentiometer
A variable resistor usually turned with a knob or shaft to create an adjustable electrical signal. It is often used for inputs such as volume, brightness or position, so it helps beginners learn how a microcontroller reads changing values.
Stella
Stella Expert

Ask me anything about this product

Maddy, co-founder of Little Bird

Need help? We're here for you!

Hi, I'm Maddy. My team and I are ready to help with your order or any questions.