> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/wokwi/wokwi-docs/llms.txt
> Use this file to discover all available pages before exploring further.

# KS2E-M-DC5 Relay

> Double Pole Double Throw (DPDT) Relay

Double Pole Double Throw (DPDT) Relay.

## Pins

<ParamField path="COIL1" type="input">
  First terminal of the coil
</ParamField>

<ParamField path="COIL2" type="input">
  Second terminal of the coil
</ParamField>

<ParamField path="P1" type="contact">
  First pole
</ParamField>

<ParamField path="NC1" type="contact">
  Normally closed - connected to P1 when coil unpowered
</ParamField>

<ParamField path="NO1" type="contact">
  Normally open - connected to P1 when coil powered
</ParamField>

<ParamField path="P2" type="contact">
  Second pole
</ParamField>

<ParamField path="NC2" type="contact">
  Normally closed - connected to P2 when coil unpowered
</ParamField>

<ParamField path="NO2" type="contact">
  Normally open - connected to P2 when coil powered
</ParamField>

## Operation

The relay is an electronic switch with two states: coil unpowered, and coil powered. By default, the coil is unpowered. You can power the coil by applying voltage between the pins COIL1 and COIL2.

When the coil is unpowered, P1 is connected to NC1, and P2 is connected to NC2 (NC means normally closed/connected).

When the coil is powered, P1 is connected to NO1, and P2 is connected to NO2 (NO means normally open/disconnected).

## Simulator Examples

* [One relay controlling two LEDs](https://wokwi.com/projects/322846360729551444)
* [Relay Flip-Flop](https://wokwi.com/projects/322802227591774802) - Single bit memory element using three relays
