Home › Magazines › 2000 › April › Universal Parallel Input/Output for PCs

Universal Parallel Input/Output for PCs

Published in issue 287, April 2000

Here’s a simple project with Windows control software that allows you to control up to eight relays or other actuators, and read back an equal number of input lines, all by means of the parallel port on your PC.The UPIO software and hardware (a board attached to the PC’s parallel port) allows you control up to eight relay outputs using a Windows-style user interface designed for user-friendliness. UPIO also allows you read back logic states on input lines.Circuit descriptionThe circuit that belongs with the UPIO program is very simple and consists of a few low-cost and easy to find parts. The circuit diagram is given in Figure 1. A tristate buffer type 74HCT241(IC5) arranges all input contact reading. An 8-bit latch type 74HCT574 (IC3) is used to preserve the output state during instruction execution. The third essential component is a power driver type ULN2803 (IC1) which enables output relays Re1-Re8 to be actuated and de-actuated.
Resistors:
R1-R8 = 22Ω
R9 = 820Ω
R10,R11 = SIL array 4 x 10kΩ
Capacitors:
C1 = 470µF 25V radial
C2 = 100µF 25V radial
C3,C4,C5,C14,C15 = 100nF
C6-C13 = 22nF
Semiconductors:
D1-D8 = 1N4148
D9,D11 = 1N4001
D10 = LED
IC1 = ULN2803
IC2 = 78L05
IC3 = 74HCT574
IC4 = 74LS05
IC5 = 74HCT241
Miscellaneous:
K1-K8 = 3 way PCB terminal block, raster 5mm
RE1-RE8 = PCB mount relay, 12V, e.g., Siemens V23040-A0002-B201
K9 = 2-way PCB terminal block, raster 5mm
K10 = 36-way Centronics connector, PCB mount
K11 = 3-way SIL pinheader with jumper
K12,K13 = 4-way SIL-header
PCB, order code 002011-1
Disk, contains all project software, order code 002011-11

Click below to download a PDF copy of this article from Elektor magazine.

 

Downloads 

PDF Article (e004020.pdf)
10 Elektor Credits
PCB layout (002011-PCB.pdf)
10 Elektor Credits
 

Order from Elektor 

PCB, bare 002011-1
002011-1
 

Order from Eurocircuits 

PCB, bare 002011-1

 

Free downloads 

002011-11.zip

Free download

Please note. In view of the complexity of international markets, Elektor cannot guarantee the availability of components for this project.

Subscribe now

Subscribe to our free
E-weekly Newsletter!

Enter your Email address:

Follow Elektor

      

Act now!

FAQ

Before submitting questions, review our FAQ section!

Bestseller

Microprocessor Design using Verilog HDL

This book is a practical guide to processor design in the real world. It presents the Verilog HDL in an easily digestible fashion and serves as a thorough introduction about reducing a computer architecture and instruction set to practice. 

Package Deals

Elektor Bundles

Check our Package Deals and save money! Discounts up to 19% now available!

Price Slashed

Elektor OSPV

This Open Source People Vehicle is perfect for factory halls, warehouses, hospitals, colleges, schools etc.

Elektor PCBs at 25% OFF