KY-032 IR Obstacle Sensor 4-Wire 3-80cm Adjustable Distance for Smart Car Robot Line Tracking Anti-Interference for Arduino

KY-032 IR Obstacle Sensor 4-Wire 3-80cm Adjustable Distance for Smart Car Robot Line Tracking Anti-Interference for Arduino

1 pcs KY-032
$10.62
Sale price  $10.62 Regular price  $0.00
Skip to product information
KY-032 IR Obstacle Sensor 4-Wire 3-80cm Adjustable Distance for Smart Car Robot Line Tracking Anti-Interference for Arduino
KY-032 IR Obstacle Sensor 4-Wire 3-80cm Adjustable Distance for Smart Car Robot Line Tracking Anti-Interference for Arduino
$10.62
Sale price  $10.62 Regular price  $0.00
Color1 pcs KY-032
Description

SPECIFICATIONS

Brand Name: NONE

Choice: yes

High-concerned chemical: none

Material: Metal

Origin: Mainland China

Output: Switching Transducer

Theory: Hall Sensor

Type: Optical-Electronics Sensor

Use: Position Sensor

is_customized: Yes

KY-032 Infrared Obstacle Avoidance Sensor Module 4pin 2-40cm Adjustable for Arduino Smart Car Robot DIY

Key Features & Benefits

🚗 Adjustable Range: 2-40cm detection distance, adjustable via potentiometer.

🔌 4-Pin Interface: VCC, GND, OUT, EN – 3.3V/5V compatible.

🎛️ Enable Control: EN pin for power saving.

⚙️ Frequency Adjustment: Dual potentiometers for fine tuning.

🧩 Fast Response: Ideal for obstacle avoidance, line tracking, drop prevention.

🌍 Wide Compatibility: Arduino, STM32, 51 MCU.

Product Description

Need obstacle avoidance for your smart car? KY-032 infrared sensor module is the perfect choice. Detection range 2-40cm adjustable, TTL output (0=obstacle, 1=clear). Enable pin for power control. Dual potentiometers for tuning. Perfect for robot obstacle avoidance, line tracking, counting.

⚡ Quick Start Guide & Important Tips

⚠️ Important:

Enable: Short EN to GND (jumper cap) for normal operation.

Adjustment: Turn 502 pot fully clockwise, then adjust 103 pot against white wall for max range.

Dark objects: Reduce detection distance.

Power: 3.3-5V only.

🔹 Arduino Code

int ledPin = 13;
int sensorPin = 3;
void setup() {
pinMode(ledPin, OUTPUT);
pinMode(sensorPin, INPUT);
}
void loop() {
if (digitalRead(sensorPin) == LOW) {
digitalWrite(ledPin, HIGH);
} else {
digitalWrite(ledPin, LOW);
}
delay(50);
}

🔹 Common Questions

❓ Short detection range?
Adjust potentiometers, check power, dark objects reduce range.

❓ Output always LOW?
Check EN pin grounded, no obstacle in range, adjust sensitivity.

❓ Line tracking?
Works but TCRT5000 is better for line tracking.

Specifications
Voltage: 3.3V – 5V

Current: 20mA

Range: 2-40cm adjustable

Output: TTL (0/1)

Angle: 35°

Interface: 4pin

Size: 45×11mm

Note: Manual measurement, allow 1‑3mm error. Colors may vary.


Free Shipping Over $199
  • Standard Shipping: Standard Shipping (12–18 Business Days)
  • Express Shipping: Expedited Shipping (5–9 Business Days)
  • Free Shipping: Orders over $199 qualify automatically
  • Tracking: Full tracking number provided for all orders
30-Day Return Policy
  • Returns: 30-day hassle-free return window
  • Condition: Items must be unused and in original packaging
  • Refund: Full refund processed within 3-5 business days
Why Choose Us?
  • Factory Direct: ISO/TS 16949 certified manufacturer
  • Quality: 100% electrical continuity tested before shipment
  • Experience: 15+ years in automotive connector industry
  • Support: Professional technical support available
Secure Payment Latest encryption technology
Money-Back Guarantee 30-day hassle-free returns
Quality Assured Factory certified products
Global Fast Shipping Worldwide express delivery

You may also like

Contact us

Subscribe to our emails

Be the first to know about new collections and special offers.