I'm trying to use a mouse sensor(ADNS-5700 H3MB) to retrieve coordinates for positioning, but i'm having problems on understanding how the sensor works.
The sensor uses SPI to communicate.
After reseaching some topics about SPI I concluded that it needs (correct if I'm wrong):
-A output(MOSI) ,
-A input(MISO),
-A slave select(SS),
-A clock(CLK).
After reading some topics about using mouse sensors I concluded that(also correct if wrong):
-It uses hexadecimal values for communicating or displaying values(dont know which one yet)
This was all I could figure out researching by my own.
Here are the problems:
-I can't find the SS and CLK on the sensor.
-I barely know how SPI works
-I don't know how to obtain the values from the sensor
-I don't know what to do with the values
Can someone help resolve all those problems?
These are the websites that I used on researching:
I thought on using a PS-2 mouse, but i think it can't fit in the 3cm-radius circle of the project. Also I want to use only the sensor, not the whole mouse.
Is it possible to make a wiring using only the sensor?If so, how would the wiring be?And the programming?