Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:pcpointer [2015/03/17 14:36] darronprojects:pcpointer [2022/09/07 12:05] (current) – [Resources] darron
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 ===
  
-Two schematics are presented for two different PIC micros. It should trivial to port this application to any controller you have using this project.+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:pic16f628a.png?200}}
Line 15: Line 18:
 First install [[:tools:gputils|gputils]] for gpasm and [[:projects:pickle|Pickle]] for ICSP (if you are using a Velleman K8048 for example). First install [[:tools:gputils|gputils]] for gpasm and [[:projects:pickle|Pickle]] for ICSP (if you are using a Velleman K8048 for example).
  
-Fetch the source and assemble the code.+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> <code>
 hg clone http://hg.kewl.org/pub/PCPointer hg clone http://hg.kewl.org/pub/PCPointer
Line 22: Line 34:
 </code> </code>
  
-Now program the chip. Here I use [[:projects:pickle|Pickle].+The resultant hex file is used to program the chip. Here I use [[:projects:pickle|Pickle]] and I have targeted the 16f688.
 <code> <code>
 p14 program pic16f688.hex p14 program pic16f688.hex
 </code> </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 === === Resources ===
-[[http://www.computer-engineering.org/ps2protocol/|PS/2 protocol]]+ 
 +[[https://web.archive.org/web/20180202174841/http://www.computer-engineering.org:80/ps2protocol/|PS/2 protocol]]