Searching \ for 'PIC's USART with MAX232, possible?' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/microchip/ios.htm?key=usart
Search entire site for: 'PIC's USART with MAX232, possible?'.

Truncated match.
PICList Thread
'PIC's USART with MAX232, possible?'
1998\03\03@220340 by Calvin

flavicon
face
Great Masters of the PIC,

I need of your wisdom again    :)

I am planning to use a MAX232 to get true RS232 levels on a project I am
working in.
I intend to use the USART of a PIC16C63 for asynch comm, but according the
datasheets of this PIC (I may've missed something) the levels of the TX and
RX pins for the USART are true RS232 (i.e. start bit=low level), and the
MAX232 inverts the signals.
So the question is: can I use the pic's USART with the MAX232?????
And if so, how?

TIA

Calvin

1998\03\03@221647 by Sean Breheny

face picon face
At 08:03 PM 3/3/98 -0600, you wrote:
>Great Masters of the PIC,
>
>I need of your wisdom again    :)
>
>I am planning to use a MAX232 to get true RS232 levels on a project I am
>working in.
>I intend to use the USART of a PIC16C63 for asynch comm, but according the
>datasheets of this PIC (I may've missed something) the levels of the TX and
>RX pins for the USART are true RS232 (i.e. start bit=low level), and the
>MAX232 inverts the signals.
>So the question is: can I use the pic's USART with the MAX232?????
>And if so, how?
>
>TIA
>
>Calvin
>

Hi Calvin,

Yes, you can use the MAX232 with the PIC USARTs. I have used other members
of the MAX2xx family of level converters with 16C65A and 16C74, and it
works. You must be getting confused somewhere because the output of the PIC
does need to be inverted (by the MAX232). No additional inverters or any
other circuits are necessary.

Sean




+--------------------------------+
| Sean Breheny                   |
| Amateur Radio Callsign: KA3YXM |
| Electrical Engineering Student |
+--------------------------------+
Fight injustice, please look at
http://homepages.enterprise.net/toolan/joanandrews/

Personal page: http://www.people.cornell.edu/pages/shb7
spam_OUTshb7TakeThisOuTspamcornell.edu
Phone(USA): (607) 253-0315

1998\03\03@221917 by myke predko

flavicon
face
Hi Calvin,

You should be able to connect the MAX232 to the PIC as you would ordinarily
use it with any NRZ (Non-Return to Zero) Driver.

That means the TX output from the PIC (Pin 17) goes to Pin 11 (T1IN) of the
MAX232 and Pin 14 (T1OUT) goes to your RS-232 Connector "TX" Pin.  The PIC's
RX pin (18) is connected to R1OOUT (Pin 12) and the RS-232 Connector's "RX"
Pin Goes to Pin 13 (R1IN) of the MAX232.

Good luck,

myke
{Quote hidden}

"If people don't know what you're doing, they don't know what you're doing
wrong." - Sir Humphrey Appleby K.C.B

1998\03\04@004550 by Richard Nowak

picon face
The MAX232E version improves on ESD protection to +- 15 kV -- requires 4
each 1uF caps for the charge pump.

Rich

At 10:12 PM 3/3/98 -0500, you wrote:
{Quote hidden}

=========================================
= Abolish the Income Tax! Fire the IRS! =
= http://www.nrst.org/                  =
=========================================

1998\03\04@011756 by Clyde Smith-Stubbs
flavicon
face
On Tue, Mar 03, 1998 at 08:03:50PM -0600, Calvin wrote:

> I am planning to use a MAX232 to get true RS232 levels on a project I am

Use a MAX202 - same price, only needs 0.1uF caps instead of electrolytics.

> datasheets of this PIC (I may've missed something) the levels of the TX and
> RX pins for the USART are true RS232 (i.e. start bit=low level), and the
> MAX232 inverts the signals.

Correct; the RS232 TD and RD levels ARE inverted, i.e. at RS232 voltage levels,
a
mark is -ve and a space is +ve.

The control lines, OTOH, are true signal levels, therefore if you use
port pins for CD etc, then the port level will be inverted.


--
Clyde Smith-Stubbs               |            HI-TECH Software
Email: clydespamKILLspamhtsoft.com          |          Phone            Fax
WWW:   http://www.htsoft.com/    | USA: (408) 490 2885  (408) 490 2885
PGP:   finger .....clydeKILLspamspam.....htsoft.com   | AUS: +61 7 3354 2411 +61 7 3354 2422
---------------------------------------------------------------------------
ANSI C for the PIC! Now shipping! See http://www.htsoft.com for more info.

1998\03\04@105311 by Alessandro Zummo

flavicon
face
Il 04-Mar-98, Clyde Smith-Stubbs scrisse:

>> I am planning to use a MAX232 to get true RS232 levels on a project I am

> Use a MAX202 - same price, only needs 0.1uF caps instead of electrolytics.

use MAX233ACPP, no caps at all :-) anyway the price il slightly
higher :-)

--

  - *Alex* -

 http://freepage.logicom.it/azummo/

More... (looser matching)
- Last day of these posts
- In 1998 , 1999 only
- Today
- New search...