Using the Board on your Layout
The DNIN8K is the kit version of the DNIN8 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.
Each DNIN8K input duinoNode requires two power connections:
- VCC, +5v device power
DATA OUT: Each duinoNode requires three outbound connections at J1 for downstream (to the microcontroller) data transmission: Clock, Latch & Data Out.
DATA IN: Each duinoNode offers three inbound data connections at J2 for receiving data from upstream input duinoNodes: Clock, Latch & Data In.
This version of the board accepts data connections at three pin headers with 2.54mm (0.1″) spacing. All node-to-node data connections can be made with ordinary servo extension cables. Use male-to-male extensions to connect data out of a node to data in of the next upstream node.
The DNIN8 can be connected to standard buttons, switches and any +5v sensor device that produces a digital (HIGH or LOW) signal.
There are 9 device connections: one VCC anode to supply power to all attached devices, and 8 device grounds. 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. 10k 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.