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