Searching \ for 'Communication with PC using COM1 and rs232' 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/io/serials.htm?key=rs232
Search entire site for: 'Communication with PC using COM1 and rs232'.

Truncated match.
PICList Thread
'Communication with PC using COM1 and rs232'
1999\02\26@104711 by ago Correia Teixeira Maia

flavicon
face
       Hi there,
       Could anyone give me some information, I need to create a
communication line between a PIC16C74A and one pc using COM1. I need to
know the following:
               What's the normal baud rate achived with this kind of
communication.
               If anyone has done it could give me some guide lines.


       Thanks.


               Rodrigo Maia

1999\02\26@130227 by Gerhard Fiedler

picon face
At 15:36 02/26/99 +0000, Rodrigo Tiago Correia Teixeira Maia wrote:
>        Could anyone give me some information, I need to create a
>communication line between a PIC16C74A and one pc using COM1. I need to
>know the following:
>                What's the normal baud rate achived with this kind of
>communication.

i guess you can do about anything your pc and your rs-232 driver can do, up
to 1.25Mbps, according to the data sheet (i didn't try that one, though :)

the limiting factors would probably be the driver you use (they have a max.
speed specified), of course the max speed of your pc (usually 115.2kbps),
and the distance, noise and type of cable in your application. with the
right driver (eg. max232, spec'd up to 120kbps) in a normal home
environment 115.2kbps shouldn't be a problem. in any case you need to
choose a crystal that allows you to generate the bit rate you want.

ge

1999\02\26@162626 by alessandro

flavicon
face
This is megaEasy...
read chapeter 12 on the PIC data sheet. The answers are all there.
you should be able to decide upon the baud rate yourself.

a



On Fri, 26 Feb 1999, Rodrigo Tiago Correia Teixeira Maia wrote:

{Quote hidden}

1999\02\27@052101 by Marc

flavicon
face
> right driver (eg. max232, spec'd up to 120kbps) in a normal home

If I remember correctly, the MAX232 is spec'd at 19k2, while a variant of it
(MAX232A?) and the newer MAX202 is spec'd to support 115k2. The MAX202 is
"better" anyway because it works with 5x 100nF, available cheap and in 1206 SMT.

1999\02\27@055418 by Dr. Imre Bartfai

flavicon
face
Hi,
I did use it, but I did in a far more conservative way. I use 9600 baud,
in hostile environment (noisy, industrial, long cable (about 100 feet))
even 1200 baud. It is very important to do a level conversion with a
MAX232 or similar otherwise the error rate increases. It is also important
to implement a good protocol; I use checksum and ACK/NAK quoting. Even CRC
may be necessary.
I hope this helps.
Imre


On Fri, 26 Feb 1999, Gerhard Fiedler wrote:

{Quote hidden}

1999\02\27@112846 by Gerhard Fiedler

picon face
At 11:09 02/27/99 +0100, Marc wrote:
>> right driver (eg. max232, spec'd up to 120kbps) in a normal home
>
>If I remember correctly, the MAX232 is spec'd at 19k2, while a variant of it
>(MAX232A?) and the newer MAX202 is spec'd to support 115k2. The MAX202 is
>"better" anyway because it works with 5x 100nF, available cheap and in 1206
>SMT.

i don't have the max232 data sheet handy, but the max232e (w/ esd
protection) is spec'd for 120kbps, just like the max202e. the higher
switching frequency of the 202 not only makes the caps smaller, it also
makes the current consumption higher.

ge

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