1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Electronics pic16f88 to ps/2 port?

Discussion in 'Modding' started by hcker2000, 11 Oct 2005.

  1. hcker2000

    hcker2000 What's a Dremel?

    Joined:
    21 Oct 2004
    Posts:
    109
    Likes Received:
    0
  2. shotgunefx

    shotgunefx What's a Dremel?

    Joined:
    4 Feb 2004
    Posts:
    449
    Likes Received:
    0
    Here's a link to a schematic and code for emulating a PS/2 mouse using a 16F84a.
     
  3. shotgunefx

    shotgunefx What's a Dremel?

    Joined:
    4 Feb 2004
    Posts:
    449
    Likes Received:
    0
    Just realized why I felt deja-vu.

    You should be able to adapt that. Not sure how many ADCs are on the 16F88.
     
  4. hcker2000

    hcker2000 What's a Dremel?

    Joined:
    21 Oct 2004
    Posts:
    109
    Likes Received:
    0
    7 I beleave. Thanks for the links. Yea that is my thread. Hope I can find some more info here as I'm still learning pics.
     
  5. shotgunefx

    shotgunefx What's a Dremel?

    Joined:
    4 Feb 2004
    Posts:
    449
    Likes Received:
    0
    If you look at the 1.51 code, where it says "READ INPUTS:",
    You need to modify this to instead do an ADC on the X & Y and increment the counter accordingly.

    Though that joystick might not be what you want. It stays in place when you let go which means if you press up, the mouse will go as fast as possible, and will keep trying to go up even after you let go. It would be very hard to get it to stay were you want I think.
     

Share This Page