USB<->I2C interface using a RAVAR MOD4 module

A question, a problem or a suggestion, don't hesitate : a little email

Back to Electronic tools page

Aim of the project

I2CRAVAR001.JPG

An USB to I2C interface using a RAVAR MOD4 module with its C interface library.

The RAVAR MOD4 module is used in the "Bit Bang Mode", witch enables a direct control of the output with the library.

Schematic

I2CRAVAR002.GIF

A very simple schematic using only the RAVAR MOD4 module and a standard TTL component.

D0 of the RAVAR is the I2C clock

D1 of the RAVAR is the I2C output data

D2 of the RAVAR is the I2C input data

D3 of the RAVAR is the I2C interrupt

Component side

I2CRAVAR003.GIF

A board with no particular difficulty.

PCB

I2CRAVAR004.GIF

The PCB of the board.

Click on the picture to display the full resolution PCB (33 ko).

It is a 4 by 2 inches board at 600 dpi resolution.

The software interface

I2CRAVAR005.GIF

The source of the software interface downloadable here (8ko).

The interface is 100 % identical with the interface using the PC parallel port and doesn't need any modification of the user program : just modify the include and the linker, that's all.

You can find some example programs (source and compiled) in the I2C library page.