1. Product Overview
The SZYTF XY-2.5AD is a compact dual H-bridge motor driver module designed for controlling small DC motors and stepper motors. Based on the MX1919 chip (often referenced as an L298N/P equivalent in functionality), this module allows for precise control of motor direction and speed using Pulse Width Modulation (PWM) signals. It features back electromotive force protection diodes on all drive lines, enhancing its durability and reliability.

2. Specifications
| Feature | Detail |
|---|---|
| Model Number | XY-2.5AD Dual Motor Drive Module |
| Brand Name | SZYTF |
| Driver Chip | MX1919 (Functionally similar to L298N/P) |
| Drive Capability | Up to 2A per channel |
| Motor Type | Small DC motors, Stepper motors |
| Power Supply Voltage (VCC) | 2V - 10V DC |
| Logic Control Voltage | Typically 3.3V - 5V (compatible with most microcontrollers) |
| Protection | Back electromotive force protection diode |
| Operating Temperature | Not specified |
| Dissipation Power | Not specified |
| Origin | Mainland China |
3. Setup Instructions
This section details the connections required to integrate the XY-2.5AD module into your project.
3.1 Pinout Diagram

The module features the following connection points:
- VCC (2-10V): Motor power supply input (blue screw terminal). Connect the positive terminal of your motor power supply here.
- GND (Power): Ground connection for the motor power supply (blue screw terminal).
- MOTOR-A: Output terminals for Motor A (white 2-pin header). Connect the two wires of your first DC motor or one coil of a stepper motor here.
- MOTOR-B: Output terminals for Motor B (white 2-pin header). Connect the two wires of your second DC motor or the other coil of a stepper motor here.
- GND (Logic): Ground connection for the control logic (yellow 5-pin header). Connect this to the ground of your microcontroller.
- IN1, IN2: Control input pins for Motor A (yellow 5-pin header). These pins determine the direction of Motor A.
- IN3, IN4: Control input pins for Motor B (yellow 5-pin header). These pins determine the direction of Motor B.
3.2 Connection Steps
- Connect Power Supply: Connect your DC power supply (2V-10V) to the VCC and GND screw terminals. Ensure correct polarity.
- Connect Motors: Connect your DC motors or stepper motor coils to the MOTOR-A and MOTOR-B white headers.
- Connect Control Logic: Connect the GND pin of the yellow header to the GND of your microcontroller (e.g., Arduino, Raspberry Pi).
- Connect Control Pins: Connect IN1, IN2, IN3, and IN4 to digital output pins on your microcontroller. For PWM speed control, connect one of the input pins for each motor (e.g., IN1 and IN3) to a PWM-capable pin on your microcontroller.
4. Operating Instructions
The XY-2.5AD module controls motors by manipulating the logic states (HIGH/LOW) on its input pins (IN1-IN4) and using PWM for speed control.
4.1 DC Motor Control
For each DC motor (Motor A and Motor B), two input pins control its direction. PWM can be applied to one of these pins to control speed.
| Control Pins | IN1 State | IN2 State | Motor A Action |
|---|---|---|---|
| Motor A | HIGH | LOW | Forward Rotation |
| Motor A | LOW | HIGH | Reverse Rotation |
| Motor A | LOW | LOW | Brake / Stop |
| Motor A | HIGH | HIGH | Brake / Stop |
The same logic applies to Motor B using IN3 and IN4.
4.2 Speed Control (PWM)
To control the speed of a DC motor, apply a PWM signal to one of the input pins (e.g., IN1 for Motor A) while keeping the other pin (IN2) LOW for one direction, or HIGH for the opposite direction. The duty cycle of the PWM signal will determine the motor's speed.
4.3 Stepper Motor Control
For a 4-wire bipolar stepper motor, connect one coil to MOTOR-A and the other coil to MOTOR-B. Stepper motor control involves sequencing the HIGH/LOW states of IN1, IN2, IN3, and IN4 in specific patterns (e.g., full step, half step) to achieve rotation. Refer to standard stepper motor driving algorithms for the MX1919 or L298N chip.
5. Maintenance
The XY-2.5AD module is a robust electronic component, but proper care ensures its longevity:
- Keep Dry: Avoid exposure to moisture or liquids, which can cause short circuits and damage.
- Cleanliness: Keep the module free from dust and debris. Use a soft, dry brush or compressed air for cleaning.
- Static Protection: Handle the module with care, especially in environments prone to static electricity. Use anti-static precautions if possible.
- Power Off Before Connecting: Always disconnect the power supply before making or changing any connections to prevent accidental damage.
- Inspect Connections: Periodically check all wire connections to ensure they are secure and free from corrosion.
6. Troubleshooting
If you encounter issues with your XY-2.5AD module, consider the following troubleshooting steps:
- Motor Not Moving:
- Verify that the motor power supply (VCC) is connected and within the 2V-10V range.
- Check all motor connections to MOTOR-A/B for proper contact.
- Ensure the logic ground (GND on yellow header) is connected to your microcontroller's ground.
- Confirm that the control signals (IN1-IN4) from your microcontroller are correctly configured and being sent.
- Test the motor directly with a power supply to ensure it is functional.
- Motor Moves in Wrong Direction:
- Reverse the polarity of the motor wires connected to MOTOR-A or MOTOR-B.
- Adjust the logic states of IN1/IN2 or IN3/IN4 in your code to reverse the direction.
- Motor Runs Slowly or Weakly:
- Check the motor power supply voltage; it might be too low for the motor.
- Ensure the PWM signal's duty cycle is set correctly for the desired speed.
- Verify that the motor is not overloaded.
- Module Overheating:
- Ensure the motor current does not exceed 2A per channel.
- Consider adding a heatsink if operating at higher currents or for extended periods.
- Verify that the power supply voltage is not excessively high, causing unnecessary power dissipation.
7. User Tips
- Start Simple: Begin with basic motor direction control before implementing complex PWM speed control or stepper motor sequences.
- Code Examples: Many online resources and communities provide code examples for L298N-based motor drivers, which can be adapted for the MX1919 chip.
- Current Monitoring: If driving motors close to the 2A limit, consider monitoring the current to prevent damage to the module or motors.
- External Power Supply: For optimal performance and to avoid drawing excessive current from your microcontroller, always use a separate external power supply for the motors connected to the VCC/GND screw terminals.
8. Warranty and Support
Specific warranty details for this product are not provided. For technical support, troubleshooting assistance beyond this manual, or inquiries regarding product functionality, please contact the seller directly. As an open-source-friendly product, community forums and online resources for MX1919/L298N motor drivers can also be valuable sources of information and support.