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)
408 Fast-Drying Glue - Strong Low-Whitening Instant Adhesive for Metal and Plastic, Heat Resistant

408 Fast-Drying Glue - Strong Low-Whitening Instant Adhesive for Metal and Plastic, Heat Resistant

$53.12

UE5.1-5.7 Ancient Sci-Fi Gate Model Instrument Consultation

UE5.1-5.7 Ancient Sci-Fi Gate Model Instrument Consultation

$2.00

Biliansheng Hair Transplant - Non-Shave Female Hairline Restoration & Density Enhancement

Biliansheng Hair Transplant - Non-Shave Female Hairline Restoration & Density Enhancement

$19,999.00

Water Brush Pen Set Large Capacity Beginner Gouache Solid Watercolor Paint Brush Tools Line Drawing Art Student

Water Brush Pen Set Large Capacity Beginner Gouache Solid Watercolor Paint Brush Tools Line Drawing Art Student

$32.00

Beginner Watercolor Painting Line Art Coloring Book, Hua Meng Lv Ren by Stan, Fine Texture, 2-Pack Free Shipping

Beginner Watercolor Painting Line Art Coloring Book, Hua Meng Lv Ren by Stan, Fine Texture, 2-Pack Free Shipping

$10.60

New Wanli Tire 265/45R21 SU306+ - Compatible with AITO M7, BYD Tang, Range Rover, Li Auto, and NIO

New Wanli Tire 265/45R21 SU306+ - Compatible with AITO M7, BYD Tang, Range Rover, Li Auto, and NIO

$528.00

Suzhou Factory Wholesale Chain Store Logo - RGB Illuminated Letters, Acrylic Neon Signs for Window and Counter Display

Suzhou Factory Wholesale Chain Store Logo - RGB Illuminated Letters, Acrylic Neon Signs for Window and Counter Display

$1,911.00

RoHS 1.0 Environmental Tester for Alloy Analysis and Heavy Metal Detection in Plastic Toys

RoHS 1.0 Environmental Tester for Alloy Analysis and Heavy Metal Detection in Plastic Toys

$15.30

Mont Marte Long-Handle Bristle Brush – Professional Art Brush for Acrylics, Oil Painting, and Flat Wash Techniques

Mont Marte Long-Handle Bristle Brush – Professional Art Brush for Acrylics, Oil Painting, and Flat Wash Techniques

$37,500.00

Portable Plastic Backpack Fertilizer Bucket for Manual Fruit Picking, Seed Feeding, and PPC Fertilization

Portable Plastic Backpack Fertilizer Bucket for Manual Fruit Picking, Seed Feeding, and PPC Fertilization

$9.50

Chinese-Style Hand-Drawn Plant Line Art Coloring Book on 100% Cotton Watercolor Paper

Chinese-Style Hand-Drawn Plant Line Art Coloring Book on 100% Cotton Watercolor Paper

$15.80

Eagle Brand 99021 Industrial Scouring Pads, Cleaning Cloths, and Polishing Pads Supply

Eagle Brand 99021 Industrial Scouring Pads, Cleaning Cloths, and Polishing Pads Supply

$666.00

Pad Printing Machine Parts - Zhongke 4-Inch Blade Clamp, Blade Holder, and Doctor Blade Frame (In Stock)

Pad Printing Machine Parts - Zhongke 4-Inch Blade Clamp, Blade Holder, and Doctor Blade Frame (In Stock)

$4.50

Pneumatic Throttle Valve Quick Connect Fitting SL4-01/4-02/4-03 Air Pressure Regulator Flow Control Valve

Pneumatic Throttle Valve Quick Connect Fitting SL4-01/4-02/4-03 Air Pressure Regulator Flow Control Valve

$8.60

Pad Printing Silicone Rubber Heads Electric Long Round Square Durable Customizable 30-Year Established Store

Pad Printing Silicone Rubber Heads Electric Long Round Square Durable Customizable 30-Year Established Store

$3.00

Specialized Vegetable Growing Box - Foam Balcony Planter, Rectangular Plastic Pot for Home Gardening

Specialized Vegetable Growing Box - Foam Balcony Planter, Rectangular Plastic Pot for Home Gardening

$41.70

Candy Naoko Gujima Mr. Saxophone City Pop Sheet Music with Accompaniment Demo

Candy Naoko Gujima Mr. Saxophone City Pop Sheet Music with Accompaniment Demo

$37.00

Multi-Color Detachable Water Bucket Stand - Office Purified Water Dispenser Holder (Inverted)

Multi-Color Detachable Water Bucket Stand - Office Purified Water Dispenser Holder (Inverted)

$60.95

Oil-Based Original Strong Fast-Drying Adhesive for Metal, Plastic, Rubber, Ceramics, and Wood, Multi-Purpose Transparent Glue (Not 502)

Oil-Based Original Strong Fast-Drying Adhesive for Metal, Plastic, Rubber, Ceramics, and Wood, Multi-Purpose Transparent Glue (Not 502)

$21.60

Jay Chou - Feng BROTHER_CHAO Piano Accompaniment Sheet Music

Jay Chou - Feng BROTHER_CHAO Piano Accompaniment Sheet Music

$50.00

Toplip Automatic Retractable Air Hose Reel, Water Drum, High-Pressure Foam Drum for Pneumatic Tools and Auto Repair

Toplip Automatic Retractable Air Hose Reel, Water Drum, High-Pressure Foam Drum for Pneumatic Tools and Auto Repair

$118.00

500L Yogurt Production Line - Stand-Up Pouch Filling Machine with Complete Dairy Processing Equipment and Fermentation Tank

500L Yogurt Production Line - Stand-Up Pouch Filling Machine with Complete Dairy Processing Equipment and Fermentation Tank

$13,720.00

5A Grade Uruguay Natural Deep Purple Amethyst Loose Beads DIY Crystal Accessories Amethyst Loose Round Beads Semi-Finished

5A Grade Uruguay Natural Deep Purple Amethyst Loose Beads DIY Crystal Accessories Amethyst Loose Round Beads Semi-Finished

$1.20

Car Vacuum Cleaner - High Suction, Compact, Silent, and High-Power

Car Vacuum Cleaner - High Suction, Compact, Silent, and High-Power

$68.89

Fifty Seven-Character Quatrains in Wang Xizhi's Running Script Calligraphy

Fifty Seven-Character Quatrains in Wang Xizhi's Running Script Calligraphy

$67.00

Food-Grade Square Retainer Storage Case for Orthodontic Aligners and Dentures

Food-Grade Square Retainer Storage Case for Orthodontic Aligners and Dentures

$6.72

365-Day Electric Guitarist Training Plan by Toshiro Miyako – Rock Electric Guitar Chinese Tutorial

365-Day Electric Guitarist Training Plan by Toshiro Miyako – Rock Electric Guitar Chinese Tutorial

$53.00

Portable Invisible Aligner Case - Compact Breathable Box for Orthodontic Retainers, Dentures, and Cleaning Storage

Portable Invisible Aligner Case - Compact Breathable Box for Orthodontic Retainers, Dentures, and Cleaning Storage

$18.80

Makeup Room Shelf Triangle Bathroom Corner Storage Rack No-Drill Wall-Mounted Vanity Organizer

Makeup Room Shelf Triangle Bathroom Corner Storage Rack No-Drill Wall-Mounted Vanity Organizer

$23.82

Stainless Steel Sink Organizer for Sponges and Steel Wool - Drill-Free Dishwashing Pad Rack with Drainage

Stainless Steel Sink Organizer for Sponges and Steel Wool - Drill-Free Dishwashing Pad Rack with Drainage

$9.50