The Digital Single-Channel Photoelectric Line Tracker Sensor is a compact, easy-to-use grayscale detection module designed for line-following robots, edge detection, and DIY robotics projects. It uses a white light photoelectric sensor to detect the difference between light and dark surfaces, providing a clean digital output that indicates whether the sensor is over a white surface or a black line. The module comes with a 30cm 3PIN XH2.54 to Dupont cable, making it ready to connect to your microcontroller right out of the box.
At the heart of the module is a white light LED emitter paired with a phototransistor receiver. The emitter projects white light downward onto the surface, and the phototransistor measures the intensity of the reflected light. When the sensor is over a white surface (high reflectivity), the reflected light is strong, and the output is typically LOW. When over a black line (low reflectivity), the reflected light is weak, and the output is typically HIGH. This binary detection allows a robot to determine its position relative to a line and make steering decisions.
The module features a single digital output that connects directly to a microcontroller’s digital input pin. An onboard potentiometer allows you to adjust the detection sensitivity, making it easy to calibrate for different surface colors, line contrasts, and ambient lighting conditions. An LED indicator provides real-time visual feedback, showing the current detection state at a glance.
The white light sensing element offers advantages over infrared sensors in certain applications. White light sensors can detect colored lines and markings that may not be visible to infrared sensors, making them suitable for applications involving colored tape, printed patterns, or grayscale detection. This makes the module particularly useful for competition robots that need to follow colored lines or detect specific markings.
The module operates from a 3.3V to 5V DC supply, making it compatible with Arduino, ESP32, STM32, Raspberry Pi, and other microcontrollers. The compact PCB design with mounting holes allows easy integration into robot chassis and custom enclosures. The included 30cm cable with XH2.54 to Dupont connectors simplifies wiring and reduces setup time.
The module is widely used in line-following robots, maze-solving robots, edge detection systems, grayscale detection, obstacle avoidance, and educational STEM projects. It is also popular in DIY robotics kits and competition robots where reliable line detection is essential.
Important Note: The module is not waterproof and should be mounted 5–15mm above the surface for optimal detection. Performance can be affected by ambient light sources (such as sunlight or strong indoor lighting) and highly reflective surfaces. For best results, use the module in controlled lighting conditions and calibrate the potentiometer for your specific surface.
Whether you are building a line-following robot, an edge detection system, or a STEM educational kit, the Digital Single-Channel Photoelectric Line Tracker Sensor provides a reliable, affordable solution with the convenience of an included cable. It is suitable for individual makers, students, and businesses purchasing in bulk for product development or educational programs.
Features
-
Single-channel photoelectric sensing — White light LED emitter with phototransistor receiver
-
Digital output — Clean HIGH/LOW signal for easy MCU integration
-
Adjustable sensitivity — Onboard potentiometer for calibration
-
LED indicator — Real-time visual feedback for detection state
-
White light sensing — Can detect colored lines and markings that infrared sensors may miss
-
Wide voltage range — 3.3V to 5V DC, compatible with Arduino, ESP32, STM32, Raspberry Pi
-
30cm cable included — XH2.54 to Dupont connectors for easy connection
-
Compact PCB design — With mounting holes for easy integration
-
Wide application range — Line-following robots, edge detection, grayscale detection, competitions
-
Cost-effective — Affordable solution for line detection in volume production
Technical Specifications
| # | Parameter | Specification |
|---|---|---|
| 1 | Sensor Type | White light photoelectric (LED + phototransistor) |
| 2 | Number of Channels | 1 (single-channel) |
| 3 | Operating Voltage | 3.3V – 5V DC |
| 4 | Output Type | Digital (HIGH/LOW) |
| 5 | Detection Height | 5 – 15mm (recommended) |
| 6 | Sensitivity Adjustment | Onboard potentiometer |
| 7 | Indication | LED indicator |
| 8 | Included Cable | 30cm 3PIN XH2.54 to Dupont |













