• How to Place an Order

  • Store Pick Up

  • Request for Quotation/ International Sourcing

  • Order Status

Choose Your Size Quick view

Reference: 984

Heat Shrink Tube

Heat Shrink Tubing 2:1, Eventronic Electrical Wire Cable Wrap Assortment Electric Insulation Heat Shrink Tube Kit (1 pcs) Please Choose Size Below

Price BDT 2
More
In-Stock
Jumper Wire Single Medium Quick view

Reference: 1354

Jumper Wire Single Medium

Length: 8.5 inches (Medium) Material: Copper Plated.EachPin Spacing: 2.54mm.Color: Colorfulcompatible with 2.54mm mil spacing pin headers.It can be used for PCB project, pc motherboard, etc.Allow you to plug and unplug easily for prototyping.Package Contents: 1 x Jumper Wire You will get only one pcs.

Price BDT 3
More
There are not enough products in stock
Jumper wire 40 Pcs Quick view

Reference: 31

Jumper Wire 40 Pcs Set

3 Types Available 1. Male to Male  2. Male to Female 3. Female-Female

Price BDT 90
More
In Stock
470 Ohm 1/4w - Pack of 5 Quick view

Reference: 245

Kiloohm (KΩ) 1/4w Resistors - Pack of 5

Choose your desire Resistor value from below: 

Price BDT 5
More
In Stock
Push Button Switch Quick view

Reference: 761

Push Button Switch

Push Button Switch

Price BDT 5
More
In-Stock
Buzzer Quick view

Reference: 766

Ohm (Ω) 1/4w Resistors - Pack of 5

Choose your desire Resistor value from below: 

Price BDT 5
More
In-Stock
5 mm Green LED (Pack of 5) Quick view

Reference: 768

5 mm Red LED (Pack of 5)

5 mm Red LED (Pack of 5)

Price BDT 5
More
In-Stock
Buzzer Quick view

Reference: 758

BC547 NPN Transistor

BC547 NPN Transistor

Price BDT 2
More
In-Stock
On sale! Arduino Uno R3 (Made in Italy) Quick view

Reference: 94

Arduino Uno R3

Arduino UNO in Bangladesh The Arduino Uno is a microcontroller board based on the ATmega328 (datasheet). It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz ceramic resonator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller.

Price BDT 580
More
In Stock
Buzzer Quick view

Reference: 755

5 mm Green LED (Pack of 5)

5 mm Green LED (Pack of 5)

Price BDT 5
More
In-Stock
All best sellers
L298N H-Bridge Dual Motor Driver, Stepper Motor Driver
  • L298N H-Bridge Dual Motor Driver, Stepper Motor Driver
  • L298N H-Bridge Dual Motor Driver, Stepper Motor Driver

L298N H-Bridge Dual Motor Driver, Stepper Motor Driver

376

This dual bidirectional motor driver is based on the very popular L298 Dual H-Bridge Motor Driver IC. This module will allow you to easily and independently control two motors of up to 2A each in both directions.

It is ideal for robotic applications and well suited for connection to a microcontroller requiring just a couple of control lines per motor.

BDT 150
rating Read the 57 reviews
Average rating: 5/5 - Number of reviews: 57
Quantity
In Stock

  • Store Pickup Available! Store Pickup Available!
  • Free Ship Over 5000 BDT Free Ship Over 5000 BDT
  • Quality Product Quality Product
  • No Warranty No Warranty
  • No Replacement No Replacement
Description

In this tutorial, we'll explain how to use our L298N H-bridge   Dual Motor Controller Module 2A with Arduino. This allows you to control the speed and direction of two DC motors, or control one bipolar stepper motor with ease. The L298N H-bridge module can be used with motors that have a voltage of between 5 and 35V DC. 

There is also an onboard 5V regulator, so if your supply voltage is up to 12V you can also source 5V from the board.

These L298 H-bridge dual motor controller modules  are inexpensive and available from the Tronixlabs Australia store. Furthermore, if you're completely new to the world of Arduino we highly recommend you  review a copy of "Arduino Workshop", and if you have questions, ask in our customer forum

So let's get started!

L298N Dual Motor Controller Module 2A from Tronixlabs Australia

First, we'll run through the connections, then explain how to control DC motors then a stepper motor. 

Module pinouts

Consider the following image - match the numbers against the list below the image:

L298N Motor Controller for Arduino from Tronixlabs Australia

  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. This enables power to the onboard 5V regulator
  4. Connect your motor supply voltage here, a 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 enables jumper. Leave this in place when using a stepper motor. Connect to PWM output for DC motor speed control.
  8. IN1
  9. IN2
  10. IN3
  11. IN4
  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-

Controlling DC Motors

To control one or two DC motors is quite easy. First, connect each motor to the A and B connections on the L298N  module. If you're using two motors for a robot (etc) ensure that the polarity of the motors is the same on both inputs. Otherwise, you may need to swap them over when you set both motors to forward and one goes backward!

Next, connect your power supply - the positive to pin 4 on the module and negative/GND to pin 5. If you supply is up to 12V you can leave in the 12V jumper (point 3 in the image above) and 5V will be available from pin 6 on the module. This can be fed to your Arduino's 5V pin to power it from the motors' power supply. Don't forget to connect Arduino GND to pin 5 on the module as well to complete the circuit. 

Now you will need six digital output pins on your Arduino, two of which need to be PWM (pulse-width modulation) pins. PWM pins are denoted by the tilde ("~") next to the pin number, for example:

Arduino UNO PWM pins

Finally, connect the Arduino digital output pins to the driver module. In our example we have two DC motors, so digital pins D9, D8, D7 and D6 will be connected to pins IN1, IN2, IN3 and IN4 respectively. Then connect D10 to module pin 7 (remove the jumper first) and D5 to module pin 12 (again, remove the jumper). 

The motor direction is controlled by sending a HIGH or LOW signal to the drive for each motor (or channel). For example for motor one, a HIGH to IN1 and a LOW to IN2 will cause it to turn in one direction, and  a LOW and HIGH will cause it to turn in the other direction.

However, the motors will not turn until a HIGH is set to the enable pin (7 for motor one, 12 for motor two). And they can be turned off with a LOW to the same pin(s). However, if you need to control the speed of the motors, the PWM signal from the digital pin connected to the enable pin can take care of it.

This is what we've done with the DC motor demonstration sketch. Two DC motors and an Arduino Uno are connected as described above, along with an external power supply. Then enter and upload the following sketch:

// 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 < 256; i++)
  {
    analogWrite(enA, i);
    analogWrite(enB, i);
    delay(20);
  } 
  // decelerate from maximum speed to zero
  for (int i = 255; 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);
}

Product Details
376
105 Items
good
rating
03/04/2021
Minhaj
works fine for low powered motors
.
rating
22/03/2021
Abdullah Al Mukti
Well
Did not test yet
rating
23/02/2021
Abdur Rahman Bin Sharif
Did not test yet
Good
rating
26/12/2020
Ahnaf Daiyan
Good
L298N H-Bridge Dual Motor Driver, Stepper Motor dr
rating
24/12/2020
Sadi Mohammad
satisfied
Uuu
rating
20/12/2020
Shuvro Dev
Hhh
rating
13/12/2020
Arafat
Satisfied
Quality
rating
07/12/2020
Azwad Habib
Good product
Motor driver
rating
06/12/2020
Zaief
Good product
L298N H-Bridge Dual Motor Driver, Stepper Motor Dr
rating
05/12/2020
Shakil Ahmed
premium product and great service. Go ahead roboticsbd
Good
rating
12/10/2020
Sakib
Good
Good condition and packaging is also good.
rating
03/10/2020
Suvro
Good condition and packaging are also good. Not tested yet.
Good
rating
02/09/2020
Nayeem Hossain
Working smoothly
Valoi kintu PCB desighn ta weak
rating
26/08/2020
Asif
3 month er besi jay nh gele ek diker motor kaj kore nah.......... Kintu intensive care e rakhle 5-6 month jay. Ar embedded kore diloe no chinta. Kenar por joto taratari shomvob embed kore felben.....
Good product
rating
25/08/2020
Anoy Howlader
It is a very good motor driver to control two motors with arduino.
Very Good
rating
25/08/2020
Md Abid Hossain
Worked flawless.
Positive
rating
24/08/2020
Ridwan
It was okay...
wow
rating
22/08/2020
Mahir Al Shahriar
nice working..\r\nperfect..
Driver
rating
19/08/2020
Marzan Alam
Good
PCB tracing poor
rating
09/08/2020
Asif Alamgir
First time ami order die dekhi je PCB quality khub ekata valo nah. pore ami abar order kore dekhi PCB desighn valo. Prothom order e ami jeta pai setar PCB quality kharap silo 3 month porei amar PCB nosto hoye jay o Motor B ar kaj kore nah.\r\n
High quality
rating
21/07/2020
Tanim Sk
Works fine
Review
rating
21/07/2020
Siam Sadik
Best in the market
About
rating
17/07/2020
Fahim Anin
Its good enough
good
rating
08/07/2020
rk antor
good
high price
rating
02/07/2020
Zareef
nice but price is a little high
H bridge driver
rating
01/06/2020
Mustafa Reza Noor
Necessary item.
good
rating
01/06/2020
Dhrubo
good
MotoDriver
rating
20/05/2020
Ariful Islam Fahim
Works well
Fault
rating
08/04/2020
srabon
I think this product contains some mechanical problem.
Mot
rating
21/03/2020
Abir
Good
Very good.
rating
21/03/2020
Md. Masrur Saqib
The voltage drop was accurate and controlling was smooth.
Dual Motor Driver
rating
18/03/2020
Shadman Saqlain Rahman
top notch quality
Review
rating
21/02/2020
Atanu Kumar dey
Good
Works fine
rating
20/02/2020
Abdullah Nasir\r\nAbdullah\r\nNasir\r\nAbdullah
Both are working properly.. Can\'t believe none of the instruments were corrupted
Satisfied!
rating
18/02/2020
Dipayan Bhadra
Works well! Nothing to complain.
Good
rating
17/02/2020
Saadman mahmud rohan
Exactly same
Good
rating
27/01/2020
Nowshed Galib
The products quality of robotics bd is so good
Good enough
rating
14/01/2020
Mubtasim Turzo
Good in Quality.
NiCE
rating
31/12/2019
K.M. Abdullah Al Maruf
Bought two and both were good
Good
rating
23/12/2019
Nur Mahmud
Works perfectly
Motor Driver
rating
14/11/2019
Saleh Ahmed
Good
Nice
rating
09/11/2019
Masuda
Works fine.
5star
rating
03/11/2019
Bishal Majumder
Satisfied
L298N
rating
23/10/2019
Kamrul Hasan
Good.
Good
rating
18/10/2019
Forhad
I got that as I ordered
Works fine
rating
15/10/2019
HoRoToN
Comes in a thick plastic bag. Good packaging. Works fine.
Good
rating
09/10/2019
Ratul Hasan
Kom takay paichi
nice
rating
23/09/2019
md rafiqul islam
good
Good
rating
17/09/2019
Md.shoriful Alam Sakib
Very impressive
Great
rating
14/09/2019
RH Khan
Very good product and cheaper than other places
Fresh & Less price
rating
29/08/2019
bulbul
Item looks good and such a cheap price.\r\n
its good
rating
28/08/2019
Shadeed ur Rahman
very good
works fine
rating
24/08/2019
mashur sakib
works fine
Excellent
rating
30/07/2019
Mir Rashed
This product is working like butter
Good
rating
10/07/2019
Hasnine
Good
Arduino Bluetooth Module (HC-05)
rating
09/07/2019
razib
satisfied
Well item Faster delivery ......
rating
01/05/2018
Mashud R.
It works fast It can be operated by 5 volts mobile charger.
17 other products in the same category:
Motor Shield L293D Quick view

Reference: 15

Motor Shield L293D

Motor Shield L293D

Price BDT 199
More
In-stock
32 Channel USB UART Servo Motor Controller Quick view

Reference: 306

Torobot 32 Channel USB UART Servo Motor Controller

32 Channel USB UART Servo Motor Controller  Application: Hexapod, Robotics Arm, Servo Drive This is the newly upgraded controller board. Up to 32 servo motors can be controlled at the same time, either by using a software on a PC, or UART communication ( TTL serial port) of MCU (51, AVR, ARM, FPGA, PIC, etc. to send commands to control the steering.

Price BDT 3,300
More
In-Stock
DC 5V Stepper Motor + ULN2003 Driver Board (28BYJ-48) for Arduino Quick view

Reference: 573

DC 5V Stepper Motor + ULN2003 Driver Board (28BYJ-48) for Arduino

Voltage: 5VDiameter: 28mmStep angle: 5.625 x 1 / 64Reduction ratio: 1 / 64Stepper Motor Driver Board with ULN2003A, B, C, D four-phase LED indicates the status of the stepper motor workStepper motor with a standard interface, when used directly pluggable

Price BDT 150
More
In-Stock

Monster Moto Shield Dual VNH2SP30 Motor Driver Module 30A Quick view

Reference: 377

Monster Moto Shield Dual VNH2SP30 Motor Driver Module 30A

Monster Moto Shield uses VNH2SP30 full-bridge motor drivers. We’ve also beefed up the support circuitry so this board is capable of driving a pair of high-current motors! Voltage max: 16V Maximum current rating: 30 A Practical Continuous Current: 14 A Current sensing available to Arduino analog pin MOSFET on-resistance: 19 mΩ (per leg) Thermal Shutdown

Price BDT 5,000
More
Last items in stock
A4988 StepStick Stepper Motor Driver Module Quick view

Reference: 435

A4988 StepStick Stepper Motor Driver Module

This breakout board for Allegro’s A4988 microstepping bipolar stepper motor driver features adjustable current limiting, overcurrent and over-temperature protection, and five different microstep resolutions (down to 1/16-step). It operates from 8 V to 35 V and can deliver up to approximately 1A per phase without a heat sink or forced air flow (it is rated...

Price BDT 350
More
In-Stock

3650 Brushless Motor 3930KV + 60A Waterproof BEAST Series ESC Quick view

Reference: 309

3650 Brushless Motor 3930KV + 60A Waterproof BEAST Series ESC

3650 1/10 Scale Brushless Motor 3930KV + 60A Waterproof BEAST Series ESC Motor Feature:4 poles 12 slot Hi-torque motor designCNC machined 6061 T6 windings maxinmizes efficiencyHigh RPM ABEC5 oversize bearingsUniversal fit, fit all 1/10 brushless cars-multi-mounting system for M3 screwsPrecision balanced rotor,smoothness for best reliability and maximum RPM

Price BDT 8,000
More
Last items in stock
EasyDriver Shield Stepper Motor Driver V44 A3967 For Arduino Quick view

Reference: 662

EasyDriver Shield Stepper Motor Driver V44 A3967 For Arduino

The EasyDriver is a simple to use stepper motor driver, compatible with anything that can output a digital 0 to 5V pulse (or 0 to 3.3V pulse if you solder SJ2 closed on the EasyDriver). EasyDriver requires a 7V to 30V supply to power the motor and can power any voltage of stepper motor.

Price BDT 350
More
In Stock
Motor Driver - Dual... Quick view

Reference: 684

Motor Driver - Dual TB6612FNG (1A)

The TB6612FNG motor driver can control up to two DC motors at a constant current of 1.2A (3.2A peak). Two input signals (IN1 and IN2) can be used to control the motor in one of four function modes - CW, CCW, short-brake, and stop.

Price BDT 230
More
In-Stock
L297 Stepper Motor... Quick view

Reference: 1606

L297 Stepper Motor Controller IC

The L297 Stepper Motor Controller IC generates four phase drive signals for two phase bipolar and four phase unipolar step motors in microcontroller controlled applications.

Price BDT 96
More
In-Stock
30A Mini VNH2SP30 Stepper Motor Driver Monster Moto Shield module For Arduino   Quick view

Reference: 557

30A Mini VNH2SP30 Stepper Motor Driver Monster Moto Module For Arduino

Features:Voltage max: 16VMaximum current rating: 30 APractical Continuous Current: 14 ACurrent sensing available to Arduino analog pinMOSFET on-resistance: 19 mΩ (per leg)Maximum PWM frequency: 20 kHzThermal ShutdownUndervoltage and Overvoltage shutdown

Price BDT 999
More
In-Stock
Ardumoto Shield L298P Motor Driver Quick view

Reference: 392

Ardumoto Shield L298P Motor Driver

The new version of this shield allows for either 3.3 or 5v logic, a separate and more robust VIN connection, and the PWM input has moved to pin 3.

Price BDT 850
More
In-Stock
16 Channel 12 bit PWM /... Quick view

Reference: 289

16 Channel 12 bit PWM / Servo Driver I2C interface PCA9685

16 Channel 12 bit PWM / Servo Driver  I2C interface PCA9685 You want to make  a cool robot, maybe a hexapod walker, or  maybe just a piece of  art with a lot of moving  parts. Or maybe you want to drive a lot of LEDs  with precise PWM output.

Price BDT 349
More
In-Stock
Motor Driver 43A BTS7960 Quick view

Reference: 742

Motor Driver 43A BTS7960

Motor Driver 43A BTS7960

Price BDT 680
More
In-Stock
SSC-32 32Ch Servo Controller Lynxmotion Compatible Quick view

Reference: 703

SSC-32 32Ch Servo Controller Lynxmotion Compatible

SSC-32 32Ch Servo Controller Lynxmotion Compatible

Price BDT 3,400
More
In-Stock
Mystery Fire Dragon 30A Brushless ESC Quick view

Reference: 157

Mystery Fire Dragon 30A Brushless ESC

Mystery Fire Dragon 30A Brushless ESC

Price BDT 800
More
In Stock
Big Easy Driver - Stepper Motor Driver Quick view

Reference: 267

Brand: SparkFun Electronics

Big Easy Driver - Stepper Motor Driver

Big Easy Driver - Stepper Motor Driver

Price BDT 1,600
More
In-Stock
DRV8825 Stepper Motor Driver Module Quick view

Reference: 434

DRV8825 Stepper Motor Driver Module

This breakout board for TI’s DRV8825 micro stepping bipolar stepper motor driver features adjustable current limiting, overcurrent and over-temperature protection, and six micro step resolutions (down to 1/32-step). It operates from 8.2 V to 45 V and can deliver up to approximately 1.5 A per phase without a heat sink or forced air flow (rated for up to...

Price BDT 199
More
In-Stock
Customers who bought this product also bought:
On sale! FTDI USB to TTL Serial Converter Adapter FT232RL Quick view

Reference: 658

FTDI USB to TTL Serial Converter Adapter FT232RL

FTDI USB to TTL Serial Converter Adapter FT232RL

Price BDT 299
More
In-Stock
16x2 Serial LCD Module... Quick view

Reference: 1349

16x2 Serial LCD Module Display for Arduino Assembled

It is another great blue backlight LCD display. As the pin resources of Arduino controller is limited, your project may be not able to use normal LCD shield after connected with a certain quantity of sensors or SD card. However, with this I2C interface LCD module, you will be able to realize data display via only 2 wires. If you already has I2C devices in...

Price BDT 310
More
In-Stock
High Torque Gear Motor 12V, 50 RPM Quick view

Reference: 218

High Torque Gear Motor 12V, 50 RPM

High Torque Gear Motor 12V, 50 RPM Volt: DC 12V RPM: 50 Torque 13KG/CM

Price BDT 750
More
There are not enough products in stock
Superbright Ultra Violet... Quick view

Reference: 1178

Superbright Ultra Violet LED UV Lamp 5mm 2500mcd

Superbright Ultra Violet LED UV Lamp 5mm 2500mcd **Damage from UV exposure is cumulative and increases your skin cancer risk over time. So be careful when you use it.

Price BDT 20
More
In-Stock
Sound Sensor Module for Arduino Quick view

Reference: 291

Sound Sensor Module for Arduino

Sound Sensor Module for Arduino

Price BDT 89
More
In-Stock
High Torque Gear Motor 12V 100RPM 25GA Quick view

Reference: 715

High Torque Gear Motor 12V 100RPM 25GA

Voltage: 12V DC RPM:100RPM Diameter: 25mm Shaft length: 15mm 

Price BDT 800
More
In-Stock
On sale! Arduino Uno R3 (Made in Italy) Quick view

Reference: 94

Arduino Uno R3

Arduino UNO in Bangladesh The Arduino Uno is a microcontroller board based on the ATmega328 (datasheet). It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz ceramic resonator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller.

Price BDT 580
More
In Stock
Raspberry Pi 3 Model B+ Plastic Enclosure Quick view

Reference: 827

Raspberry Pi 3 Model B+ Plastic Enclosure

Raspberry Pi 3 Model B+ Plastic Enclosure

Price BDT 190
More
Pre-Order

Follow us on Facebook