Sonsivri

Electronics => Projects => Topic started by: gabriel on March 20, 2010, 08:56:24 08:56



Title: serial port to I2C??
Post by: gabriel on March 20, 2010, 08:56:24 08:56
Hello:

I like to interface the serial port of my PC to a I2C bus. does anyone have a schematic and software for that? thanks in advance.

another question:

I have to design a master I2C that will command around 100 slaves distributed over 200-300m distance, is there any precautions to consider with such a number of slaves and such distances.

thank you










Title: Re: serial port to I2C??
Post by: cncbasher on March 20, 2010, 10:59:33 10:59
http://www.robotfuzz.com/OSIF_guide#serial

take a look here
note the article says usb but also has serial




Title: Re: serial port to I2C??
Post by: hate on March 20, 2010, 12:09:12 12:09
If u'll a master for the I2C, u just need to communicate ur master with the PC through serial. As for the distance I haven't tried I2C but RS485 works reliable and well but u also have to consider ur data rate on both hardware.

Regards...


Title: Re: serial port to I2C??
Post by: gabriel on March 20, 2010, 12:55:06 12:55
Thanks for the link!!

In fact I would like to build an simple interface without a microcontroller, just using the port pins (using inpout32.dll) like many parallel-to-i2c interfaces.
In the serial port, there is 2 outputs and 4 inputs which is enough.
Certainly we should use a max232 and some transistors, I'm searching for something already made like this.

Thanks