- Stock: In Stock
- Model: 10277
- SKU: AST3333
- Location: India
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.
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.
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
6 Months Warranty
This item is covered with a supplier warranty of 6 months from the time of delivery against manufacturing defects only. This is a quality product from the original manufacturer. Only manufacturing defects are covered under this warranty. Reimbursement or replacement will be done against manufacturing defects.
What voids the warranty:
If the product is subject to misuse, tampering, static discharge, accident, water or fire damage, use of chemicals & soldered or altered in any way.
What is Customer Question & Answers?
Customer Questions & Answers allows you to connect with supplier to ask or answer questions about products. You can ask questions about a product or use your own expertise to answer other customers' questions.
What should I ask?
Ask questions specific to the product. This is a great opportunity to get feedback from other customers who have experience with the product. Ask a question that will capture this experience. For example:
- Does this raspberry pi camera take good quality pictures in low light?
- How long does the battery last, while flying quadcopter?
- Does this robotic kit includes with batterys?