check this working usb-i2c device
http://www.robot-electronics.co.uk/htm/usb_i2c_tech.htm
http://www.i2ctools.com/

maybe we could create one programming with mikroc (works with pic, atmel,
and others), or free avr compilers (should only work with atmel)
some usb-serial allow very high bauds (ftdi allow 1mbps for rs232, 3mbps for
ttl), maybe this could help using usb-serial+serial-i2c

or we could do a direct usb-i2c converter using a microcontroller with
usb+i2c
CDC protocol for usb is easier and works with linux (/dev/ttyACM*), it´s
very near to serial(rs232) but don´t have to change baud rate, stop bits,
bits and parity, usb handle this automatically , check:

http://www.i2ctools.com/
http://www.atmel.com/dyn/resources/prod_documents/doc7619.pdf
http://www.usb-software.org/usb_cdc.php
http://en.wikipedia.org/wiki/USB_communications_device_class
http://www.linux-usb.org/usbnet/
http://www.ccsinfo.com/faq.php?page=linux_cdc


2011/9/19 Eloy Paris <pe...@chapus.net>

> Hello,
>
> On 09/19/2011 10:12 AM, Jan Kandziora wrote:
>
> [...]
>
> >> I saw some
> >> i2c-tiny-usb converter and it seems to work with OpenWrt. I cound,nt
> find
> >> any i2c<->uart converters.
> >>
> > You could easily build such a thing using an PIC or AVR µC. E.g. even the
> > smaller AVRs have an internal UART for RS232. The I²C interface could be
> build
> > up using bitbanging. The biggest problem of such a solution is speed, as
> RS232
> > is slow against I²C. For USB, the problem is programming the controller,
> as
> > USB has a complicated protocol.
>
> +1 for the suggestion of building an I²C <-> RS232 interface using a
> microcontroller (disclaimer: I have not done such a thing, but I think
> it would not be hard to do) -- some AVRs have hardware support for I²C
> (in the AVR documentation it is called "TWI" for "2-wire Serial
> Interface") and after a quick look at the datasheet of an ATmega328, it
> seems like one can use the I²C and UART subsystems at the same time. No
> bitbanging in these cases :-)
>
> Cheers,
>
> Eloy Paris.-
>
>
> ------------------------------------------------------------------------------
> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
> Learn about the latest advances in developing for the
> BlackBerry&reg; mobile platform with sessions, labs & more.
> See new tools and technologies. Register for BlackBerry&reg; DevCon today!
> http://p.sf.net/sfu/rim-devcon-copy1
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>



-- 
Roberto Spadim
Spadim Technology / SPAEmpresarial
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to