Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 09, 2016, 02:49:58 02:49


Login with username, password and session length


Pages: [1]
Print
Author Topic: serial port to I2C??  (Read 3361 times)
0 Members and 1 Guest are viewing this topic.
gabriel
Active Member
***
Offline Offline

Posts: 112

Thank You
-Given: 153
-Receive: 46


« 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








Logged
cncbasher
V.I.P
Junior Member
*****
Offline Offline

Posts: 87

Thank You
-Given: 107
-Receive: 50


« Reply #1 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


Logged
hate
Hero Member
*****
Offline Offline

Posts: 556

Thank You
-Given: 156
-Receive: 354


« Reply #2 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...
Logged

Regards...
gabriel
Active Member
***
Offline Offline

Posts: 112

Thank You
-Given: 153
-Receive: 46


« Reply #3 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
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC