Electronics

Motor Driver Module 2ch mini 1.5A 10V MX1508

AED 19.95

1

Description

The Motor Driver Module 2ch mini 1.5A 10V MX1508 is a compact and lightweight motor driver board that can control up to two DC motors or one stepper motor. It has a maximum current output of 1.5A per channel and can handle voltage inputs up to 10V. The board features a low voltage detection function to prevent damage to the motor or driver in case of low voltage. The module is easy to use and install, making it a suitable choice for small motor control projects.

 

Package Includes:

  • 1 x Motor Driver Module 2Ch Mini 1.5A 10V MX1508 

 

Features:

  • Dual-channel motor driver
  • Can control two DC motors or a bipolar stepper motor
  • The maximum current of 1.5A per channel
  • Voltage range of 2.5V to 10V
  • Uses an H-bridge circuit to control the direction and speed of the motor
  • Built-in protection features: overcurrent, overtemperature, Undervoltage lockout
  • Can be easily controlled by a microcontroller or digital circuits
  • Uses PWM signals to adjust motor speed and logic signals to control the direction
  • A compact and low-cost solution for controlling small motors
  • Suitable for various applications such as robotics, automation, and hobby projects.

 

Description:

The MX1508 motor driver module is a compact and affordable solution for controlling small DC motors or bipolar stepper motors in various applications such as robotics, automation, and hobby projects. The module features two independent channels, each capable of driving a motor with a maximum current of 1.5A and a voltage range of 2.5V to 10V. It uses an H-bridge circuit to control the direction and speed of the motor, which can be easily controlled by a microcontroller or other digital circuits using PWM signals to adjust the motor speed and logic signals to control the direction. One of the benefits of the MX1508 motor driver module is its built-in protection features, which include overcurrent, overtemperature, and Undervoltage lockout. These features help protect the motor and the module from damage caused by various types of electrical faults. Additionally, the module does not have any adjustable potentiometers on it, making it easier to use and reducing the chance of misconfiguration.

 

Principle of Work:

The MX1508 motor driver module works by using an H-bridge circuit to control the direction and speed of the motor. An H-bridge is a circuit that allows the current to flow in two directions through the motor, which enables the motor to rotate in both directions. The module has two H-bridge circuits, one for each motor channel, which allows it to control the direction and speed of two motors independently. To control the motor speed, the module accepts a PWM (Pulse-Width Modulation) signal from a microcontroller or other digital circuits. The PWM signal is used to vary the duty cycle of the output voltage, which in turn varies the average voltage applied to the motor. This allows the module to control the motor speed in a precise manner. To control the direction of the motor, the module accepts a logic signal from the microcontroller or other digital circuits. The logic signal determines which side of the H-bridge is active, which in turn determines the direction of the current flow through the motor

 

Pinout of the Module:

  • VCC: Power supply positive (2.5V to 10V)
  • GND: Power supply negative and ground
  • IN1: Input 1 for motor channel A
  • IN2: Input 2 for motor channel A
  • IN3: Input 1 for motor channel B
  • IN4: Input 2 for motor channel B
  • OUTA: Output for motor channel A
  • OUTB: Output for motor channel B

Note: that IN1 and IN2 are used to control the direction and speed of motor A, while IN3 and IN4 are used to control the direction and speed of motor B. The motor outputs, OUTA and OUTB, should be connected directly to the motor terminals.

 

 

Applications:

  1. Robotics: The module can be used in robotic projects to control the movement of small motors such as those used in robot arms, grippers, and mobile robots.

  2. Automation: The module can be used in automation projects to control the movement of small motors such as those used in conveyor belts, pumps, and valves.

  3. Hobby projects: The module can be used in hobby projects such as remote-controlled cars, boats, and airplanes to control the speed and direction of the motors.

  4. Educational projects: The module can be used in educational projects such as science fair projects and electronics labs to teach students about motor control and microcontroller programming.

 

Circuit

 Connect the module to Arduino, motors, and the battery as you see in the next diagram:

 

Library: 

No Library was used.

 

Code:

Arduino code example that can control the MX1508 motor driver module with the motor connected to pins A1, A2, B1, and B2 of the module, and the module connected to Arduino pins 5, 6, 10, and 11.

// Motor Driver Module 2ch mini 1.5A 10V MX1508
// Connections: A1 -> 11, A2 -> 10, B1 -> 6, B2 -> 5

#define A2 10
#define A1 11
#define B2 5
#define B1 6

void setup() {
  pinMode(A1, OUTPUT);
  pinMode(A2, OUTPUT);
  pinMode(B1, OUTPUT);
  pinMode(B2, OUTPUT);
}

void loop() {
  // Motor A forward
  digitalWrite(A1, HIGH);
  digitalWrite(A2, LOW);
  // Motor B forward
  digitalWrite(B1, HIGH);
  digitalWrite(B2, LOW);
  delay(1000);

  // Motor A backward
  digitalWrite(A1, LOW);
  digitalWrite(A2, HIGH);
  // Motor B backward
  digitalWrite(B1, LOW);
  digitalWrite(B2, HIGH);
  delay(1000);

  // Motor A stop
  digitalWrite(A1, LOW);
  digitalWrite(A2, LOW);
  // Motor B stop
  digitalWrite(B1, LOW);
  digitalWrite(B2, LOW);
  delay(1000);

  // Motor A forward at half speed
  analogWrite(A1, 128);
  digitalWrite(A2, LOW);
  // Motor B forward at half speed
  analogWrite(B1, 128);
  digitalWrite(B2, LOW);
  delay(1000);
}
  1. #define A2 10, #define A1 11, #define B2 5, and #define B1 6 define the Arduino pins that are connected to the module's input pins for controlling the motors.
  2. int motorSpeed = 200 sets the initial speed of the motor. You can adjust this value to change the speed.
  3. void setup() runs once at the beginning of the program. pinMode(A1, OUTPUT) and pinMode(A2, OUTPUT) set the A channel output pins as output, and pinMode(B1, OUTPUT) and pinMode(B2, OUTPUT) set the B channel output pins as output.
  4. void loop() runs repeatedly while the Arduino is powered on. The digitalWrite() function sets the state of the input pins to control the motor direction. The analogWrite() function sets the PWM signal for controlling the motor speed.
  5. digitalWrite(A1, HIGH) and digitalWrite(B1, HIGH) set the direction of the motors. In this case, the A and B channels are set to rotate in the same direction.
  6. analogWrite(A2, motorSpeed) and analogWrite(B2, motorSpeed) set the speed of the motors. The motorSpeed variable controls the duty cycle of the PWM signal, which in turn controls the speed of the motor.
  7. delay(2000) causes a 2-second delay before the direction of the motors is reversed.
  8. digitalWrite(A1, LOW) and digitalWrite(B1, LOW) reverse the direction of the motors.
  9. delay(2000) causes another 2-second delay before the direction is reversed again.
  10. The code repeats from step 5, alternating the direction of the motors every 2 seconds.

 

Technical Details: 

  • 2-Channel mini motor driver
  • Voltage Input: 2-10VDC
  • Rated Current: 1.5A
  • Peak Current: 2.5A (less than 10second) Direction and PWM control
  • Dimension: 24.7 x 21 x 5mm
  • Weight: 5g

 

Resources:

 

Comparisons:

The MX1508 module and the L293D module are both dual-channel motor drivers that can control DC motors or bipolar stepper motors. However, they differ in some aspects:

  1. Maximum current: The MX1508 module has a maximum current of 1.5A per channel, while the L293D module has a maximum current of 0.6A per channel. This means that the MX1508 module can handle higher current motors than the L293D module.
  2. Voltage range: The MX1508 module has a voltage range of 2.5V to 10V, while the L293D module has a voltage range of 4.5V to 36V. This means that the L293D module can handle higher voltage motors than the MX1508 module.
  3. Control signals: The MX1508 module can be easily controlled by a microcontroller or other digital circuits using PWM signals to adjust the motor speed and logic signals to control the direction. The L293D module also requires two input signals to control the direction of the motor, but it does not have a built-in PWM circuit for speed control.
  4. Circuit design: The MX1508 module uses an H-bridge circuit to control the direction and speed of the motor, while the L293D module uses a similar circuit but with different components.

The MX1508 module is a more advanced and versatile motor driver than the L293D module, with higher current capacity and more precise control options. However, the L293D module is still a popular and reliable choice for basic motor control applications.