Author Topic: Optical mouse interface  (Read 2049 times)

0 Members and 1 Guest are viewing this topic.

Offline benjiTopic starter

  • Supreme Robot
  • *****
  • Posts: 832
  • Helpful? 0
Optical mouse interface
« on: March 30, 2008, 12:16:40 PM »
hello there,,
i need help interfacing an optical mouse into a hexapod, any one has done somthing like this before?
how do you change the lens into an appropriate one?
what output is usefull from a optical mouse and how would this be interfaced into an atmega microcontroller?

thanks for any helping
good ol' BeNNy

Offline hazzer123

  • Supreme Robot
  • *****
  • Posts: 460
  • Helpful? 3
Re: Optical mouse interface
« Reply #1 on: March 30, 2008, 12:53:56 PM »
Im not sure about changing the lense. Why do you want to do that? Are you wanting to make it focus on the surface from further away and use it as a position sensor?

Anyway, there are 2 main protocols with mice and keyboards. USB and PS/2.

I know nothing really about USB, but i have researched PS/2 before.

Heres a good link - http://www.computer-engineering.org/ps2protocol/
Imperial College Robotics Society
www.icrobotics.co.uk

Offline Ro-Bot-X

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,431
  • Helpful? 25
  • Store: RoBotXDesigns.ca
Re: Optical mouse interface
« Reply #2 on: March 30, 2008, 01:34:45 PM »
Ehh, again, people forget that there is not only Google out there... What about Yahoo? When I'm looking for something I allways search on Yahoo first and Google second. Mostly because Google will give me results from Europe first and Yahoo from US first.

The first result that was not add related on Yahoo reveald this page:
http://home.roadrunner.com/~maccody/robotics/croms-1/croms-1.html

There are others, I'm sure...
Check out the uBotino robot controller!

Offline benjiTopic starter

  • Supreme Robot
  • *****
  • Posts: 832
  • Helpful? 0
Re: Optical mouse interface
« Reply #3 on: March 30, 2008, 03:47:17 PM »
thank u guys for the links

Quote
Are you wanting to make it focus on the surface from further away and use it as a position sensor?
exactly

what i still lack here is the output form of mice
good ol' BeNNy

Offline Ro-Bot-X

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,431
  • Helpful? 25
  • Store: RoBotXDesigns.ca
Re: Optical mouse interface
« Reply #4 on: March 31, 2008, 01:10:19 PM »
You should read the links inside the web page I gave you the link. There are plenty of explanations of the mouse sensor signal.
Check out the uBotino robot controller!

 


Get Your Ad Here

data_list