Skip to content
Lews Duino Gear
  • Home
  • LCOS
  • Product Support
    • My Tickets
    • Submit Ticket
  • The Store
  • My Account
    • Your Cart
  • About
    • Company & Product News
    • Contact Us

DNIN8 Instructions

DNIN8 Instructions

Using the Board on your Layout

The DNIN8 is a chainable, digital input board for use with an Arduino microcontroller. Each board provides 8 ports for attaching any kind of button, switch or digital (HIGH/LOW) sensor device. Multiple boards can be chained together allowing dozens of inputs to be monitored simultaneously using just 3 pins on the microcontroller.

Power

Each DNIN8 input duinoNode requires two power connections:

  • VCC, +5v device power
  • GND

Data Connections

DATA OUT: Each duinoNode requires three outbound connections for upstream (to the microcontroller) data transmission: Clock, Latch & Data Out.

DATA IN: Each duinoNode offers three inbound data connections for receiving data from downstream input duinoNodes: Clock, Latch & Data In.

DNIN8 Data Connections. Multiple boards can be chained together by connecting Data Out of a node to Data In of the next upstream (to microcontroller) node.

This version of the board accepts data connections at three port terminal blocks. Board-to-board data connections can be made with standard, 3-wire servo extension cable.

Stacking

In addition to chaining board by wire, you can also stack up to 6 DNIN8 boards together to share the power and logic connections, and concentrate ports in one location. Stacking is enabled by soldering in 6-pin headers (included with the board) and soldering jumpers on each board in the stack.

Close up view of the stacking jumpers, used to select input and output pins on stacked boards.

Successful stacking depends on setting the correct jumpers for each board to so that each board has uniquely assigned input and output pins.

On the board that will be on the bottom of the stack, solder just one jumper to read input from a pin: we strongly recommend you select pins in numeric order, so solder the data in jumper at header pin 1.

On subsequent boards solder two jumpers: on the data out side, set the jumper for the pin corresponding to data in from below, then select the next pin on the data in side for reading from the next board.

Following this pattern, you can mount up to 6 boards in a single stack. The top board of the stack does not need to select a data in pin, but can still connect to more upstream boards via wire connections at J2.

Additional Notes about Stacking

  • Connect power to the bottom board only.
  • The order of boards and ports is bottom to top, the same as if the boards were connected by wire instead of stacked.
  • To connect to another downstream board or stack by wire, use the DATA IN terminals (J2) on the TOP board of the stack.

Device Connections

The DNIN8 can be connected to standard buttons, switches and any +5v digital sensor device that produces a digital (HIGH or LOW) signal.

Connection points for buttons, switches and digital sensors. All devices share the common anode power source but use individual Ground ports.

There are 8 device ground connections plus 4 shared VCC anode terminals to supply power to all attached devices. Simply connect a wire from VCC to the “hot” side of each button, switch or sensor, then the ground side from each device to individual ground ports. Pull-down resistors are already present on the board.

Using the Board

DNIN8 is an 8-bit parallel in, serial out shift register device. However, the Arduino shiftin() library function is not compatible with shift register used by this board.

The duinoNodes Arduino Library is free to purchaser of any duinoNode product. It will be added to your cart automatically and you will receive a download link when your purchase is complete. The library is delivered as a zip file; unzip it into your libraries directory, usually C:\Users\USERNAME\Documents\Arduino\libraries. You will find example sketches in ..\Arduino\Libraries\duinoNodes\examples.

For detailed information, see Arduino Library for Input duinoNodes.

UPDATED: 8/26/21

Recent Posts

  • LDG duinoNodes Now Supported in DCC-EX
  • Checkout Issue Fixed
  • LCOS Manual is Live
  • Product On Sale Date
  • DCC Client Coming

Recent Comments

    Categories

    • Company
    • New Releases
    • Product News
    • Products
    • System Events
    • Uncategorized

    Archives

    • December 2022
    • January 2022
    • August 2021
    • January 2021

    About Us

    Creators of Intelligent Electronics for Model Railroads

    Copyright © 2021 - 2023, Beagle Bay Inc All Rights Reserved
    Theme by Colorlib Powered by WordPress
    We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
    Do not sell my personal information.
    Cookie settingsACCEPT
    Manage consent

    Privacy Overview

    This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
    Necessary
    Always Enabled
    Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
    Non-necessary
    Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
    SAVE & ACCEPT

    New Years Sale In Progress through Jan 31. 2023. Save 10% on Layout Starter Kits, and 20% on duinoNodes! Dismiss