Home › Magazines › 2004 › December › USB/I²C interface

USB/I²C interface

I-square-C rules...

Published in issue 338, December 2004

USB/I²C interface
Since the introduction of the I2C bus in the eighties by Philips it has been used many times to provide a simple connection between a PC and home-built circuits. This often made use of a simple interface connected to the parallel port of the PC. This now seems a bit dated, so we’ve designed a USB/I2C interface for you to build.Articles about the I2C bus have appeared several times in Elektor Electronics. We have even published designs for a whole range of modules that communicated with a PC via the I2C bus. At that time we used an ISA card to provide an I2C interface. Another type of interface that was frequently used was a simple circuit that connected to the parallel port.But with the introduction of modern operating systems it became much more difficult to control the parallel port correctly. The old software would often no longer function properly.We have designed a new I2C interface, which uses the USB bus instead of the parallel port to connect to the PC, so that it can be easily used with newer PCs and modern operating systems.

Extra info, Updates

In Figures 2 and 4, the inputs and outputs of IC1 have been transposed. In both diagrams, pins 2 and 3, and 6 and 7, should be swapped over.

In the circuit diagram in Figure 1, the outer connection of the mains adapter socket is shown connected to ground while the centre pin carries the positive supply voltage. On the PCB designed for the project, these connections are the other way around.


Even if the circuit diagram does not show it explicitly, the P82B715PN is a bidirectional component (see www.semiconductors.philips.com/pip/P82B715PN.html). Consequently, nothing changes when compared to the circuit without the P82B715PN. Incidentally, controlling devices over the I2C bus always requires a bidirectional interface.

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

 

Downloads 

PDF Article (U041252.pdf)
10 Elektor Credits
PCB layout (040334-PCB.pdf)
Free download
 

Order from Elektor 

Controller, programmed 040334-21
040334-21 (USD 8.70)
 

Free downloads 

040334-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