
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
<title>Dual Relay Bricklet – Tinkerforge</title>

<!--<link type="text/css" rel="stylesheet" href="http://www.tinkerforge.com/static/base_tf.css" />-->
<link type="text/css" rel="stylesheet" href="http://www.tinkerforge.com/static/jquery.lightbox-0.5.css" />
<meta name="keywords" content="Tinkerforge, Open Source Hardware, Bricks, Bricklets, USB Controllable, USB Sensing, USB Controlling" />
<meta name="description" content="Easy-to-use open source hardware. Control motors and sense the environment over USB, Ethernet or Wi-Fi/WLAN with C/C++, C#, Delphi/Lazarus, Java, JavaScript, LabVIEW, Mathematica, MATLAB/Octave, Perl, PHP, Python, Ruby, Shell, Visual Basic .NET or directly over TCP/IP." />
<meta name="copyright" content="Tinkerforge GmbH" />
<!--<script type="text/javascript">document.write('<style>.noscript { display: none; }</style>');</script>-->


    
    <link rel="stylesheet" href="../../_static/documentation_tf.css" type="text/css" />
    <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../../',
        VERSION:     '1.0',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="../../_static/jquery.js"></script>
    <script type="text/javascript" src="../../_static/underscore.js"></script>
    <script type="text/javascript" src="../../_static/doctools.js"></script>
    <link rel="top" title="Tinkerforge" href="../../index.html" />
    <link rel="up" title="Bricklets" href="Bricklets.html" />
    <link rel="next" title="GPS Bricklet" href="GPS.html" />
    <link rel="prev" title="Dual Button Bricklet" href="Dual_Button.html" />

<script type="text/javascript" src="http://www.tinkerforge.com/static/jquery.lightbox-0.5.js"></script>
<script type="text/javascript">$(function() { $('#gallery a').lightBox(); });</script>
<script type="text/javascript">$(function() { $(".sphinxsidebarwrapper").filter(function() { return $.trim($(this).text()).length == 0; }).parent().hide(); });</script>


  </head>
  <body>
<div id="wrapper">
	<div id="tfcontent">
		<div class="boxContent3">


<div class="toctree">
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../../Getting_Started.html">Getting Started</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../Primer.html">Primer</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Tutorials.html">Tutorials</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../FAQ.html">FAQ</a></li>
</ul>
</li>
<li class="toctree-l1 current"><a class="reference internal" href="../../Hardware.html">Hardware</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../Bricks/Bricks.html">Bricks</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="Bricklets.html">Bricklets</a><ul class="current">
<li class="toctree-l3"><a class="reference internal" href="Ambient_Light.html">Ambient Light Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Analog_In.html">Analog In Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Analog_Out.html">Analog Out Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Barometer.html">Barometer Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Breakout.html">Breakout Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Color.html">Color Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Current12.html">Current12 Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Current25.html">Current25 Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Distance_IR.html">Distance IR Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Distance_US.html">Distance US Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Dual_Button.html">Dual Button Bricklet</a></li>
<li class="toctree-l3 current"><a class="current reference internal" href="">Dual Relay Bricklet</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#features">Features</a></li>
<li class="toctree-l4"><a class="reference internal" href="#description">Description</a></li>
<li class="toctree-l4"><a class="reference internal" href="#technical-specifications">Technical Specifications</a></li>
<li class="toctree-l4"><a class="reference internal" href="#resources">Resources</a></li>
<li class="toctree-l4"><a class="reference internal" href="#connectivity">Connectivity</a></li>
<li class="toctree-l4"><a class="reference internal" href="#test-your-dual-relay-bricklet">Test your Dual Relay Bricklet</a></li>
<li class="toctree-l4"><a class="reference internal" href="#inductive-load-switching">Inductive Load Switching</a></li>
<li class="toctree-l4"><a class="reference internal" href="#case">Case</a></li>
<li class="toctree-l4"><a class="reference internal" href="#programming-interface">Programming Interface</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="GPS.html">GPS Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Hall_Effect.html">Hall Effect Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Humidity.html">Humidity Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Industrial_Digital_In_4.html">Industrial Digital In 4 Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Industrial_Digital_Out_4.html">Industrial Digital Out 4 Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Industrial_Dual_020mA.html">Industrial Dual 0-20mA Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Industrial_Quad_Relay.html">Industrial Quad Relay Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="IO16.html">IO-16 Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="IO4.html">IO-4 Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Joystick.html">Joystick Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="LCD_16x2.html">LCD 16x2 Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="LCD_20x4.html">LCD 20x4 Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="LED_Strip.html">LED Strip Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Line.html">Line Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Linear_Poti.html">Linear Poti Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Moisture.html">Moisture Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Motion_Detector.html">Motion Detector Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Multi_Touch.html">Multi Touch Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="NFC_RFID.html">NFC/RFID Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Piezo_Buzzer.html">Piezo Buzzer Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Piezo_Speaker.html">Piezo Speaker Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="PTC.html">PTC Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Remote_Switch.html">Remote Switch Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Rotary_Encoder.html">Rotary Encoder Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Rotary_Poti.html">Rotary Poti Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Segment_Display_4x7.html">Segment Display 4x7 Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Solid_State_Relay.html">Solid State Relay Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Sound_Intensity.html">Sound Intensity Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Temperature.html">Temperature Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Temperature_IR.html">Temperature IR Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Tilt.html">Tilt Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Voltage.html">Voltage Bricklet</a></li>
<li class="toctree-l3"><a class="reference internal" href="Voltage_Current.html">Voltage/Current Bricklet</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../Master_Extensions/Master_Extensions.html">Master Extensions</a></li>
<li class="toctree-l2"><a class="reference internal" href="../Power_Supplies/Power_Supplies.html">Power Supplies</a></li>
<li class="toctree-l2"><a class="reference internal" href="../Accessories/Accessories.html">Accessories</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Timeline.html">Timeline</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../Software.html">Software</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../Software/Brickd.html">Brick Daemon (brickd)</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Software/Brickv.html">Brick Viewer (brickv)</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Software/API_Bindings.html">API Bindings</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Software/Firmwares_And_Plugins.html">Firmwares and Plugins</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Software/Device_Identifier.html">Device Identifier</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Source_Code.html">Source Code and Bug Tracking</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Programming_Interface.html">Programming Interface</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../Kits.html">Starter Kits</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../Kits/WeatherStation/WeatherStation.html">Weather Station</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Kits/HardwareHacking/HardwareHacking.html">Hardware Hacking</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Kits/ServerRoomMonitoring/ServerRoomMonitoring.html">Server Room Monitoring</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Kits/Blinkenlights/Blinkenlights.html">Blinkenlights</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Kits/InternetOfThings/InternetOfThings.html">Internet of Things</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Kits/CameraSlider/CameraSlider.html">Camera Slider</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../Embedded.html">Embedded Boards</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../Embedded/Raspberry_Pi.html">Raspberry Pi</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../Specifications.html">Specifications</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../Technical_Data.html">Technical Data</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Low_Level_Protocols/TCPIP.html">TCP/IP Protocol</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Low_Level_Protocols/Modbus.html">Modbus Protocol</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Low_Level_Protocols/Wireshark_Dissector.html">Wireshark Dissector</a></li>
</ul>
</li>
</ul>

</div>
<div class="breadcrumbs">
<a href="../../Hardware.html">Hardware</a> / <a href="./Bricklets.html">Bricklets</a> / Dual Relay Bricklet
</div>



<div id="shoplink_img">
	<a href="../../../shop/bricklets/dual-relay-bricklet.html"><img alt="Shop" width="32" height="40" src="../../_images/Misc/cart-icon.png" /></a>
</div>
<div id="shoplink_a">
	<a href="../../../shop/bricklets/dual-relay-bricklet.html">In Shop</a>
</div>



    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="dual-relay-bricklet">
<span id="id1"></span><h1>Dual Relay Bricklet<a class="headerlink" href="#dual-relay-bricklet" title="Permalink to this headline">¶</a></h1>
{% from "macros.html" import tfdocstart, tfdocimg, tfdocend %}
{{
    tfdocstart("Bricklets/bricklet_dual_relay_12_tilted_350.jpg",
               "Bricklets/bricklet_dual_relay_12_tilted_600.jpg",
               "Dual Relay Bricklet")
}}
{{
    tfdocimg("Bricklets/bricklet_dual_relay_12_horizontal_100.jpg",
             "Bricklets/bricklet_dual_relay_12_horizontal_600.jpg",
             "Dual Relay Bricklet")
}}
{{
    tfdocimg("Bricklets/bricklet_dual_relay_12_front_100.jpg",
             "Bricklets/bricklet_dual_relay_12_front_600.jpg",
             "Dual Relay Bricklet")
}}
{{
    tfdocimg("Bricklets/bricklet_dual_relay_master_100.jpg",
             "Bricklets/bricklet_dual_relay_master_600.jpg",
             "Dual Relay Bricklet with Master Brick")
}}
{{
    tfdocimg("Cases/bricklet_dual_relay_case_100.jpg",
             "Cases/bricklet_dual_relay_case_600.jpg",
             "Dual Relay Bricklet Case")
}}
{{
    tfdocimg("Bricklets/bricklet_dual_relay_brickv_100.jpg",
             "Bricklets/bricklet_dual_relay_brickv.jpg",
             "Dual Relay Bricklet in Brick Viewer")
}}
{{
    tfdocimg("Dimensions/dual_relay_bricklet_dimensions_100.png",
             "Dimensions/dual_relay_bricklet_dimensions_600.png",
             "Outline and drilling plan")
}}
{{ tfdocend() }}<div class="section" id="features">
<h2>Features<a class="headerlink" href="#features" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Two relays to switch AC/DC devices</li>
<li>Switches up to 240VAC/10A and 30VDC/7A</li>
</ul>
</div>
<div class="section" id="description">
<span id="dual-relay-bricklet-description"></span><h2>Description<a class="headerlink" href="#description" title="Permalink to this headline">¶</a></h2>
<p>The Dual Relay <a class="reference internal" href="../../Primer.html#primer-bricklets">Bricklet</a> can be used to
extend the features of <a class="reference internal" href="../../Primer.html#primer-bricks">Bricks</a> by two
<a class="reference external" href="http://en.wikipedia.org/wiki/Relay">relays</a>. Each relay has three
terminals such that the terminal in the middle is electrically connected to
the terminal left or right depending on the state.
The state is visualized by a LED. The new hardware version 1.2 is equipped with
extensive protection circuitry against interference of inductive load switching.</p>
<p>You can use this Bricklet to switch power supplies, motors, lamps, etc.
Consider the maximum voltage and current.</p>
<p>If you want to switch inductive loads, please see:
<a class="reference internal" href="#dual-relay-inductive-load-switching">Inductive Load Switching</a>.</p>
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last">Terminals and contacts are not insulated. If you want
to switch higher voltages, consider to put the Dual Relay Bricklet
in a casing. Touching the contacts is potentially life-threatening!</p>
</div>
</div>
<div class="section" id="technical-specifications">
<h2>Technical Specifications<a class="headerlink" href="#technical-specifications" title="Permalink to this headline">¶</a></h2>
<table border="1" class="docutils">
<colgroup>
<col width="36%" />
<col width="64%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Property</th>
<th class="head">Value</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>Relay</td>
<td>AZ943-1CH-5DE</td>
</tr>
<tr class="row-odd"><td>Current Consumption</td>
<td>75mA (per Relay)</td>
</tr>
<tr class="row-even"><td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr class="row-odd"><td>Maximum Voltage/Current</td>
<td><div class="first last line-block">
<div class="line">AC: 240V/10A</div>
<div class="line">DC: 30V/7A</div>
</div>
</td>
</tr>
<tr class="row-even"><td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr class="row-odd"><td>Dimensions (W x D x H)</td>
<td>45 x 45 x 25mm (1.77 x 1.77 x 0.98&quot;)</td>
</tr>
<tr class="row-even"><td>Weight</td>
<td>29g</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="resources">
<h2>Resources<a class="headerlink" href="#resources" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>AZ943-1CH-5DE datasheet (<a class="reference external" href="https://github.com/Tinkerforge/dual-relay-bricklet/raw/master/datasheets/az943.pdf">Download</a>)</li>
<li>Schematic (<a class="reference external" href="https://github.com/Tinkerforge/dual-relay-bricklet/raw/master/hardware/dual-relay-schematic.pdf">Download</a>)</li>
<li>Outline and drilling plan (<a class="reference external" href="../../_images/Dimensions/dual_relay_bricklet_dimensions.png">Download</a>)</li>
<li>Source code and design files (<a class="reference external" href="https://github.com/Tinkerforge/dual-relay-bricklet/zipball/master">Download</a>)</li>
</ul>
</div>
<div class="section" id="connectivity">
<h2>Connectivity<a class="headerlink" href="#connectivity" title="Permalink to this headline">¶</a></h2>
<p>Each relay has three connectors: A, SW and B. SW is connected to A or B
depending on the switching state of the relay.</p>
<ul class="simple">
<li>If the relay is switched off, then SW is connected to B</li>
<li>If the relay is switched on, then SW is connected to A</li>
</ul>
<a class="reference external image-reference" href="../../_images/Bricklets/bricklet_dual_relay_connection_700.jpg"><img alt="Dual Relay Bricklet, visualization of the switch" class="align-center" src="../../_images/bricklet_dual_relay_connection_350.jpg" style="width: 350.0px; height: 285.0px;" /></a>
</div>
<div class="section" id="test-your-dual-relay-bricklet">
<span id="dual-relay-bricklet-test"></span><h2>Test your Dual Relay Bricklet<a class="headerlink" href="#test-your-dual-relay-bricklet" title="Permalink to this headline">¶</a></h2>
<p>To test a Dual Relay Bricklet you need to have <a class="reference internal" href="../../Software/Brickd.html#brickd">Brick Daemon</a> and
<a class="reference internal" href="../../Software/Brickv.html#brickv">Brick Viewer</a> installed. Brick Daemon acts as a proxy between
the USB interface of the Bricks and the API bindings. Brick Viewer connects
to Brick Daemon. It helps to figure out basic information about the connected
Bricks and Bricklets and allows to test them.</p>
<p>Connect the Dual Relay Bricklet to a <a class="reference internal" href="../../Primer.html#primer-bricks">Brick</a>
with a Bricklet Cable (see picture below).</p>
<a class="reference external image-reference" href="../../_images/Bricklets/bricklet_dual_relay_master_1200.jpg"><img alt="Master Brick with connected Dual Relay Bricklet" class="align-center" src="../../_images/bricklet_dual_relay_master_600.jpg" style="width: 600.0px; height: 486.0px;" /></a>
<p>If you connect the Brick to the PC over USB, you should see a new tab named
&quot;Dual Relay Bricklet&quot; in the Brick Viewer after a moment. Select this tab.
If everything went as expected the Brick Viewer should look as
depicted below.</p>
<a class="reference external image-reference" href="../../_images/Bricklets/bricklet_dual_relay_brickv.jpg"><img alt="Dual Relay Bricklet in Brick Viewer" class="align-center" src="../../_images/bricklet_dual_relay_brickv.jpg" style="width: 600.0px; height: 431.0px;" /></a>
<p>Play around with the two relay buttons,
you should hear the relay switching when toggling the buttons. An LED indicates
the current state of each relay.</p>
<p>After this test you can go on with writing your own application.
See the <a class="reference internal" href="#dual-relay-bricklet-programming-interface">Programming Interface</a>
section for the API of the Dual Relay Bricklet and examples in different programming
languages.</p>
</div>
<div class="section" id="inductive-load-switching">
<span id="dual-relay-inductive-load-switching"></span><h2>Inductive Load Switching<a class="headerlink" href="#inductive-load-switching" title="Permalink to this headline">¶</a></h2>
<p>Without external components the switching of inductive loads can
cause interference in the system that can lead to malfunctions or destroyed
components. Typical examples for inductive loads are motors and solenoids,
but these problems can also occur when switching e.g. fluorescent lamps.</p>
<p>If you want to switch an inductive load you need external components,
e.g. a <a class="reference external" href="http://en.wikipedia.org/wiki/Varistor">Varistor</a>
or a combination of a resistor and a capacitor parallel to the load.</p>
<p>More information about protection circuitries can be found
<a class="reference external" href="http://www.jkmicro.com/inductive_loads.pdf">here</a>.</p>
</div>
<div class="section" id="case">
<span id="dual-relay-bricklet-case"></span><h2>Case<a class="headerlink" href="#case" title="Permalink to this headline">¶</a></h2>
<p>A <a class="reference external" href="https://www.tinkerforge.com/en/shop/cases/case-dual-relay-bricklet.html">laser-cut case for the Dual Relay Bricklet</a> is available.</p>
<a class="reference external image-reference" href="../../_images/Cases/bricklet_dual_relay_case_1000.jpg"><img alt="Case for Dual Relay Bricklet" class="align-center" src="../../_images/bricklet_dual_relay_case_350.jpg" style="width: 350.0px; height: 285.0px;" /></a>
<p>The case of the Dual Relay Bricklet is delivered including cable ties
for a cable relief and WAGO connecting clamps to join wires. The case
is big enough to accommodate the cable relief as well as the WAGO
clamps.</p>
<p>The internal construction can look as follows (with one as well as
two relays connected)</p>
<a class="reference external image-reference" href="../../_images/Cases/bricklet_dual_relay_case_top_open_1_1000.jpg"><img alt="Case for Dual Relay Bricklet with one relay connected" class="align-center" src="../../_images/bricklet_dual_relay_case_top_open_1_350.jpg" style="width: 350.0px; height: 218.0px;" /></a>
<a class="reference external image-reference" href="../../_images/Cases/bricklet_dual_relay_case_top_open_2_1000.jpg"><img alt="Case for Dual Relay Bricklet with two relays connected" class="align-center" src="../../_images/bricklet_dual_relay_case_top_open_2_350.jpg" style="width: 350.0px; height: 206.0px;" /></a>
<p>The protective conductor (brown) is switched with the Dual Relay Bricklet.
The external conductor (green-yellow) and the neutral conductor (blue)
are coupled with the WAGO connecting clamps.</p>
<p>It is important that the external conductor is longer then the other cables.
This way it is assured that the external conductor will be pulled of at last
if the cable relief is overstrained or defect. We recommend the following
length for the cables and the stripping:</p>
<a class="reference external image-reference" href="../../_images/Cases/bricklet_dual_relay_case_cable_1000.jpg"><img alt="Recommended lengths" class="align-center" src="../../_images/bricklet_dual_relay_case_cables_350.jpg" style="width: 350.0px; height: 337.0px;" /></a>
<p>The assembly is easiest if you follow the following steps:</p>
<ul class="simple">
<li>screw spacers to Bricklet</li>
<li>screw Bricklet to bottom plate with spacers</li>
<li>build up side plates (including cable relief)</li>
<li>plug side plates into bottom plate</li>
<li>add cabling and WAGO clamps</li>
<li>tie cable ties to cables</li>
<li>screw top plate to top spacers</li>
</ul>
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last">Never work inside the case when components are carrying voltage!</p>
</div>
<p>The exact position of each part can be seen in the following exploded assembly
drawing of the Dual Relay Bricklet case:</p>
<a class="reference external image-reference" href="../../_images/Exploded/dual_relay_exploded.png"><img alt="Exploded assembly drawing for Dual Relay Bricklet" class="align-center" src="../../_images/dual_relay_exploded_350.png" style="width: 350.0px; height: 391.0px;" /></a>
<p>Hint: There is a protective film on both sides of the plates,
you have to remove it before assembly.</p>
</div>
<div class="section" id="programming-interface">
<span id="dual-relay-bricklet-programming-interface"></span><h2>Programming Interface<a class="headerlink" href="#programming-interface" title="Permalink to this headline">¶</a></h2>
<p>See <a class="reference internal" href="../../Programming_Interface.html#programming-interface">Programming Interface</a> for a detailed description.</p>
<table border="1" class="docutils">
<colgroup>
<col width="45%" />
<col width="18%" />
<col width="18%" />
<col width="18%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Language</th>
<th class="head">API</th>
<th class="head">Examples</th>
<th class="head">Installation</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>Modbus</td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_Modbus.html#dual-relay-bricklet-modbus-api">API</a></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr class="row-odd"><td>TCP/IP</td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_TCPIP.html#dual-relay-bricklet-tcpip-api">API</a></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr class="row-even"><td>C/C++</td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_C.html#dual-relay-bricklet-c-api">API</a></td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_C.html#dual-relay-bricklet-c-examples">Examples</a></td>
<td><a class="reference internal" href="../../Software/API_Bindings_C.html#api-bindings-c">Installation</a></td>
</tr>
<tr class="row-odd"><td>C#</td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_CSharp.html#dual-relay-bricklet-csharp-api">API</a></td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_CSharp.html#dual-relay-bricklet-csharp-examples">Examples</a></td>
<td><a class="reference internal" href="../../Software/API_Bindings_CSharp.html#api-bindings-csharp">Installation</a></td>
</tr>
<tr class="row-even"><td>Delphi/Lazarus</td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_Delphi.html#dual-relay-bricklet-delphi-api">API</a></td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_Delphi.html#dual-relay-bricklet-delphi-examples">Examples</a></td>
<td><a class="reference internal" href="../../Software/API_Bindings_Delphi.html#api-bindings-delphi">Installation</a></td>
</tr>
<tr class="row-odd"><td>Java</td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_Java.html#dual-relay-bricklet-java-api">API</a></td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_Java.html#dual-relay-bricklet-java-examples">Examples</a></td>
<td><a class="reference internal" href="../../Software/API_Bindings_Java.html#api-bindings-java">Installation</a></td>
</tr>
<tr class="row-even"><td>JavaScript</td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_JavaScript.html#dual-relay-bricklet-javascript-api">API</a></td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_JavaScript.html#dual-relay-bricklet-javascript-examples">Examples</a></td>
<td><a class="reference internal" href="../../Software/API_Bindings_JavaScript.html#api-bindings-javascript">Installation</a></td>
</tr>
<tr class="row-odd"><td>LabVIEW</td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_LabVIEW.html#dual-relay-bricklet-labview-api">API</a></td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_LabVIEW.html#dual-relay-bricklet-labview-examples">Examples</a></td>
<td><a class="reference internal" href="../../Software/API_Bindings_LabVIEW.html#api-bindings-labview">Installation</a></td>
</tr>
<tr class="row-even"><td>Mathematica</td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_Mathematica.html#dual-relay-bricklet-mathematica-api">API</a></td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_Mathematica.html#dual-relay-bricklet-mathematica-examples">Examples</a></td>
<td><a class="reference internal" href="../../Software/API_Bindings_Mathematica.html#api-bindings-mathematica">Installation</a></td>
</tr>
<tr class="row-odd"><td>MATLAB/Octave</td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_MATLAB.html#dual-relay-bricklet-matlab-api">API</a></td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_MATLAB.html#dual-relay-bricklet-matlab-examples">Examples</a></td>
<td><a class="reference internal" href="../../Software/API_Bindings_MATLAB.html#api-bindings-matlab">Installation</a></td>
</tr>
<tr class="row-even"><td>Perl</td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_Perl.html#dual-relay-bricklet-perl-api">API</a></td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_Perl.html#dual-relay-bricklet-perl-examples">Examples</a></td>
<td><a class="reference internal" href="../../Software/API_Bindings_Perl.html#api-bindings-perl">Installation</a></td>
</tr>
<tr class="row-odd"><td>PHP</td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_PHP.html#dual-relay-bricklet-php-api">API</a></td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_PHP.html#dual-relay-bricklet-php-examples">Examples</a></td>
<td><a class="reference internal" href="../../Software/API_Bindings_PHP.html#api-bindings-php">Installation</a></td>
</tr>
<tr class="row-even"><td>Python</td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_Python.html#dual-relay-bricklet-python-api">API</a></td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_Python.html#dual-relay-bricklet-python-examples">Examples</a></td>
<td><a class="reference internal" href="../../Software/API_Bindings_Python.html#api-bindings-python">Installation</a></td>
</tr>
<tr class="row-odd"><td>Ruby</td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_Ruby.html#dual-relay-bricklet-ruby-api">API</a></td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_Ruby.html#dual-relay-bricklet-ruby-examples">Examples</a></td>
<td><a class="reference internal" href="../../Software/API_Bindings_Ruby.html#api-bindings-ruby">Installation</a></td>
</tr>
<tr class="row-even"><td>Shell</td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_Shell.html#dual-relay-bricklet-shell-api">API</a></td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_Shell.html#dual-relay-bricklet-shell-examples">Examples</a></td>
<td><a class="reference internal" href="../../Software/API_Bindings_Shell.html#api-bindings-shell">Installation</a></td>
</tr>
<tr class="row-odd"><td>Visual Basic .NET</td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_VBNET.html#dual-relay-bricklet-vbnet-api">API</a></td>
<td><a class="reference internal" href="../../Software/Bricklets/DualRelay_Bricklet_VBNET.html#dual-relay-bricklet-vbnet-examples">Examples</a></td>
<td><a class="reference internal" href="../../Software/API_Bindings_VBNET.html#api-bindings-vbnet">Installation</a></td>
</tr>
</tbody>
</table>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
		<div id="tf_license">
			<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">
				<img alt="Creative Commons Licence" width="88" height="31" style="border-width:0" src="/static/images/cc_license_logo.png" />
			</a>
			The content of this page is licensed under
			<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution 3.0 Unported License</a>.
		</div>
		</div>
	</div>
</div>

  </body>
</html>