Page 125 - KEC Khaitan C8.2 Flipbook
P. 125

ADVANTAGES IN ROBOTICS
                     Simplicity: Easy to power and reverse direction with the right driver.

                     Wide Range: Numerous voltage and torque ratings are available.

                     Adapts Easily: Suitable for both wheeled or tracked robot designs.

































                 INTRODUCTION TO MOTOR DRIVERS
                 DC motors cannot be directly connected to Arduino because they require more current. Motor
                 drivers act as intermediaries, controlling motor speed and direction.




                           MOTOR DRIVERS (L298N, L293D)


                 WHY USE A MOTOR DRIVER?

                     Higher Current Needs: A motor often draws more current than an Arduino pin can handle
                     (about 20mA).

                     Directional Control: Drivers use an H-bridge circuit, letting you reverse polarity for forward/
                     reverse spinning.

                     Protection: Shields the microcontroller from electrical noise and voltage spikes generated by
                     the motor.


                 L298N DRIVER
                     Dual H-Bridge: Controls two DC motors.

                     Input Pins: IN1, IN2, IN3, IN4 for direction; ENA and ENB (enable lines) turn each motor driver
                     on or off.




                                                                                           Mobility & Motor Control  123
   120   121   122   123   124   125   126   127   128   129   130