L298N 2A Based Motor Driver is a high power motor driver perfect for driving DC Motors and Stepper Motors (Now find out out a wide range of motors at Robu.in).
It uses the popular L298 motor driver IC and has an onboard 5V regulator which it can supply to an external circuit. It can control up to 4 DC motors, or 2 DC motors with directional and speed control.
This motor driver is perfect for robotics and mechatronics projects and perfect for controlling motors from microcontrollers, switches, relays, etc. Perfect for driving DC and Stepper motors for micro mouse, line following robots, robot arms, etc.
Note: The actual product may vary in slight variation in color and component with the image shown depending upon quantity availability, however it doesn’t affect the functionality of module.
Connection Diagram
Usage:
H-bridges are typically used in controlling motors speed and direction but can be used for other projects such as driving the brightness of certain lighting projects such as high powered LED arrays.
How it works:
An H-Bridge is a circuit that can drive a current in either polarity and be controlled by *Pulse Width Modulation (PWM).
* Pulse Width Modulation is a means in controlling the duration of an electronic pulse. In motors try to imagine the brush as a water wheel and electrons as the flowing droplets of water. The voltage would be the water flowing over the wheel at a constant rate, the more water flowing the higher the voltage. Motors are rated at certain voltages and can be damaged if the voltage is applied to heavily or if it is dropped quickly to slow the motor down. Thus PWM. Take the water wheel analogy and think of the water hitting it in pulses but at a constant flow. The longer the pulses the faster the wheel will turn, the shorter the pulses, the slower the water wheel will turn. Motors will last much longer and be more reliable if controlled through PWM.
Pins Details
Out 1: Motor A lead out
Out 2: Motor A lead out
Out 3: Motor B lead out
Out 4: Mo (Can actually be from 5v-35v, just marked as 12v)
GND: Ground
5v: 5v input (unnecessary if your power source is 7v-35v, if the power source is 7v-35v then it can act as a 5v out)
EnA: Enables PWM signal for Motor A (Please see the “Arduino Sketch Considerations” section)
In1: Enable Motor A
In2: Enable Motor A
In3: Enable Motor B
In4: Enable Motor B
EnB: Enables PWM signal for Motor B (Please see the “Arduino Sketch Considerations” section)
Two things to mention;
- Make sure you have all of your grounds tied together; Arduino, Power source, and the Motor Controller.
- The PWM Pins are unnecessary if you do not want to control PWM features.
ARDUINO SKETCH CONSIDERATIONS :
The Arduino code sketch is pretty straightforward. Since there isn’t a library for the L298N Dual H-Bridge Motor Controller you just have to declare which pins the controller is hooked to.
The “int dir(number)Pin(letter)”‘ pins can be connected to any available digital pin you have available, as long as you declare the correct pin in your sketch. This makes the L298N Dual H-Bridge Motor Controller very versatile if your project is using a lot of Arduino pins.
The int“speedPin(letter)” pins need to be connected to a PWM pin on the Arduino if you want to enable speed control through PWM.
As a quick cheat I have included a list of PWM pins for the main two types of Arduino’s I use:
- AT MEGA – PWM: 2 to 13 and 44 to 46. Provide 8-bit PWM output with the analogWrite() function.
- UNO – PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analogWrite() function.
Features:
- Maximum motor supply current: 2A per motor.
- Current Sense for each motor.
- Heatsink for better performance.
- Power-On LED indicator.
- Double H bridge Drive Chip: L298N.
Package Includes :
1 x L298N 2A Based Motor Driver Module – Good Quality
dhruvaakhali (verified owner) –
Good Packaging, Nice Working
dhruvaakhali –
devanshdey45 (verified owner) –
Value for money, must buy!
devanshdey45 –
sunnyjaiswaldelhi (verified owner) –
Great, working perfectly
sunnyjaiswaldelhi –
Pritam Nath (verified owner) –
Fine Working
Pritam Nath –
shyamkumar97007 (verified owner) –
value for money. ?
shyamkumar97007 –
auroleoshmandal (verified owner) –
Nice and cheap module… Works as expected
auroleoshmandal –
Santoshlightdesigner (verified owner) –
nice product delivery was on time
Santoshlightdesigner –
harshitjain7447 (verified owner) –
no defects
harshitjain7447 –
udaykarthikeya7 (verified owner) –
Nice quality and works as expected. Great deal for low price. The only problem is this board doesn’t have 3.3v mcu support newer versions of l298n have 3.3v support but this one doesn’t . So if you are planning to use this board with esp 32 or any other 3.3v microcontroller you will have to use separate logic . So make sure you buy the right board . Other than that everything is fine.
udaykarthikeya7 –
Rakin ANWAR –
right output is not working well
Rakin ANWAR –
cgmicronz (verified owner) –
Good
cgmicronz –
M shashikanth –
Very good quality.
M shashikanth –
souvikdey.official (verified owner) –
excellent product and very cheap and delivery was very fast and efficient
souvikdey.official –
sourabhm299 (verified owner) –
this motor driver is best and cheap price. robu.in is best site for election components. and it’s give everyone festival best deals
sourabhm299 –
vilas (verified owner) –
Very Good Motor Control (Compared to its Cost)
vilas –
Prashant (verified owner) –
Motor control module is good. Delivery and packaging was as expected
Prashant –
santanusarangi (verified owner) –
Very good performance as compared to L293D, The robu.in service is excellent. I am fully satisfied.
santanusarangi –
electrotechnet –
Very good packing , Fast delivery-:)
electrotechnet –
Antony John (verified owner) –
Quality for the price is unbeatable. Used it for running rumble shakers for my simulators. Works as advised
Antony John –
akshaypatil6325 (verified owner) –
very nice design, structure and quality…. best one
i love it
akshaypatil6325 –
sanjay saini (verified owner) –
good quality with least price
sanjay saini –
ahmed (verified owner) –
Awesome Product. Easy to use. Just made Remote Automated Curtain within a day with help of 1. L298N 2A Based Motor Driver Module 2. 4 Channel Wireless Four Button Remote Control Transmitter Receiver Module 3. Johnson Geared Motor 60 RPM 4. SMPS Power Adaptor – 12V/2A 5. EasyMech GT2 Timing Belt Coupling and other accessories all from Robu.in. 2 channels of Remote Trans-receiver and one motor driver still free for other use.Thank you Robu.in
ahmed –
Abhash Sahu –
Very nice
Abhash Sahu –
Harry Saldanha (verified owner) –
Good Quality packing. Product working fine.
Harry Saldanha –
Suriyan.S (verified owner) –
good quality
Suriyan.S –
mayurkumarchauhan19@gmail.com (verified owner) –
very good product
mayurkumarchauhan19@gmail.com –
mayurkumarchauhan19@gmail.com (verified owner) –
perfect work , sell package .
mayurkumarchauhan19@gmail.com –
Mohit prashant (verified owner) –
did not tested yet ..but looks high quality product
Mohit prashant –
Abhishek Jajoriya (verified owner) –
It works very well and its very useful.Great product for the price. Works very well. The pwm input for speed control is a really useful feature.
Abhishek Jajoriya –
Rahul Narayanan (verified owner) –
Just powered up and not yet tested at full config,but looks like its genuine Driver,Will purchase more in future,thanks ROBU
Rahul Narayanan –
motti zacharia (verified owner) –
good
motti zacharia –
Mohamed Jamesha (verified owner) –
Excellent product and nice package
Mohamed Jamesha –
shrineels10 (verified owner) –
Great product for the price. Works very well. The pwm input for speed control is a really useful feature.
I would be greatful if a 4 motor driver board can be made available.
shrineels10 –
SIVA KUMAR (verified owner) –
Good Quality and best price
SIVA KUMAR –
Anant (verified owner) –
Very nice quality. Also it came before the estimated delivery date
Anant –