First post, by sklawz
This is a simple example circuit and working software for a PIC Micro which converts a PS/2 enabled mouse into a RS-232 enabled serial mouse.
There is a related thread to this one here:
PS/2 Mouse port addon, optical mouse with serial protocol
A demo of this application can be seen here:
The PIC Micro chosen for this project was the PIC16F628A. Choice was simple, this device has both an internal oscillator and a serial UART. It is also one the cheapest PICs available at vendors and on ebay. Other PICs may be used if desired but the 628A is so cheap it seems like a pointless exercise.
An example circuit schematic and the source assembly code for this project can be found on my PIC Micro project pages which are here:
The project pages are mostly about programming PIC Micros and are mostly unrelated to the PS/2 converter. The actual detail you will require for a demo schematic is here:
and for the working assembly file:
Notice that the assembly file includes further assembly files, I will upload an INTEX HEX32 file here later ready for programming.
You may also notice that I used a 648A micro for the test, it's just a bigger version of the 628A.
There is further work required for the circuit, since the demo doesn't have a PSU nor does it attempt to use the RS-232 lines to power itself.
This thread should be used to rectify this, however, I will not be doing any more development on this project except for any software bug fixes but I will answer any questions regarding how this converter operates as best I can.
UPDATE (4th March 2013):
Here are two simplified schematics for two different PIC Micros:
Here are the Intel Hex 32 files:
Here are breadboard layout images:
Here are the source files: