Parallax 27113 Instruction Manual Download Page 9

Copyright © Parallax Inc.

Digital I/O Board Kit (#27113)

v1.0  2/19/2010  Page 9 of 13

Relay Selection (Mechinical or SSR)

The Digital I/O Board is capable of using Omron  Mechanical Relays (#400-00052) or Sharp  Solid State 
Relays  (#400-00053).    You  can  use  either  relay  in  any  of  the  eight  available  relay  slots  in  any 

combination.  The slots are mechanically interlocked to prevent you from using both types in the same 
position.  The Mechanical Relays can switch up to 250VAC @ 12A (24VDC).  The Solid State Relays can 

switch  up to  240VAC  @ 8A (AC  ONLY).  Unlike  the  mechanical  relays,  solid state  relays  do not exhibit 
contact  noise  or  arcing.   These  Sharp  Relays  even  provide  zero-crossing  detection to  reduce  switching 
noise, however they can only switch AC voltage, not DC.

Relay Power

No matter which relays you use the Digital I/O Board requires a separate 12V @ 1A power supply for the 
relays.  This power is provided through 2.1mm Barrel Jack at the top left of the board or optionally via 
the 2-position terminal block next to it.  The terminal block is l and – which the DC barrel jack is 

center  tip  positive,  making  it  compatible  with  our  power  supplies  (Parallax  recommends  #750-00007).  
Minimal reverse polarity protection is provided by diode D25.

Logic Power

The  control  logic  requires  power  from  the  host  microcontroller  for  the  inputs  to  function.  This  will  be 
either  3.3V  or  5V  from  your  microcontroller  provided  to  the  VDD  pin  on  the  Digital  I/O  Board.    Your 
microcontroller’s ground should connect to the VSS pin.  This allows the Digital I/O Board to operate at a 

signal level compatible with your microcontroller.  The V+ pin allows your microcontroller to get supply 
voltage  from  the  Digital  I/O  Board  (reducing  the  need  for  an  additional  power  supply).    If  your 

microcontroller’s board has an on-board voltage regulator, you can obtain V+ from the Digital I/O Board 
and then send your regulated output back to the VDD pin.  V+ will be at the voltage of the relay supply 
(typically ~12VDC).

Connecting and Testing (Parallel Interface)

Using the parallel interface (2x10 header) controlling relays is as simple as making a pin HIGH or LOW. 
To  energize  a  particular  relay  make  its  control  pin  HIGH.    To  turn  it  off  bring  that  pin  LOW.    If  your 
microcontroller’s  output  pins  are  set  to  input  the  relays  will  also  turn  off  due  to  internal  pull-down 

resistors within the ULN2803 IC.  Inputs are easily read by reading a HIGH or LOW on their output pins 
(labeled  IN_1  through  IN_8).    Note  that  because  the  optocoupler  inverts  the  signal,  the  pins  will  read 

HIGH when that input is inactive and will read LOW when that input is active.

Note: Do not use the parallel and serial circuits at the same time.  Use only one type of interface.

Connecting to an AppMod Header

The  parallel  interface  (2x10  header)  was  designed  to  be  compatible  with  the  AppMod  header  on  our 
popular Board of Education development board.  You could use a ribbon cable (not included) to connect 

both boards together instantly connecting all necessary power and ground for a fully functioning parallel 
control system.

When  using  the  AppMod  interface  there  are  two  additional  considerations.    You  should  use  the  I/O 
declarations in the example code for the AppMod because the I/O pins are now mapped to specific pins 

on the Digital I/O Board and these may not be what you expect.  Also, the V+ connection allows the BoE 
to get power from the Digital I/O Board.  If you do not want this to happen you must remove the 2-pin 

shunt from JP2 above the parallel interface.  This disables the V+ pin on that header, but still allows the 
BoE to provide 5V to VDD on the Digital I/O Board.

Summary of Contents for 27113

Page 1: ...input voltages by changing a couple of components Features Mechanical or Solid State Relay output Configurable Input Voltage range Serial or parallel interface to inputs outputs LED indication of power and input output status AppMod compatible connection for Board of Education Key Specifications Power requirements 12VDC 1A for relay power and 3 3 5VDC for logic power Communication Parallel or Sync...

Page 2: ...2 01040 U1 U8 IC 4N25 Optoisolator DIP 6 8 500 00005 U9 IC ULN2803 Darlington Array DIP 18 1 602 00009 U10 IC 74HC595 Shift Register DIP 16 1 602 00010 U11 IC 74HC165 Shift Register DIP 16 1 452 00052 S1 S8 Socket IC DIP 16 8 452 00053 S9 Socket IC DIP 18 1 452 00054 S10 S11 Socket IC DIP 16 2 452 00012 J1 J17 2 Position Terminal Block 21 452 00007 J18 2 1mm DC Barrel Jack 1 452 00049 J19 2x10 20 ...

Page 3: ...erprints Set your board in a position to start installing and soldering groups of components In the following steps the component locations will be highlighted with a yellow square circle Step 2 Install Resistor Network RN1 into the location shown to the right The notch should be toward the top Solder this device in carefully avoiding overheating the component as will all components from this poin...

Page 4: ...e right The components stand on end in the right hole with the stripe facing up as shown in the inset and the other lead bent over into the left hole This is vertical mounting of an axial component Step 6 If you will be using input voltages outside the range of 15 30VDC then please skip this step until you read the section on setting the input voltage range Install the 1 5K resistors R25 R32 into ...

Page 5: ...s shown at right Color code is Red Red Brown Gold Inset shows details Step 8 Install the 10K resistors R17 R24 and R43 into the positions shown at right Color code is Brown Black Orange Gold Inset shows details Step 9 Install the 1K resistors R1 R8 R33 and R42 into the positions shown at right Color code is Brown Black Red Gold Inset shows details ...

Page 6: ...Gold Install these in the same manner as previous resistors Step 11 Install the headers resistors J19 J20 JP1 and JP2 into the positions shown at right Inset shows details Step 12 Install the Terminal Blocks J1 J17 21 pcs total into the positions shown at right Note 12 Terminal Blocks must be snapped together for the relay connections These slide together vertically to create one long strip ...

Page 7: ...Step 14 Install Diode D25 into the position shown at right With the diode mounted in the right side with square the stripe should be on the bottom The other lead should bend over into the left hole Inset is from other side Step 15 Install Capacitors C1 C4 into their respective positions as shown at right Observe proper polarity on C4 C1 C3 are non polarized Inset shows details ...

Page 8: ...le and the 74HC165 U11 is on the bottom Step 17 If you have not already done so you may now install the shorting blocks shunts The details for these are covered later in this documentation Inset shows detail for JP1 set for inverted serial data Step 18 Install the relays you have chosen for your application in any position Relays only install in one direction and you cannot mount both types in the...

Page 9: ... the need for an additional power supply If your microcontroller s board has an on board voltage regulator you can obtain V from the Digital I O Board and then send your regulated output back to the VDD pin V will be at the voltage of the relay supply typically 12VDC Connecting and Testing Parallel Interface Using the parallel interface 2x10 header controlling relays is as simple as making a pin H...

Page 10: ...o LOW during a LOAD operation The DIN line has a 1K resistor in series to allow sharing of the 74HC165 data line with the 74HC595 DATA_RLY line By connecting these lines together and also connecting SCLK_RLY to SCLK_IN you can reduce the number of I O pins required by your microcontroller down to four 4 In this configuration LAT_RLY and LOAD_IN must have their own I O pins and OE_RLY can be connec...

Page 11: ...the input using a 1K resistor VINMAX 1000 0 02 1 2 21 2V Sensitivity Because of the way the input LEDs are driven on the output they will indicate voltage on an input even when it is not sufficient to trigger and output Voltage as low as 2V will cause the LED to start to glow however the output won t trigger until the minimum current has been reached This provides some safety in the sense that you...

Page 12: ...es AppMod connector Pin Name Function 1 V Relay Power Can be disconnected via JP2 2 VDD Logic Power 3 RLY1 Relay 1 Control Line 4 RLY2 Relay 2 Control Line 5 RLY3 Relay 3 Control Line 6 RLY4 Relay 4 Control Line 7 RLY5 Relay 5 Control Line 8 RLY6 Relay 6 Control Line 9 RLY7 Relay 7 Control Line 10 RLY8 Relay 8 Control Line 11 IN_1 Input 1 Signal 12 IN_2 Input 2 Signal 13 IN_3 Input 3 Signal 14 IN_...

Page 13: ...ata Out to 74HC595 input from host microcontroller 5 SCLK_IN Synchronous Serial Clock input from host microcontroller 6 SCLK_RLY Synchronous Serial Clock input from host microcontroller 7 LOAD_IN Load Inputs input from host microcontroller 8 LAT_RLY Latch Relay Output input from host microcontroller 9 VSS Ground 10 OE_RLY Relay Output Enable input from host microcontroller Module Dimensions Module...

Page 14: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Parallax 27113 ...

Reviews: