Motor Drivers Modules

  • Post author:
  • Reading time:2 mins read

An H bridge circuit is used to control the direction of rotation of the Motor. It consists of 4 switches. When switch S1 and S4 are closed simultaneously and switches S2 and S3 are open, positive voltage to the Motor which drives the motor clockwise.

When switch S2 and S3 are closed simultaneously and Switches S1 and S4 are open, negative voltage will be applied to the Motor which rotates the Motor in the counter clockwise direction.

L298N pin out : L298N is a dual H bridge motor driver which can be used to control two Motors. 

 

Pin Number

NAme

Description

1,15

Sense A, Sense B

The Sense Resistor is connected between this pin and ground to control the load.

2,3

Out 1, Out 2

Output pins of the bridge A, the current that flows through the load connected between these two pins is monitored at pin 1.

4

Vs

Supply Voltage for the power output stages. A 100nF Capacitor must be connected between this pin and ground.

5,7

Input 1, Input 2

TTL compatible inputs of bridge A.

6,11

Enable A, Enable B

Low on this pin disables the corresponding bridge.

8

GND

Ground pin

9

Vss

Supply Voltage for the logic blocks.

10,12

Input 3, Input 4

TTL compatible inputs of bridge B.

13,14

Out 3, Out 4

Output pins of bridge B, the current that flows through the load connected between these pins is monitored at pin 15.

L298N control signals :

 

EN A

IN 1

IN 2

MOTOR STATE

0

N/A

N/A

Stop

1

0

0

Brake

1

0

1

Clockwise

1

1

0

Counter Clockwise

1

1

1

Brake

TB6612FNG : TB6612FNG is also a full H bridge Motor driver.

Pin out details :

AIN1,AIN2 : Input pins of the Motor A H bridge.

PWMA : PWM input of the Motor A bridge.

BIN1,BIN2 : Input pins of the Motor B H bridge.

PWMB : PWM input of the Motor B bridge.

STBY : standby pin for quick disable both motors.

MOTORA : Two output pins for Motor A, controlled by AIN1,AIN2 and PWMA.

MOTORB : Two output pins for Motor B, controlled by BIN1,BIN2 and PWMB.

TB6612FNG control signals :

IN1

IN2

PWM

STBY

OUT1

OUT2

MODE

H

H

H/L

H

L

L

Short brake

L

H

H

H

L

H

CCW

L

H

L

H

L

L

Short brake

H

L

H

H

H

L

CW

H

L

L

H

L

L

Short brake

L

L

H

H

OFF

OFF

Stop

H/L

H/L

H/L

L

OFF

OFF

Standby

Farees Ahmed

The aim of this blog is to serve as a quick reference guide for the Curious. Appreciate your feedback and comments !