Bridge Rectifiers (AC to DC)
Bridge rectifiers convert alternating current (AC) to direct current (DC) — the essential first step for powering LEDs from any AC power source. LEDs are DC devices: they require current flowing in one direction to emit light. If you connect an LED directly to AC power, it flickers at the line frequency (or simply fails to light at lower voltages) and the reverse voltage on each half-cycle can damage or destroy the LED. A bridge rectifier solves this by routing both halves of the AC waveform in the same direction, producing pulsating DC that, when paired with an electrolytic smoothing capacitor, becomes the clean, steady DC that LEDs need for reliable, flicker-free operation. This is the fundamental circuit for powering LEDs from 12V AC landscape lighting transformers, DCC model railroad track power, doorbell transformers, and any other low-voltage AC source.
The bridge rectifier + capacitor circuit is simple and reliable. The bridge rectifier has four terminals: two AC inputs (connected to the AC power source) and two DC outputs (positive and negative). The AC source connects to the AC input terminals in either orientation — since the bridge rectifies both halves of the waveform, there is no wrong way to connect the AC side. The DC output positive terminal connects to the LED circuit's positive rail, and the DC output negative terminal connects to ground. A 100µF electrolytic capacitor is connected across the DC output (positive to positive, negative to negative) to smooth the pulsating DC into steady DC. After smoothing, connect your LEDs with appropriate current-limiting resistors from the positive rail to ground. For a complete wiring diagram with component values and worked examples, see our AC/DCC bridge rectifier wiring guide.
Model railroad DCC applications: DCC (Digital Command Control) track power is a high-frequency AC signal typically ranging from 12V to 16V AC. While DCC carries digital data packets superimposed on the AC waveform, the bridge rectifier strips out the data and converts the AC to DC, giving you a clean power source for LEDs in structures, platforms, crossing signals, and scenic lighting along the layout. The MB1S mini bridge rectifier is particularly popular for model railroad applications because its tiny SOP-4 package (approximately 4mm × 5mm) fits inside HO-scale and even N-scale buildings where space is extremely limited. Solder the two AC pins to track bus feeders, solder the DC output pins to the LED circuit, and add a small 100µF electrolytic capacitor across the DC output. The entire conversion circuit — MB1S plus capacitor plus resistor plus LED — fits on a piece of perfboard smaller than a postage stamp.
Landscape lighting applications: Low-voltage landscape lighting systems commonly use 12V AC transformers to power path lights, deck lights, and accent fixtures. To add custom LED lighting to an existing landscape system — or to tap into the transformer for a DIY lighting project — you need a bridge rectifier to convert the 12V AC to DC. The output voltage after rectification and smoothing is approximately 15–16V DC (the peak of 12V AC RMS minus the ~1.4V diode drop across two bridge rectifier diodes). Calculate your LED resistor values based on this actual DC output voltage, not the 12V AC RMS rating of the transformer. Use our LED Resistor Calculator to get the exact resistor value for your LED and measured supply voltage combination.
How a bridge rectifier works internally: A bridge rectifier contains four diodes arranged in a diamond (bridge) configuration. During the positive half of the AC cycle, two of the four diodes conduct, routing current through the load in one direction. During the negative half of the AC cycle, the other two diodes conduct, again routing current through the load in the same direction. The result is full-wave rectification — both halves of the AC waveform contribute to the DC output, making more efficient use of the AC power than a half-wave (single diode) rectifier. The trade-off is a voltage drop of approximately 1.4V (two diode drops in series, since current always passes through two diodes at any given time). Pre-packaged bridge rectifiers integrate all four diodes in a single component with clearly marked AC and DC terminals, eliminating the wiring complexity of building a discrete bridge from four individual 1N4007 diodes. You can build your own from four 1N4007s if you prefer, but the pre-packaged versions are more compact and easier to install.
Choosing the right bridge rectifier: The key specifications are maximum forward current (must exceed the total current drawn by all LEDs in the circuit), peak inverse voltage (PIV) (must exceed the peak AC voltage with margin), and package size (matters for space-constrained installations like model railroad structures). The MB1S mini bridge rectifier is rated for 0.5A and 100V PIV in a surface-mount SOP-4 package — ideal for small LED installations drawing under 500mA. For larger installations, standard through-hole bridge rectifiers in inline or DIP packages handle 1A to 4A or more. For most hobby LED projects (a few LEDs to a few dozen LEDs), the MB1S's 0.5A rating is more than sufficient.
Important: always use a smoothing capacitor. The DC output of a bridge rectifier without a capacitor is pulsating DC — a waveform that swings from zero to peak voltage 120 times per second (for 60Hz AC input). LEDs driven directly from this pulsating waveform produce a visible 120Hz flicker that is distracting, looks cheap, and can trigger headaches in sensitive individuals. A 100µF electrolytic capacitor across the DC output smooths the waveform to a nearly constant DC level with only a small ripple. For higher-current loads (multiple LED arrays totaling 500mA or more), increase the capacitor to 220µF or 470µF for even smoother output. The capacitor must be rated for a voltage above the DC output (50V rated capacitors handle all common landscape and model railroad voltages with generous margin). Remember that the smoothing capacitor is polarized — connect positive to positive and negative to negative, or the capacitor can fail. Browse our complete electrical components selection for resistors, capacitors, transistors, diodes, and everything else you need for LED circuit projects.