V2023_step_03.html 25.44 KiB
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
  <meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>STEP n°3: MUX board &mdash; OhmPi open hardware resistivity-meter documentation</title>
      <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
      <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
  <!--[if lt IE 9]>
    <script src="../_static/js/html5shiv.min.js"></script>
  <![endif]-->
        <script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
        <script src="../_static/jquery.js"></script>
        <script src="../_static/underscore.js"></script>
        <script src="../_static/_sphinx_javascript_frameworks_compat.js"></script>
        <script src="../_static/doctools.js"></script>
    <script src="../_static/js/theme.js"></script>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="STEP n°4: assemble the OhmPi" href="V2023_step_04.html" />
    <link rel="prev" title="STEP n°2: Measurement board" href="V2023_step_02.html" /> 
</head>
<body class="wy-body-for-nav"> 
  <div class="wy-grid-for-nav">
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search" >
          <a href="../index.html" class="icon icon-home">
            OhmPi
          </a>
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>
        </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
              <ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../Ohmpi.html">OhmPi project</a></li>
<li class="toctree-l1"><a class="reference internal" href="../V1_01.html">OhmPi V 1.01 (limited to 32 electrodes)</a></li>
<li class="toctree-l1"><a class="reference internal" href="../V1_02.html">OhmPi V 1.02 (limited to 32 electrodes)</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../V2023.html">OhmPi V2023 (64 electrodes and 12V)</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../V2023.html#the-philosophy-of-ohmpi">The philosophy of OhmPi</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="../V2023.html#hardware">Hardware</a><ul class="current">
<li class="toctree-l3"><a class="reference internal" href="../V2023.html#specifications">Specifications</a></li>
<li class="toctree-l3 current"><a class="reference internal" href="../V2023.html#building-an-ohmpi-v2023-step-by-step">Building an OhmPi V2023 step by step</a><ul class="current">
<li class="toctree-l4"><a class="reference internal" href="V2023_step_01.html"><strong>STEP n°1</strong> : Raspberry Pi  configuration</a></li>
<li class="toctree-l4"><a class="reference internal" href="V2023_step_02.html"><strong>STEP n°2</strong>: Measurement board</a></li>
<li class="toctree-l4 current"><a class="current reference internal" href="#"><strong>STEP n°3:</strong> MUX board</a></li>
<li class="toctree-l4"><a class="reference internal" href="V2023_step_04.html"><strong>STEP n°4:</strong> assemble the OhmPi</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../V2023.html#software-and-operation">Software and operation</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../api.html">API reference</a></li>
</ul>
        </div>
      </div>
    </nav>
7172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" > <i data-toggle="wy-nav-top" class="fa fa-bars"></i> <a href="../index.html">OhmPi</a> </nav> <div class="wy-nav-content"> <div class="rst-content"> <div role="navigation" aria-label="Page navigation"> <ul class="wy-breadcrumbs"> <li><a href="../index.html" class="icon icon-home" aria-label="Home"></a></li> <li class="breadcrumb-item"><a href="../V2023.html">OhmPi V2023 (64 electrodes and 12V)</a></li> <li class="breadcrumb-item active"><strong>STEP n°3:</strong> MUX board</li> <li class="wy-breadcrumbs-aside"> <a href="../_sources/Ohmpi_V2023/V2023_step_03.rst.txt" rel="nofollow"> View page source</a> </li> </ul> <hr/> </div> <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> <div itemprop="articleBody"> <div class="admonition warning"> <p class="admonition-title">Warning</p> <p><strong>OhmPi is a participative project open to all, it requires skills in electronics and to respect the safety rules. OhmPi must be assembled in a professional context and by people competent in electronics. The OhmPi team cannot be held responsible for any material or human damage which would be associated with the use or the assembly of OHMPI. The OhmPi team cannot be held responsible if the equipment does not work after assembly.</strong></p> </div> <section id="step-n3-mux-board"> <h1><strong>STEP n°3:</strong> MUX board<a class="headerlink" href="#step-n3-mux-board" title="Permalink to this heading"></a></h1> <p>The multiplexing of the channels is a mechanical multiplexing based on OMRON’s manufacturing relays (G5LE-1-VD 12 VDC). Each relay is combined with a ZVN4206A power MOFSET. The raspberry has only 30 GPIOs, which is not enough to activate all the 64 electrodes, which represent 512 GPIOs. We used gpio expander I2C (MCP23017). We have associated these components with an I2C multiplexer of type type TCA9548A from adafruit. This combination allows to go up to 512 GPIOs and up to 128 electrodes. Each card has its own digital address between 0X70 and 0X77. In the following presentation for an OhmPi 64 electrodes, we will use the addresses 0X70 for channel A, 0X71 for channel B, 0X72 for channel M and 0X73 for channel N. 0X73 for the N channel. 4 MUX board will be needed to multiplex an OhmPi 64 electrodes.</p> <section id="part-a-assembly-of-mux-board"> <h2><strong>PART A</strong> Assembly of MUX board<a class="headerlink" href="#part-a-assembly-of-mux-board" title="Permalink to this heading"></a></h2> <section id="required-components"> <h3>Required components<a class="headerlink" href="#required-components" title="Permalink to this heading"></a></h3> <figure class="align-center"> <a class="reference internal image-reference" href="../_images/MUX_board_components.jpg"><img alt="alternate text" src="../_images/MUX_board_components.jpg" style="width: 600px; height: 650px;" /></a> </figure> <table class="docutils align-default" id="id1"> <caption><span class="caption-text">List of components</span><a class="headerlink" href="#id1" title="Permalink to this table"></a></caption> <colgroup> <col style="width: 8%" /> <col style="width: 18%" /> <col style="width: 18%" /> <col style="width: 18%" /> <col style="width: 18%" /> <col style="width: 9%" /> <col style="width: 9%" /> </colgroup> <thead> <tr class="row-odd"><th class="head"><p>Component</p></th> <th class="head"><p>Number</p></th> <th class="head"><p>Cost per unit €</p></th> <th class="head"><p>Total cost €</p></th> <th class="head"><p>Manufacturer</p></th> <th class="head"><p>Manufacturer s reference</p></th> <th class="head"><p>Web reference</p></th> </tr> </thead> <tbody> <tr class="row-even"><td><p>Printed circuit board</p></td> <td><p>4</p></td> <td><p>140</p></td> <td><p>560</p></td> <td><p>Asler</p></td> <td><ul class="simple"> <li></li>
141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
</ul> </td> <td><ul class="simple"> <li></li> </ul> </td> </tr> <tr class="row-odd"><td><p>Pin strip no ejector 16 pins</p></td> <td><p>16</p></td> <td><p>0.62</p></td> <td><p>9.92</p></td> <td><p>BLK electronic</p></td> <td><p>1580994</p></td> <td><p><a class="reference external" href="https://www.conrad.com/p/tru-components-1580994-pin-strip-no-ejector-contact-spacing-254-mm-total-number-of-pins-16-no-of-rows-2-1-pcs-1580994">https://www.conrad.com/p/tru-components-1580994-pin-strip-no-ejector-contact-spacing-254-mm-total-number-of-pins-16-no-of-rows-2-1-pcs-1580994</a></p></td> </tr> <tr class="row-even"><td><p>diode-1n4007</p></td> <td><p>256</p></td> <td><p>0.091</p></td> <td><p>23.296</p></td> <td><p>Diodes Incorporated</p></td> <td><p>1N4007-T</p></td> <td><p><a class="reference external" href="https://www.mouser.fr/ProductDetail/Diodes-Incorporated/1N4007-T?qs=sGAEpiMZZMueQxo7L%2FBPyAkbORUUMREn">https://www.mouser.fr/ProductDetail/Diodes-Incorporated/1N4007-T?qs=sGAEpiMZZMueQxo7L%2FBPyAkbORUUMREn</a></p></td> </tr> <tr class="row-odd"><td><p>Pin strip no ejector 6 pins</p></td> <td><p>4</p></td> <td><p>0.39</p></td> <td><p>1.56</p></td> <td><p>BLK electronic</p></td> <td><p>10120550</p></td> <td><p><a class="reference external" href="https://www.conrad.com/p/bkl-electronic-10120550-pin-strip-no-ejector-contact-spacing-254-mm-total-number-of-pins-6-no-of-rows-2-1-pcs-741435">https://www.conrad.com/p/bkl-electronic-10120550-pin-strip-no-ejector-contact-spacing-254-mm-total-number-of-pins-6-no-of-rows-2-1-pcs-741435</a></p></td> </tr> <tr class="row-even"><td><p>Dual screw terminal (5.08-mm pitch)</p></td> <td><p>12</p></td> <td><p>0.648</p></td> <td><p>7.776</p></td> <td><p>CUI Devices</p></td> <td><p>TB009-508-02BE</p></td> <td><p><a class="reference external" href="https://www.mouser.fr/ProductDetail/CUI-Devices/TB009-508-02BE?qs=vLWxofP3U2wCFk5uCkWTkA%3D%3D">https://www.mouser.fr/ProductDetail/CUI-Devices/TB009-508-02BE?qs=vLWxofP3U2wCFk5uCkWTkA%3D%3D</a></p></td> </tr> <tr class="row-odd"><td><p>Generic male header - 3 pins</p></td> <td><p>12</p></td> <td><p>0.205</p></td> <td><p>2.46</p></td> <td><p>TE Connectivity</p></td> <td><p>4-103321-5</p></td> <td><p><a class="reference external" href="https://www.mouser.fr/ProductDetail/TE-Connectivity/4-103321-5?qs=5TwgZeq9E7HSYLqaljJYrw%3D%3D">https://www.mouser.fr/ProductDetail/TE-Connectivity/4-103321-5?qs=5TwgZeq9E7HSYLqaljJYrw%3D%3D</a></p></td> </tr> <tr class="row-even"><td><p>MCP23017 I2C I/O Expander</p></td> <td><p>16</p></td> <td><p>2.5</p></td> <td><p>40</p></td> <td><p>Adafruit</p></td> <td><p>732</p></td> <td><p><a class="reference external" href="https://www.mouser.fr/ProductDetail/Adafruit/732?qs=sGAEpiMZZMsKEdP9slC0Yfx16nYdMpXJueeOGoLBlDI%3D">https://www.mouser.fr/ProductDetail/Adafruit/732?qs=sGAEpiMZZMsKEdP9slC0Yfx16nYdMpXJueeOGoLBlDI%3D</a></p></td> </tr> <tr class="row-odd"><td><p>Omron G5LE-1-VD 12 VDC PCB relay 12 V DC 8 A 1</p></td> <td><p>256</p></td> <td><p>1.27</p></td> <td><p>325.12</p></td> <td><p>Omron</p></td> <td><p>G5LE-1-VD 12 VDC</p></td> <td><p><a class="reference external" href="https://www.conrad.com/p/omron-g5le-1-vd-12-vdc-pcb-relay-12-v-dc-8-a-1-change-over-1-pcs-503811">https://www.conrad.com/p/omron-g5le-1-vd-12-vdc-pcb-relay-12-v-dc-8-a-1-change-over-1-pcs-503811</a></p></td> </tr> <tr class="row-even"><td><p>ZVN4206A MOSFET-NCHANNEL</p></td> <td><p>256</p></td> <td><p>0.471</p></td> <td><p>120.576</p></td> <td><p>Diodes Incorporated</p></td> <td><p>ZVN4206A</p></td> <td><p><a class="reference external" href="https://www.mouser.fr/ProductDetail/Diodes-Incorporated/ZVN4206A?qs=vHuUswq2%252Bsz9b%2Ff6fcXt7g%3D%3D">https://www.mouser.fr/ProductDetail/Diodes-Incorporated/ZVN4206A?qs=vHuUswq2%252Bsz9b%2Ff6fcXt7g%3D%3D</a></p></td>
211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
</tr> <tr class="row-odd"><td><p>100kΩ Resistor</p></td> <td><p>256</p></td> <td><p>0.061</p></td> <td><p>15.616</p></td> <td><p>Vishay / Beyschlag</p></td> <td><p>MBA02040C1003FRP00</p></td> <td><p><a class="reference external" href="https://www.mouser.fr/ProductDetail/Vishay-Beyschlag/MBA02040C1003FRP00?qs=mzRxyRlhVdt9crF7Zyf%2F5Q%3D%3D">https://www.mouser.fr/ProductDetail/Vishay-Beyschlag/MBA02040C1003FRP00?qs=mzRxyRlhVdt9crF7Zyf%2F5Q%3D%3D</a></p></td> </tr> <tr class="row-even"><td><p>Adafruit TCA9548A</p></td> <td><p>4</p></td> <td><p>5.89</p></td> <td><p>23.56</p></td> <td><p>Adafruit</p></td> <td><p>2717</p></td> <td><p><a class="reference external" href="https://www.mouser.fr/ProductDetail/Adafruit/2717?qs=sGAEpiMZZMsyYdr3R27aV4EQf73yOH%252Baqg%252BZ3hVktao%3D">https://www.mouser.fr/ProductDetail/Adafruit/2717?qs=sGAEpiMZZMsyYdr3R27aV4EQf73yOH%252Baqg%252BZ3hVktao%3D</a></p></td> </tr> <tr class="row-odd"><td><p>BKL Electronic 10120558 Pin strip no ejector Contact spacing: 2.54 mm Total number of pins: 16 No. of rows: 2 1 pc(s)</p></td> <td><p>16</p></td> <td><p>0.51</p></td> <td><p>8.16</p></td> <td><p>BLK electronic</p></td> <td><p>10120558</p></td> <td><p><a class="reference external" href="https://www.conrad.com/p/bkl-electronic-10120558-pin-strip-no-ejector-contact-spacing-254-mm-total-number-of-pins-16-no-of-rows-2-1-pcs-741727?searchTerm=741727&amp;searchType=suggest&amp;searchSuggest=product">https://www.conrad.com/p/bkl-electronic-10120558-pin-strip-no-ejector-contact-spacing-254-mm-total-number-of-pins-16-no-of-rows-2-1-pcs-741727?searchTerm=741727&amp;searchType=suggest&amp;searchSuggest=product</a></p></td> </tr> <tr class="row-even"><td><p>BKL Electronic 10120862 Pin connector + strain relief Contact spacing: 2.54 mm Total number of pins: 6 No. of rows: 2 1</p></td> <td><p>16</p></td> <td><p>0.84</p></td> <td><p>13.44</p></td> <td><p>BLK electronic</p></td> <td><p>10120862</p></td> <td><p><a class="reference external" href="https://www.conrad.com/p/bkl-electronic-10120862-pin-connector-strain-relief-contact-spacing-254-mm-total-number-of-pins-6-no-of-rows-2-1-742063">https://www.conrad.com/p/bkl-electronic-10120862-pin-connector-strain-relief-contact-spacing-254-mm-total-number-of-pins-6-no-of-rows-2-1-742063</a></p></td> </tr> <tr class="row-odd"><td><p>BKL Electronic 10120158/10 Ribbon cable Contact spacing: 1.27 mm 16 x 0.08 mm² Multi-coloured 10 m</p></td> <td><p>1</p></td> <td><p>27</p></td> <td><p>27</p></td> <td><p>BLK electronic</p></td> <td><p>10120158/10</p></td> <td><p><a class="reference external" href="https://www.conrad.com/p/bkl-electronic-1012015810-ribbon-cable-contact-spacing-127-mm-16-x-008-mm-multi-coloured-10-m-1548658?searchTerm=1548658&amp;searchType=suggest&amp;searchSuggest=product">https://www.conrad.com/p/bkl-electronic-1012015810-ribbon-cable-contact-spacing-127-mm-16-x-008-mm-multi-coloured-10-m-1548658?searchTerm=1548658&amp;searchType=suggest&amp;searchSuggest=product</a></p></td> </tr> <tr class="row-even"><td><p>spacer 5.5 HEX 25 mm M3 male/female</p></td> <td><p>31</p></td> <td><p>2.79</p></td> <td><p>86.49</p></td> <td><p>Keystone Electronics</p></td> <td><p>24300</p></td> <td><p><a class="reference external" href="https://www.mouser.fr/ProductDetail/Keystone-Electronics/24300?qs=UWqYQ%2F2cZWu0ejpOzmZC2A%3D%3D">https://www.mouser.fr/ProductDetail/Keystone-Electronics/24300?qs=UWqYQ%2F2cZWu0ejpOzmZC2A%3D%3D</a></p></td> </tr> <tr class="row-odd"><td><p>Screw</p></td> <td><p>9</p></td> <td><p>0.305</p></td> <td><p>2.745</p></td> <td><p>APM HEXSEAL</p></td> <td><p>RM3X8MM-2701</p></td> <td><p><a class="reference external" href="https://www.mouser.fr/ProductDetail/APM-HEXSEAL/RM3X8MM-2701?qs=JJSE%2F12mKnS3VxSDrYXUHw%3D%3D">https://www.mouser.fr/ProductDetail/APM-HEXSEAL/RM3X8MM-2701?qs=JJSE%2F12mKnS3VxSDrYXUHw%3D%3D</a></p></td> </tr> <tr class="row-even"><td><p>spacer 5.5 HEX 25 mm M3 female/female</p></td> <td><p>9</p></td> <td><p>0.846</p></td> <td><p>7.614</p></td> <td><p>Keystone Electronics</p></td> <td><p>25515</p></td> <td><p><a class="reference external" href="https://www.mouser.fr/ProductDetail/Keystone-Electronics/25515?qs=UWqYQ%2F2cZWuxuhUmfr%252BZuQ%3D%3D">https://www.mouser.fr/ProductDetail/Keystone-Electronics/25515?qs=UWqYQ%2F2cZWuxuhUmfr%252BZuQ%3D%3D</a></p></td> </tr> <tr class="row-odd"><td><p>DIP dual-in-line 2*14</p></td> <td><p>16</p></td> <td><p>1.55</p></td> <td><p>24.8</p></td> <td><p>Preci-dip</p></td>
281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
<td><p>110-87-328-41-001101</p></td> <td><p><a class="reference external" href="https://www.mouser.fr/ProductDetail/Preci-dip/110-87-328-41-001101?qs=uQD7XCvsSCNr3HWD6fta8g%3D%3D">https://www.mouser.fr/ProductDetail/Preci-dip/110-87-328-41-001101?qs=uQD7XCvsSCNr3HWD6fta8g%3D%3D</a></p></td> </tr> </tbody> </table> <table class="docutils align-center"> <tbody> <tr class="row-odd"><td rowspan="2"><p>1</p></td> <td><img alt="../_images/MUX_00.jpg" src="../_images/MUX_00.jpg" /> </td> </tr> <tr class="row-even"><td><p>Mux board pcb</p></td> </tr> </tbody> </table> <table class="docutils align-center"> <tbody> <tr class="row-odd"><td rowspan="2"><p>2</p></td> <td><img alt="../_images/MUX_01.jpg" src="../_images/MUX_01.jpg" /> </td> </tr> <tr class="row-even"><td><p>Installation of the 100 kOhm resistors</p></td> </tr> </tbody> </table> <table class="docutils align-center"> <tbody> <tr class="row-odd"><td rowspan="2"><p>3</p></td> <td><img alt="../_images/MUX_02.jpg" src="../_images/MUX_02.jpg" /> </td> </tr> <tr class="row-even"><td><p>Installation of the MOSFET ZVN4206A</p></td> </tr> </tbody> </table> <table class="docutils align-center"> <tbody> <tr class="row-odd"><td rowspan="2"><p>4</p></td> <td><img alt="../_images/MUX_03.jpg" src="../_images/MUX_03.jpg" /> </td> </tr> <tr class="row-even"><td><p>Installation of the diode 1N4007</p></td> </tr> </tbody> </table> <table class="docutils align-center"> <tbody> <tr class="row-odd"><td rowspan="2"><p>5</p></td> <td><img alt="../_images/MUX_04.jpg" src="../_images/MUX_04.jpg" /> </td> </tr> <tr class="row-even"><td><p>Installation of the relay</p></td> </tr> </tbody> </table> <table class="docutils align-center"> <tbody> <tr class="row-odd"><td rowspan="2"><p>6</p></td> <td><img alt="../_images/MUX_05.jpg" src="../_images/MUX_05.jpg" /> </td> </tr> <tr class="row-even"><td><p>Installation of the terminal screw</p></td> </tr> </tbody> </table> <table class="docutils align-center"> <tbody> <tr class="row-odd"><td rowspan="2"><p>7</p></td> <td><img alt="../_images/MUX_06.jpg" src="../_images/MUX_06.jpg" /> </td>
351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
</tr> <tr class="row-even"><td><p>Installation of generic male header</p></td> </tr> </tbody> </table> <table class="docutils align-center"> <tbody> <tr class="row-odd"><td rowspan="2"><p>8</p></td> <td><img alt="../_images/MUX_07.jpg" src="../_images/MUX_07.jpg" /> </td> </tr> <tr class="row-even"><td><p>Installation of Pin strip (6 pins) and pin strip (16 pins)</p></td> </tr> </tbody> </table> <table class="docutils align-center"> <tbody> <tr class="row-odd"><td rowspan="2"><p>9</p></td> <td><img alt="../_images/MUX_08.jpg" src="../_images/MUX_08.jpg" /> </td> </tr> <tr class="row-even"><td><p>Installation of DIP Dual In Line Socket 2*14</p></td> </tr> </tbody> </table> <table class="docutils align-center"> <tbody> <tr class="row-odd"><td rowspan="2"><p>10</p></td> <td><img alt="../_images/MUX_09.jpg" src="../_images/MUX_09.jpg" /> </td> </tr> <tr class="row-even"><td><p>Installation of Adafruit TCA9548A</p></td> </tr> </tbody> </table> <table class="docutils align-center"> <tbody> <tr class="row-odd"><td rowspan="2"><p>10</p></td> <td><img alt="../_images/MUX_10.jpg" src="../_images/MUX_10.jpg" /> </td> </tr> <tr class="row-even"><td><p>Installation of MCP23017</p></td> </tr> </tbody> </table> <div class="admonition note"> <p class="admonition-title">Note</p> <p>This step must be duplicated 4 times for every Mux card.</p> </div> </section> </section> <section id="part-b-mux-board-address"> <h2><strong>PART B</strong> MUX board address<a class="headerlink" href="#part-b-mux-board-address" title="Permalink to this heading"></a></h2> <p>To build an ohmpi it is necessary to have 4 MUX boards, with 4 different addresses. It is therefore necessary to identify each board, by assigning an address, which will be allocated in the OhmPi code. We present here the addresses selected by default.</p> <p>For the A electrode board, we suggest addressing it with address 0x70:</p> <table class="docutils align-center"> <tbody> <tr class="row-odd"><td rowspan="4"><p>1</p></td> <td><img alt="../_images/A_0x70.jpg" src="../_images/A_0x70.jpg" /> </td> </tr> <tr class="row-even"><td><p>Mount the jumpers and note the value of the address and the electrode name on the mux board (A).</p></td> </tr> <tr class="row-odd"><td><img alt="../_images/A_0x70-a.jpg" src="../_images/A_0x70-a.jpg" /> </td> </tr> <tr class="row-even"><td><p>Zoom on the jumper</p></td> </tr>
421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490
</tbody> </table> <p>For the B electrode board, we suggest addressing it with address 0x71:</p> <table class="docutils align-center"> <tbody> <tr class="row-odd"><td rowspan="4"><p>2</p></td> <td><img alt="../_images/B_0x71.jpg" src="../_images/B_0x71.jpg" /> </td> </tr> <tr class="row-even"><td><p>Mount the jumpers and note the value of the address and the electrode name on the mux board (B).</p></td> </tr> <tr class="row-odd"><td><img alt="../_images/B_0x71-a.jpg" src="../_images/B_0x71-a.jpg" /> </td> </tr> <tr class="row-even"><td><p>Zoom on the jumper</p></td> </tr> </tbody> </table> <p>For the N electrode board, we suggest addressing it with address 0x72:</p> <table class="docutils align-center"> <tbody> <tr class="row-odd"><td rowspan="4"><p>3</p></td> <td><img alt="../_images/M_0x72.jpg" src="../_images/M_0x72.jpg" /> </td> </tr> <tr class="row-even"><td><p>Mount the jumpers and note the value of the address and the electrode name on the mux board (B).</p></td> </tr> <tr class="row-odd"><td><img alt="../_images/M_0x72-a.jpg" src="../_images/M_0x72-a.jpg" /> </td> </tr> <tr class="row-even"><td><p>Zoom on the jumper</p></td> </tr> </tbody> </table> <p>For the M electrode board, we suggest addressing it with address 0x73:</p> <table class="docutils align-center"> <tbody> <tr class="row-odd"><td rowspan="4"><p>4</p></td> <td><img alt="../_images/N_0x73.jpg" src="../_images/N_0x73.jpg" /> </td> </tr> <tr class="row-even"><td><p>Mount the jumpers and note the value of the address and the electrode name on the mux board (B).</p></td> </tr> <tr class="row-odd"><td><img alt="../_images/N_0x73-a.jpg" src="../_images/N_0x73-a.jpg" /> </td> </tr> <tr class="row-even"><td><p>Zoom on the jumper</p></td> </tr> </tbody> </table> </section> <section id="part-c-validation-of-mux-board"> <h2><strong>PART C</strong> Validation of MUX board<a class="headerlink" href="#part-c-validation-of-mux-board" title="Permalink to this heading"></a></h2> <p>The first step is to test the Mux boards before assembling them definitively. To test the Mux boards, it will be necessary first to make a simplified assembly of the Mux board and the measurement board.</p> <p>The first thing to do is to prepare a 50 cm long flat wire with two 6-poles connectors.</p> <blockquote> <div><table class="docutils align-default"> <tbody> <tr class="row-odd"><td rowspan="2"><p>1</p></td> <td><img alt="../_images/20211207_115706.jpg" src="../_images/20211207_115706.jpg" /> </td> </tr> <tr class="row-even"><td><p>Build a cable with 6 contacts with 6 pins connector.</p></td> </tr> </tbody> </table>
491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560
<table class="docutils align-default"> <tbody> <tr class="row-odd"><td rowspan="2"><p>2</p></td> <td><img alt="../_images/20220124_142929.jpg" src="../_images/20220124_142929.jpg" /> </td> </tr> <tr class="row-even"><td><p>Prepare the measurement board and the first mux board by example the card with address 0x71.</p></td> </tr> </tbody> </table> <table class="docutils align-default"> <tbody> <tr class="row-odd"><td rowspan="2"><p>3</p></td> <td><img alt="../_images/20220124_143105.jpg" src="../_images/20220124_143105.jpg" /> </td> </tr> <tr class="row-even"><td><p>Connect the 12V power supply cables to the MUX board without powering the board.</p></td> </tr> </tbody> </table> <table class="docutils align-default"> <tbody> <tr class="row-odd"><td rowspan="2"><p>5</p></td> <td><img alt="../_images/20220124_143823.jpg" src="../_images/20220124_143823.jpg" /> </td> </tr> <tr class="row-even"><td><p>Connect the 6-contact cable</p></td> </tr> </tbody> </table> </div></blockquote> <p>Start your 12V power supply, the raspberry must start.</p> <p>Run the terminal and write:</p> <blockquote> <div><div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">i2cdetect</span> <span class="o">-</span><span class="n">y</span> <span class="mi">1</span> </pre></div> </div> </div></blockquote> <p>Three addresses should appear, including the address of the MUX board you have selected. This implies that your board has been detected.</p> <p>Open the script called “test_mux_board.py”.</p> <p>Run the script</p> </section> </section> </div> </div> <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer"> <a href="V2023_step_02.html" class="btn btn-neutral float-left" title="STEP n°2: Measurement board" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> <a href="V2023_step_04.html" class="btn btn-neutral float-right" title="STEP n°4: assemble the OhmPi" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> </div> <hr/> <div role="contentinfo"> <p>&#169; Copyright 2022, the OhmPi Team..</p> </div> Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. </footer> </div> </div> </section> </div>
561562563564565566567568
<script> jQuery(function () { SphinxRtdTheme.Navigation.enable(true); }); </script> </body> </html>