go_away

Author Topic: Optical Sensor  (Read 1853 times)

0 Members and 1 Guest are viewing this topic.

Offline jabberwockyTopic starter

  • Jr. Member
  • **
  • Posts: 16
  • Helpful? 0
Optical Sensor
« on: November 02, 2007, 02:28:52 PM »
I was thinking of using the sensors and wheels inside my old computer mouse as a encoder for measuring distance on a future robot.

However, i forgot to realize that my mouse is of the optical kind.


So my question is, Has anyone used the optics from a typical optical mouse and managed to use it for measuring distance on a robot?
If Vegetarians eat vegetables, what do humanitarians eat?

Offline bulkhead

  • Full Member
  • ***
  • Posts: 102
  • Helpful? 0
Re: Optical Sensor
« Reply #1 on: November 02, 2007, 04:54:46 PM »
You don't have to take apart the mouse but can actually receive the info directly from the mouse connector if it isn't USB.  I did this for a sumobot and it worked, but the mouse's sensor needs to be at a set height above the ground. 

Offline paulstreats

  • Supreme Robot
  • *****
  • Posts: 1,381
  • Helpful? 21
Re: Optical Sensor
« Reply #2 on: November 02, 2007, 05:16:21 PM »
i was thinking about using one instead of an encoder wheel once (i didnt bother with it eventually).

i thought that the optical mouse base needs to be in contact or very close contact with the floor which can cause some problems, i decided that if i ever do use one then i would remove the board and sensors from 2 mice and have the sensors close to and pointing at the wheels, if you calibrate your software correctly, they will work just like regular encoders only more technological.

also there are the 2 buttons to be salvaged for bump sensors and usually a scroll wheel

Offline Steve Joblin

  • Supreme Robot
  • *****
  • Posts: 405
  • Helpful? 2
Re: Optical Sensor
« Reply #3 on: November 02, 2007, 06:48:15 PM »

 


Get Your Ad Here

data_list