Searching \ for 'RS232 reciever using a PIC.' 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/ios.htm?key=rs232
Search entire site for: 'RS232 reciever using a PIC.'.

Truncated match.
PICList Thread
'RS232 reciever using a PIC.'
1994\09\04@074441 by crocontroller discussion list

flavicon
face
Hello all,

Has anyone used a PIC (preferably a PIC16C84 as I can't program anything else!)
as a RS232 reciever/decoder?

control an LCD display remotely over a
two wire (data + ground) RS232 line. The PIC would simply (?) be acting as
an intelligent serial to parallel convertor. I may also add a third wire and
some switches by the LCD so that I could send data back to the host as well.

If anyone has any ideas / sample code (especially for the '84) then I'd
be most grateful.

Many thanks in advance,

Rafe

1994\09\04@074441 by crocontroller discussion list

flavicon
face
Hello all,

Has anyone used a PIC (preferably a PIC16C84 as I can't program anything else!)
as a RS232 reciever/decoder?

control an LCD display remotely over a
two wire (data + ground) RS232 line. The PIC would simply (?) be acting as
an intelligent serial to parallel convertor. I may also add a third wire and
some switches by the LCD so that I could send data back to the host as well.

If anyone has any ideas / sample code (especially for the '84) then I'd
be most grateful.

Many thanks in advance,

Rafe

1994\09\04@121555 by crocontroller discussion list

flavicon
face
If you have a copy of the Microchip Embedded Control Handbook, check out
the application note on page 3-121, "Software Implementation of
Asynchronous Serial I/O (AN555)".  This code is for a 16C84 using
an interrupt driven routine for RS-232 communication.  I've started typing
in the code for a project of my own.  If you like, I'll send it to you.
There are two disclaimers however, 1) It probably will not be debugged.
2) I'll need to figure out how to get it from my computer to my internet
host and then to you.

By the way, this routine sends the receive of the RS-232 to the RA4/RTCC
line of the PIC.  Therefore if the RTCC is set up as a counter loaded
with FF it will generate an overflow interrupt when the PIC receives a
start pulse.  The RTCC can be reconfigured as a timer after the start
pulse is received and generates interrupts based on the baud rate.

1994\09\04@121555 by crocontroller discussion list

flavicon
face
If you have a copy of the Microchip Embedded Control Handbook, check out
the application note on page 3-121, "Software Implementation of
Asynchronous Serial I/O (AN555)".  This code is for a 16C84 using
an interrupt driven routine for RS-232 communication.  I've started typing
in the code for a project of my own.  If you like, I'll send it to you.
There are two disclaimers however, 1) It probably will not be debugged.
2) I'll need to figure out how to get it from my computer to my internet
host and then to you.

By the way, this routine sends the receive of the RS-232 to the RA4/RTCC
line of the PIC.  Therefore if the RTCC is set up as a counter loaded
with FF it will generate an overflow interrupt when the PIC receives a
start pulse.  The RTCC can be reconfigured as a timer after the start
pulse is received and generates interrupts based on the baud rate.

1994\09\04@134710 by crocontroller discussion list

flavicon
face
>
> If you have a copy of the Microchip Embedded Control Handbook, check out
> the application note on page 3-121, "Software Implementation of
> Asynchronous Serial I/O (AN555)".  This code is for a 16C84 using
> an interrupt driven routine for RS-232 communication.  I've started typing
> in the code for a project of my own.  If you like, I'll send it to you.


I think you don't have to type ... Check the FTP sites that they mirror
the Microchip BBS . The source code must be there ready to upload ...

Have a nice day...


--
     ____________________________      __________________________________
    /                           /\    /                                 /\
   /   Argiris A. Kranidiotis _/ /\  /       E-mail (Internet):       _/ /\
  /  University Of Athens    / \/   /                                / \/
 / Informatics Department    /\    /  spam_OUTakraTakeThisOuTspamzeus.di.uoa.ariadne-t.gr  /\
/___________________________/ /   /_________________________________/ /
\___________________________\/    \_________________________________\/
 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \     \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \

1994\09\04@134710 by crocontroller discussion list

flavicon
face
>
> If you have a copy of the Microchip Embedded Control Handbook, check out
> the application note on page 3-121, "Software Implementation of
> Asynchronous Serial I/O (AN555)".  This code is for a 16C84 using
> an interrupt driven routine for RS-232 communication.  I've started typing
> in the code for a project of my own.  If you like, I'll send it to you.


I think you don't have to type ... Check the FTP sites that they mirror
the Microchip BBS . The source code must be there ready to upload ...

Have a nice day...


--
     ____________________________      __________________________________
    /                           /\    /                                 /\
   /   Argiris A. Kranidiotis _/ /\  /       E-mail (Internet):       _/ /\
  /  University Of Athens    / \/   /                                / \/
 / Informatics Department    /\    /  .....akraKILLspamspam@spam@zeus.di.uoa.ariadne-t.gr  /\
/___________________________/ /   /_________________________________/ /
\___________________________\/    \_________________________________\/
 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \     \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \

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