Pathfinder 16-Way Sensor (LineSensor16)

LNS-16-PRO · COMPETITION
Pathfinder 16-Way Sensor (LineSensor16)

A 16-channel wide view: stays on the line through fast turns, detects intersections automatically, and uses just 1 hub port.

MSRP US$120 (shipping not included)

Choose edition:
16sensing channels
1 porton your hub
Autofork & intersection detection
EditionsSPIKE, EV3, Universal I2C
PowerPowered by the controller, no battery needed
Warranty6 months

WRO RoboMission: allowed in all age groups
WRO rules check · Other competitions · Where to buy

① Pick your host

Only hosts this product supports are listed; pick one, then your software, and the page covers just that software.

Interactive tutorial

No hub needed: click through it in your browser. Pick a function on the left, watch the code or blocks build up on the right, and drag the simulated sensor to see the values.

Interactive tutorials for all products →

Note

Editions: choose the one that matches your controller Each edition's connector and protocol are optimized for its controller, so editions are not interchangeable:

  1. SPIKE Edition: Uses LPF2 (Lego 6-pin) flat socket. Compatible ONLY with SPIKE Prime and Robot Inventor hubs (SPIKE Essential is not supported).
  2. EV3 Edition: Uses RJ12 (Lego specific 6-pin) socket. Compatible ONLY with EV3 hubs.
  3. ∿ Universal I2C Edition: Uses standard pin headers/XH2.54 ports. Designed for Arduino, ESP32, Raspberry Pi, etc.
  4. MakeBlock Edition: Connects to an RJ25 port through the mBot socket board. For mBot, mBot Ranger and other Makeblock boards (mBlock 5 blocks).

Please select the hardware version corresponding to your hub system. The physical connectors differ completely.


Product Overview & Hardware Advantages

When robots engage in extremely high-speed line following, a narrow field of view often causes them to completely lose the line during sharp turns. Competitors used to physically patch two 8-way sensors together, wasting a precious hub port and increasing program complexity. The Pathfinder 16-Way fundamentally solves this. It provides a massive 16-channel array taking up only ONE port!

  • Double the Vision: Features 16 anti-interference infrared units spanning the entire width of the robot. Never lose the track again on sharp turns.
  • Single Port Efficiency: Eliminates the need to use two hub ports, freeing up space for more motors or mechanisms.
  • Competition-Grade Reliability: Fully inherits the advanced anti-interference core of the Line8, remaining stable on the most complex WRO maps.

Hardware Wiring

Just like connecting a LEGO sensor! Use a standard connection cable and plug it directly into the SPIKE or EV3 hub.

  1. Find the Port: The port on the sensor is on the side.
  2. Use the Cable: Use the included standard cable.
  3. Plug into Hub: SPIKE can use any Port A to F. EV3 uses Port 1 to 4.
  4. Check Indicator: After powering on, the green heartbeat indicator will start flashing.

Calibration Guide

Every surface reflects light differently. Calibration teaches the sensor "this brightness is white, and that brightness is black".

Official One-Click Calibration Video

Watch the demonstration video below for the most intuitive guide:

Calibration Steps (Super Simple!)

  1. Press Calibration Button: Hold the calibration button on the sensor for 0.5 seconds until the 🟢 green calibration indicator remains steadily lit.
  2. Start Scanning: Move the sensor back and forth across the black line and white areas of your track. Ensure all 16 sensors pass over the black line and white ground.
  3. Maintain Height: Keep the sensor between 3 ~ 12 mm above the ground.
  4. Complete: After 5 seconds, the green calibration indicator turns off. Calibration is complete and saved automatically!

Core Data Features & Algorithms

To achieve competition-level smoothness and stability, the onboard hardware processes all 16 raw reflection signals in the background with real-time calibration, binarization, and continuity filtering, producing four core data features:

Absolute Physical Light Value (0 ~ 100)

Reflects the truest physical reflection intensity. 100 = pure white (high reflectance), 0 = pure black (no reflectance). This value remains physically accurate and does not invert when switching between black/white line modes. Ideal for building real-time bar graph visualization dashboards.

Sub-Pixel High-Resolution Smooth Position (0 ~ 200)

Uses high-precision geometric interpolation of adjacent sensor reflection intensities to output a super-smooth continuous position from 0 ~ 200 (100 = dead center). Designed specifically for advanced PID control algorithms to completely eliminate micro-jitter.

Feature Line Width & Binarized Matrix

Reports the number of currently triggered sensors (line width — useful for detecting intersections, T-junctions, and right angles), as well as the 0/1 binarized trigger state matrix of all 16 sensors for fine trajectory reconstruction.

Boundary Defense & Anti-Derailment Memory

The system continuously monitors the physical light intensity of the leftmost and rightmost sensors, instantly detecting track splits or the robot's nose accidentally going off-track. Combined with a directional memory algorithm, it enables high-speed cornering without losing the line!


Hardware Indicator LEDs & Button

To ensure excellent visual readability across all theme backgrounds, the sensor features a high-contrast, color-coded status dashboard. Note: The heartbeat LED and the calibration LED are two physically separate, independent indicators!

🟢
Green Heartbeat LED (near the socket)
Heartbeat Blinking: Flashes once per second — indicates the sensor is powered and the system is operating normally.
🟢
Green Calibration LED (near the calibration button)
Calibration Steady-On: Stays lit for 5 seconds after holding the button for 0.5 sec — indicates calibration is in progress. Turns off when calibration completes successfully.
🔴
Red LED (Communication Debug Indicator)
Normal state: Off.
Red LED steady-on: Indicates communication failure with the hub. Check that the cable is firmly connected, or try a different hub port / replacement cable.
🔘
One-Click Calibration Button
Hold for 0.5 seconds then release to enter automatic sweep calibration mode (green calibration LED stays on for 5 seconds).
💡
Onboard 16-Channel Status LED Array
Real-time trigger display: LED on = that channel detects a black line (black-line tracking mode). Provides an extremely intuitive view of the black line's absolute position relative to each channel from below.

General Tips

One-Click Auto Sweep Calibration

To get the best comparison gain from all 16 photoelectric sensors, this product provides a simple and efficient auto-calibration system:

  • Trigger: Hold the 🔘 Calibration Button for 0.5 seconds until the 🟢 Green Calibration LED (near the calibration button) stays steadily lit.
  • Procedure: Within the 5-second window while the green LED is on, sweep the robot's front across the black line and white ground area (make sure all sensors cross both the black line and the white surface).
  • Completion: After 5 seconds, the 🟢 Green Calibration LED turns off — calibration is complete, and the data is automatically saved to non-volatile memory asynchronously.

Switch Between Black Line and White Line Tracking

While the sensor is powered on, hold the calibration button and then release to toggle the tracking mode: Default is Black Line Mode (tracking dark lines). After switching, it becomes White Line Mode (tracking light lines).

Position and Width Follow the White Line Automatically: In white-line mode, the line position (including the high-precision position) and line width automatically track the white line, so your program logic (e.g., a PID line-following algorithm) works without changes. Individual channel light values are NOT inverted (white is still 100, black is still 0) — if your program checks single-channel values directly, flip the threshold yourself. This setting persists until the next power cycle. After a power cycle, the sensor resets to the default black-line tracking mode.


Frequently Asked Questions (FAQ)

  • Sensor plugged in but no response? → First check whether the 🟢 Green Heartbeat LED (near the socket) is blinking. If there is no blinking at all, follow these steps in order:

    1. Check that both ends of the connection cable are firmly plugged in.
    2. Try a different port on the hub.
    3. Swap to a different cable for cross-testing.
    4. Test the sensor on a different hub to rule out a faulty port on your original hub.
  • Robot wobbles while following the line? → The most common cause: not yet calibrated, or calibration did not succeed. Return to the calibration steps and recalibrate. If already calibrated but still wobbling, check:

    1. Is the sensor height between 3 and 12 mm above the ground?
  • Calibrated but still can't detect the line? → Make sure calibration covered both "the darkest black line" and "the whitest white area". Check that lighting is even and that sensor height is 3 to 12 mm.

  • Different apps return different values? → The Education Edition (yellow hub) and Home Edition (teal hub) return data in different formats. Confirm which version you are using and refer to the corresponding platform documentation page.

  • Red LED is staying on — what do I do? → 🔴 Red LED steady-on means communication with the hub has failed. Check the cable connection, try a different port, or swap the cable. If the red LED remains on after changing ports, cables, and hubs, please contact our technical support.


Dedicated Online Support

If you've tried all the above steps and still can't resolve the issue, please contact us anytime! To help our engineers pinpoint the problem as quickly as possible, please prepare the following:

  1. Video/Photo: Record a short clip of your robot running or the sensor indicator LED status (so we can visually verify the signal lights and physical operation).
  2. Program: Provide a screenshot of your block program, project file (.lms / .ev3), or source code.
  3. Contact Us: Send the above to our technical support email, or directly message us via the official LINE support.

Our professional R&D engineers will respond immediately to assist with online diagnosis and program tuning — fully committed to powering your success in every competition!

Interested in this sensor?

Ask us for pricing, bulk / school orders or distributor info. Our engineers reply within 3 business days.

Email for a quoteBuying Guide