You are here

Get X Y Data from optical mouse using PSoc 5 | Cypress Semiconductor

Get X Y Data from optical mouse using PSoc 5

Summary: 1 Reply, Latest post by odissey1 on 31 Aug 2016 10:53 AM PDT
Verified Answers: 1
Last post
Log in to post new comments.
Evan D's picture
26 posts

Hi, I have very little experience using PSoc 5 (have to use it for a Uni project). I'd like to use the optical sensor on a  mouse to get relative X Y positional data. The mouse  is a Dell (P/N 4k93w). From checking the pin outputs I think it has an ADNS9500 optical sensor, and it also has a Cypress CY763823-SXC encore II peripherial controller. My question is what is the best way to get the data?

Do you use an SPI Master to connect to the ADNS9500 directly and have the ADNS9500 as a slave, or do you connect to the controller , again as master? I'm not that familiar with SPI, would it be better to find a mouse that supports PS/2 (again equally unfamiliar with Ps/2  but just looking for the easiest way to get the data).

Any and all help appreciated. Thanks.

user_342122993's picture
791 posts

Evan D,

check similar project by <pavloven> using optical mouse sensor (ADNS2030 or ADNS-2051)


There are some codes for PS/2 mouse floating around (but where can you find PS/2 mouse nowadays?).

Log in to post new comments.