On Fri, 22 Feb 2002 17:40:35 -0000, Mike Montgomery wrote: I took the liberty of adding the [PIC]: topic tag. >Hi all > Can any one help? What I need is a project/program that take two= NMEA-0183 inputs & one output ( very similar to rs-232 ) the operate on= the input as below >1.It must look for a particular string & change it & output >2.if a string is received on one stream then output it but ignore that = string on the other stream for a period of time >3. if none of the above then just output it > >What chip would be best to use have any of the chips got two rs-232 = input & one or more out? > I don't know of any PIC that has two hardware UARTs but you should be able to implement this with a 16F628.=20 You should be able to receive one input channel with the hardare UART and do a bit-banged receive for the other. I'd suggest using RB0/INT to do the start bit detection for the bit-banged input. Note: Be sure to keep interrupts disabled while you're bit-banging the one input. Its stop bit time should be sufficient for you to check the UART status bit and retreive the other channel's byte if it has arrived at the same time. Regards, Bob >ps sorry if this the wrong place to ask or has been ask before I am new = to this list PS - You should use the topic tag "[PIC]:" in your subject. If you don't, most people won't see your posts. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.