From the course: Learning Arduino: Pulse Width Modulation

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Diving deeper into H bridge control

Diving deeper into H bridge control - Arduino Tutorial

From the course: Learning Arduino: Pulse Width Modulation

Start my 1-month free trial

Diving deeper into H bridge control

- In order to drive a DC motor in both directions, I need an H bridge. An H bridge is an electronic component that allows voltage to be applied to a circuit in either direction. The most common application is to turn DC motors. The H bridge in my kit is an L293D motor driver. There are 16 pins with four transistors. Each motor uses two of the transistors to operate in both directions. Each pin plays an important role. The top of the chip is marked with a small notch. This is a common attribute of integrated circuits, and is used to tell the orientation of the pins. The pins are numbered 1 through 8, top to bottom on the left, and 9 to 16, bottom to top, on the right. Pins 1 and 9 are called ENABLE pins. These pins are connected to a digital output. When current is run to them, they enable the side of the H bridge that they reside on. Think of them as a master switch. Pins 2, 7, 10, and 15 are INPUT pins. These can be connected to a PWM pin, to enable motor speed control. Pins 3, 6…

Contents