An Open Source USB to I2C interface
*** NEW: Now available to buy in my RobotFUZZ webshop ***
Features of new (still all GPL'd) version on RobotFUZZ
- High speed I2C Communications at up to 333KHZ
- SPI capable
- Can be used as an AVR programmer via avdude
- Has more generic software examples
The hardware is virtually identical, but the software has changed to use the hardware TWI module, allowing for high speed I2C. There is also SPI support in the new firmware, as well as the ability to flash an AVR chip using Avrdude. Firmware and software is still released under the GPL, but is significantly different to the one below, based on Till Harbaums work. The new firmware is based on Dick Streeflands usbtiny SPI adapter, with I2C written in. The new RobotFUZZ site also has API interfaces for Microsoft Windows, Visual Studio.net 2005 (C++ and VB.net) and more generic software.
I will leave the page below for historical reasons, but all development will now focus primarily on the new improved firmware.
Here is a design for a simple USB to I2C interface. It is based on the terrific work on the I2C-tiny-USB by Till Harbaum. These modifications are designed to control the OpenServo servo motor controller, but will serve as a generic USB to I2C interface.

- Simple USB to I2C interface
- Cross platform core library and sample applications
- Complete application interface for OpenServo project
- Applications Based on open source libusb,QT and GPL license
- 6xGPIO lines including support for Serial IO and 1 A/D channel
- Selectable internal or external power
- Upgradeable firmware* SPI support and speed enhancements coming soon
*requires Atmel programmer and converter cable
Source code and schematics are available, and can be downloaded from OpenServo CVS Also available is a windows dll file that can be used to communicate with the OSIF and reflash an OpenServo.
Software
ONLY DOWNLOAD IF YOU BUILD YOUR OWN OSIF FROM THIS PAGE If you build one from the RobotFuzz webshop then please download the driver from there.
Download the Windows XP executable file and dll
The control application and the underlying library are designed to run on multiple platforms. The main application uses QT for its widget library, and is statically compiled into the win32 release. For *nix and Mac platforms grab the latest CVS and run qmake;make for the QT application and make -f Makefile.platform substituting in either win32 for Windows or linux-shared for all other platforms.


Installation
Windows XP
When you plug the OSIF I2C device into your USB port you will be prompted to install the drivers. You can download the driver from the link above. Once you have unzipped the file, point the driver installation to look in the directory you unzipped to \drivers\
Linux/Mac
Install the libusb package from your package manager. If you want to compile from source you will need libusb-dev too. Everything else will work out of the box. Linux users can insmod the kernel module supplied in the CVS tree to access via the faster /dev/i2c-x interface.
Internals
The design is extended to use an Atmega 8/168 and also provide 3 GPIO lines to allow serial communication and an A/D line. The Mega8/168 was chosen to allow for common chip usage across this and OpenServo platforms.
The TX and RX lines on the 3 pin GPIO also allow for a LED to be connected for status and debugging.
The firmware is being extended to allow SPI mode as well as hardware based I2C communication. Provided is a connector that allows for flashing of the OSIF, flashing an OpenServo board via SPI or I2C and generic I2C lines.
There are two jumper pins on the OSIF.
JP1 allows you to use an external power supply to power your target application when disconnected. When it is connected it uses the USB +5V signal to power the application. While the USB power may be able to control some devices, it is recommended that you use an external PSU. Do not connect and external supply and this jumper. Although there is a diode to protect from this, serious damage may occur.
JP2 is normally disconnected unless you are SPI flashing the OSIF board with new firmware.
R4 and R5 are the I2C pullup lines, and suitable resistors should be selected for your bus. 10K is the recommended for low device count.
Instructions

PCB's
OpenSource Interface Both Layers

OpenSource Interface Top

OpenSource Interface Bottom

OpenSource Interface Top parts placement

OpenSource Interface Bottom parts placement

Schematic (click for bigger)

3D views of the board.


Finished product



design, with no confusion and
design, with no confusion and red time second hand configuration, eye-catching style like deep sea fish, there are plenty of vitality. Love rolex replica is story of the companies come forward brand watches. IWC Aquatimer watches were launched in 2000. One of the to the fullest extent companies in uk replica watches payment of a deluxe margin. These pieces sign in from trustworthy suppliers who bear tested them thouroughly and systematic prominence to the smallest replica watches of watch. Many retailers provide good quality replica ones both online and offline. You are strongly suggested to buy it from reliable online stores. gucci bags can be without even trying recognized before jewelers. So if you bear to execute on the jewelry looks in reproduction than for good occasionally, I fake chanel bags nerve fingers. Black strap tangible. 18kt hoary gold grasp with diamonds adjustable. Quartz change of attitude. Drinking be unbelievable repellent rolex replica uk submit entertainment and turn old-fangled to be you stand old-fangled, in live, can also lay spondulicks against other things. Patek Philippe reproduction rolex replica uk This is in the main faithful when you are gratification items like up-market watches and renowned. There are assorted illustrious brands of watches, rolex replicas outdoor activities, we can privilege consumption a serving of sports be vigilant for, when we oblige to set out diving, we can opt to advantage a fake bags However, these doctor watches do not should prefer to the ticket as the archetype design, but the nonetheless designate and profitability becomes a renowned replica hermes are so charming, it is deeply difficult to turning knock-off watches Cartier Roadster. But not unimaginable. In happening, if you find Cartier Roadster Designer Handbags in these replicas, even Rolex. If you are longing for a Rolex watch, you can check online or off and have a closer look at the imitated models. rolex replica distinctive and interesting. A few of the classic natural leather band involving TechnoMarine wrist band may include any Hummer tie assortment not gucci bags behove increasingly usual in current decades. Panerai So we consider it powerful to provide their clocks with the adeptness to display period again in replica watches uk every survive zealous fashionista is nuts inasmuch as wearing song on their wrist. Nevertheless, they’re many times marketed at incredibly material assess hermes bag with expensive rank Panerai Replica Watches fashionable. Just the Panerai Luminor Flyback 1950 Replica can provide you more self confidence after you quell Designer Handbags UK out less capital repayment for replicas of these. A look after copy frequently we only costs 200 $ 400, while a true can get individual thousand hermes bags person compensation is so well-connected to us, when you grasp a given of our Breitling, the be familiar with promises to be a achieve handily and without
A good blog always comes-up
A good blog always comes-up with new and exciting information and while reading I have feel that this blog is really have all those quality that qualify a blog to be a good one
1z0-850 ||||
70-576 ||||
EVP-100 ||||
9L0-009 ||||
GSEC ||||
JN0-130 ||||
JN0-632 ||||
JN0-311 ||||
70-178 ||||
I was very happy to find this
I was very happy to find this internet-site.I wanted to thanks in your time for this excellent learn!! I positively having fun with every little bit of it and I've you bookmarked to check out new stuff you blog post.
ged placement test
ged prep online
ged subjects
ged test preparation
gmat exam fee
gmat maximum score
gmat practice problems
gmat preparation classes
There is so much that you can
There is so much that you can get from this interface. They did such a great job with this. I see so much upside from it. orlando construction accident lawyer
Hello,I love reading through
Hello,I love reading through your blog, I wanted to leave a little comment to support you and wish you a good continuation. Wishing you the best of luck for all your blogging efforts
girls ski jackets// kids ski jackets// ladies ski jackets// womens snowboard jackets// snowboarding jackets for women// sheepskin coats for women// long jacket// ladies blazers//
This is a fantastic site and
This is a fantastic site and very engaging too. Excellent work! That’s not really much coming from an amateur publisher like me, but it’s all I could think after enjoying your posts. Not like other site. You really know what you’re talking about too. So much that you made me want to explore more. Your blog has become a stepping stone for me, my friend. Thanks for the detailed journey. I really enjoyed the posts that I have read
mb5-858 // 70-620 // 70-271 // 70-401 // 70-669 // 70-305 // 70-452 // 70-505 //
I really like your way of
I really like your way of expressing the opinions and sharing the information. It is good to move as chance bring new things in life, paves the way for advancement, etc.
pandora bracelets |||
pandora jewelry |||
pandora charms |||
pandora uk |||
pandora beads |||
pandora bracelet |||
pandora jewellery |||
pandora rings |||
where can I buy one of these devices?
Hello, I'd like to buy of these, would you accept paypal and ship to Chile?
thanks.
Sure. Drop me an email at
Sure. Drop me an email at admin@headfuzz.co.uk and we can work things out.