Yahboom YB-MUX04-1.0

Contents

Yahboom 8 Channel Line Tracking IR Sensor Module Instruction Manual

Model: YB-MUX04-1.0

1. Introduction

The Yahboom 8-channel line tracking sensor module (Model: YB-MUX04-1.0) is specifically engineered for line patrol functionalities in robot cars. It integrates eight high-sensitivity infrared sensors, enabling rapid and precise detection of contrast information between black and white lines, thereby facilitating smooth route recognition. This module supports both IIC and serial communication protocols and features standard IO and PH2.0 interfaces, allowing easy connection to popular development boards such as Arduino, Raspberry Pi, and Micro:bit for quick integration and expansion. A key feature is its one-button automatic calibration, eliminating the need for manual potentiometer adjustments and adapting to line patrol maps made of various materials. Onboard LED indicators provide intuitive feedback on each sensor's operational status. This module is an excellent choice for educational robotics projects and intelligent transportation applications.

Play video
Watch video online

Video: Overview of the 8-channel line tracking module's features and automatic calibration.

2. Features

  • One-Key Calibration: Equipped with a key calibration function, eliminating the need for manual potentiometer adjustments for more convenient use.
  • High-Sensitivity Infrared Sensors: Integrates 8 high-sensitivity infrared sensors for rapid detection of black and white line contrast.
  • Multiple Communication Interfaces: Supports IIC, serial communication, and GPIO communication, compatible with various control schemes.
  • Standardized Connectivity: Features standard IO interface and PH2.0 interface for easy connection to mainstream development boards.
  • Digital and Analog Output: Onboard MCU reads and processes 8-channel probe data, outputting both digital and analog values.
  • Flexible Line Width Adaptation: Can flexibly adapt to line widths ranging from 0.5cm to 6cm, offering enhanced adaptability.
  • Thickened PCB Board: Features a 1.6mm thick impact-resistant PCB board for durability.
  • Complex Track Map Compatibility: Designed to adapt to complex track maps and high-difficulty line tracking scenarios.
  • Accurate Identification: Provides accurate identification of path characteristics such as right-angle, obtuse-angle, acute-angle, crossroad, and T-type routes.
  • Wiring and DuPont Line Support: Supports both direct wiring and DuPont line connections.
Key features of the 8-channel line tracking module, including digital/analog output, GPIO, serial, IIC communication, one-key calibration, complex track adaptation, and wiring support.

Image: Key features of the 8-channel line tracking module.

3. Specifications

Product parameters table for the 8-channel line tracking module, showing dimensions and basic operating specifications.

Image: Product dimensions and basic parameters.

ParameterValue
Operating voltage5V
Operating temperature-10 ~ +60 °C
Mounting hole diameterM2.5 or M3 copper column, screw
Operating current85mA
Detection line width0.5cm-6cm
Detection height5mm-60mm
Fixed hole distance16mm-42mm
Product size91.11*36.48*13.6mm (Length*width*height)
Output interface8PCS IO interfaces, I2C interface, USART interface
Output signalDigital and analog signals

4. Setup

4.1. Installation Method

The module board features slots designed for flexible mounting, accommodating spacing between 16mm and 42mm. For typical smart car applications, a fixing hole spacing of 19mm is common. When installing, it is recommended to maintain a distance range of 0.5cm to 6cm between the module's probes and the tracking surface for optimal performance.

Diagram showing the installation of the line tracking module on a robot car chassis, highlighting the adjustable hole spacing and recommended distance from the ground.

Image: Installation method and recommended distance.

4.2. Wiring Method

The module offers versatile connectivity options, including PH2.0 interfaces and a pin header interface, supporting GPIO, Serial Port, and I2C communication.

  • PH2.0 Interface: The PH2.0 interface is designed with anti-reverse connection to prevent damage from incorrect polarity. It is suitable for direct cable connections for I2C and Serial Port communication.
  • Pin Header Interface: The pin header interface allows direct connection using DuPont lines, offering flexibility and convenience for GPIO, Serial Port, and I2C communication with various master controls.
Diagram illustrating the three communication methods: I2C interface (PH2.0), Serial port interface (PH2.0), and pin header connections for power, button, reset, IO, and serial port pins.

Image: Pin interface and communication methods.

Mode IntroductionPinRead TypeGet Content
GPIO communication10pinHigh and low levelIIC protocol
Serial port communication4pinSerial port protocolAnalog value, digital value
I2C communication4pinIIC protocolDigital value
Various wiring configurations for the line tracking module, including serial port interface with PH2.0 and DuPont lines, I2C interface with PH2.0 and DuPont lines, and 8-channel GPIO interface with DuPont lines, connecting to different development boards like Arduino, Raspberry Pi, and ESP32.

Image: Examples of wiring methods with different interfaces and development boards.

5. Operating Instructions

5.1. Automatic Calibration

The module features a one-button automatic calibration process, eliminating the need for manual adjustments. Follow these steps for calibration:

  1. Power on the 8-channel line tracking module and wait for approximately 20 seconds for it to initialize.
  2. Press and hold the 'Key' button on the module. Continue holding until the red indicator light illuminates, signaling entry into calibration mode.
  3. Position the module over the black line of your track. Adjust the probe height to ensure all probes are aligned with the black line. Wait for 3 seconds to allow the sensor data to stabilize.
  4. Press the 'Key' button once to record the detected black line values. After recording, the red indicator light will change from flashing to a steady on state.
  5. Move the module to a white area adjacent to the track. Wait for 3 seconds to allow the sensor data to stabilize in the white area.
  6. Press the 'Key' button again to record the detected white area values. After recording, the red indicator light will change from flashing to a steady on state, indicating calibration is complete.
Step-by-step visual guide for the one-button automatic calibration process of the line tracking module, showing placement over black and white lines and button presses.

Image: One-button automatic calibration steps.

5.2. Line Tracking Principle and Application

The module operates based on infrared sensing technology. Each sensor probe consists of a pair of infrared transmitting and receiving tubes. The transmitting tube emits infrared light. When this light encounters a black line, most of it is absorbed. When it encounters a white surface, the light is largely reflected. The receiving tube measures the intensity of the reflected light. By comparing the intensity difference, the module determines the position of the black line.

The 8-channel design allows for flexible adaptation to various line widths, from 0.5cm to 6cm. This enables the module to perform in-line recognition and provide external-line warnings, crucial for navigating complex tracks with curves, intersections, and different angles.

Diagram showing the 8-channel tracking module adapting to different line widths (0.5cm, 2cm, 6cm) on a robot car.

Image: Adaptation to various line widths.

Examples of a robot car using the 8-channel line tracking module to navigate different types of tracks: curved, cross, obtuse-angle, straight, right-angle, and acute-angle tracks.

Image: Robot car tracking various complex maps.

Illustration of the tracking probe identification principle, showing how infrared light is reflected by white objects and absorbed by black objects, enabling the module to detect lines.

Image: Tracking probe identification principle.

6. Maintenance

To ensure the longevity and optimal performance of your Yahboom 8 Channel Line Tracking IR Sensor Module, please observe the following maintenance guidelines:

  • Keep Clean: Regularly clean the sensor probes to prevent dust or debris from affecting detection accuracy. Use a soft, dry cloth. Avoid abrasive materials or harsh chemicals.
  • Avoid Physical Damage: Handle the module with care. Avoid dropping it or subjecting it to excessive force, which could damage the PCB or sensor components.
  • Environmental Conditions: Operate and store the module within the specified operating temperature range (-10 ~ +60 °C). Avoid exposure to extreme temperatures, high humidity, or corrosive environments.
  • Power Supply: Ensure a stable 5V power supply is used. Incorrect voltage can damage the module.

7. Troubleshooting

If you encounter issues with your line tracking module, consider the following troubleshooting steps:

  • Module Not Responding:
    • Check power connections to ensure the module is receiving a stable 5V.
    • Verify all communication cables (IIC, serial, GPIO) are securely connected to both the module and the development board.
    • Ensure the correct communication protocol is selected and configured in your code.
  • Inaccurate Line Detection:
    • Perform the automatic calibration process again, ensuring the module is placed correctly over black and white areas during calibration.
    • Check the distance between the sensor probes and the tracking surface. It should be within the recommended range of 0.5cm to 6cm.
    • Clean the sensor probes to remove any dust or obstructions that might interfere with infrared detection.
    • Ensure the lighting conditions are consistent. Strong, direct sunlight or very dim lighting can affect sensor performance.
  • LED Indicators Not Working:
    • Check the power supply. Insufficient power can cause LEDs to malfunction.
    • If individual LEDs are not lighting up during detection, the corresponding sensor might be faulty or obstructed.
  • Communication Errors:
    • For serial communication, verify baud rates are matched between the module and your development board.
    • For IIC communication, check the I2C address and ensure no other devices are conflicting on the bus.

8. Warranty and Support

This Yahboom 8 Channel Line Tracking IR Sensor Module is covered by a standard manufacturer's warranty against defects in materials and workmanship. For specific warranty terms, technical support, or to access additional tutorials and code examples, please refer to the official Yahboom website or contact their customer service. A tutorial link for various resources is provided below:

Tutorial Link: http://www.yahboom.net/study/8-LP

Image showing 'Gift information' with a tutorial link and various folders for 8-channel line tracking module usage, single board main control (Arduino, STM32, MSPMOG3507, Raspberry Pi), car tutorials, and documentation.

Image: Gift information and tutorial resources. Source · https://manuals.plus/ae/1005009244829232

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.

Rate this product if you’ve used it

Was this page helpful?