Re: Interfacing RS232 / I2C



Greg T wrote:

Gidday,

I'm trying to figure out if I can build a simple (read:cheap) temperature sensor by connecting an I2C compatible sensor ship (like the LM92) to an RS-232 port and get something meaningful out of it.

A circuit diagram located at http://www.eidusa.com/Electronics_Kits_RS232_To_I2C_TEMP.htm seems to indicate that this can be done without a MAX232 or other IC, but other places are selling RS232-I2C convertors for upwards of $200.

Are there any other good sources of information about such interfaces?

thanks,
Greg
I do not know anything about the I2C protocol or voltage levels.
If the levels are at least 3V apart, then driving RS-232 is possible.
One would need to write a special routine, and AFAIK all of the GUIs are jealous masters concerning I/O, making that task almost impossible.
In any event, one could use one of the hand-shaking lines (to bypass the UART); either pin 5 CTS, pin 6 DSR or pin 8 CD will do.
Do not use any Maxim parts in a design; most of what they advertise is vaporware.
.