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® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® 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