How to turn a digital signal into a analog voltage

I'm trying to figure our the best way to convert a PS/2 mouse signal to voltages ie: mouse move up +5v mouse move down 0v mouse not move at all 2.5v

I know that PS/2 mice use PIC circuits, and use binary values between

0 to 255 for direction and speed. I am trying to hook up an adapter to connect my PS/2 mouse to a game/ midi port.

any assistance would be greatly apreciated.

thanks!

Reply to
bauddo
Loading thread data ...

On a sunny day (11 Mar 2007 21:05:36 -0700) it happened snipped-for-privacy@gmail.com wrote in :

:-)

Been a while since I did a mouse driver..... It is a serial protocol, there are everal MS, Genius, others... Once you decide on one or more of those protocols, it is software. Old serial port mouse was just 1200Bd or so? async ,and needed an UART.

The PS2 protocol is like the keyboard, and uses data and clock. You need some shift register to decode / encode that.

formatting link

Reply to
Jan Panteltje

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.