This Forum is Dedicated For all The Object Oriented PIC Lovers .......... The concept behind OOPic is straight forward. Use preprogrammed multitasking Objects from a library of highly optimized Objects to do all the work of interacting with the hardware. Then write small scripts in Basic, C, or Java syntax styles to control the Objects. During operation, the Objects run continuously and simultaneously in the background while the scripts run in the foreground telling the objects what to do.

Tuesday, August 21, 2007

[oopic] Re: Serial communication between two oopics

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.

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: