optical mouse data.

Thread Starter

jayanthyk192

Joined Jan 23, 2010
80
Hi,

i wanted to use an optical mouse(usb mouse)for my project,which does not include a computer.can anyone please tell me how the data is sent to the computer by the mouse on moving it?

thank you
 

eblc1388

Joined Nov 28, 2008
1,542
Nearly all optical mouse uses optical sensor IC that communicates with the outside world using SPI protocol. The movement is reported as data in both X and Y direction.

You can interface with it using SPI to your MCU of your project.

Get more information from this link

Interfacing an optical mouse sensor

or search Google using phrases like "Optical mouse position sensor robot"


 

Attachments

Thread Starter

jayanthyk192

Joined Jan 23, 2010
80
How does it track or how does USB work?
i wanted to know the tracking part and feed the information my MC.

Nearly all optical mouse uses optical sensor IC that communicates with the outside world using SPI protocol. The movement is reported as data in both X and Y direction.

You can interface with it using SPI to your MCU of your project.

Get more information from this link

Interfacing an optical mouse sensor

or search Google using phrases like "Optical mouse position sensor robot"


that is very informative.it's sort of ready made,for now i would use the program given,but i want to learn the complete working of the tracker.please give links.

thank you.
 
Top