ICI16• 16
EXAMPLE HOOKUPS
Below are a couple of ideas on how to use the ICI16 in an application. Since
it is designed to be an add-on module you can use it in a variety of ways. The
top example shows how you can activate relays using a 4-16 line decoder
(74HC154). Relay 1 closes when code 0 is seen, and is released as soon as
code 0 is no longer seen. Mode 1 would be used in this case.
To latch and hold a relay in position, use a Flip-Flop (74HC74) as shown for
relay 2 and 5. Code 14 turns on relay 5 and turns off relay 2, and code 15
turns on relay 2 and turns off relay 5. The relays will stay in those states until
you send a code 14 or 15 to change their states again.
To interface to a microcontroller for a variety of tasks, connect as shown
where the data lines are connected to an I/O port configured as inputs, and
the valid line can be connected to either an input or an IRQ as shown.