Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:pcpointer [2015/03/17 14:23]
darron
projects:pcpointer [2022/09/07 12:05] (current)
darron [Resources]
Line 1: Line 1:
 ==== PC Pointer ==== ==== PC Pointer ====
 +<wrap right>
 +{{:projects:ps2serial.jpg?200|}}
 +</wrap>
  
 This is a very simple PS/2 to serial mouse protocol converter which uses This is a very simple PS/2 to serial mouse protocol converter which uses
-a PIC micro-controller and MAX232.+a PIC micro-controller and MAX232.
  
 === Schematics === === Schematics ===
  
-{{:projects:pic16f628a.png?200}}+Two schematics are presented for two different PIC micros. It should be trivial to port this application to any other PIC micro-controller since they all share similar peripherals.
  
 +{{:projects:pic16f628a.png?200}}
 {{:projects:pic16f688.png?200}} {{:projects:pic16f688.png?200}}
  
 +=== Install ===
 +
 +First install [[:tools:gputils|gputils]] for gpasm and [[:projects:pickle|Pickle]] for ICSP (if you are using a Velleman K8048 for example).
 +
 +PC Pointer needs some support files from [[:projects:pickle|Pickle]] so we install those first.
 +<code>
 +hg clone http://hg.kewl.org/pub/pickles
 +cd pickles
 +make
 +make install
 +cd ..
 +</code>
 +
 +Now we can fetch PC Pointer and and assemble the code.
 +<code>
 +hg clone http://hg.kewl.org/pub/PCPointer
 +cd PCPointer
 +make
 +</code>
 +
 +The resultant hex file is used to program the chip. Here I use [[:projects:pickle|Pickle]] and I have targeted the 16f688.
 +<code>
 +p14 program pic16f688.hex
 +</code>
 +
 +=== Usage ===
 +
 +Plug an old PS/2 mouse or newer USB mouse with PS/2 support into the input port of the circuit. Connect the serial output into the RS232 input of your old computer.
 +
 +Boot into DOS and detect the mouse with MOUSE.COM 8.20.
 +<code>
 +MOUSE.COM /C1
 +</code>
 +
 +Disable it like this.
 +<code>
 +MOUSE.COM OFF
 +</code>
 +
 +Windows 95 should auto-detect the device as a generic serial mouse.
 +=== Resources ===
 +
 +[[https://web.archive.org/web/20180202174841/http://www.computer-engineering.org:80/ps2protocol/|PS/2 protocol]]