An H-bridge is a circuit of four switches (usually MOSFETs or BJTs) arranged in an 'H' pattern that allows a microcontroller to reverse the voltage polarity across a DC motor, enabling bidirectional control and braking. In a real circuit or installation, it changes a fixed, unidirectional DC power supply into a dynamically reversible, variable-speed output without requiring mechanical relays or physically swapping wires. By rapidly toggling these switches using Pulse Width Modulation (PWM), you dictate not just the direction of current flow, but the effective RMS voltage reaching the load.
The Core Switching Matrix and IC Selection
When selecting an H-bridge, the internal topology dictates your efficiency, heat output, and maximum voltage. Older designs relied on Bipolar Junction Transistors (BJTs) configured as Darlington pairs, which suffer from high voltage drops. Modern designs use N-channel and P-channel MOSFETs, which offer drastically lower resistance and higher efficiency. For extreme currents, gate drivers are used to switch external, discrete MOSFETs.
Below is a specification matrix of the most common H-bridge ICs and modules you will encounter on the bench in 2026, ranging from micro-robotics to heavy automotive winches.
| IC / Module | Topology | Max Voltage | Continuous Current | Rds(on) / Vdrop | Typical Price |
|---|---|---|---|---|---|
| TI DRV8833 | Dual NMOS/PMOS | 10.8V | 1.5A per channel | 0.35Ω (total) | ~$1.50 (IC) |
| ST L298N Module | Dual BJT Darlington | 46V | 2.0A per channel | ~2.0V drop | ~$3.00 (Module) |
| Infineon BTS7960 | High-Power MOSFET | 27.5V | 43A | ~1.2mΩ | ~$12.00 (Module) |
| TI DRV8701 | External FET Gate Driver | 60V | Scalable (depends on FETs) | N/A (Driver only) | ~$4.50 (IC) |
Worked Numeric Example: Thermal Limits and Voltage Drop
To understand why topology matters, let us run a thermal and voltage calculation comparing the legacy ST L298N against the modern TI DRV8833.
The Scenario: You are driving a 12V nominal DC gearmotor that draws a continuous 1.5A under load. Your power supply is exactly 12.0V. Ambient temperature is 25°C.
Calculation 1: The L298N (BJT Topology)
BJTs do not have an Rds(on); they have a saturation voltage drop (Vce(sat)). In the L298N, the current passes through two Darlington pairs. The datasheet specifies a typical voltage drop of 2.0V at 1.5A.
Voltage at Motor: 12.0V (Supply) - 2.0V (Drop) = 10.0V.
Power Dissipated as Heat: P = V × I = 2.0V × 1.5A = 3.0 Watts.
Result: Your motor runs 17% slower than rated, and the L298N chip must dissipate 3W of heat. Without a massive aluminum heatsink, the silicon junction will exceed its 150°C thermal shutdown threshold in seconds, halting your project.
Calculation 2: The DRV8833 (MOSFET Topology)
The DRV8833 uses MOSFETs with a total high-side plus low-side Rds(on) of 0.35Ω.
Voltage Drop: V = I × R = 1.5A × 0.35Ω = 0.525V.
Voltage at Motor: 12.0V - 0.525V = 11.475V.
Power Dissipated as Heat: P = I² × R = (1.5A)² × 0.35Ω = 0.78 Watts.
Result: The motor receives nearly full voltage, and the IC dissipates less than a quarter of the heat. It can run continuously on a standard breadboard without a heatsink.
Where You Meet H-Bridges in Practice
While hobbyists associate H-bridges with simple DC gearmotors, the topology is foundational to modern power electronics. According to All About Circuits, the H-bridge is the fundamental building block for almost all bidirectional motor control.
- Stepper Motor Drivers: Modules like the A4988 or TMC2209 used in 3D printers and CNC routers contain dual H-bridges internally. They rapidly switch polarity to energize the A and B coils, and use PWM 'chopping' to regulate current for microstepping.
- Automotive Systems: Power windows, power seats, and electronic parking brakes use high-current, integrated H-bridges (often controlled via LIN or CAN bus) to reverse motor direction without requiring the driver to manually swap high-current wires.
- Regenerative Braking in EVs: In electric vehicles, the main traction inverter is essentially a massive, three-phase H-bridge. When braking, the controller alters the switching sequence so the motor acts as a generator, pushing current backward through the MOSFET body diodes and into the high-voltage battery pack.
- Linear Actuators and Winches: Heavy-duty 12V/24V linear actuators use high-amperage H-bridges (like the BTS7960) to extend and retract, utilizing dynamic braking (shorting the motor terminals via the low-side switches) to stop the load instantly without mechanical friction brakes.
Common Confusions and the 'Shoot-Through' Failure Mode
When diagnosing or designing these circuits, builders frequently encounter specific failure modes and conceptual confusions.
What People Commonly Confuse It With:
Beginners often confuse a full H-bridge with a half-bridge. A half-bridge only consists of two switches (one high-side, one low-side) and is used to drive one side of a load, typically requiring a split-rail power supply or a center-tapped transformer. Half-bridges are combined in threes to drive 3-phase BLDC motors, but a single half-bridge cannot reverse a standard 2-wire DC motor. Another common confusion is assuming logic-level GPIO pins from an ESP32 or Arduino can directly drive the gates of high-power MOSFETs. Most high-current H-bridges require dedicated gate drivers to supply the peak amperage needed to charge the MOSFET gate capacitance in nanoseconds.
The most fatal flaw in H-bridge design is 'shoot-through'. This occurs if the top and bottom switches on the same side of the 'H' are turned on simultaneously. This creates a dead short from VCC directly to Ground, bypassing the motor entirely. The resulting current spike will instantly vaporize the silicon, cause lithium battery packs to vent flame, and destroy your microcontroller.
Preventing Shoot-Through with Dead Time:
Because MOSFETs and BJTs do not turn off instantaneously, there is a brief window during switching where both transistors are partially conducting. To prevent shoot-through, H-bridge controller logic enforces dead time—a mandatory delay (typically between 100ns and 1µs) where both switches on a leg are held strictly OFF before the opposite switch is allowed to turn ON. If you are designing a custom H-bridge from discrete components using an ESP32's PWM peripheral, you must manually program this dead time into your firmware or use a dedicated hardware gate driver IC (like the IR2110) that handles the dead-time insertion automatically.
Always place a fast-blow fuse or a PTC resettable fuse on the main VCC line feeding your H-bridge. If a shoot-through event occurs due to a firmware glitch or a blown MOSFET, the fuse will clear the fault before your PCB traces melt or your power supply catches fire.






