In message , Sean Breheny writes >On Tue, 23 Jun 1998, Mike Keitz wrote: > >> On Tue, 23 Jun 1998 09:20:36 +0200 Charlos Potma >> writes: >> > I am now considering using a >> >PC mouse, or at least some part of it as an encoder. >> >The standard PC mouse seems to have a DATA and CLOCK >> >output. Does anyone here have detailed information on the >> >protocol used? >> >> Sounds like a PS/2 type mouse. These use two TTL lines with >> bidirectional synchronous signals very similar to a keyboard. A serial >> mouse would be simpler to use a since it sends data one way over one >> wire. The data is just standard asynchronous at 1200 baud. Microchip >> made some pre-programmed PICs once to use as mouse controllers. The data >> for these had fairly good descriptions of the signal format. > >I thought that I'd seen simple (no IC's or active components, just wires) >adapters to go between a serial mouse and a PS/2 bus mouse port. If what >you are saying is true, how can a simple adaptor convert an asynchronous >signal to a bi-directional synchronus signal? I could be wrong, its just >that I seem to remember these adaptors. I think that Charlos's best bet is to just use one of the encoders and forget about the mouse electronics. It will generate an in-phase and quadrature signal which can be sorted out with software or hardware to get the required direction and count information. Leon -- Leon Heller: leon@lfheller.demon.co.uk http://www.lfheller.demon.co.uk Amateur Radio Callsign G1HSM Tel: +44 (0) 118 947 1424 See http://www.lfheller.demon.co.uk/dds.htm for details of a simple AD9850 DDS system. See " "/diy_dsp.htm for a simple DIY DSP ADSP-2104 system.