Using the optical sensor from a ball mouse


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    969


    Did you find this post helpful? Yes | No

    Default

    Luke

    I suspect that you've forgotten to make the PIC pins as inputs using the TRIS registers.

  2. #2
    Join Date
    Sep 2006
    Location
    Reading, UK
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    Hi Jerson,

    You're absolutely right - that was the problem. What an incredibly stupid mistake! For anyone who's interested it now works fine with a 10k pull-down as in the diagram I posted earlier, or as in mackrackit's schematic.

    Thanks very much,

    Luke

Similar Threads

  1. 2 Beam Optical Pulse Generator
    By WOZZY-2010 in forum Schematics
    Replies: 8
    Last Post: - 6th April 2010, 05:03
  2. USB Optical mouse as motor encoder
    By RodSTAR in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 24th August 2008, 16:09
  3. need help simulating PS/2 mouse
    By peterdeco1 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 9th December 2007, 22:49
  4. ps/2 mouse
    By hamid in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 22nd June 2007, 10:04
  5. My wish: AT Keyboard and Mouse commands
    By sayzer in forum PBP Wish List
    Replies: 0
    Last Post: - 4th February 2006, 09:23

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts