Searching \ for 'PIC-PC INTERFACE' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: 'PIC-PC INTERFACE'.

Truncated match.
PICList Thread
'PIC-PC INTERFACE'
1997\11\15@062338 by TORRENS SR

flavicon
face
Hi,
I am building a project using the PIC 16c74.
Part of it involves interfacing to a PC, I am not to sure how to do
this. I am thinking of using the Serial Communications Interface
(SCI), configured as a full duplex asynchronous system, and a
MAX232 to level shift to RS-232.
Could someone explain the nature of operation and how I should
implement it?

Thanks
Ross..

1997\11\15@065952 by Eric van Es

flavicon
face
TORRENS SR wrote:

> Hi,
> I am building a project using the PIC 16c74.
> Part of it involves interfacing to a PC, I am not to sure how to do
> this. I am thinking of using the Serial Communications Interface
> (SCI), configured as a full duplex asynchronous system, and a
> MAX232 to level shift to RS-232.
> Could someone explain the nature of operation and how I should
> implement it?

Hi Ross
I did a project that has comms to a rs232 port on the pc from the pic.
Works asynchronous at 2400 baud. We simply used Hyperterminal to
display the ascii from the pic. My program had to recognise commands
from the pc and react to it.

Let me know if you want the code. It's written in C, but should be a
breeze in asm.

--
Eric van Es               | Cape Town, South Africa
spam_OUTvanesTakeThisOuTspamilink.nis.za | http://www.nis.za/~vanes
LOOKING FOR TEMPORARY / HOLIDAY ACCOMODATION?
http://www.nis.za/~vanes/accom.htm

1997\11\15@071025 by Ivan Cenov

flavicon
face
Hi,
I recently tried serial communications PIC<->PC
and they worked. I used three wires only - TxD, RxD and Ground.
From the PC-side the sofware was under DOS and I
did NOT used BIOS and worked with the port directly.
BIOS INT 14 is not good thing.

From the PIC side the transmitter is simple thing...
just write to TXREG.

For receiving it is good idea to implement timeout checking
and error return to calling routine on the both sides.
The software either does not catch the incoming char
or hangs up forever without timeout check.

It essential that PC's UART and PIC's SCI to operate
at same baud rate. (BRGH bit in TXSTA)

MAX232 is an appropitate IC.

Hope this helps...

Ivan

----------
{Quote hidden}

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