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.

Thursday, April 10, 2008

[oopic] Re: oSerialH on ooPIC-R, TTL-Level or true RS232?

--- In oopic@yahoogroups.com, "design.wonk" <design.wonk@...> wrote:
>
> I was looking at the oSerialH object (after trouble with the
oSerialL)
> and it appears that the oSerialH on the ooPIC-R is "hard wired" to
> line 22 for output and line 23 for input. These are connected to
pins
> 2 and 3 respectively of the db9 connector. If I am reading the
> schematics correctly, are pins 2 and 3 of the db9 providing +5V
> TTL-Level signals and not true +12v RS232c signals (in that case I
> should be able to connect them to another device with similar +5V
> TTL-Level input and output pins).
>
> thanks
>
> -GeorgeOrr
>


Yes. The oSerialH and oSerialPort [buffered form] objects use the
main UART on the oopic [PIC] chip for RS232 comms, via the DB09
connector. However, for some reason, the oopic-r board uses a 0-5v
logic level inverter, rather than a MAX232 style inverter chip with
+/-12v levels. According to DennisLC, this interface works
with "most" PCs [but not all; eg, it works with my old notebook PC,
but not my desktop PC].

You should be able to connect the oopic-r board to other logic-level
serial ports, but you will still need an inverter on the remote end.

------------------------------------

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: