Dual H Bridge DC Stepper MDRV Controller Module

  • Product Code: DRV0021
  • Reward Points: 11
  • Not Available in stock
  • $6.22

  • Ex Tax: $5.60
  • Price in reward points: 1120

Stepper

Dual H Bridge DC Stepper MDRV Controller Module

Double H bridge drive
Chip: L298N (ST NEW)
Logical voltage: 5V
Drive voltage: 5V-35V
Logical current: 0mA-36mA
Drive current: 2A (MAX single bridge)
Storage temperature: -20 to +135
Max power: 25W
Weight: 30g
Size: 43 x 43 x 27mm

Note:  This module has a built-in 5V power supply, when the driving voltage is 7v-12v and the jumper (3) is connected (as per below illustration) it can be used as 5V power supply, DO NOT input voltage to +5v supply interface.

Wiring:
Each motor channel has the following control pins.
ENIN1IN2State
0xxStop Motor
1 or PWM Cycle > 0%00Brake the motor
1 or PWM Cycle > 0%
01Clockwise Rotation
1 or PWM Cycle > 0%
10Counter-Clockwise Rotation
1 or PWM Cycle > 0%
11Brake the motor
  1. DC motor 1 "+" or stepper motor A+
  2. DC motor 1 "-" or stepper motor A-
  3. 12V jumper - remove this if using a supply voltage greater than 12V DC to avoid damaging onboard 5V regulator
  4. Connect your motor supply voltage here, maximum of 35V DC. Remove 12V jumper if >12V DC
  5. GND
  6. 5V output if 12V jumper in place, ideal for powering your Arduino (etc)
  7. DC motor 1 enable jumper. Leave this in place when using a stepper motor. Connect to PWM output for DC motor speed control.
  8. IN1 (Check above table for function)
  9. IN2 (Check above table for function)
  10. IN3 (Check above table for function)
  11. IN4 (Check above table for function)
  12. DC motor 2 enable jumper. Leave this in place when using a stepper motor. Connect to PWM output for DC motor speed control.
  13. DC motor 2 "+" or stepper motor B+
  14. DC motor 2 "-" or stepper motor B-

Example Code:
// connect motor controller pins to Arduino digital pins
// motor one
int enA = 10;
int in1 = 9;
int in2 = 8;
// motor two
int enB = 5;
int in3 = 7;
int in4 = 6;
void setup()
{
  // set all the motor control pins to outputs
  pinMode(enA, OUTPUT);
  pinMode(enB, OUTPUT);
  pinMode(in1, OUTPUT);
  pinMode(in2, OUTPUT);
  pinMode(in3, OUTPUT);
  pinMode(in4, OUTPUT);
}
void demoOne()
{
  // this function will run the motors in both directions at a fixed speed
  // turn on motor A
  digitalWrite(in1, HIGH);
  digitalWrite(in2, LOW);
  // set speed to 200 out of possible range 0~255
  analogWrite(enA, 200);
  // turn on motor B
  digitalWrite(in3, HIGH);
  digitalWrite(in4, LOW);
  // set speed to 200 out of possible range 0~255
  analogWrite(enB, 200);
  delay(2000);
  // now change motor directions
  digitalWrite(in1, LOW);
  digitalWrite(in2, HIGH);  
  digitalWrite(in3, LOW);
  digitalWrite(in4, HIGH); 
  delay(2000);
  // now turn off motors
  digitalWrite(in1, LOW);
  digitalWrite(in2, LOW);  
  digitalWrite(in3, LOW);
  digitalWrite(in4, LOW);
}
void demoTwo()
{
  // this function will run the motors across the range of possible speeds
  // note that maximum speed is determined by the motor itself and the operating voltage
  // the PWM values sent by analogWrite() are fractions of the maximum speed possible 
  // by your hardware
  // turn on motors
  digitalWrite(in1, LOW);
  digitalWrite(in2, HIGH);  
  digitalWrite(in3, LOW);
  digitalWrite(in4, HIGH); 
  // accelerate from zero to maximum speed
  for (int i = 0; i = 0; --i)
  {
    analogWrite(enA, i);
    analogWrite(enB, i);
    delay(20);
  } 
  // now turn off motors
  digitalWrite(in1, LOW);
  digitalWrite(in2, LOW);  
  digitalWrite(in3, LOW);
  digitalWrite(in4, LOW);  
}
void loop()
{
  demoOne();
  delay(1000);
  demoTwo();
  delay(1000);
}

Package included:
1 x 236 L298N Dual H Bridge DC Stepper Motor Drive Controller Board Module arduino

Write a review

Note: HTML is not translated!
    Bad           Good

Related Products

Photoelectric wheel encoder IR sensor module

Photoelectric wheel encoder IR sensor module

Dimension:23mmx20mmx20mm Chip: LM393, on the radio infrared head Working voltage: DC 5 V Features & Applications: ..

$3.05

Brushless DC Motor with Encoder 12V 159RPM - Built in Driver

Brushless DC Motor with Encoder 12V 159RPM - Built in Driver

This is a motor revolution: a new DC brushless motor with built-in motor driver. It can be conncected to Arduino directly without external motor driver. Whatsmore, the motor comes ..

$34.35

2 channel dc motor driver L298N

2 channel dc motor driver L298N

Motor drive module is very suitable for use in battery powered smart car, toy car, robot and so on, the supply voltage of 2V~10V can simultaneously drive two DC motor or 1 4 line 2..

$5.16

Motor control shield L293D

Motor control shield L293D

L293D is a monolithic integrated, high voltage, high current, 4-channel driver.Basically this means using this chip you can use DC motors and power supplies of up to 36 Volts, that..

$6.22

Sensors built in motor driver board

Sensors built in motor driver board

This Sensor/Motor Drive Board (Cortex M3 CPU) is the integration of multiple communication interfaces that quickly build robotic systems. This board (Cortex M3 CPU) features the SP..

$75.81

60V 20A Motor Speed Regulator Controller PWM

60V 20A Motor Speed Regulator Controller PWM

DC10-60V 20A Motor Speed Regulator Controller PWM•  Operating voltage: DC 10V-60V•  Output Current: 0 to 20A.•  Frequency:25KHz.•  Continuous power: Max 1200W•&..

$8.82

Tags: dual, bridge, stepper, mdrv, controller, module, motor, drivers