Motor Drivers

DC motor drivers

is a circuit that drives the motor with higher current than the microcontroller can provide.

Motor driver L298N

L298N motor driver

Warning

If the motor supply voltage is up to 12V we can enable the 5V regulator and the 5V pin can be used as output, for example for powering our Arduino board. But if the motor voltage is greater than 12V we must disconnect the jumper because those voltages will cause damage to the onboard 5V regulator

Also, do not supply power to both the VSS (5V-35V) and VS (5V) pins while the jumper is in place.

Motor driver L298N and Arduino

L298N motor driver and Arduino

BLDC motor drivers

ESC or Electronic Speed Controller controls the brushless motor movement or speed by activating the appropriate MOSFETs to create the rotating magnetic field so that the motor rotates. The higher the frequency or the quicker the ESC goes through the 6 intervals, the higher the speed of the motor will be.

BLDC motor and ESC BLDC motor and Arduino