Skip to main content
Home / Computer Hardware, Monitors & Peripherals / Infrared Obstacle Avoidance Module for Robots - Adjustable Black/White Line Detection Reflective Photoelectric Switch

Attributes

Brand -
Category Electronic Components / Maker DIY / Computer Hardware, Monitors & Peripherals
Origin -
Operating Voltage 3.3V - 5V DC
Detection Range 2cm - 40cm (Adjustable)
Interface Type 3-Pin TTL Output
Comparator Chip LM393
PCB Dimensions 32mm x 14mm
Mounting Hole Diameter 3mm
Output Signal Digital Switch Output (0 and 1)
Indicator LED Power & Detection Status
Current Consumption < 30mA
Compatibility Arduino, Raspberry Pi, STM32

5 reviews

A

Anonymous

Apr 13, 2026

Rating: 5/5

Perfect for my sumo bot

Works flawlessly with Arduino Uno. The potentiometer makes tuning the distance easy.

A

Anonymous

Apr 06, 2026

Rating: 5/5

Reliable detection

Bought 10 units. All worked out of the box. No dead pixels on IR.

A

Anonymous

Mar 16, 2026

Rating: 5/5

Easy to integrate

Simple 3-pin connection. Documentation could be better but easy to figure out.

A

Anonymous

Feb 08, 2026

Rating: 5/5

Great for line following

Used these for a line follower project. Detects black tape on white surface perfectly.

A

Anonymous

Jan 28, 2026

Rating: 4/5

Good value

Solid sensor for the price. Range is accurate once calibrated.

5 FAQ

Q: What is the maximum detection range?

A: Approximately 40cm under ideal conditions, adjustable via potentiometer.

Q: Can it detect transparent objects?

A: IR sensors struggle with transparent materials like glass. Best for opaque objects.

Q: Does this work with 3.3V logic?

A: Yes, it operates between 3.3V and 5V.

Q: Is the output analog or digital?

A: This module provides a digital TTL output signal.

Q: How do I adjust the sensitivity?

A: Use the blue potentiometer on the board. Clockwise increases sensitivity.

Explore your interests

View More
All Categories
Best Seller (30)
New List (30)
Smart Toilet Storage Rack for Bathroom, Multi-Tier Floor-Standing Organizer with Waterproof Tissue Holder

Smart Toilet Storage Rack for Bathroom, Multi-Tier Floor-Standing Organizer with Waterproof Tissue Holder

$273.00

Yihuashu Calligraphy Felt Mat - Thickened Grid Cloth for Student Practice, Brush Writing Pad

Yihuashu Calligraphy Felt Mat - Thickened Grid Cloth for Student Practice, Brush Writing Pad

$1.98

Xiankan Yunshu [Danran] Ceramic Brush Washer - Hand-Painted Elegant Lily Design under Glaze for Calligraphy Supplies

Xiankan Yunshu [Danran] Ceramic Brush Washer - Hand-Painted Elegant Lily Design under Glaze for Calligraphy Supplies

$32.90

Chunfei Grocery Store Commuter Hard Fork Low-Step Mountain Bike for Road, City, Suburb, School, and Outings

Chunfei Grocery Store Commuter Hard Fork Low-Step Mountain Bike for Road, City, Suburb, School, and Outings

$2,224.64

Zhang Xiaofeng 'Fu Lu' Hotpot Inkstone Set – Covered Ceramic Ink Well for Calligraphy and Chinese Painting

Zhang Xiaofeng 'Fu Lu' Hotpot Inkstone Set – Covered Ceramic Ink Well for Calligraphy and Chinese Painting

$38.00

Invisalign Orthodontic Retainer Case, Portable Storage and Cleaning Box for Aligners and Dentures

Invisalign Orthodontic Retainer Case, Portable Storage and Cleaning Box for Aligners and Dentures

$12.30

Natural 7A Lavender Loose Beads Single Round Bead DIY Amethyst Spacer Beads Jewelry Making Semi-Finished Accessories

Natural 7A Lavender Loose Beads Single Round Bead DIY Amethyst Spacer Beads Jewelry Making Semi-Finished Accessories

$0.88

Paint Brush Cleaner - Mini Toilet Style Rinser for Watercolor and Gouache, Art Supply with Circulating Water System

Paint Brush Cleaner - Mini Toilet Style Rinser for Watercolor and Gouache, Art Supply with Circulating Water System

$16.90

Traditional Wooden Rattle Drum with Sheepskin Head for Early Education, Visual Tracking and Hearing Training for Newborn Boys and Girls

Traditional Wooden Rattle Drum with Sheepskin Head for Early Education, Visual Tracking and Hearing Training for Newborn Boys and Girls

$10.80

Car Tire Stone Removal Hook, Stainless Steel Multi-Function Tool for Cleaning Pebbles from Tires

Car Tire Stone Removal Hook, Stainless Steel Multi-Function Tool for Cleaning Pebbles from Tires

$6.21

Factory Direct Mining Round Link Chains - High Cost-Performance Lifting Chains for Mining Applications

Factory Direct Mining Round Link Chains - High Cost-Performance Lifting Chains for Mining Applications

$153.00

Hangzhou Stomatological Hospital Dental Implant Initial Consultation Package – CT Scan, Missing Tooth Exam, and Custom Implant Plan Design

Hangzhou Stomatological Hospital Dental Implant Initial Consultation Package – CT Scan, Missing Tooth Exam, and Custom Implant Plan Design

$1.00

Rockschool Acoustic Guitar Method Book (Chinese Edition) – Folk & Rock Guitar Grading Curriculum for Schools

Rockschool Acoustic Guitar Method Book (Chinese Edition) – Folk & Rock Guitar Grading Curriculum for Schools

$145.00

Commercial Food Warmer Cabinet, Small Heating Thermostat Display Counter for French Fries, Egg Tarts, Enlarged Chestnuts, and Fried Chicken

Commercial Food Warmer Cabinet, Small Heating Thermostat Display Counter for French Fries, Egg Tarts, Enlarged Chestnuts, and Fried Chicken

$334.00

Natural Green Peridot Crushed Stone, Small Raw Particles for Demagnetizing Energy, Aquarium Landscaping DIY Accessories

Natural Green Peridot Crushed Stone, Small Raw Particles for Demagnetizing Energy, Aquarium Landscaping DIY Accessories

$8.50

3M 5-Inch Flocked Abrasive Disc with Hook-and-Loop Backing – Polishing Pad for Angle Grinders, Rust Removal & Cleaning

3M 5-Inch Flocked Abrasive Disc with Hook-and-Loop Backing – Polishing Pad for Angle Grinders, Rust Removal & Cleaning

$3.20

Children DIY Art Rubbing Stick Round Painting Sponge Brush Graffiti Stamp Tool Kindergarten Rubbing Materials

Children DIY Art Rubbing Stick Round Painting Sponge Brush Graffiti Stamp Tool Kindergarten Rubbing Materials

$2.61

Over-Toilet Storage Rack for Bathroom - Organizer for Tissue, Toiletries, and Body Wash

Over-Toilet Storage Rack for Bathroom - Organizer for Tissue, Toiletries, and Body Wash

$23.46

Magbase Cable Organizer with Dual Strong Magnets for Car, Office, and Home - Holds Power Cables, Ethernet, and Charging Cables

Magbase Cable Organizer with Dual Strong Magnets for Car, Office, and Home - Holds Power Cables, Ethernet, and Charging Cables

$24.90

Multi-Purpose Industrial Wiping Cloth 30*35 - Lint-Free Oil-Absorbent Paper for Aviation, Metro, and Rail Systems

Multi-Purpose Industrial Wiping Cloth 30*35 - Lint-Free Oil-Absorbent Paper for Aviation, Metro, and Rail Systems

$98.00

Commercial Electric Dicing Machine - Multi-Function Slicer for Carrots and Potatoes

Commercial Electric Dicing Machine - Multi-Function Slicer for Carrots and Potatoes

$852.00

[Single Pack] Handwoven Bird Nest Drop Net Cotton Rope Crochet Fruit Mesh Bag Storage Organizer

[Single Pack] Handwoven Bird Nest Drop Net Cotton Rope Crochet Fruit Mesh Bag Storage Organizer

$10.36

Car Tire Lug Nuts - External Hex Cone Seat Wheel Bolts for Custom Rims

Car Tire Lug Nuts - External Hex Cone Seat Wheel Bolts for Custom Rims

$80.00

Infant Sheepskin Rattle Baby Toy for Courage Building, Solid Wood Unpainted Chewable Glue-Free Version for Audio-Visual Grasping Early Education

Infant Sheepskin Rattle Baby Toy for Courage Building, Solid Wood Unpainted Chewable Glue-Free Version for Audio-Visual Grasping Early Education

$18.25

New Transparent Heat-Preserving Display Case for Roast Duck - Commercial Crispy Pork Belly Warmer with Eco-Friendly Design

New Transparent Heat-Preserving Display Case for Roast Duck - Commercial Crispy Pork Belly Warmer with Eco-Friendly Design

$636.00

Electric Watercolor Spray Pen Children Hand-painted Color Pa

Electric Watercolor Spray Pen Children Hand-painted Color Pa

$46.55

Meiyike Water-Soluble Fertilizer with Major Elements – Hua Duo Duo No.1, No.2, No.10 Formulas, High Nitrogen, Phosphorus, Potassium Specialized Compound Fertilizer

Meiyike Water-Soluble Fertilizer with Major Elements – Hua Duo Duo No.1, No.2, No.10 Formulas, High Nitrogen, Phosphorus, Potassium Specialized Compound Fertilizer

$49.34

Waterproof Swim Bag, Wet Clothes Storage Tote with Handle, Large-Capacity Outdoor Hot Spring Pouch Dedicated for Mobile Phones

Waterproof Swim Bag, Wet Clothes Storage Tote with Handle, Large-Capacity Outdoor Hot Spring Pouch Dedicated for Mobile Phones

$59.96

Magic Expandable Bag, Foldable Shopping Tote, Portable Large-Capacity Storage for Grocery, Travel, and Mall Trips

Magic Expandable Bag, Foldable Shopping Tote, Portable Large-Capacity Storage for Grocery, Travel, and Mall Trips

$6.80

Dancolin Blending Stump Set for Oil Pastels, Art Student Tools for Heavy-Color Oil Painting, Dual-Tip Pointed and Round DIY Soft Wax Drawing, Smudging, Mixing, Highlighting, Erasable Knife for Painting and Color Blending

Dancolin Blending Stump Set for Oil Pastels, Art Student Tools for Heavy-Color Oil Painting, Dual-Tip Pointed and Round DIY Soft Wax Drawing, Smudging, Mixing, Highlighting, Erasable Knife for Painting and Color Blending

$16.80