Skip to main content
Home / Sensors / Diffuse Reflection Laser Sensor Line Tracking Module Obstacle Avoidance Distance Black-White Line Following Gray Scale Detection Recognition for Racing Cars

Attributes

Brand -
Category Robotics / STEM Teaching Tools / Sensors
Origin -
Sensor Type Diffuse Reflection Laser
Detection Method Gray Scale & Obstacle Avoidance
Operating Voltage 3.3V - 5V DC
Output Signal Digital TTL Level
Detection Distance 1mm - 25mm (Adjustable)
Indicator LED Power and Status LEDs Included
Mounting Hole Diameter 3mm
PCB Dimensions 42mm x 16mm x 14mm
Compatible Platforms Arduino, Raspberry Pi, STM32
Application Line Following Robots & Racing Cars

6 reviews

A

Anonymous

Mar 31, 2026

Rating: 3/5

Sensitive to ambient light

It works well indoors, but when I took my robot outside, the sunlight interfered with the sensor readings. You might need to build a small shield around it for outdoor use.

A

Anonymous

Mar 30, 2026

Rating: 4/5

Solid performance for the price

For the cost, you really can't beat this module. It handles both line tracking and simple obstacle detection well. Just ensure your power supply is stable.

A

Anonymous

Mar 30, 2026

Rating: 4/5

Good value but needs careful mounting

Works great for obstacle avoidance. You need to mount it at the exact right height though, or the range varies too much. Once positioned correctly, it is very reliable.

A

Anonymous

Mar 13, 2026

Rating: 5/5

Fast response time

I used this for a high-speed line follower. The response time is incredibly fast, allowing my car to take sharp corners without falling off the track. Highly recommended.

A

Anonymous

Mar 11, 2026

Rating: 5/5

Compact and lightweight

The small form factor is perfect for my micro racing car. It didn't add significant weight, and the pinout is standard enough to connect directly to my microcontroller.

A

Anonymous

Mar 11, 2026

Rating: 5/5

Perfect for my sumo bot

The sensitivity adjustment potentiometer makes it very easy to calibrate for different surface colors. It detected the black line on my white track immediately without any lag.

5 FAQ

Q: Is there a library available for Arduino?

A: While there isn't a dedicated library required, the sensor outputs a simple digital HIGH/LOW signal that can be read using the standard digitalRead() function in Arduino IDE.

Q: How do I adjust the detection distance?

A: There is a blue potentiometer on the PCB. Use a small screwdriver to turn it clockwise to increase sensitivity (distance) or counter-clockwise to decrease it.

Q: Can this sensor detect clear glass obstacles?

A: This sensor relies on diffuse reflection, so it may struggle with transparent objects like clear glass as they do not reflect enough light back to the receiver.

Q: What is the maximum current consumption of this module?

A: Under normal operating conditions with the LED active, the module typically consumes around 20mA to 30mA.

Q: Can I connect multiple sensors to one microcontroller?

A: Yes, you can connect as many as you have digital input pins for. Just ensure you share the VCC and GND lines properly across all modules.

Explore your interests

View More
All Categories
Best Seller (30)
New List (30)
Zhonglian Hamburger Food Warmer Display Cabinet 1.2m 1.5m 3-in-1 Warmer Double-Layer Display Cabinet Crisp Keeper

Zhonglian Hamburger Food Warmer Display Cabinet 1.2m 1.5m 3-in-1 Warmer Double-Layer Display Cabinet Crisp Keeper

$3,376.00

A3 Watercolor Paper 300g Thickened Cotton Pulp Fine Grain, A4 Medium Grain for Beginners, 4K Wood Pulp Cotton Blank Hand-Painting Paper, Square Art Coloring Paper, Postcard & Bookmark Paper

A3 Watercolor Paper 300g Thickened Cotton Pulp Fine Grain, A4 Medium Grain for Beginners, 4K Wood Pulp Cotton Blank Hand-Painting Paper, Square Art Coloring Paper, Postcard & Bookmark Paper

$18.90

Sketch Gray Tone Pencils for Art Students, Detail Highlight Blending Stumps, Makeup Sponge Pens, Quick Sketch Eraser Pen Sets

Sketch Gray Tone Pencils for Art Students, Detail Highlight Blending Stumps, Makeup Sponge Pens, Quick Sketch Eraser Pen Sets

$6.46

Disposable Vacuum Cleaner Filter Mesh - Non-Woven Dust Bag with Elastic Band for Home Use

Disposable Vacuum Cleaner Filter Mesh - Non-Woven Dust Bag with Elastic Band for Home Use

$4.50

Systematic 3D Painting Learning Package (Includes 100 Lessons)

Systematic 3D Painting Learning Package (Includes 100 Lessons)

$798.00

6/8/12Pcs Silicone Red Wine Glass Identification Marker Char

6/8/12Pcs Silicone Red Wine Glass Identification Marker Char

$27.44

Stainless Steel Sink Drain Basket – Expandable Kitchen Dish and Vegetable Rack

Stainless Steel Sink Drain Basket – Expandable Kitchen Dish and Vegetable Rack

$12.35

Tungsten Carbide Internal Thread Tool Holder – Anti-Vibration CNC Turning Insert for Small Bore Threading (CNR)

Tungsten Carbide Internal Thread Tool Holder – Anti-Vibration CNC Turning Insert for Small Bore Threading (CNR)

$73.02

Henkel Loctite SICOMET 8400 77 99 40 50 Instant Adhesive for Metal and Rubber with BS Accelerator

Henkel Loctite SICOMET 8400 77 99 40 50 Instant Adhesive for Metal and Rubber with BS Accelerator

$69.00

Colored Pencil Set, Basswood Hexagonal Raw Wood Pencils for Painting and Art Coloring

Colored Pencil Set, Basswood Hexagonal Raw Wood Pencils for Painting and Art Coloring

$21.68

Small Ceramic Herb Jar – Imperial Yellow Hexagonal Double-Layer Container for Angong Niuhuang Wan Pills

Small Ceramic Herb Jar – Imperial Yellow Hexagonal Double-Layer Container for Angong Niuhuang Wan Pills

$8.80

Spanish Brush Master ESCODA PERLA Pearl White Toray Nylon Round Watercolor Brush, Short Handle 1430

Spanish Brush Master ESCODA PERLA Pearl White Toray Nylon Round Watercolor Brush, Short Handle 1430

$44.20

Qiwei COD Rapid Detector QW-COD-T/B - Chemical Oxygen Demand Tester with Potassium Dichromate Digestion for Wastewater

Qiwei COD Rapid Detector QW-COD-T/B - Chemical Oxygen Demand Tester with Potassium Dichromate Digestion for Wastewater

$3,330.16

Natural Wheat Straw Baby Rattle - Children's Musical Instrument Toy, Maraca, Shaker Bell for Newborns - Orff Music Instrument

Natural Wheat Straw Baby Rattle - Children's Musical Instrument Toy, Maraca, Shaker Bell for Newborns - Orff Music Instrument

$10.80

CANDLE.LAB | 100% Cotton Unwaxed Candle Wick Roll - Thin Stem Chandelier Candle Making Supplies #31

CANDLE.LAB | 100% Cotton Unwaxed Candle Wick Roll - Thin Stem Chandelier Candle Making Supplies #31

$25.00

Pneumatic Rotary Vibrator - Feiyu GT25 Pneumatic Vibrator - Quality Guaranteed

Pneumatic Rotary Vibrator - Feiyu GT25 Pneumatic Vibrator - Quality Guaranteed

$997.00

Quick-Frozen Vegetable Deodorizing Sterilization Washer IRW Zhongfang Ready-to-Cook Vegetable Production Washing Line Semi-Finished Vegetable Processing Oxygen Equipment

Quick-Frozen Vegetable Deodorizing Sterilization Washer IRW Zhongfang Ready-to-Cook Vegetable Production Washing Line Semi-Finished Vegetable Processing Oxygen Equipment

$27,000.00

KETELES 105R7120 Carbon Fiber Road Bike - Lightweight Racing Bicycle with Gear Shifter

KETELES 105R7120 Carbon Fiber Road Bike - Lightweight Racing Bicycle with Gear Shifter

$11,339.00

Natural White Crystal Sugar Cube DIY Crystal Jewelry Accessories Materials Irregular White Crystal Blocks

Natural White Crystal Sugar Cube DIY Crystal Jewelry Accessories Materials Irregular White Crystal Blocks

$2.50

Foldable Silicone Brush Washing Bucket - Portable Water Container for Calligraphy and Painting Students

Foldable Silicone Brush Washing Bucket - Portable Water Container for Calligraphy and Painting Students

$8.42

Cute Cartoon Bird Ceramic Brush Washer - Decorative Pen Cleaning Cup and Photo Prop

Cute Cartoon Bird Ceramic Brush Washer - Decorative Pen Cleaning Cup and Photo Prop

$12.60

Kitchen Storage Rack with Drainage Tray – Organizer for Dishcloths, Faucets, Sink Areas, and Dishwashing Supplies

Kitchen Storage Rack with Drainage Tray – Organizer for Dishcloths, Faucets, Sink Areas, and Dishwashing Supplies

$4.15

Sheng Y Graffiti Paint Brush Set, Children's Stationery Kit with Art Watercolor Pens, Factory Direct Gift Supplies

Sheng Y Graffiti Paint Brush Set, Children's Stationery Kit with Art Watercolor Pens, Factory Direct Gift Supplies

$49.10

Ningbo Manufacturer Display and Storage Rack, Wall-Mounted Tire Storage for Home Garage, Customizable Wall Tire Rack

Ningbo Manufacturer Display and Storage Rack, Wall-Mounted Tire Storage for Home Garage, Customizable Wall Tire Rack

$237.60

Universal Low-Temperature 3D Printing Pen Filament PCL, Eco-Friendly Material Wire 1.75mm Compatible with Deli Pens, 40 Color Options

Universal Low-Temperature 3D Printing Pen Filament PCL, Eco-Friendly Material Wire 1.75mm Compatible with Deli Pens, 40 Color Options

$3.80

Automatic Feeder - Stainless Steel Food Machinery Accessory Equipment

Automatic Feeder - Stainless Steel Food Machinery Accessory Equipment

$20,150.00

Henkel Loctite Super Glue Series: 401, 406, 460, 480, 495, 4011, 4161, 496, 382, 410

Henkel Loctite Super Glue Series: 401, 406, 460, 480, 495, 4011, 4161, 496, 382, 410

$28.00

Over-Toilet Storage Rack with Tissue Organizer for Bathroom, Vanity, and Shower Gel - Multi-Use Bathroom Shelf

Over-Toilet Storage Rack with Tissue Organizer for Bathroom, Vanity, and Shower Gel - Multi-Use Bathroom Shelf

$27.66

15-inch Carbon Fiber FPV Drone Frame - High-Strength Quadcopter Aerial Photography Chassis Direct Sale

15-inch Carbon Fiber FPV Drone Frame - High-Strength Quadcopter Aerial Photography Chassis Direct Sale

$396.44

Petal-Shaped Ceramic Tea Scoop and Holder for Gongfu Tea Ceremony

Petal-Shaped Ceramic Tea Scoop and Holder for Gongfu Tea Ceremony

$97.00