Tuesday, August 21, 2007

[oopic] Re: Serial communication between two oopics

--- In oopic@yahoogroups.com, "Mike Smith" <msmith@...> wrote:
>
> Thanks Richard -
>
> > Or, skip the serial experience altogether. Serial communications
> > isn't something the OOPic does well.
> >
> > Read Chapter 12 of the Programmer's Guide and use Dynamic Data
> > Exchange (oDDELink). This will allow each OOPic to manipulate
> values
> > in the other OOPic.
> >
>
> I would like to skip the serial stuff and use i2c / DDE as well,
but
> the OOPics will be separated from each other by some distance and
> everything I've read is that i2c should only / can only be used for
> very short distances.
>
> I'll plan on getting the level shifter for the S board, and getting
> each to talk to the PC first.
>


Considering the r-board actually uses 0-5v levels for RS232 [DB09
connector], you could probably get by with just simple inverters on
the s-board. At least for testing pusposes. Still need the null-
modem, or switching pins 2+3 in DB09 cable.

Wonder how much 4000' of copper cable costs these days? :)


> I'm hoping that at RS232 levels I can get the distance I need. If
> not, I was planning to look into RS232<->RS485 converters
(Wikipedia
> says RS485 can go 4000ft!), or using something like a Prizm
MicroMux
> (http://www.prizminc.com/pdf/DS_micromux1.20.2004.pdf) to convert
> RS232/RS485<->Fiber between the cards. (I suspect those fiber
modems
> are pricy though!)
>
> Ah, but I'm getting ahead of myself. First, I'll try to get the
> serial basics down and order the MAX232 for the S card.
>
> Thanks for the help. I'll keep the group posted if I can get any
of
> this "long distance" serial stuff working.
>



Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

No comments:

Post a Comment