2009:Mouse details: Difference between revisions
No edit summary |
(Updated mouse calculations to reflect the current ball mouse) |
||
Line 21: | Line 21: | ||
5000cps/60CPR = 83.3 max revolutions per second (rps) | 5000cps/60CPR = 83.3 max revolutions per second (rps) | ||
| <span style="color: rgb(255, 0, 0);">diameter</span> of mouse ball = 0.875" | ||
circumference of mouse ball = Pi * d = 2.7489" circumference | |||
<span style="color: rgb(255, 0, 0);">measured counts per foot on current mouse on robot - 1210, or ~100 counts per inch</span> | |||
83.3rps X 0.875" = 72.9 inches per second (ips) | 83.3rps X 0.875" = 72.9 inches per second (ips) | ||
Line 29: | Line 33: | ||
6.07fps = 4.1 miles per hour (just in case you were curious) | 6.07fps = 4.1 miles per hour (just in case you were curious) | ||
<br> | |||
It appears the phototransistor may be an "EverLight" Device... Check out something "[http://www.everlight.com/upload/product_pdf/PT2559B-L2-F_1789.pdf similar]". | |||
It appears the phototransistor may be an "EverLight" Device... Check out something "[http://www.everlight.com/upload/product_pdf/PT2559B-L2-F_1789.pdf similar]". | |||
<br> | <br> |
Revision as of 18:53, 7 February 2009
USB Ball Mouse -
power from PC to mouse is +5vdc.
Pulse Rate = 5 micro second (top two lines)
Long Pulse--->Long Pulse = 200 micro seconds (bottom length)
Image:Pulse lengths
1/200uS = 5000cycles/sec - - - this is the maximum detectable rate
sensor wheel = 60 counts per revolution (CPR)
Calculate maximum detectable ground speed:
5000cps/60CPR = 83.3 max revolutions per second (rps)
diameter of mouse ball = 0.875"
circumference of mouse ball = Pi * d = 2.7489" circumference
measured counts per foot on current mouse on robot - 1210, or ~100 counts per inch
83.3rps X 0.875" = 72.9 inches per second (ips)
72.9ips/12 = 6.07 feet per second (fps) = maximum detectable linear ground speed
6.07fps = 4.1 miles per hour (just in case you were curious)
It appears the phototransistor may be an "EverLight" Device... Check out something "similar".
PS/2 Ball Mouse -
USB Optical Mouse -