Home › Magazines › 2000 › October › Versatile Centronics/I2C Interface

Versatile Centronics/I2C Interface

with logic analyser

Published in issue 292, October 2000

When this interface is connected to an extended parallel printer port (EPP), your PC can communicate using the I2C protocol, and it can also make direct read and write accesses to eight data bits.Most of the I2C interfaces that have been described in Elektor Electronics up to now are based on a Philips application note. This circuit is no exception. However, its special feature is the combination of an I2C interface with an 8-bit parallel interface. The parallel port of the PC can be used for control, since 8-bit output was defined for this port by IBM from the very beginning. However, since the data lines were only intended to be used for output, it used to be necessary to resort to a trick in order to read in data. This consisted of using the status port of the interface to read data. Since the status port is only five bits wide, data had to be read in 4-bit nibbles.
Resistors:
R1 = 22kΩ
R2-R9,R11,R12 = 10kΩ
R10 = 1kΩ
Capacitors:
C1 = 10nF
C2 = 10µF 63V radial
C3 = 470F 25V radial
C4-C7 = 100nF ceramic
Semiconductors:
D1 = LED, high efficiency
IC1 = 74LS245
IC2,IC3 = 74LS06
IC4 = 7805
Miscellaneous:
K1 = 25-way sub-D plug (male), PCB mount
K2 = 26-way boxheader or pinheader
B1 = B80C1500 in round case (80V piv, 1.5A peak)
PCB, order code 000096-1
Project software on disk, order code 000096-11

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

 

Downloads 

PDF Article (e00a068.pdf)
10 Elektor Credits
PCB layout (000096-PCB.pdf)
10 Elektor Credits
 

Order from Elektor 

PCB, bare 000096-1
000096-1
 

Order from Eurocircuits 

PCB, bare 000096-1

 

Free downloads 

000096-11.zip

Free download

000096-12.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!

Sponsored

FAQ

Before submitting questions, review our FAQ section!

Bestseller

Controller Area Network Projects

The aim of this book is to teach you the basic principles of CAN networks and in addition the development of microcontroller based projects using the CAN bus.

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.