![l298n motor driver microcenter l298n motor driver microcenter](http://fab.cba.mit.edu/classes/863.13/people/jfduval/img/week6/biom_dev_pwr_stg_0_1_3d.png)
Let us build an example project that will rotate a DC motor in both direction with few seconds delay.Īs specified in L298N H-Bridge module the motor driver has a two motor terminal block to connect DC motor. Here is a diagram of the pinouts of an L298N integrated circuit: The L298N can also be used to drive a single stepper motor. This makes it ideal for robotic projects, as most robots have either two or four powered wheels. The L298N actually contains two complete H-Bridge circuits, so it is capable of driving a pair of DC motors.
![l298n motor driver microcenter l298n motor driver microcenter](https://a.pololu-files.com/picture/0J4620.1200.jpg)
The L298N can handle up to 3 amperes at 35 Volts DC, which is suitable for most hobby motors. The difference between the family members is in the amount of current they can handle. The L298N is a member of a family of IC’s that all have the designation “L298”. This causes change in spinning direction of the motor. Closing two particular switches at the same time reverses the polarity of the voltage applied to the motor. An H-Bridge circuit contains four switches with the motor at the centre forming an H-like arrangement. A common technique for doing this is to use an H-Bridge. The DC motor’s spinning direction can be controlled by changing polarity of its input voltage. H-Bridge – For controlling rotation direction The higher the duty cycle, the greater the average voltage being applied to the dc motor(High Speed) and the lower the duty cycle, the less the average voltage being applied to the dc motor(Low Speed).
L298N MOTOR DRIVER MICROCENTER SERIES
A common technique for doing this is to use PWM (Pulse Width Modulation) PWM is a technique where average value of the input voltage is adjusted by sending a series of ON-OFF pulses. The speed of a DC motor can be controlled by varying its input voltage. DC Motor Controlling can be achieved by combining these two techniques.
![l298n motor driver microcenter l298n motor driver microcenter](https://content.instructables.com/FJH/RM7F/K1B4D5CQ/FJHRM7FK1B4D5CQ.LARGE.jpg)
In order to have a complete control over DC motor, we have to control its Speed and Rotation Direction. Coupling the L298N H-Bridge to a microcontroller like an Arduino Uno, ESP32 board will give you the ability to control both the speed and rotation direction of two DC motors. The L298N H-Bridge module is a simple way to achieve that.
L298N MOTOR DRIVER MICROCENTER HOW TO
In this tutorial, we will learn How to control DC motor with ESP32 using L298N-Bridge Motor driver ?.