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

All Categories
Best Seller (30)
New List (30)
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

Shanlian Hubei Brush Small Perfect Brush Washer - Ceramic Ink Dish, Calligraphy Cleaning Tool, Moisturizing Water Pot, Art Supply Decor

Shanlian Hubei Brush Small Perfect Brush Washer - Ceramic Ink Dish, Calligraphy Cleaning Tool, Moisturizing Water Pot, Art Supply Decor

$14.20

Yanyu Mineral Water Fish Tank Stand - Triangular Bracket for Inverted Bottle Self-Made Water Circulation System

Yanyu Mineral Water Fish Tank Stand - Triangular Bracket for Inverted Bottle Self-Made Water Circulation System

$17.05

Jingdezhen Pink Peony Flourishing Tea Canister Ceramic Lidded Loose Tea Storage Jar CYG-4578 One Jin Capacity Pu'er

Jingdezhen Pink Peony Flourishing Tea Canister Ceramic Lidded Loose Tea Storage Jar CYG-4578 One Jin Capacity Pu'er

$450.60

Round Sponge Brush Stamp with Mushroom Head – Printing Tool for Kindergarten Art and Kids' Crafts

Round Sponge Brush Stamp with Mushroom Head – Printing Tool for Kindergarten Art and Kids' Crafts

$0.27

Metal Wick Centering Tool with Wooden Base for DIY Scented Candle Making

Metal Wick Centering Tool with Wooden Base for DIY Scented Candle Making

$1.28

Custom Temporary Bank Account Opening Sign, Company Signboard, Stainless Steel Door Plate, PVC Simple Plaque, Acrylic Advertising Board

Custom Temporary Bank Account Opening Sign, Company Signboard, Stainless Steel Door Plate, PVC Simple Plaque, Acrylic Advertising Board

$15.20

Natural Raw Crystal Diffuser Stones 500g - Same Style as Certain Summer Brand, Flameless Indoor Decor (White, Green, Purple, Yellow, Black, Blue)

Natural Raw Crystal Diffuser Stones 500g - Same Style as Certain Summer Brand, Flameless Indoor Decor (White, Green, Purple, Yellow, Black, Blue)

$10.20