Price: Rs 170.00
This L298N Based Motor Driver Module – 2A is a high power motor driver perfect for driving DC Motors and Stepper Motors. It uses the popular L298 motor driver IC and has the 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 L298N Based Motor Driver Module – 2A 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: It is recommended to buy a good quality version of this product. You can buy it by clicking here: L298N 2A Based Motor Driver Module – Good Quality. The reason is that the good quality version product has a better quality of components as compared to standard ones.
Note : Board color may be different in actual product.
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.
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“speeding(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:
1 x L298N Based Motor Driver Module – 2A (Standard Quality)