Reverse Polarity Protection.

Reverse Polarity Protection.
Схемотехника

To power my devices during debugging, I use ordinary phone chargers with a pin header connector soldered to their output. To tell plus from minus, I file a notch in one of the pins, but through carelessness I still sometimes make a mistake and connect the wires the wrong way round. I won't talk about the consequences of reverse polarity; instead I'll tell you how to avoid it. But first, a couple of words about what reverse polarity is...

How to Get DC from AC Voltage, or How a Diode Works.

How to Get DC from AC Voltage, or How a Diode Works.
Схемотехника

To understand how to get DC voltage from AC, we need to figure out how alternating current differs from direct current and how a diode works. Alternating current (AC) is an electric current that changes in magnitude and direction over time or, in a special case, changes in magnitude while keeping its direction in the electrical circuit...

How to Suppress Inductive Spikes, or Why a Diode Is Connected in Parallel with a Relay.

How to Suppress Inductive Spikes, or Why a Diode Is Connected in Parallel with a Relay.
Схемотехника

In circuits where a relay coil is driven by a transistor, a diode is always connected in parallel with the coil. Let's figure out what role the diode plays. Below is a circuit showing that if a certain voltage is applied to the gate of a field-effect transistor, the transistor becomes equivalent to a wire, meaning its resistance tends to zero. Let's build the circuit shown below and...