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:
>
> Just curious... How is the oooPIC-R able to communicate with my PC
> using a serial cable with no inverter?

The logic levels (0 and 1) are corrected for RS232 definitions of mark
and space by inverting the TTL signals from the uC. The PC has level
changers as well inverting the signal from the SuperIO chip (the
likely chip).

The unfortunate thing is that the OOPic-R (and -C) inverted signals
are NOT really RS232 voltage levels. So, while the OOPic-R can talk
to a PC, there are a number of things it can't talk to. Some
USB->Serial cables, for example. A real level shifter will come a lot
closer to RS232 voltage levels - usually on the lower side of the
voltage range but definitely both above and below ground.

Nevertheless, it all kind of works out.

Richard

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

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: