Why not convert RS232 to RS485 and connect the four devices to the same net ----- Original Message ----- From: Juan Jimenez To: Sent: Monday, May 03, 1999 11:10 AM Subject: Re[2]: PIC12C508 > Why not use the parallel port of the PC to switch the system. You get > 256 posible options (multiplex) or 8 direct posibles. > > Juan Jimenez > > > > My long goal is to built a serial interface board that include a pic, one > RS232 line to communicate with the PC and four RS232 to communicate to the > target system ( 4 units). The pic's job will be to direct communication to > unit 1 when it sees the command "UNIT1" and to unit 2 when it sees the > command "UNIT2" and so fort. > > At 09:37 AM 5/3/99 +0530, you wrote: > >Why do you need a PIC for this ? Just connect the TX and RX line together and > >you receive the same bytes that are transmitted ;-) > > > >Pailoor > > > >Aidi Moubhij wrote: > > > >> Hi, > >> I'm looking for code that will allow the 12C508 to receive data serially > >> from the PC. The 12C508 will store 5 bytes in the buffer after that the > >> 12C508 will transmit the 5 bytes out back to the PC, then repeat the task > >> again. > >> Does anybody have code that do this. Thanks. > >> Aidi Moubhij > >> > >> aidi@mjr.com > > > >-- > >================================================= > >For Embedded Controls Solutions and Custom Designs > > > >CHIP TECHNOLOGIES - Member, Microchip Consultant Program > >Bangalore - INDIA > > > >Email : chiptech@vsnl.com > >Webpage : http://business.vsnl.com/chiptech ( updated 16th April 1999 ) > > > Aidi Moubhij > > aidi@mjr.com