Mike thanks for your idea, what I know is that you can buy a simple "Y" Cable at any pc shop. I don't have one, I know it molded and maybe it contain any tiny circuit inside, or connected pin-to-pin without any circuit. and if so, I wonder how 2 ordinary keyboards can work together. Tal -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Mike Hord Sent: Wednesday, March 24, 2004 3:27 AM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: keyboard emulator + pc keyboard I would do something to prevent the two from both trying to talk on the serial line at once. Like, say, a 74 series logic multiplexer. The 74158 should do it. Unless the emulator needs to communicate, it can let the keyboard have the bus. If it wants the bus, and the keyboard isn't using it, it can take control. I forget how many data lines are needed for PS/2 (I'm making the assumption that this is PS/2 based), but the 74158 has 4 2-input multiplexers in it. This may not be the optimal solution, but I think it's the quickest and maybe the simplest. At $0.45 each from Digikey, it's also probably the cheapest. Mike H. >I want to connect a pc keyboard emulator (based on 16F84) along with a pc >keyboard. do I need to do any special circuit for it or both can work >simultaneously? _________________________________________________________________ All the action. All the drama. Get NCAA hoops coverage at MSN Sports by ESPN. http://msn.espn.go.com/index.html?partnersite=espn -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.