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 sunelectronics.co.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.


Connection Diagram


L298N_DC_Motor-1024x697


 


FRJ7W76HZDYE1YD.MEDIUM


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:


  1. Maximum motor supply current: 2A per motor.
  2. Current Sense for each motor.
  3. Heatsink for better performance.
  4. Power-On LED indicator.
  5. Double H bridge Drive Chip: L298N.



No Guarantee No Warranty

Write a review

Note: HTML is not translated!
    Bad           Good
Captcha

L298N 2A Based Motor Driver Module

  • Product Code: L298N 2A Based Motor Driver Module
  • Availability: 25
  • INR200.00₹
  • INR150.00₹

    25% OFF

  • Ex Tax: INR127.12₹

Related Products

Bluetooh Robotics Car Diy Kit

Bluetooh Robotics Car Diy Kit

No Guarantee No Warranty..

INR1,400.00₹ Ex Tax: INR1,186.44₹

Monster Moto Shield VNH2SP30 Motor Driver 14A (Peak 30A)

Monster Moto Shield VNH2SP30 Motor Driver 14A (Peak 30A)

Monster Moto Shield VNH2SP30 Motor Driver 14A is essentially a ramped up version of our Ardumoto mot..

INR450.00₹ Ex Tax: INR381.35₹

20% off
8 Way DIP Slide Switch 2.54mm Pitch

8 Way DIP Slide Switch 2.54mm Pitch

It is a 2.54mm Pitch 8 Way DIP Slide Switch. The slide switch is widely used in the modulation of ..

INR20.00₹ INR25.00₹ Ex Tax: INR16.95₹

Motor Controller 24V for MY1016 350W

Motor Controller 24V for MY1016 350W

This Motor Controller 24V for MY1016 350W includes attachments for the motor, accelerator, br..

INR1,300.00₹ Ex Tax: INR1,101.70₹

HT12E and HT12D 12 bits Encoder/Decoder IC for RF Wireless Transmitter Receiver (1 Pair)

HT12E and HT12D 12 bits Encoder/Decoder IC for RF Wireless Transmitter Receiver (1 Pair)

The HT 12E Encoder ICs are series of CMOS LSIs for Remote Control system applications. They are capa..

INR85.00₹ Ex Tax: INR72.03₹

Dual Monster Moto Shield VNH2SP30 DC Motor Driver 2x14A (Peak 30)

Dual Monster Moto Shield VNH2SP30 DC Motor Driver 2x14A (Peak 30)

The Dual Monster Moto Shield VNH2SP30 DC Motor Driver 2x14A (Peak 30A) is essentially a rampe..

INR950.00₹ Ex Tax: INR805.09₹

Tags: L298N 2A Based Motor Driver Module

Bestsellers

NIPPO 9V Rectangular Battery

NIPPO 9V Rectangular Battery

9V Manganese extra heavy duty battery Zinc Manganese extra heavy duty batt..

INR30.00₹ Ex Tax: INR25.42₹

1N4007 1 amp General Purpose Rectifier Diode

1N4007 1 amp General Purpose Rectifier Diode

1N4007 is a member of 1N400x series, which is a family of popular 1 A general purpose silicon rect..

INR1.00₹ Ex Tax: INR0.85₹

9.09% off
Female DC Power Jack Wire Cable

Female DC Power Jack Wire Cable

If you need to connect a DC power wall wart to a board that doesn't have a DC jack - this adapter ..

INR10.00₹ INR11.00₹ Ex Tax: INR8.47₹

20% off
2 Pin 5.08mm Pitch Pluggable Screw Terminal Block (Pack of 5)

2 Pin 5.08mm Pitch Pluggable Screw Terminal Block (Pack of 5)

2 Pin 5.08mm Pitch Pluggable Screw Terminal Block is a compact and versatile terminal block. It fi..

INR20.00₹ INR25.00₹ Ex Tax: INR16.95₹

9.09% off
Male DC Connector Cable

Male DC Connector Cable

DC Male  Connector Cable will come in very handy! There is a Male DC Connector on one en..

INR10.00₹ INR11.00₹ Ex Tax: INR8.47₹

Mini 1A 30VDC 2pin Flashlight on off Switch Push Button

Mini 1A 30VDC 2pin Flashlight on off Switch Push Button

Mini 1A 30VDC 2Pin Flashlight ON OFF Switch Push Button is widely used in household appliance..

INR6.00₹ Ex Tax: INR5.08₹

3.7V 500mAH (Lithium Polymer) Lipo Rechargeable Battery

3.7V 500mAH (Lithium Polymer) Lipo Rechargeable Battery

3.7V 500mAH (Lithium Polymer) Lipo Rechargeable Battery also known as Lipo or Lipol..

INR160.00₹ Ex Tax: INR135.59₹

Male Header .1" 40Pin

Male Header .1" 40Pin

This break-away header can be snapped between any pair of pins to created any length header.Features..

INR10.00₹ Ex Tax: INR8.48₹