{"id":2389,"date":"2023-01-17T18:42:44","date_gmt":"2023-01-18T02:42:44","guid":{"rendered":"https:\/\/beaglebay.com\/duinogear\/?post_type=docs&#038;p=2389"},"modified":"2023-01-18T08:53:57","modified_gmt":"2023-01-18T16:53:57","password":"","slug":"installing-dnou1k-boards","status":"publish","type":"docs","link":"https:\/\/beaglebay.com\/duinogear\/docs\/installing-dnou1k-boards\/","title":{"rendered":"Installing DNOU1K Boards"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Connecting the Board to your Layout<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">POWER<\/h4>\n\n\n\n<p>Each duinoNode requires three power connections:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>V++<\/strong>, device power from 3.3 &#8211; 30 volts<\/li>\n\n\n\n<li><strong>Vcc<\/strong>, +5v logic<\/li>\n\n\n\n<li><strong>GND<\/strong>, shared ground for both device and logic<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/11\/power-connections.jpg?resize=1024%2C683&#038;ssl=1\" alt=\"\" class=\"wp-image-441\" srcset=\"https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/11\/power-connections.jpg?resize=1024%2C683&amp;ssl=1 1024w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/11\/power-connections.jpg?resize=600%2C400&amp;ssl=1 600w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/11\/power-connections.jpg?resize=300%2C200&amp;ssl=1 300w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/11\/power-connections.jpg?resize=768%2C512&amp;ssl=1 768w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/11\/power-connections.jpg?w=1321&amp;ssl=1 1321w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Each duinoNode requires logic and device power feeds. Device and logic power can come from the same +5v power supply.<\/figcaption><\/figure>\n\n\n\n<p>V++ &amp; Vcc can be tied to a single +5v feed from a power supply of suitable capacity. Multiple power supplies are supported but not required.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Tied Grounds<\/h4>\n\n\n\n<p>The single most important requirement is that all grounds MUST be tied together. <strong><em>Specifically this means that the microcontroller ground MUST be tied to both logic and device ground.<\/em><\/strong><\/p>\n\n\n\n<p>This usually isn\u2019t a problem IF the entire system is powered from one power supply,  or powered using multiple power supplies whose grounds are tied together at the source.<\/p>\n\n\n\n<p><strong>However<\/strong>, when powering the microcontroller via <strong>USB <\/strong>or an<strong> independent, untied power supply (such as a wall wart)<\/strong>, <strong>you MUST run a wire from microcontroller GND to GND of all other power supplies in use<\/strong>.<\/p>\n\n\n\n<p>Grounding problems manifest as unpredictable, uncontrollable switching on the boards.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"705\" src=\"https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/11\/logic-connections.jpg?resize=1000%2C705&#038;ssl=1\" alt=\"\" class=\"wp-image-448\" srcset=\"https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/11\/logic-connections.jpg?w=1000&amp;ssl=1 1000w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/11\/logic-connections.jpg?resize=600%2C423&amp;ssl=1 600w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/11\/logic-connections.jpg?resize=300%2C212&amp;ssl=1 300w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/11\/logic-connections.jpg?resize=768%2C541&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">DNOU1 Logic Connections<\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Logic<\/h4>\n\n\n\n<p>LOGIC IN: Each duinoNode requires three logic connections at J2: CP (clock), LP (latch) &amp; DI (data in).<\/p>\n\n\n\n<p>LOGIC OUT: Each duinoNode offers three logic connections at J3 for the next downstream node in the group: CP (clock), LP (latch) &amp; DO (data out).<\/p>\n\n\n\n<p>All node-to-node data connections can be made with ordinary 3-wire servo extension cables. <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Device Connections<\/h4>\n\n\n\n<p>The output of duinoNodes is in Common Anode configuration. All switching is on the \u201csink\u201d or ground side of the circuit via a transistor array. <a rel=\"noreferrer noopener\" aria-label=\"NJ International, (opens in a new tab)\" href=\"http:\/\/www.njinternational.com\/signals.htm\" target=\"_blank\">NJ International,<\/a> among others, wire their model railroad signals, crossings and other devices in common anode configurations.  Common anode devices will have a single lead for power and multiple ground leads. Connect anode leads to the V++ terminal, and individual grounds to each port. So long as current limits are not exceeded (<strong><em>500 mA total per board<\/em><\/strong>, up to 100% of that can be on any one active port), multiple devices can be connected to a single port.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"667\" src=\"https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/11\/device-connections.jpg?resize=1000%2C667&#038;ssl=1\" alt=\"\" class=\"wp-image-471\" srcset=\"https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/11\/device-connections.jpg?w=1000&amp;ssl=1 1000w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/11\/device-connections.jpg?resize=600%2C400&amp;ssl=1 600w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/11\/device-connections.jpg?resize=300%2C200&amp;ssl=1 300w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/11\/device-connections.jpg?resize=768%2C512&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">DNOU1 Device Connections<\/figcaption><\/figure>\n\n\n\n<p>While logic voltage VCC is always +5v DC, device power can be at a different voltage between 3.3 and 30 volts DC. You can use a single power supply that supports multiple voltages,  like a <a rel=\"noreferrer noopener\" href=\"https:\/\/amzn.to\/2NyWWek\" target=\"_blank\">Mean Well RD-125A<\/a>, or <strong>multiple DC power supplies with their grounds tied together<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Special Wiring Scenarios<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Common Cathode Devices<\/h4>\n\n\n\n<p>Coming Soon.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Relay Modules<\/h4>\n\n\n\n<p>The DN08A is compatible with off-the-shelf home automation relay modules, like the one shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"625\" src=\"https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/12\/Relay-Module.jpg?resize=1000%2C625&#038;ssl=1\" alt=\"\" class=\"wp-image-485\" srcset=\"https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/12\/Relay-Module.jpg?w=1000&amp;ssl=1 1000w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/12\/Relay-Module.jpg?resize=600%2C375&amp;ssl=1 600w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/12\/Relay-Module.jpg?resize=300%2C188&amp;ssl=1 300w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/12\/Relay-Module.jpg?resize=768%2C480&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">A typical 8 port Home Automation relay module; you&#8217;ll also find these in 1, 2 and 4 port versions.  The relays run on 5 volts, using opto-isolation to prevent current bleed. The primary contacts can handle household current.  <\/figcaption><\/figure>\n\n\n\n<p> For model railroaders, these relay modules are a great way to implement polarity  switching for reversing loops, turnout points, stall motor switch  machines (like Circuitron Tortoise) and coil-type switch machines  (Atlas, Peco, etc.) <\/p>\n\n\n\n<p>These modules work with all +5v Arduinos. Using one or more DN0U1s you can control all of your relays using just the 3 pin connection required for duinoNodes. In fact, you can mix relay control with lighting and other applications on the same duinoNode chain.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"625\" src=\"https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/12\/Mixed-Uses.jpg?resize=1000%2C625&#038;ssl=1\" alt=\"\" class=\"wp-image-487\" srcset=\"https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/12\/Mixed-Uses.jpg?w=1000&amp;ssl=1 1000w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/12\/Mixed-Uses.jpg?resize=600%2C375&amp;ssl=1 600w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/12\/Mixed-Uses.jpg?resize=300%2C188&amp;ssl=1 300w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/12\/Mixed-Uses.jpg?resize=768%2C480&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">In this duinoNode chain, the relay module is controlled by the first node; the second and third are lighting nodes.<\/figcaption><\/figure>\n\n\n\n<p>You will need to fabricate a cable to connect the relay module to other devices.  You can use a female pin header of appropriate size, then attach your cable to the exposed ends. From there, connections are straight forward as shown.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"625\" src=\"https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/12\/Relay-to-Node-Logic.jpg?resize=1000%2C625&#038;ssl=1\" alt=\"\" class=\"wp-image-488\" srcset=\"https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/12\/Relay-to-Node-Logic.jpg?w=1000&amp;ssl=1 1000w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/12\/Relay-to-Node-Logic.jpg?resize=600%2C375&amp;ssl=1 600w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/12\/Relay-to-Node-Logic.jpg?resize=300%2C188&amp;ssl=1 300w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/12\/Relay-to-Node-Logic.jpg?resize=768%2C480&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">This connection cable is fabricated from a 10-postion (.1&#8243; pitch) female pin header with legs bent to a right angle. I used a spare 10 position ribbon cable, soldering one end to the pin header legs. I attached the VCC pin (via red element of ribbon cable) to shared V++.  Data pins are connected in order 1 &#8211; 8; the ground line is attached to system ground.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"625\" src=\"https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/12\/Relay-Ground.jpg?resize=1000%2C625&#038;ssl=1\" alt=\"\" class=\"wp-image-489\" srcset=\"https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/12\/Relay-Ground.jpg?w=1000&amp;ssl=1 1000w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/12\/Relay-Ground.jpg?resize=600%2C375&amp;ssl=1 600w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/12\/Relay-Ground.jpg?resize=300%2C188&amp;ssl=1 300w, https:\/\/i0.wp.com\/beaglebay.com\/duinogear\/wp-content\/uploads\/2019\/12\/Relay-Ground.jpg?resize=768%2C480&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">Relay ground is connected at the main GND terminal.<\/figcaption><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p><a href=\"https:\/\/beaglebay.com\/duinogear\/docs\/arduino-library-for-output-duinonodes\/\" data-type=\"docs\" data-id=\"2392\">Using the Software Library<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Connecting the Board to your Layout POWER Each duinoNode requires three power connections: V++ &amp; Vcc can be tied to a single +5v feed from a power supply of suitable capacity. Multiple power supplies are supported but not required. Tied Grounds The single most important requirement is that all grounds MUST be tied together. Specifically&hellip;&nbsp;<a href=\"https:\/\/beaglebay.com\/duinogear\/docs\/installing-dnou1k-boards\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Installing DNOU1K Boards<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"doc_category":[117],"doc_tag":[],"class_list":["post-2389","docs","type-docs","status-publish","hentry","doc_category-installation"],"year_month":"2026-04","word_count":671,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Site Administrator","author_nicename":"lew-admin","author_url":"https:\/\/beaglebay.com\/duinogear\/author\/lew-admin\/"},"doc_category_info":[{"term_name":"Installation","term_url":"https:\/\/beaglebay.com\/duinogear\/docs-category\/installation\/"}],"doc_tag_info":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/beaglebay.com\/duinogear\/wp-json\/wp\/v2\/docs\/2389","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/beaglebay.com\/duinogear\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/beaglebay.com\/duinogear\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/beaglebay.com\/duinogear\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/beaglebay.com\/duinogear\/wp-json\/wp\/v2\/comments?post=2389"}],"version-history":[{"count":2,"href":"https:\/\/beaglebay.com\/duinogear\/wp-json\/wp\/v2\/docs\/2389\/revisions"}],"predecessor-version":[{"id":2404,"href":"https:\/\/beaglebay.com\/duinogear\/wp-json\/wp\/v2\/docs\/2389\/revisions\/2404"}],"wp:attachment":[{"href":"https:\/\/beaglebay.com\/duinogear\/wp-json\/wp\/v2\/media?parent=2389"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/beaglebay.com\/duinogear\/wp-json\/wp\/v2\/doc_category?post=2389"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/beaglebay.com\/duinogear\/wp-json\/wp\/v2\/doc_tag?post=2389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}